/*
Theme Name:  Live Oaks Web
Theme URI:   https://liveoaksweb.com
Description: Live Oaks Web child theme, built on _tw (underscoretw.com). Your Premier Online Business Partner — AI-powered websites, hosting & SEO. San Antonio, TX.
Author:      Live Oaks Web
Author URI:  https://liveoaksweb.com
Template:    low_ts
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: live-oaks-web
Tags:        tailwind, agency, woocommerce, multisite
*/
/*
 * Live Oaks Web — Homepage Styles
 * File: /wp-content/themes/live-oaks-web/css/home.css
 *
 * Add to child theme functions.php:
 *   wp_enqueue_style( 'low-home', get_stylesheet_directory_uri() . '/css/home.css', [], '1.0.0' );
 * Or conditionally on the front page only:
 *   if ( is_front_page() ) { wp_enqueue_style( ... ); }
 *
 * Color mapping from original → Brand Style Guide 2026:
 *   --oak    #2C4A1E  →  --color-primary    #1E3A1E  (Forest Green)
 *   --gold   #C9A84C  →  --color-accent     #C8942A  (Heritage Gold)
 *   --cream  #FAF7F0  →  --color-cream      #F5F0E8
 *   --sky    #E8F0D8  →  --color-sage-tint  #EBF0EB
 *   --moss   #7A9E4E  →  --color-sage       #5A7A5A
 *   --bark   #5C3D1E  →  --color-mid-green  #3D5C3D  (secondary CTA section)
 *   --charcoal #1A1A1A → --color-dark       #1A2B1A
 *   --light-moss #B8D488 → kept as derived tint of --color-sage
 */

/* ── Local aliases (keeps selectors clean, stays on-brand) ──────────────────── */
:root {
    --hp-primary:    #1E3A1E;
    --hp-accent:     #C8942A;
    --hp-cream:      #F5F0E8;
    --hp-sage-tint:  #EBF0EB;
    --hp-sage:       #5A7A5A;
    --hp-mid:        #3D5C3D;
    --hp-dark:       #1A2B1A;
    --hp-moss-light: #8aab6e;
  }
  
  /* ── Reset (scoped to page content — doesn't fight WordPress base) ───────────── */
  .low-home *, .low-home *::before, .low-home *::after {
    box-sizing: border-box;
  }
  
  html { scroll-behavior: smooth; }
  
  /* ── HERO ────────────────────────────────────────────────────────────────────── */
  .hero {
    min-height: 90svh;
    background: var(--hp-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 1.5rem 4rem;
    position: relative;
    overflow: hidden;
  }
  
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 80% 20%, rgba(200, 148, 42, 0.15) 0%, transparent 60%),
      radial-gradient(ellipse at 10% 80%, rgba(90, 122, 90, 0.2)  0%, transparent 50%);
    pointer-events: none;
  }
  
  .hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hp-accent);
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .hero h1 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.8rem, 10vw, 6rem);
    line-height: 1.0;
    color: var(--hp-cream);
    position: relative;
    margin-bottom: 1.5rem;
  }
  
  .hero h1 em {
    font-style: normal;
    color: var(--hp-moss-light);
  }
  
  .hero-sub {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(245, 240, 232, 0.75);
    max-width: 36ch;
    line-height: 1.6;
    position: relative;
    margin-bottom: 2.5rem;
  }
  
  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--hp-accent);
    color: var(--hp-dark);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    position: relative;
    transition: background 0.2s, transform 0.2s;
    width: fit-content;
  }
  
  .hero-cta:hover {
    background: var(--hp-moss-light);
    transform: translateY(-2px);
    color: var(--hp-dark);
  }
  
  .hero-scroll {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(245, 240, 232, 0.3);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
  }
  
  .hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(245,240,232,0.3), transparent);
    animation: low-scrollpulse 2s ease-in-out infinite;
  }
  
  @keyframes low-scrollpulse {
    0%, 100% { opacity: 0.3; }
    50%       { opacity: 1;   }
  }
  
  /* ── SECTION BASE ────────────────────────────────────────────────────────────── */
  .low-home section {
    padding: 4rem 1.5rem;
  }
  
  .section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--hp-sage);
    margin-bottom: 0.75rem;
  }
  
  .low-home h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 6vw, 3rem);
    line-height: 1.15;
    color: var(--hp-primary);
    margin-bottom: 1rem;
  }
  
  /* ── THE PROBLEM ─────────────────────────────────────────────────────────────── */
  .problem {
    background: var(--hp-sage-tint);
  }
  
  .problem p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    max-width: 60ch;
    margin-bottom: 1rem;
  }
  
  .problem p strong { color: var(--hp-primary); }
  
  /* ── TWO LAYERS ──────────────────────────────────────────────────────────────── */
  .layers {
    background: var(--hp-cream);
  }
  
  .layers-grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .layer-card {
    border-left: 3px solid var(--hp-sage);
    padding: 1.5rem;
    background: #fff;
    box-shadow: var(--shadow-card);
  }
  
  .layer-card.machine {
    border-color: var(--hp-accent);
  }
  
  .layer-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--hp-primary);
    margin-bottom: 0.5rem;
  }
  
  .layer-card.machine .layer-title {
    color: var(--hp-mid);
  }
  
  .layer-card p {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 1rem;
  }
  
  .tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }
  
  .tag {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    background: var(--hp-sage-tint);
    color: var(--hp-primary);
  }
  
  .layer-card.machine .tag {
    background: #fdf3e0;
    color: var(--hp-mid);
  }
  
  /* ── HOW IT WORKS ────────────────────────────────────────────────────────────── */
  .how {
    background: var(--hp-primary);
    color: var(--hp-cream);
  }
  
  .how .section-label { color: var(--hp-moss-light); }
  .how h2             { color: var(--hp-cream); }
  
  .steps {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  
  .step {
    display: grid;
    grid-template-columns: 2.5rem 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(245,240,232,0.1);
  }
  
  .step:last-child { border-bottom: none; }
  
  .step-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--hp-accent);
    line-height: 1;
    padding-top: 0.1rem;
  }
  
  .step-title {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    color: var(--hp-cream);
    margin-bottom: 0.35rem;
  }
  
  .step p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: rgba(245,240,232,0.6);
    line-height: 1.6;
  }
  
  /* ── AI VISIBILITY ───────────────────────────────────────────────────────────── */
  .ai-visibility {
    background: var(--hp-cream);
  }
  
  .ai-stat-block {
    background: var(--hp-primary);
    color: var(--hp-cream);
    padding: 2rem 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--hp-accent);
  }
  
  .ai-stat-block blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    line-height: 1.5;
    color: var(--hp-cream);
    font-style: italic;
  }
  
  .ai-stat-block cite {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--hp-moss-light);
    font-style: normal;
    letter-spacing: 0.05em;
  }
  
  .feature-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .feature-list li {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--hp-dark);
    padding-left: 1.5rem;
    position: relative;
  }
  
  .feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--hp-accent);
    font-weight: 700;
  }
  
  /* ── FOR CLIENTS ─────────────────────────────────────────────────────────────── */
  .for-clients {
    background: var(--hp-sage-tint);
  }
  
  .client-types {
    display: grid;
    gap: 1.25rem;
    margin-top: 2rem;
  }
  
  .client-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    padding: 1.25rem;
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-sm);
  }
  
  .client-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
    line-height: 1;
  }
  
  .client-card h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    color: var(--hp-primary);
    margin-bottom: 0.35rem;
  }
  
  .client-card p {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.55;
    color: #555;
  }
  
  /* ── CTA SECTION ─────────────────────────────────────────────────────────────── */
  .cta-section {
    background: var(--hp-mid);
    text-align: center;
    padding: 4rem 1.5rem;
  }
  
  .cta-section h2 {
    color: var(--hp-cream);
    margin-bottom: 1rem;
  }
  
  .cta-section p {
    font-family: var(--font-body);
    color: rgba(245,240,232,0.75);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-primary {
    display: inline-block;
    background: var(--hp-accent);
    color: var(--hp-dark);
    font-family: var(--font-body);
    font-weight: 500;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: background 0.2s, transform 0.2s;
    margin-bottom: 1rem;
  }
  
  .btn-primary:hover {
    background: var(--hp-moss-light);
    transform: translateY(-2px);
    color: var(--hp-dark);
  }
  
  .ai-link {
    display: block;
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(245,240,232,0.35);
    text-decoration: none;
    letter-spacing: 0.05em;
  }
  
  .ai-link:hover { color: rgba(245,240,232,0.65); }
  
  /* ── SCROLL FADE ANIMATIONS ──────────────────────────────────────────────────── */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: none;
  }
  
  /* ── RESPONSIVE ──────────────────────────────────────────────────────────────── */
  @media (min-width: 768px) {
    .low-home section         { padding: 6rem 3rem; }
    .cta-section              { padding: 6rem 3rem; }
    .hero                     { padding: 6rem 3rem; }
    .layers-grid              { grid-template-columns: 1fr 1fr; }
    .client-types             { grid-template-columns: 1fr 1fr; }
  }
  
  @media (min-width: 1024px) {
    .low-home section         { padding: 7rem max(3rem, calc(50% - 560px)); }
    .hero                     { padding: 8rem max(3rem, calc(50% - 560px)); }
    .cta-section              { padding: 7rem max(3rem, calc(50% - 560px)); }
  }