/* =========================================================
   sections.css — per-section layout
   ========================================================= */

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: grid; place-items: center;
  overflow: hidden; background: #050505;
  padding-top: var(--nav-height);
}
.hero__video {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,12,6,0.38) 0%, rgba(5,5,5,0.66) 55%, rgba(5,5,5,0.72) 100%);
  /* warm gold-tinted salon overlay — image shows through with luxury tone */
}
.hero__content {
  position: relative; z-index: 1; text-align: center;
  max-width: 780px; padding: 2rem var(--gutter);
}
.hero__content h1 { color: #F8F4EA; margin-top: 0.7rem; }
.hero__sub { color: rgba(248,244,234,0.88); font-size: clamp(1rem, 2vw, 1.2rem); margin-top: 1rem; font-weight: 300; letter-spacing: 0.04em; }
.hero__cta { margin-top: 2rem; }
.hero__scroll {
  position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  color: rgba(248,244,234,0.7); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
}
.hero__scroll i {
  width: 1px; height: 28px; background: var(--gold);
  display: block; animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100% { opacity: 0.35; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1100px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px)  { .services-grid { grid-template-columns: 1fr; } }

/* ---------- ABOUT ---------- */
.about {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__media { position: relative; overflow: hidden; background: var(--surface-alt); aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__stats { display: flex; gap: 1.8rem; margin-top: 1.8rem; flex-wrap: wrap; }
.stat__num { font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; color: var(--gold); line-height: 1; }
.stat__label { font-size: 0.78rem; letter-spacing: 0.10em; text-transform: uppercase; color: var(--text-muted); margin-top: 0.25rem; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } }

/* ---------- SIGNATURE ---------- */
.signature { background: var(--bg); }
.signature__item {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3.5rem);
  align-items: center; padding: 2.2rem 0;
  border-bottom: 1px solid var(--border);
}
.signature__item:last-child { border-bottom: none; }
.signature__item--reverse { direction: rtl; }
.signature__item--reverse > * { direction: ltr; }
.signature__media { aspect-ratio: 16 / 11; background: var(--surface-alt); overflow: hidden; }
.signature__media img, .signature__media video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 800px) {
  .signature__item, .signature__item--reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ---------- GALLERY ---------- */
.gallery-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(3, 1fr);
}
.gallery-grid__item {
  position: relative; overflow: hidden; background: var(--surface-alt);
  aspect-ratio: 1; cursor: pointer;
  border: 1px solid var(--border);
}
.gallery-grid__item img, .gallery-grid__item video {
  width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease, filter 300ms ease;
}
.gallery-grid__overlay {
  position: absolute; inset: 0;
  background: rgba(5,5,5,0.0); display: grid; place-items: center;
  color: #F8F4EA; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase;
  opacity: 0; transition: background 300ms ease, opacity 300ms ease;
  border: 1px solid transparent;
}
.gallery-grid__item:hover .gallery-grid__overlay,
.gallery-grid__item:focus-within .gallery-grid__overlay {
  background: rgba(5,5,5,0.44); opacity: 1;
  box-shadow: inset 0 0 0 1px rgba(216,179,90,0.45);
}
.gallery-grid__item:hover img, .gallery-grid__item:hover video { transform: scale(1.04); }
@media (max-width: 800px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.testimonials-carousel { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 500ms ease; }
.testimonials-track .t-card { min-width: 100%; }
.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.2rem; }
.carousel-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: 1px solid var(--gold); background: transparent; cursor: pointer;
}
.carousel-dots button.is-active { background: var(--gold); }
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); }
.contact__map {
  background: var(--surface-alt); border: 1px solid var(--border);
  aspect-ratio: 4 / 3; overflow: hidden; position: relative;
}
.contact__map img, .contact__map iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.contact__details { display: flex; flex-direction: column; gap: 1.4rem; }
.contact__block h4 { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.contact__block p, .contact__block a { font-size: 0.95rem; color: var(--text-muted); }
.contact__block a:hover { color: var(--gold); }
.social-circles { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.social-circles a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--gold); color: var(--gold);
  display: grid; place-items: center; font-size: 0.9rem;
  transition: all 250ms ease;
}
.social-circles a:hover { background: var(--gold); color: #050505; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: #050505; text-align: center;
  padding: clamp(3.5rem, 7vw, 6rem) var(--gutter);
  border-top: 1px solid rgba(216,179,90,0.20);
  border-bottom: 1px solid rgba(216,179,90,0.20);
}
.cta-band h2 { color: #F8F4EA; }
.cta-band p { color: #B8B2A5; max-width: 560px; margin: 0.8rem auto 1.8rem; }

/* book page */
.book-wrap { padding-top: calc(var(--nav-height) + 2rem); padding-bottom: 4rem; }
.book-card {
  max-width: 760px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  padding: 2rem; box-shadow: var(--shadow-soft);
}


/* hero poster fallback ken-burns when video not loaded */
.hero__video[poster] { background: #050505; }
@keyframes heroKenBurns { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero__video { animation: heroKenBurns 18s ease-in-out alternate infinite; }
@media (prefers-reduced-motion: reduce) { .hero__video { animation: none; } }
