/* ==========================================================================
   BILLORA - LUXURY SECTIONS STYLESHEET
   LIGHT COLOR EDITION — Architectural Limestone, Warm Ivory & Antique Gold
   ========================================================================== */

/* ==========================================================================
   03. MANIFESTO SECTION ("WHERE THE FOREST BECOMES HOME")
   ========================================================================== */
.section-manifesto {
  position: relative;
  padding: clamp(6rem, 12vh, 12rem) 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
  perspective: 1200px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.manifesto-text-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  perspective: 1000px;
}

.manifesto-lead {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-primary);
  transform-style: preserve-3d;
}

.manifesto-lead em {
  font-style: italic;
  color: var(--accent-gold);
  display: inline-block;
  transform: translateZ(20px);
}

.manifesto-body {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-secondary);
}

.manifesto-img-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-elevated);
  transform-style: preserve-3d;
  perspective: 1200px;
  border: 1px solid var(--border-subtle);
}

.manifesto-img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 1.2s var(--ease-editorial);
  will-change: transform;
}

.manifesto-img-wrapper:hover .manifesto-img {
  transform: scale(1.0);
}

/* ==========================================================================
   04. ARCHITECTURE SECTION (HORIZONTAL GSAP SCROLL TRACK)
   ========================================================================== */
.section-architecture {
  position: relative;
  background: var(--bg-secondary);
  overflow: hidden;
  padding: clamp(5rem, 8vh, 8rem) 0 2rem;
  perspective: 1200px;
}

.architecture-header {
  margin-bottom: clamp(3rem, 5vh, 5rem);
  perspective: 1000px;
}

.architecture-scroll-container {
  width: 100%;
  overflow: hidden;
  perspective: 1400px;
}

.architecture-track {
  display: flex;
  gap: clamp(2rem, 3.5vw, 4.5rem);
  width: max-content;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  transform-style: preserve-3d;
}

.architecture-card {
  position: relative;
  width: clamp(320px, 42vw, 680px);
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transform-style: preserve-3d;
  transition: border-color 0.4s ease, transform 0.6s var(--ease-3d), box-shadow 0.6s ease;
  box-shadow: var(--shadow-card);
}

.architecture-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-elevated);
}

.architecture-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  transform-style: preserve-3d;
}

.architecture-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.0);
  transition: transform 0.8s var(--ease-editorial);
  will-change: transform;
}

.architecture-card:hover .architecture-card-img {
  transform: scale(1.06);
}

.architecture-card-info {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  transform-style: preserve-3d;
}

.architecture-card-num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
  transform: translateZ(20px);
}

.architecture-card-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  transform: translateZ(30px);
}

.architecture-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transform: translateZ(15px);
}

/* ==========================================================================
   05. THE ARRIVAL EXPERIENCE
   ========================================================================== */
.section-arrival {
  position: relative;
  padding: clamp(6rem, 12vh, 12rem) 0;
  background: var(--bg-primary);
  overflow: hidden;
  perspective: 1200px;
}

.arrival-hero-banner {
  position: relative;
  width: 100%;
  height: clamp(450px, 65vh, 750px);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 3.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
  transform-style: preserve-3d;
}

.arrival-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  will-change: transform;
}

.arrival-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,9,0.1) 0%, rgba(8,10,9,0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 4vw, 4rem);
  transform-style: preserve-3d;
}

.arrival-hero-overlay h3 {
  color: #ffffff;
}

.arrival-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  perspective: 1000px;
}

.arrival-pillar {
  padding: 2rem;
  border-left: 3px solid var(--accent-gold);
  background: #ffffff;
  border-radius: 0 10px 10px 0;
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--accent-gold);
  box-shadow: var(--shadow-card);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-3d), background-color 0.4s ease, box-shadow 0.4s ease;
}

.arrival-pillar:hover {
  transform: translateY(-6px) translateZ(20px);
  box-shadow: var(--shadow-elevated);
}

.arrival-pillar-num {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
}

.arrival-pillar-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.arrival-pillar-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   06. PRIVATE RESIDENCES
   ========================================================================== */
.section-residences {
  position: relative;
  padding: clamp(6rem, 12vh, 12rem) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  perspective: 1200px;
}

.residences-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
  perspective: 1200px;
}

.residence-stat-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: clamp(2.5rem, 4vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.4s ease, transform 0.6s var(--ease-3d), box-shadow 0.6s ease;
  box-shadow: var(--shadow-card);
}

.residence-stat-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-10px) rotateX(4deg);
  box-shadow: var(--shadow-elevated);
}

.residence-stat-number {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--accent-gold);
  margin-bottom: 1rem;
  transform: translateZ(40px);
}

.residence-stat-title {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transform: translateZ(25px);
}

.residence-stat-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transform: translateZ(15px);
}

/* ==========================================================================
   07. INFINITY POOL & DECK
   ========================================================================== */
.section-pool {
  position: relative;
  padding: clamp(6rem, 12vh, 12rem) 0;
  background: var(--bg-primary);
  perspective: 1200px;
}

.pool-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 5vw, 6rem);
  align-items: center;
  margin-top: 3.5rem;
}

.pool-gallery-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  perspective: 1000px;
}

.pool-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-3d), border-color 0.4s ease;
}

.pool-gallery-item:first-child {
  grid-column: 1 / -1;
}

.pool-gallery-item:hover {
  transform: translateY(-6px) translateZ(20px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-elevated);
}

.pool-gallery-img {
  width: 100%;
  height: 100%;
  max-height: 480px;
  object-fit: cover;
  transition: transform 0.8s var(--ease-editorial);
}

.pool-gallery-item:hover .pool-gallery-img {
  transform: scale(1.05);
}

.pool-features-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.pool-feature-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.3s ease;
}

.pool-feature-item:hover {
  transform: translateX(10px);
}

.pool-feature-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.pool-feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   08. FOREST WELLNESS & PRIVATE GYM
   ========================================================================== */
.section-wellness {
  position: relative;
  padding: clamp(6rem, 12vh, 12rem) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  perspective: 1200px;
}

.wellness-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
  perspective: 1200px;
}

.wellness-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-3d), border-color 0.4s ease, box-shadow 0.6s ease;
  box-shadow: var(--shadow-card);
}

.wellness-card:hover {
  transform: translateY(-10px) rotateX(4deg);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-elevated);
}

.wellness-card-img-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  transform-style: preserve-3d;
}

.wellness-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-editorial);
}

.wellness-card:hover .wellness-card-img {
  transform: scale(1.06);
}

.wellness-card-content {
  padding: 2rem;
  transform-style: preserve-3d;
}

.wellness-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  transform: translateZ(25px);
}

.wellness-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transform: translateZ(15px);
}

/* ==========================================================================
   09. LIFESTYLE (AMBIENT VIDEO & POETRY)
   ========================================================================== */
.section-lifestyle {
  position: relative;
  height: 85vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1200px;
}

.lifestyle-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  z-index: 1;
}

.lifestyle-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8,10,9,0.2) 0%, rgba(8,10,9,0.75) 100%);
  z-index: 2;
}

.lifestyle-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  transform-style: preserve-3d;
}

.lifestyle-content .section-title-giant {
  color: #ffffff;
}

.lifestyle-poetry {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.35;
  color: #ffffff;
  margin-top: 1.5rem;
  transform: translateZ(40px);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.lifestyle-poetry span {
  display: block;
  font-style: italic;
  color: var(--accent-gold-light);
}

/* ==========================================================================
   10. INTERACTIVE 4-VIDEO SHOWCASE SWITCHER
   ========================================================================== */
.section-video-showcase {
  position: relative;
  padding: clamp(6rem, 12vh, 12rem) 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  perspective: 1200px;
}

.video-player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 780px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-elevated);
  margin-top: 3.5rem;
  border: 1px solid var(--border-subtle);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-3d);
}

.video-player-container:hover {
  transform: translateY(-4px);
}

.showcase-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}

.video-switcher-controls {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2vw, 2.5rem);
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.video-switch-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transform-style: preserve-3d;
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-editorial);
}

.video-switch-btn.is-active,
.video-switch-btn:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #ffffff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 25px rgba(157, 122, 56, 0.25);
}

/* ==========================================================================
   11. JIM CORBETT / LOCATION SECTION
   ========================================================================== */
.section-location {
  position: relative;
  padding: clamp(6rem, 12vh, 12rem) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  perspective: 1200px;
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  margin-top: 3.5rem;
}

.location-distances-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  perspective: 1000px;
}

.distance-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.8rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  transform-style: preserve-3d;
  box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-3d), border-color 0.3s ease, box-shadow 0.4s ease;
}

.distance-item:hover {
  transform: translateX(10px) translateZ(15px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-elevated);
}

.distance-dest {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-primary);
  transform: translateZ(20px);
}

.distance-value {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  transform: translateZ(25px);
}

.location-map-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-elevated);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-3d);
}

.location-map-card:hover {
  transform: translateY(-8px) rotateY(-3deg);
}

.location-map-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   12. NATURE & ECOLOGICAL SANCTUARY
   ========================================================================== */
.section-nature {
  position: relative;
  height: 80vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1200px;
}

.nature-bg-img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  filter: brightness(0.65);
  z-index: 1;
}

.nature-content {
  position: relative;
  z-index: 3;
  text-align: center;
  transform-style: preserve-3d;
}

.nature-content .section-title-giant {
  color: #ffffff;
}

.nature-words-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  flex-wrap: wrap;
  margin-top: 2rem;
  transform-style: preserve-3d;
}

.nature-word {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ffffff;
  transform: translateZ(40px);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  transition: color 0.3s ease, transform 0.4s var(--ease-editorial);
}

.nature-word:hover {
  color: var(--accent-gold-light);
  transform: translateZ(60px) scale(1.1);
}

.nature-word-sep {
  color: var(--accent-gold);
  font-size: 1.5rem;
}

/* ==========================================================================
   13. INTERACTIVE MASTERPLAN
   ========================================================================== */
.section-masterplan {
  position: relative;
  padding: clamp(6rem, 12vh, 12rem) 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  perspective: 1200px;
}

.masterplan-interactive-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  margin-top: 3.5rem;
}

.masterplan-visual-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-elevated);
}

.masterplan-base-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.masterplan-hotspot {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-gold);
  border: 3px solid #ffffff;
  box-shadow: 0 0 20px rgba(157, 122, 56, 0.7);
  cursor: pointer;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.8rem;
  transition: transform 0.3s var(--ease-editorial), background 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}

.masterplan-hotspot:hover,
.masterplan-hotspot.is-active {
  transform: translate(-50%, -50%) scale(1.35);
  background: #181e19;
  box-shadow: 0 0 30px rgba(24, 30, 25, 0.6);
}

.masterplan-info-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: clamp(2rem, 3.5vw, 3.5rem);
  transform-style: preserve-3d;
  box-shadow: var(--shadow-card);
}

.masterplan-info-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.masterplan-info-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.masterplan-info-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   14. CURATED ARCHITECTURAL MASONRY GALLERY
   ========================================================================== */
.section-gallery {
  position: relative;
  padding: clamp(6rem, 12vh, 12rem) 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  perspective: 1200px;
}

.masonry-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  perspective: 1200px;
}

.masonry-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-subtle);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-3d), border-color 0.4s ease, box-shadow 0.6s ease;
}

.masonry-item.span-2 {
  grid-column: span 2;
}

.masonry-item:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: var(--border-gold);
  box-shadow: var(--shadow-elevated);
}

.masonry-img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-editorial);
}

.masonry-item:hover .masonry-img {
  transform: scale(1.06);
}

.masonry-overlay-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,10,9,0) 0%, rgba(8,10,9,0.82) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.masonry-item:hover .masonry-overlay-info {
  opacity: 1;
}

.masonry-caption {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: #ffffff;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease-editorial);
}

.masonry-item:hover .masonry-caption {
  transform: translateY(0);
}

/* ==========================================================================
   16. FINAL CINEMATIC CTA
   ========================================================================== */
.section-final-cta {
  position: relative;
  height: 75vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1200px;
}

.final-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
  z-index: 1;
}

.final-cta-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(8,10,9,0.3) 0%, rgba(8,10,9,0.75) 100%);
  z-index: 2;
}

.final-cta-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
  transform-style: preserve-3d;
}

.final-cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 2.5rem;
  transform: translateZ(40px);
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}

.final-cta-headline span {
  display: block;
  font-style: italic;
  color: var(--accent-gold-light);
}

/* ==========================================================================
   10. PRE-FOOTER RECTANGLE CARD SECTION
   ========================================================================== */
.pre-footer-section {
  position: relative;
  padding: clamp(3rem, 6vh, 5.5rem) 0 clamp(2rem, 4vh, 3.5rem);
  background: var(--bg-primary);
}

.pre-footer-card {
  background: #ffffff;
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(24, 30, 25, 0.07);
  overflow: hidden;
  position: relative;
}

.pre-footer-card-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(2.5rem, 5vw, 4rem);
  gap: 2.5rem;
  flex-wrap: wrap;
}

.pre-footer-content {
  flex: 1 1 500px;
}

.pre-footer-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.pre-footer-title em {
  font-style: italic;
  color: var(--accent-gold);
}

.pre-footer-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
}

.pre-footer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.pre-footer-hotlines {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pre-footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.pre-footer-contact-link:hover {
  color: var(--accent-gold);
}

.pre-footer-contact-link svg {
  color: var(--accent-gold);
}

/* ==========================================================================
   11. GLOBAL BILLORA LUXURY FOOTER (WITH OFFICIAL LOGO & COMPLETE DETAILS)
   ========================================================================== */
.billora-luxury-footer {
  position: relative;
  background: #ede8de;
  border-top: 1px solid var(--border-subtle);
  padding: clamp(4rem, 7vh, 6rem) 0 2.5rem;
  color: var(--text-primary);
}

.footer-hero-brand {
  text-align: center;
  padding-bottom: clamp(2.5rem, 5vh, 3.5rem);
  border-bottom: 1px solid rgba(24, 30, 25, 0.12);
  margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
}

.footer-brand-logo-link {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.footer-brand-logo-link:hover {
  transform: scale(1.02);
  opacity: 0.92;
}

.footer-hero-logo-img {
  width: clamp(220px, 30vw, 380px);
  max-width: 85vw;
  height: auto;
  max-height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 1.2rem;
}

.footer-hero-tagline {
  font-family: var(--font-sans);
  font-size: clamp(0.7rem, 0.9vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(24, 30, 25, 0.12);
}

.footer-info-col {
  display: flex;
  flex-direction: column;
}

.footer-info-heading {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-info-text {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.footer-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(157, 122, 56, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  width: fit-content;
}

.footer-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact-list li {
  font-size: 0.85rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-val {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s ease;
}

.contact-val:hover {
  color: var(--accent-gold);
}

.footer-info-hours {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.5rem;
}

.footer-nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-nav-links a:hover {
  color: var(--accent-gold);
  transform: translateX(4px);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.footer-copyright {
  font-size: 0.78rem;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-legal-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-legal-links a:hover {
  color: var(--text-primary);
}

.footer-legal-sep {
  color: rgba(24, 30, 25, 0.3);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .manifesto-grid,
  .pool-split-grid,
  .location-grid,
  .masterplan-interactive-grid {
    grid-template-columns: 1fr;
  }

  .arrival-pillars-grid,
  .residences-stats-grid,
  .wellness-cards-grid,
  .masonry-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .arrival-pillars-grid,
  .residences-stats-grid,
  .wellness-cards-grid,
  .masonry-gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .pre-footer-card-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

/* ==========================================================================
   INTERLINKED CONTINUOUS SECTION ANIMATION SYSTEM
   ========================================================================== */

/* 1. Viewport Progress Spine / Section Flow Spine */
.section-flow-spine {
  position: fixed;
  right: 2.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

@media (max-width: 1200px) {
  .section-flow-spine {
    display: none;
  }
}

.spine-track {
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(157, 122, 56, 0.2);
  z-index: 1;
}

.spine-progress-bar {
  position: absolute;
  top: 10px;
  width: 2px;
  background: var(--accent-gold);
  z-index: 2;
  height: 0%;
  transition: height 0.15s ease-out;
  box-shadow: 0 0 8px rgba(157, 122, 56, 0.6);
}

.spine-node {
  position: relative;
  z-index: 3;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.spine-node:hover {
  border-color: var(--accent-gold);
  color: var(--text-primary);
  transform: scale(1.15);
}

.spine-node.is-active {
  background: var(--accent-gold);
  color: #ffffff;
  border-color: var(--accent-gold);
  transform: scale(1.2);
  box-shadow: 0 0 14px rgba(157, 122, 56, 0.45);
}

.spine-node-tooltip {
  position: absolute;
  right: 36px;
  background: rgba(18, 23, 19, 0.92);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: all 0.25s ease;
}

.spine-node:hover .spine-node-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* 2. Seamless Section Continuity Connectors */
.section-seam-connector {
  width: 100%;
  height: 1px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, transparent 0%, var(--border-subtle) 30%, var(--accent-gold) 50%, var(--border-subtle) 70%, transparent 100%);
  opacity: 0.6;
}

.section-seam-diamond {
  width: 7px;
  height: 7px;
  background: var(--accent-gold);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(157, 122, 56, 0.5);
}

/* 3. Interlinked Parallax & Flow Enhancements */
.parallax-media-container {
  overflow: hidden;
  position: relative;
  border-radius: inherit;
}

.parallax-media-container img,
.parallax-media-container video {
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* 4. Luxury Kinetic Text & Heading Transitions */
.reveal-text-line {
  overflow: hidden;
  display: block;
}

.reveal-text-inner {
  display: inline-block;
  will-change: transform, opacity;
}

/* ==========================================================================
   WILDLIFE PAWPRINT TRAIL TRANSITIONS & DISTINCT CHAPTER ANIMATIONS
   ========================================================================== */

/* Wildlife Paw Trail Container */
.wildlife-trail-transition {
  position: relative;
  width: 100%;
  padding: clamp(2rem, 4vh, 3.5rem) 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.trail-line-track {
  position: absolute;
  top: 50%;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(157, 122, 56, 0.25) 30%, rgba(157, 122, 56, 0.4) 50%, rgba(157, 122, 56, 0.25) 70%, transparent 100%);
  z-index: 1;
}

.trail-paws-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  padding: 0.5rem 1rem;
}

.paw-step {
  color: var(--accent-gold);
  opacity: 0.2;
  transform: scale(0.85);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.paw-step:nth-child(even) {
  transform: translateY(6px) rotate(12deg) scale(0.85);
}

.paw-step:nth-child(odd) {
  transform: translateY(-6px) rotate(-12deg) scale(0.85);
}

.paw-step.is-stepped {
  opacity: 0.85;
  color: var(--accent-gold);
  filter: drop-shadow(0 0 8px rgba(157, 122, 56, 0.45));
}

.paw-step.is-stepped:nth-child(even) {
  transform: translateY(6px) rotate(12deg) scale(1.1);
}

.paw-step.is-stepped:nth-child(odd) {
  transform: translateY(-6px) rotate(-12deg) scale(1.1);
}

.trail-caption {
  margin-top: 0.85rem;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-style: italic;
  opacity: 0.75;
}

/* --------------------------------------------------------------------------
   Distinct Chapter Specific Animation Styles
   -------------------------------------------------------------------------- */

/* Chapter 01: Interiors (Filmstrip Aperture & Horizontal Slide) */
.chapter-interiors .interior-hero-frame {
  transform-origin: center left;
  will-change: transform, clip-path, opacity;
}

.chapter-interiors .interior-sub-frame {
  will-change: transform, opacity;
}

/* Chapter 02: Signature Dining (Focal Depth Expansion & Satellite Drift) */
.chapter-dining .dining-main-hero {
  transform-origin: center center;
  will-change: transform, box-shadow;
}

.chapter-dining .dining-sub-card {
  will-change: transform, opacity;
}

/* Chapter 03: Social Spaces (Asymmetric 3D Iso-Lift) */
.chapter-social .social-asymmetric-wrapper {
  perspective: 1200px;
}

.chapter-social .social-card-large,
.chapter-social .social-card-small-1,
.chapter-social .social-card-small-2 {
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

/* Chapter 04: Event Spaces (Panoramic Tri-Fold Stage Unfold) */
.chapter-events .events-panorama-track {
  perspective: 1400px;
}

.chapter-events .event-panel-card {
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

/* Chapter 05: Outdoor Spaces (Multi-Tier Forest Cascade) */
.chapter-outdoor .outdoor-hero-stack,
.chapter-outdoor .outdoor-mini-stack-1,
.chapter-outdoor .outdoor-mini-stack-2 {
  will-change: transform, opacity;
}

/* Chapter 06: Water (Liquid Ripple Veil & Horizon Bleed) */
.chapter-water .water-card {
  position: relative;
  will-change: transform, opacity;
}

.chapter-water .water-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(197, 160, 89, 0.15), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.chapter-water .water-card:hover::after {
  opacity: 1;
}


