/* ══════════════════════════════════════════════════════════════
   DESTINATION PAGES — Ayodhya / Jodhpur / Jaipur
   Shared editorial layout for the three "Coming Soon" property
   pages. Loaded last (after editorial.css) so it can lean on the
   same design tokens (--serif, --sans, --charcoal, --gold, etc.)
   already declared in index.html without redefining them, and so
   its rules win over any generic .page/.section defaults inherited
   from the shared stylesheets. Nothing here touches Destinations.css,
   EXPERIENCES.css, 8-dimensions.css or editorial.css — the homepage
   is completely unaffected by this file.
══════════════════════════════════════════════════════════════ */

.dp-body {
  background: var(--cream);
}

/* Fallback nav bar look for subpages — the homepage's own hero
   handles nav transparency via body.hero-visible; on these pages
   the nav should simply always read solid from the first frame. */
.dp-body nav.desktop-nav,
.dp-body .mobile-nav {
  background: var(--cream);
}

/* ── Back link ─────────────────────────────────────────────── */
.dp-back {
  position: fixed;
  top: 110px;
  left: 32px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 10px 16px;
  border: 0.5px solid rgba(250,248,244,0.4);
  background: rgba(42,36,32,0.28);
  backdrop-filter: blur(6px);
  /* Shared --radius-btn token (defined once in editorial.css and
     already driving every button on the homepage) so this pill's
     corner treatment stays in sync with the rest of the site
     instead of hardcoding its own radius. */
  border-radius: var(--radius-btn);
  transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease, transform 0.3s ease;
}
.dp-back:hover,
.dp-back:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateX(-3px);
  outline: none;
}
@media (max-width: 900px) {
  .dp-back { 
    left: 16px; font-size: 10px; padding: 8px 12px; }
}

/* ── Hero ──────────────────────────────────────────────────── */
.dp-hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.dp-hero-img {
  position: absolute;
  inset: 0;
}
.dp-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: dp-hero-settle 2.6s cubic-bezier(0.22,1,0.36,1) forwards;
}
@keyframes dp-hero-settle {
  to { transform: scale(1); }
}
.dp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30,25,21,0.92) 0%,
    rgba(30,25,21,0.42) 42%,
    rgba(30,25,21,0.18) 68%,
    rgba(30,25,21,0.38) 100%
  );
}
.dp-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 80px 96px;
  opacity: 0;
  transform: translateY(22px);
  animation: dp-hero-rise 1.1s cubic-bezier(0.22,1,0.36,1) 0.5s forwards;
}
@keyframes dp-hero-rise {
  to { opacity: 1; transform: translateY(0); }
}
.dp-hero-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(234,228,219,0.72);
  margin-bottom: 18px;
}
.dp-hero-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(58px, 11vw, 148px);
  line-height: 0.96;
  color: var(--white);
  letter-spacing: 0.01em;
}
.dp-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--gold);
  padding: 9px 20px;
  /* Same shared --radius-btn token as .dp-back / the homepage's
     buttons — see editorial.css. */
  border-radius: var(--radius-btn);
}
.dp-hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--charcoal);
  opacity: 0.6;
}
.dp-hero-sub {
  margin-top: 22px;
  max-width: 480px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(234,228,219,0.82);
}

.dp-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(234,228,219,0.75);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  animation: dp-fade-in 1s ease 1.4s forwards;
  transition: color 0.3s ease;
}
.dp-scroll-indicator:hover,
.dp-scroll-indicator:focus-visible { color: var(--gold); outline: none; }
.dp-scroll-indicator .dp-scroll-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(234,228,219,0.9), rgba(234,228,219,0));
  animation: dp-scroll-pulse 1.8s ease-in-out infinite;
}
@keyframes dp-scroll-pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.55); opacity: 0.4; }
}
@keyframes dp-fade-in { to { opacity: 1; } }

@media (max-width: 900px) {
  .dp-hero-content { padding: 0 24px 64px; }
}

/* ── Section shell ─────────────────────────────────────────── */
.dp-section {
  padding: 120px 80px;
}
.dp-section--tight { padding-top: 88px; }
.dp-section--charcoal {
  background: var(--charcoal);
}
@media (max-width: 900px) {
  .dp-section { padding: 80px 24px; }
}

/* ── Intro editorial ───────────────────────────────────────── */
.dp-intro {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: end;
}
.dp-intro-eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bark);
  margin-bottom: 20px;
}
.dp-intro-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.14;
  color: var(--charcoal);
}
.dp-intro-title em { font-style: italic; color: var(--bark); }
.dp-intro-copy p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 20px;
  max-width: 520px;
}
.dp-intro-copy p:last-child { margin-bottom: 0; }
@media (max-width: 1024px) {
  .dp-intro { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Property preview ─────────────────────────────────────── */
.dp-property-head {
  max-width: 1200px;
  margin: 0 auto 56px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.dp-property-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(234,228,219,0.5);
  margin-bottom: 16px;
}
.dp-property-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 3.6vw, 50px);
  color: var(--white);
  line-height: 1.1;
}
.dp-property-status {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(234,228,219,0.55);
  border: 0.5px solid rgba(250,248,244,0.28);
  padding: 10px 18px;
  white-space: nowrap;
}
@media (max-width: 700px) {
  .dp-property-head { flex-direction: column; align-items: flex-start; }
}

/* Single 1:1 image, sized like a standard content image (not
   full-bleed) and left-aligned within the section's container —
   no multi-image collage, no hero-width crop. */
.dp-property-gallery {
  max-width: 1200px;
  margin: 0 auto 16px;
}
.dp-gallery-main {
  width: 360px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
}
.dp-property-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.95);
  transition: transform 1s ease, filter 0.5s ease;
}
.dp-property-gallery a:hover img,
.dp-property-gallery div:hover img {
  transform: scale(1.045);
  filter: brightness(0.6) saturate(0.95);
}

/* Place-name caption below the gallery image — reuses the exact
   .dp-property-copy p body-copy style (see below) so it matches the
   rest of this section's paragraph text instead of a new one-off
   style. This wrapper only adds the container width/spacing that
   .dp-property-copy normally inherits from .dp-property-details. */
.dp-property-caption {
  max-width: 1200px;
  margin: 0 auto 56px;
}

.dp-property-details {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.dp-property-copy p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(234,228,219,0.72);
  margin-bottom: 20px;
  max-width: 480px;
}
.dp-property-copy p:last-child { margin-bottom: 0; }
.dp-property-facts {
  display: flex;
  flex-direction: column;
}
.dp-fact {
  padding: 20px 0;
  border-bottom: 0.5px solid rgba(250,248,244,0.14);
}
.dp-fact:first-child { border-top: 0.5px solid rgba(250,248,244,0.14); }
.dp-fact-label {
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(234,228,219,0.45);
  margin-bottom: 8px;
}
.dp-fact-value {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 19px;
  color: var(--white);
  line-height: 1.4;
}
@media (max-width: 900px) {
  .dp-property-details { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Experiences ───────────────────────────────────────────── */
.dp-exp-head {
  max-width: 1200px;
  margin: 0 auto 56px;
}
.dp-exp-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.dp-exp-card {
  background: var(--cream-dark);
  padding: 40px 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.4s ease;
}
.dp-exp-card:hover { background: var(--sand); }
.dp-exp-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.dp-exp-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 23px;
  color: var(--charcoal);
  line-height: 1.2;
  margin-top: 28px;
  margin-bottom: 12px;
}
.dp-exp-desc {
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}
@media (max-width: 900px) {
  .dp-exp-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .dp-exp-grid { grid-template-columns: 1fr; }
}

/* ── CTA / Waitlist banner ────────────────────────────────── */
.dp-cta {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.dp-cta-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.6vw, 36px);
  color: var(--charcoal);
  line-height: 1.35;
  max-width: 560px;
}
.dp-cta-text em { font-style: italic; color: var(--bark); }
.dp-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
/* Primary/secondary CTA buttons here use the shared .exp-explore-btn
   (EXPERIENCES.css/editorial.css) and .btn-ghost (css/header.css/
   editorial.css) classes instead of a page-specific button style —
   see the markup in the "Waitlist" section — so any future update to
   those shared components propagates to these pages automatically. */

/* ── Scroll reveal (reuses editorial.css's .ed-reveal states) ── */
.ed-reveal { will-change: opacity, transform; }

/* ── Mobile overlay / dropdown safety net ─────────────────────
   header.css already drives .mobile-overlay / .nav-dropdown-menu
   on the homepage via its own JS; these subpages ship a small
   self-contained script instead (no editorial.js / EXPERIENCES.JS
   dependency), so this block guarantees the open/closed states
   render correctly here without altering header.css or any
   homepage behaviour — it is scoped to this stylesheet only. ── */
#mobile-overlay[aria-hidden="true"] { display: none !important; }
#mobile-overlay[aria-hidden="false"] {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
body.dp-menu-open { overflow: hidden; }

.nav-dropdown-menu,
.mobile-nav-dropdown-menu {
  display: none;
}
.nav-dropdown-toggle[aria-expanded="true"] + .nav-dropdown-menu,
.mobile-nav-dropdown-toggle[aria-expanded="true"] + .mobile-nav-dropdown-menu {
  display: flex !important;
  flex-direction: column;
}

/* Waitlist modal open state — editorial.css already hides it via
   [hidden]; this only ensures a sane centered fallback if
   header.css's own .wl-modal rules are ever unavailable. */
.wl-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
