/* =============================================================
   Sara Garza — Homepage Hero CSS (cleaned for WP install)
   WARNING: DO NOT modify or remove any existing #sg-header
            styles. Zero changes to the header.
============================================================= */

/* CSS Variables needed by the hero */
:root {
  --gold:        #c5a46b;
  --gold-light:  #d4b96a;
  --gold-border: rgba(197,164,107,0.44);
  --gold-hover:  rgba(197,164,107,0.75);
  --cream-85:    rgba(245,240,232,0.95);
  --cream-72:    rgba(245,240,232,0.92);
  --serif:       'Cormorant Garamond', Georgia, serif;
  --lato:        'Lato', 'Helvetica Neue', sans-serif;
  --header-h:    79px;
}

/* ============================================================
     HERO — full viewport below header
  ============================================================ */
  .hero {
    position: relative;
    left: 0; right: 0;
    height: 100vh;
    overflow: hidden;
  }

  /* Mansion — full bleed */
  .hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://www.saragarza.com/wp-content/uploads/2026/03/cherry-hills-mansion-twilight1.png');
    background-size: cover;
    background-position: center 42%;
    z-index: 0;
  }

  /* Barely-there global tint only */
  .hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3,7,16,0.18);
  }

  @keyframes drift {
    0%   { transform: scale(1.0) translate(0,0); }
    100% { transform: scale(1.04) translate(-8px,-4px); }
  }
  @media (prefers-reduced-motion: no-preference) {
    .hero-bg { animation: drift 26s ease-in-out infinite alternate; }
  }

  /* ============================================================
     LEFT VIGNETTE — pure CSS gradient, NO box, NO blob
  ============================================================ */
  .hero-vignette {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
      to top,
      rgba(3,7,16,0.95) 0%,
      rgba(3,7,16,0.78) 20%,
      rgba(3,7,16,0.48) 38%,
      rgba(3,7,16,0.18) 56%,
      transparent       72%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      black   0%,
      black   38%,
      rgba(0,0,0,0.6) 58%,
      transparent 82%
    );
    mask-image: linear-gradient(
      to right,
      black   0%,
      black   38%,
      rgba(0,0,0,0.6) 58%,
      transparent 82%
    );
  }

  /* ============================================================
     CONTENT — vertically centered, left-aligned
  ============================================================ */
  .hero-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 64px;
    width: 50%;
    padding-top: calc(var(--header-h) + 4vh);
  }

  /* Eyebrow */
  .hero-eyebrow {
    font-family: var(--lato);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 2px 16px rgba(3,7,16,1), 0 0 40px rgba(3,7,16,0.6);
  }

  .hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 1px;
    background: var(--gold-light);
    opacity: 0.6;
    flex-shrink: 0;
  }

  /* Headline */
  .hero-headline {
    font-family: var(--serif);
    font-size: clamp(54px, 6.2vw, 88px);
    font-weight: 300;
    color: #ffffff;
    line-height: 1.03;
    letter-spacing: -0.01em;
    margin-bottom: 24px;
    text-shadow:
      0 2px 24px rgba(3,7,16,0.95),
      0 5px 50px rgba(3,7,16,0.75);
  }

  .hero-headline em {
    font-style: italic;
    color: var(--gold-light);
    font-weight: 300;
  }

  .hero-rule {
    width: 42px;
    height: 1px;
    background: rgba(197,164,107,0.65);
    margin-bottom: 22px;
  }

  /* Body */
  .hero-body {
    font-family: var(--lato);
    font-size: 15.5px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--cream-72);
    letter-spacing: 0.022em;
    max-width: 420px;
    margin-bottom: 36px;
    text-shadow: 0 2px 16px rgba(3,7,16,1), 0 0 40px rgba(3,7,16,0.7);
  }

  /* CTAs */
  .hero-cta {
    display: flex;
    align-items: center;
    gap: 34px;
  }

  .btn-primary {
    font-family: var(--lato);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(3,7,16,0.50);
    border: 1px solid var(--gold-border);
    padding: 17px 38px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.25s, border-color 0.25s;
  }

  .btn-primary:hover {
    background: rgba(197,164,107,0.2);
    border-color: var(--gold-hover);
  }

  .btn-ghost {
    font-family: var(--lato);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cream-72);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(245,240,232,0.26);
    padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
    text-shadow: 0 1px 12px rgba(3,7,16,0.98);
  }

  .btn-ghost::after { content: '\2192'; font-size: 15px; transition: transform 0.2s; }
  .btn-ghost:hover { color: var(--cream-85); border-color: rgba(245,240,232,0.52); }
  .btn-ghost:hover::after { transform: translateX(4px); }

  /* No spacer needed - hero scrolls normally */

  /* ============================================================
     MOBILE (hero rules only — no header changes)
  ============================================================ */
  @media (max-width: 768px) {
    .hero {
      position: relative;
      top: auto;
      height: 100svh;
    }

    .hero-bg::after {
      background: rgba(3,7,16,0.04);
    }

    .hero-vignette {
      -webkit-mask-image: none;
      mask-image: none;
      background: linear-gradient(
        to top,
        rgba(3,7,16,0.80) 0%,
        rgba(3,7,16,0.50) 22%,
        rgba(3,7,16,0.15) 42%,
        transparent 58%
      );
    }

    .hero-content {
      width: 100%;
      padding: 0 24px;
      padding-top: var(--header-h);
      justify-content: flex-end;
      padding-bottom: 48px;
    }

    .hero-headline { font-size: clamp(44px, 13vw, 64px); }
    .hero-body { max-width: 100%; font-size: 14px; }
    .btn-primary { padding: 15px 28px; }

    
  }

  @media (max-width: 480px) {
    .hero-content { padding: 0 20px 38px; }
    .hero-headline { font-size: clamp(40px, 14vw, 54px); }
    .hero-body { font-size: 13.5px; }
    .hero-cta { flex-direction: column; align-items: flex-start; gap: 20px; }
  }
