/* ===== DESTINATION PAGE ===== */

/* --- Reveal animations --- */
.dest-reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  transition-delay: var(--delay, 0s);
}
.dest-reveal.visible { opacity: 1; transform: none; }

/* ===== HERO ===== */
.dest-hero {
  position: relative;
  height: 75vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  background: center/cover no-repeat;
}

.dest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,18,34,0.92) 0%,
    rgba(10,18,34,0.45) 50%,
    rgba(10,18,34,0.25) 100%
  );
}

.dest-hero-content {
  position: relative;
  z-index: 1;
  max-width: 1220px;
  width: 100%;
  margin: 0 auto;
  padding: 0 48px 72px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 28px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--gold); }

.dest-hero-content .eyebrow {
  color: var(--gold);
  margin-bottom: 14px;
}

.dest-hero-content h1 {
  font-size: clamp(3.2rem, 7vw, 6rem);
  color: var(--white);
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.dest-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.68);
  max-width: 600px;
  line-height: 1.85;
  margin: 0;
}

/* ===== SUBNAV ===== */
.dest-subnav {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.dest-subnav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
  flex-wrap: wrap;
}

.dest-subnav-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
}

.dest-subnav-links {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.dest-subnav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  padding: 5px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  transition: all 0.22s;
}
.dest-subnav-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== LIFESTYLE GALLERY ===== */
.dest-gallery {
  background: var(--navy);
  padding: 80px 0 0;
}

.dest-gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 280px 280px;
  gap: 5px;
}

.dest-gallery-item {
  overflow: hidden;
  position: relative;
}

.dest-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.dest-gallery-item:hover img { transform: scale(1.05); }

.dest-gallery-item:nth-child(1) { grid-column: 1 / 6;  grid-row: 1 / 3; }
.dest-gallery-item:nth-child(2) { grid-column: 6 / 9;  grid-row: 1 / 2; }
.dest-gallery-item:nth-child(3) { grid-column: 9 / 13; grid-row: 1 / 2; }
.dest-gallery-item:nth-child(4) { grid-column: 6 / 10; grid-row: 2 / 3; }
.dest-gallery-item:nth-child(5) { grid-column: 10 / 13; grid-row: 2 / 3; }

/* ===== PROPERTIES ===== */
.dest-properties {
  padding: 96px 0;
  background: var(--navy);
}

.dest-properties .section-intro { margin-bottom: 56px; }

.dest-properties .eyebrow { color: var(--gold); }

.dest-properties h2 {
  color: var(--white);
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.dest-properties .section-text {
  color: rgba(255,255,255,0.5);
}

/* Override card styles for dark background */
.dest-properties .property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.dest-properties .property-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: border-color 0.3s, transform 0.3s;
}

.dest-properties .property-card:hover {
  border-color: rgba(200,176,122,0.35);
  transform: translateY(-4px);
}

.dest-properties .card-location,
.dest-properties .card-stat,
.dest-properties .card-year {
  color: rgba(255,255,255,0.55);
}

.dest-properties .card-title { color: var(--white); }
.dest-properties .card-price { color: var(--gold); }
.dest-properties .card-btn { color: rgba(255,255,255,0.6); }
.dest-properties .card-btn:hover { color: var(--gold); }

.dest-no-props {
  text-align: center;
  padding: 80px 24px;
  color: rgba(255,255,255,0.45);
  font-size: 16px;
  line-height: 1.8;
}

/* ===== CTA ===== */
.dest-cta {
  padding: 96px 0;
  background: var(--bg);
}

.dest-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.dest-cta-inner .eyebrow { color: var(--gold); margin-bottom: 12px; }
.dest-cta-inner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 10px; color: var(--navy); }
.dest-cta-inner p { font-size: 15px; color: #5A6173; margin: 0; max-width: 440px; }

.dest-cta-btns { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ===== NAV active link ===== */
.nav-links a.active { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .dest-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 240px);
  }
  .dest-gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
  .dest-gallery-item:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .dest-gallery-item:nth-child(3) { grid-column: 1 / 3; grid-row: 2 / 3; }
  .dest-gallery-item:nth-child(4) { grid-column: 1 / 2; grid-row: 3 / 4; }
  .dest-gallery-item:nth-child(5) { grid-column: 2 / 3; grid-row: 3 / 4; }
}

@media (max-width: 768px) {
  .dest-hero { height: 65vh; }
  .dest-hero-content { padding: 0 24px 48px; }
  .dest-cta-inner { flex-direction: column; align-items: flex-start; }
  .dest-subnav-inner { gap: 10px; }
  .dest-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    gap: 4px;
  }
  .dest-gallery-item:nth-child(n) { grid-column: 1; grid-row: auto; }
  .dest-properties { padding: 64px 0; }
}
