/* ============================================================
   pages/home.css — landing page: hero, about, gallery, sticky CTA
   ============================================================ */

/* ---- Hero -------------------------------------------------- */
.hero {
  position: relative;
  padding-top: 9rem;
  padding-bottom: 5rem;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    to bottom,
    hsl(var(--background)),
    hsl(var(--background) / 0.95),
    hsl(var(--background))
  );
}
.hero .container-luxury { position: relative; z-index: 10; }
.hero-inner { text-align: center; }
.hero h1 {
  font-weight: 300;
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.25rem;
  color: hsl(var(--foreground) / 0.8);
  max-width: 36rem;
  margin: 1.5rem auto 0;
  line-height: 1.5;
}
.divider-gold + .hero-tagline { margin-top: 1.5rem; }

.experience-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3.5rem;
}
.experience-card { overflow: hidden; }
.experience-card .media { aspect-ratio: 2 / 1; }
.experience-card .body { padding: 1.5rem; text-align: left; }
.experience-card h3 { font-size: 1.5rem; font-weight: 300; margin-bottom: 0.5rem; }
.experience-card p { color: hsl(var(--muted-foreground)); font-size: 0.95rem; line-height: 1.6; }

.hero-cta { margin-top: 3rem; display: flex; flex-direction: column; gap: 1rem; }
.hero-cta .btn-luxury,
.hero-cta .btn-luxury-outline { width: 100%; }
.hero-cta-desktop { display: none; }

/* ---- About ------------------------------------------------- */
.about { background: hsl(var(--secondary) / 0.3); }
.about-inner { max-width: 48rem; margin-inline: auto; text-align: center; }
.about h2 { font-size: 2.25rem; font-weight: 300; margin-bottom: 1.5rem; }
.about-copy { color: hsl(var(--foreground) / 0.8); font-size: 1.05rem; line-height: 1.8; }
.about-copy + .about-copy { margin-top: 1.25rem; }
.about-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 1.6rem;
  line-height: 1.5;
  color: hsl(var(--foreground));
  margin-top: 2.5rem;
}

/* ---- Gallery ----------------------------------------------- */
.gallery-head { text-align: center; margin-bottom: 3rem; }
.gallery-head h2 { font-size: 2.25rem; font-weight: 300; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.gallery-item { overflow: hidden; border-radius: var(--radius-sm); aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1), filter 700ms ease; }
.gallery-item:hover img { transform: scale(1.05); filter: brightness(1.1); }
.gallery-cta { text-align: center; margin-top: 3rem; }

/* ---- Sticky mobile CTA ------------------------------------- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1rem 1.5rem;
  background: hsl(var(--background) / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid hsl(var(--border));
  transform: translateY(110%);
  opacity: 0;
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.sticky-cta.is-visible { transform: translateY(0); opacity: 1; }
.sticky-cta .btn-luxury { width: 100%; }

@media (min-width: 768px) {
  .hero { padding-top: 11rem; padding-bottom: 7rem; }
  .hero h1 { font-size: 6rem; }
  .hero-tagline { font-size: 1.5rem; }
  .experience-grid { grid-template-columns: repeat(3, 1fr); }
  .experience-card .media { aspect-ratio: 4 / 3; }
  .hero-cta { display: none; }
  .hero-cta-desktop {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
  }

  .about h2 { font-size: 3rem; }
  .about-quote { font-size: 2rem; }

  .gallery-head h2 { font-size: 3rem; }
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
  }
  .gallery-item { aspect-ratio: auto; }
  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery-item:nth-child(4) { grid-row: span 2; }

  .sticky-cta { display: none; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 7rem; }
  .about h2 { font-size: 3.5rem; }
}
