/* ================================================================
   WESTKATE SAFARIS — Destinations Page Styles
   assets/css/destinations.css
   Requires: global.css loaded first
================================================================ */
#heroBgdestinations {
  background-image: url("../img/destinationshero.jpg");
}

/* ── PAGE HERO ────────────────────────────────────────────────── */
.dest-hero .hero-content {
  padding-bottom: 5rem;
}
.hero-sub-text {
  font-size: 1rem;
  color: rgba(250, 247, 242, 0.7);
  line-height: 1.75;
  max-width: 520px;
  margin-top: 1.25rem;
}

/* ── REGION FILTER BAR ────────────────────────────────────────── */
.region-bar {
  position: sticky;
  top: 62px;
  z-index: 11;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
}
.region-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.region-inner::-webkit-scrollbar {
  display: none;
}
.reg-btn {
  flex-shrink: 0;
  padding: 1.1rem 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  font-family: var(--sans);
}
.reg-btn:hover {
  color: var(--earth);
}
.reg-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── CHAPTER SECTIONS ─────────────────────────────────────────── */
.dest-chapter {
  padding: 6rem 5%;
}
.dest-chapter.alt {
  background: var(--sand);
}
.chapter-inner {
  max-width: 1400px;
  margin: 0 auto;
}
.chapter-head {
  max-width: 680px;
  margin-bottom: 3.5rem;
}
.chapter-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--earth);
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.chapter-title em {
  font-style: italic;
  color: var(--gold);
}
.chapter-sub {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ── DESTINATION GRID ─────────────────────────────────────────── */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.dest-grid-two {
  grid-template-columns: repeat(2, 1fr);
}
.dest-card.hidden {
  display: none;
}

/* ── DESTINATION CARD ─────────────────────────────────────────── */
.dest-card {
  background: var(--ivory);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.dest-chapter.alt .dest-card {
  background: var(--ivory);
}
.dest-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(45, 36, 22, 0.12);
}

.dest-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
}
.dest-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.dest-card:hover .dest-img-wrap img {
  transform: scale(1.06);
}

.dest-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--ivory);
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  z-index: 2;
}
.dest-badge.new {
  background: var(--sage);
}

.dest-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 20, 9, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.dest-card:hover .dest-img-overlay {
  opacity: 1;
}
.dest-explore-btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border: 1.5px solid var(--ivory);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.25s;
  transform: translateY(8px);
  transition: all 0.35s var(--ease);
}
.dest-card:hover .dest-explore-btn {
  transform: translateY(0);
}
.dest-explore-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.dest-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.dest-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.dest-region-tag {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.dest-season {
  font-size: 0.68rem;
  color: var(--sand);
  background: var(--sage);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}
.dest-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--earth);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.dest-desc {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}
.dest-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}
.dest-highlights span {
  font-size: 0.72rem;
  color: var(--char);
  background: var(--red-dk);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 0.25rem 0.65rem;
}
.dest-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.dest-from {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}
.dest-val {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--earth);
  line-height: 1;
}
.dest-per {
  font-size: 0.68rem;
  color: var(--muted);
}
.btn-sm-gold {
  display: inline-block;
  padding: 0.65rem 1.3rem;
  background: var(--gold);
  color: var(--ivory);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition:
    background 0.3s,
    transform 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-sm-gold:hover {
  background: var(--gold-dk);
  transform: translateY(-2px);
}

/* ── CTA BANNER ───────────────────────────────────────────────── */
.dest-cta {
  position: relative;
  padding: 8rem 5%;
  text-align: center;
  overflow: hidden;
}
.dest-cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(26, 20, 9, 0.78), rgba(26, 20, 9, 0.78)),
    url("../img/landcruiser.jpg") top/cover no-repeat;
}
.dest-cta-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.dest-cta-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.dest-cta-title em {
  font-style: italic;
  color: var(--gold);
}
.dest-cta-sub {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.dest-cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .dest-grid-two {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .dest-grid,
  .dest-grid-two {
    grid-template-columns: 1fr;
  }
  .dest-cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .chapter-head {
    margin-bottom: 2rem;
  }
}
