/* ============================================================
   KANHOLIDAYS.COM — Destination Page Styles
   ============================================================ */

/* ── DESTINATION HERO ── */
.dest-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  max-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  margin-top: calc(-1 * var(--header-height));
  padding-top: var(--header-height);
  overflow: hidden;
}

.dest-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.dest-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 2;
}

.dest-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 800px;
  padding: 0 var(--space-xl);
}

.dest-hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-pill);
  font-size: var(--text-sm);
  font-weight: 500;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dest-hero__title {
  font-family: var(--font-display);
  font-size: var(--text-5xl);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.dest-hero__subtitle {
  font-size: var(--text-lg);
  font-weight: 300;
  opacity: 0.9;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .dest-hero__title { font-size: var(--text-4xl); }
  .dest-hero__subtitle { font-size: var(--text-md); }
}


/* ── STATS BAR ── */
.dest-stats {
  position: relative;
  z-index: 10;
  margin-top: -40px;
  margin-bottom: var(--space-3xl);
}

.dest-stats__inner {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-lg) var(--space-2xl);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-lg);
  gap: var(--space-md);
}

.dest-stat {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.dest-stat__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  background: rgba(232,114,12,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dest-stat__info {
  display: flex;
  flex-direction: column;
}

.dest-stat__label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dest-stat__value {
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-text-dark);
}

.dest-stats__divider {
  width: 1px;
  height: 40px;
  background: var(--color-border-light);
}

@media (max-width: 900px) {
  .dest-stats__inner {
    flex-wrap: wrap;
    justify-content: center;
    padding: var(--space-md);
  }
  .dest-stats__divider {
    display: none;
  }
  .dest-stat {
    width: calc(50% - var(--space-md));
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .dest-stat {
    width: 100%;
    justify-content: flex-start;
  }
}


/* ── DESTINATION LAYOUT ── */
.dest-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-3xl);
  align-items: start;
}

@media (max-width: 1024px) {
  .dest-layout {
    grid-template-columns: 1fr;
  }
}


/* ── FILTER SIDEBAR ── */
.filter-sidebar {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: sticky;
  top: calc(var(--header-height) + var(--space-lg));
}

.filter-group {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-title {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: var(--text-sm);
  color: var(--color-text-body);
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border-light);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: white;
  font-size: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkbox-count {
  margin-left: auto;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 1024px) {
  .filter-sidebar {
    display: none; /* Hide on mobile, show via toggle if needed */
  }
}

.mobile-filter-btn {
  display: none;
  width: 100%;
  margin-bottom: var(--space-lg);
}

@media (max-width: 1024px) {
  .mobile-filter-btn {
    display: flex;
  }
}


/* ── PACKAGE GRID ── */
.dest-content__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.dest-results-count {
  font-size: var(--text-md);
  color: var(--color-text-body);
}

.dest-results-count strong {
  color: var(--color-text-dark);
}

.dest-sort {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.dest-sort label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 768px) {
  .dest-grid {
    grid-template-columns: 1fr;
  }
}


/* ── DESTINATION INFO SECTION ── */
.dest-info {
  background: var(--color-bg);
  padding: var(--space-section) 0;
  margin-top: var(--space-3xl);
}

.dest-info__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-2xl);
}

@media (max-width: 768px) {
  .dest-info__grid {
    grid-template-columns: 1fr;
  }
}

.dest-about {
  padding-right: var(--space-xl);
}

.dest-about h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.dest-about p {
  color: var(--color-text-body);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.dest-guide-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.dest-guide-card h3 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.dest-guide-card h3 i {
  color: var(--color-primary);
}

.dest-weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.weather-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.weather-item__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(232,114,12,0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.weather-item__info {
  display: flex;
  flex-direction: column;
}

.weather-item__month {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.weather-item__temp {
  font-size: var(--text-sm);
  font-weight: 600;
}
