/* ============================================================
   BOUDOIR PAGE — page-specific styles
   Relies on styles.css for design tokens and shared components
============================================================ */

/* ---- HERO — 16:9 ---- */
#boudoir-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.25) 55%, rgba(0,0,0,0.45) 100%),
    url('../images/boudoir-hero.jpg');
  background-size: cover;
  background-position: center 35%;
  text-align: center;
  color: #fff;
}

.boudoir-hero-inner {
  padding: 0 24px;
  padding-top: var(--nav-h);
}

.boudoir-hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 4px;
  opacity: 0.85;
}

.boudoir-hero-title {
  font-family: var(--font-head);
  font-size: clamp(5rem, 14vw, 14rem);
  font-weight: 900;
  line-height: 0.88;
  margin-bottom: 16px;
  text-shadow: 0 4px 32px rgba(0,0,0,0.35);
}

.boudoir-hero-sub {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2.6rem);
  font-style: italic;
  opacity: 0.9;
}

/* ---- SHARED SECTION PADDING ---- */
#boudoir-makeup,
#boudoir-windows,
#boudoir-backyard,
#boudoir-shower,
#boudoir-vespa,
#boudoir-bathroom {
  padding: 80px 0;
}

/* ---- CENTERED HEADING SECTIONS (Windows, Shower, Vespa) ---- */
#boudoir-windows .container,
#boudoir-shower .container,
#boudoir-vespa .container {
  text-align: center;
}

/* Headings across all boudoir sections */
#boudoir-windows h2,
#boudoir-shower h2,
#boudoir-vespa h2,
#boudoir-backyard h2,
#boudoir-bathroom h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
}

/* Reset text-align for grids inside centered containers */
.boudoir-rooms-grid,
.boudoir-duo-grid,
.boudoir-trio-grid {
  text-align: left;
}

/* Intro text under headings */
.boudoir-section-intro {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-top: -28px;
  margin-bottom: 48px;
  max-width: 680px;
}

/* For centered sections, keep intro centered */
#boudoir-windows .boudoir-section-intro,
#boudoir-shower .boudoir-section-intro,
#boudoir-vespa .boudoir-section-intro {
  margin-left: auto;
  margin-right: auto;
}

.boudoir-section-body {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 0;
}

/* ---- HAIR & MAKEUP — split layout ---- */
.boudoir-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.boudoir-split__text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
}

.boudoir-split__text p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.85;
  margin-top: -16px;
}

.boudoir-split__img img {
  width: 100%;
  max-height: 65vh;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  display: block;
}

/* ---- ROOMS GRID — 5 rooms, consistent portrait crop ---- */
.boudoir-rooms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.boudoir-room-card {
  display: flex;
  flex-direction: column;
}

.boudoir-room-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  display: block;
  transition: transform 0.4s ease;
}

.boudoir-room-card img:hover {
  transform: scale(1.03);
}

.boudoir-room-card h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 900;
  margin-top: 12px;
  text-align: center;
  color: var(--text);
  letter-spacing: 0.01em;
}

/* ---- BACKYARD — split top, grid below ---- */
.boudoir-backyard-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 24px;
}

.boudoir-backyard-split__text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
}

.boudoir-backyard-split__text .boudoir-section-intro {
  margin-top: -28px;
}

.boudoir-backyard-split__img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
}

.boudoir-backyard-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 8px;
}

.boudoir-backyard-grid img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  display: block;
  transition: transform 0.4s ease;
}

.boudoir-backyard-grid img:hover {
  transform: scale(1.03);
}

/* ---- DUO GRID — outdoor shower ---- */
.boudoir-duo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 680px;
  margin: 0 auto;
}

.boudoir-duo-grid img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
  transition: transform 0.4s ease;
}

.boudoir-duo-grid img:hover {
  transform: scale(1.02);
}

/* ---- VESPA — centered text + trio grid ---- */
.boudoir-vespa-name {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
  color: var(--text);
  margin-top: -28px;
  margin-bottom: 6px;
}

.boudoir-vespa-sub {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 48px;
}

.boudoir-trio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.boudoir-trio-grid img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
  display: block;
  transition: transform 0.4s ease;
}

.boudoir-trio-grid img:hover {
  transform: scale(1.02);
}

/* ---- BATHROOM — split layout ---- */
.boudoir-bathroom-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.boudoir-bathroom-split__text h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
}

.boudoir-bathroom-subheading {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.4;
  margin-top: -20px;
  margin-bottom: 20px;
}

.boudoir-bathroom-split__text .boudoir-section-body {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.85;
}

.boudoir-bathroom-split__imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.boudoir-bathroom-split__imgs img {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  display: block;
  transition: transform 0.4s ease;
}

.boudoir-bathroom-split__imgs img:hover {
  transform: scale(1.02);
}

/* ---- BOUDOIR VIDEO ---- */
#boudoir-video {
  padding: 0;
}

#boudoir-video h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
}

#boudoir-video .container {
  text-align: center;
  margin-bottom: 48px;
}

.boudoir-video-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #000;
}

.boudoir-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ---- NAV ACTIVE STATE ---- */
.nav-active {
  color: var(--gold) !important;
  opacity: 1 !important;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
============================================================ */
@media (max-width: 1024px) {
  .boudoir-rooms-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .boudoir-backyard-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .boudoir-backyard-split,
  .boudoir-bathroom-split {
    gap: 48px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
============================================================ */
@media (max-width: 768px) {
  #boudoir-hero {
    aspect-ratio: unset;
    min-height: 75vw;
  }

  #boudoir-makeup,
  #boudoir-windows,
  #boudoir-backyard,
  #boudoir-shower,
  #boudoir-vespa,
  #boudoir-bathroom {
    padding: 56px 0;
  }

  .boudoir-split,
  .boudoir-backyard-split,
  .boudoir-bathroom-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .boudoir-split__img {
    order: -1;
  }

  .boudoir-backyard-split__img {
    order: -1;
  }

  .boudoir-rooms-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .boudoir-backyard-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .boudoir-duo-grid {
    max-width: 100%;
    gap: 12px;
  }

  .boudoir-trio-grid {
    max-width: 100%;
    gap: 12px;
  }

  .boudoir-bathroom-split__imgs {
    grid-template-columns: 1fr 1fr;
  }

  .boudoir-section-intro {
    font-size: 1rem;
  }
}
