/* ─────────────────────────────────────────
   ELYSIAN TRAVEL GROUP — destinations.css
   Destinations listing page + single
   destination page.
   Requires: base.css
───────────────────────────────────────── */

/* ═══════════════════════════════════════
   DESTINATIONS LISTING PAGE
═══════════════════════════════════════ */

/* ── FRAMING INTRO ───────────────────── */
.dest-page-framing {
  max-width: 1440px;
  margin: 0 auto;
  padding: 100px 64px 72px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
  border-bottom: 1px solid var(--border);
}
.dest-page-statement {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 300;
  line-height: 1.22;
  color: var(--ink);
  margin-top: 20px;
}
.dest-page-statement em { font-style: italic; }
.dest-page-note {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--muted);
}

/* ── INTERACTIVE PROSE SECTION ───────── */
.dest-interactive {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 460px;
  border-bottom: 1px solid var(--border);
}
.dest-interactive-left {
  padding: 100px 80px 100px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}
.dest-interactive-left .label { margin-bottom: 24px; }
.dest-interactive-headline {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 300;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 40px;
}
.dest-interactive-headline em { font-style: italic; }
.dest-interactive-prose {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 300;
  line-height: 1.78;
  color: var(--muted);
  /* max-width: 580px; */
}
.dest-link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  cursor: pointer;
  transition: color 0.25s, border-color 0.25s;
  font-style: italic;
}
.dest-link:hover { color: var(--gold); }
.dest-link.active { color: var(--gold); border-color: var(--gold); }

.dest-interactive-right {
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
.dest-interactive-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.dest-interactive-img.active { opacity: 1; z-index: 1; pointer-events: auto; }
.dest-interactive-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.dest-interactive-img:hover img { transform: scale(1.03); }
.dest-interactive-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,16,12,0.86) 0%,
    rgba(18,16,12,0.18) 55%,
    rgba(18,16,12,0.0) 100%
  );
  pointer-events: none;
}
.dest-interactive-label {
  position: absolute;
  bottom: 36px;
  left: 36px;
  right: 36px;
  pointer-events: none;
}
.dest-interactive-name {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 300;
  color: #fff;
  line-height: 1;
  margin-bottom: 0;
  transition: transform 0.4s ease;
}
.dest-interactive-img:hover .dest-interactive-name { transform: translateY(-6px); }
.dest-interactive-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,0.75);
  line-height: 1.72;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease 0.05s, margin-top 0.4s ease;
}
.dest-interactive-img:hover .dest-interactive-tagline {
  max-height: 80px;
  opacity: 1;
  margin-top: 12px;
}
.dest-interactive-hint {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 0;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease 0.12s, margin-top 0.4s ease;
}
.dest-interactive-img:hover .dest-interactive-hint { opacity: 1; margin-top: 14px; }

/* ── DESTINATION GRID ────────────────── */
.dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(26,24,20,0.07);
  margin-bottom: 2px;
}
.dest-grid-card {
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  background: var(--ink);
}
.dest-grid-card.featured { grid-column: 1 / -1; height: 620px; }
.dest-grid-card.standard { height: 520px; }
.dest-grid-card.tall     { height: 600px; }

.dest-grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s ease;
  transform-origin: center center;
}
.dest-grid-card:hover .dest-grid-img { transform: scale(1.05); }

.dest-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18,16,12,0.88) 0%,
    rgba(18,16,12,0.3) 40%,
    rgba(18,16,12,0.05) 70%
  );
  transition: background 0.5s ease;
}
.dest-grid-card:hover .dest-grid-overlay {
  background: linear-gradient(
    to top,
    rgba(18,16,12,0.92) 0%,
    rgba(18,16,12,0.45) 50%,
    rgba(18,16,12,0.12) 70%
  );
}

.dest-grid-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 44px 52px;
  transition: padding 0.4s ease;
}
.dest-grid-card:hover .dest-grid-content { padding-bottom: 52px; }

.dest-grid-region {
  font-size: 9.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.dest-grid-card:hover .dest-grid-region { opacity: 1; transform: translateY(0); }

.dest-grid-name {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 62px);
  font-weight: 300;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 14px;
}
.dest-grid-card.standard .dest-grid-name { font-size: clamp(30px, 3.2vw, 48px); }

.dest-grid-tagline {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  max-width: 480px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease 0.05s;
}
.dest-grid-card:hover .dest-grid-tagline { max-height: 80px; opacity: 1; }

.dest-grid-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s, gap 0.3s;
}
.dest-grid-explore::after { content: '→'; }
.dest-grid-card:hover .dest-grid-explore { opacity: 1; transform: translateY(0); }
.dest-grid-card:hover .dest-grid-explore:hover { gap: 16px; }

.dest-grid-season {
  position: absolute;
  top: 32px;
  right: 40px;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.dest-grid-card:hover .dest-grid-season { opacity: 1; }

/* ── ANY DESTINATION FEATURE ─────────── */
.dest-any-feature {
  background: var(--ink);
  padding: 120px 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  border-top: 2px solid var(--gold);
}
.dest-any-left .label { color: var(--gold); margin-bottom: 22px; }
.dest-any-title {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0;
}
.dest-any-title em { font-style: italic; }
.dest-any-text {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.9;
  color: rgba(255,255,255,0.52);
  margin-bottom: 20px;
}
.dest-any-text:last-of-type { margin-bottom: 44px; }
.dest-any-btn {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: 18px 48px;
  text-decoration: none;
  transition: background 0.35s;
}
.dest-any-btn:hover { background: var(--gold-light); }

/* ═══════════════════════════════════════
   SINGLE DESTINATION PAGE
═══════════════════════════════════════ */

.dest-single-intro {
  max-width: 1440px;
  margin: 0 auto;
  padding: 110px 64px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
}
.dest-single-statement {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.25;
  color: var(--ink);
  margin-top: 22px;
}
.dest-single-statement em { font-style: italic; }
.dest-single-text {
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 18px;
}

.dest-experiences {
  background: var(--stone);
  padding: 100px 64px;
}
.dest-exp-grid {
  max-width: 1440px;
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(26,24,20,0.07);
}
.dest-exp-item {
  background: var(--stone);
  padding: 44px 40px;
  transition: background 0.35s;
}
.dest-exp-item:hover { background: #ede9e3; }
.dest-exp-category {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.dest-exp-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.2;
}
.dest-exp-desc {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--muted);
}

.dest-photo-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2px;
  height: 480px;
}
.dest-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s ease;
}
.dest-photo-strip div { overflow: hidden; }
.dest-photo-strip div:hover img { transform: scale(1.04); }

/* ── RESPONSIVE ──────────────────────── */
@media (max-width: 1024px) {
  .dest-page-framing { padding: 80px 40px 60px; gap: 60px; }
  .dest-interactive-left { padding: 80px 56px 80px 40px; }
  .dest-any-feature { padding: 90px 40px; gap: 60px; }
  .dest-single-intro { padding: 80px 40px 70px; gap: 60px; }
  .dest-experiences { padding: 80px 40px; }
}

@media (max-width: 768px) {
  .dest-page-framing { padding: 56px 24px 44px; grid-template-columns: 1fr; gap: 28px; }
  .dest-interactive { grid-template-columns: 1fr; min-height: auto; }
  .dest-interactive-left { padding: 64px 24px 48px; border-right: none; border-bottom: 1px solid var(--border); }
  .dest-interactive-right { min-height: 340px; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-grid-card.featured { height: 460px; grid-column: auto; }
  .dest-grid-card.standard { height: 380px; }
  .dest-grid-card.tall { height: 420px; }
  .dest-any-feature { padding: 64px 24px; grid-template-columns: 1fr; gap: 32px; }
  .dest-single-intro { padding: 56px 24px 48px; grid-template-columns: 1fr; gap: 32px; }
  .dest-experiences { padding: 64px 24px; }
  .dest-photo-strip { grid-template-columns: 1fr; height: auto; }
  .dest-photo-strip div { height: 240px; }
  .dest-exp-grid { grid-template-columns: 1fr 1fr; }
  .dest-season-grid { grid-template-columns: 1fr !important; }
  .dest-season-section { padding: 56px 24px !important; }
  .dest-continue-section { padding: 64px 24px !important; }
}

@media (max-width: 480px) {
  .dest-exp-grid { grid-template-columns: 1fr; }
  .dest-exp-item { padding: 36px 28px; }
}

