/* ===== Destination Modal Overlay ===== */
.dest-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  transition: background 0.3s ease;
  overflow-y: auto;
}

.dest-modal-overlay.active {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
}

.dest-modal-overlay.closing {
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
}

/* ===== Modal Container ===== */
.dest-modal {
  background: #fff;
  border-radius: 20px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
  transform: translateY(30px) scale(0.97);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  scrollbar-width: thin;
  scrollbar-color: #c5c5c5 transparent;
}

.dest-modal-overlay.active .dest-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.dest-modal-overlay.closing .dest-modal {
  transform: translateY(30px) scale(0.97);
  opacity: 0;
}

.dest-modal::-webkit-scrollbar {
  width: 6px;
}

.dest-modal::-webkit-scrollbar-thumb {
  background: #c5c5c5;
  border-radius: 3px;
}

/* ===== Close Button ===== */
.dest-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  line-height: 1;
}

.dest-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: rotate(90deg);
}

/* ===== Hero Section ===== */
.dest-modal-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

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

.dest-modal-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, 0.85));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
}

.dest-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  width: fit-content;
  margin-bottom: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dest-modal-hero-overlay h2 {
  color: #fff;
  font-size: 2.2rem;
  margin: 0;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.dest-modal-tagline {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  margin: 0.3rem 0 0;
  font-style: italic;
}

/* ===== Quick Stats Bar ===== */
.dest-modal-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: #1D263B;
  padding: 0;
}

.dest-stat {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  justify-content: center;
  white-space: nowrap;
}

.dest-stat:last-child {
  border-right: none;
}

.dest-stat i {
  color: #FF8C42;
  font-size: 0.9rem;
}

/* ===== Modal Body ===== */
.dest-modal-body {
  padding: 2rem;
}

/* ===== Sections ===== */
.dest-section {
  margin-bottom: 2rem;
}

.dest-section:last-of-type {
  margin-bottom: 1.5rem;
}

.dest-section h3 {
  font-size: 1.2rem;
  color: #1D263B;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #f0f0f0;
}

.dest-section h3 i {
  color: #FF8C42;
  font-size: 1rem;
}

.dest-overview-text {
  color: #4a5568;
  line-height: 1.75;
  font-size: 0.95rem;
  margin: 0;
}

/* ===== Weather Grid ===== */
.dest-weather-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.dest-weather-card {
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.dest-weather-card i {
  font-size: 1.5rem;
}

.dest-weather-card strong {
  font-size: 0.85rem;
  color: #1D263B;
}

.dest-weather-card span {
  font-size: 0.8rem;
  color: #4a5568;
}

.dest-weather-card.summer {
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
}

.dest-weather-card.summer i { color: #f59e0b; }

.dest-weather-card.winter {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.dest-weather-card.winter i { color: #3b82f6; }

.dest-weather-card.monsoon {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
}

.dest-weather-card.monsoon i { color: #22c55e; }

/* ===== Highlights Grid ===== */
.dest-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.dest-highlight-card {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.2s;
}

.dest-highlight-card:hover {
  background: #fff;
  border-color: #FF8C42;
  box-shadow: 0 4px 12px rgba(255, 140, 66, 0.1);
  transform: translateY(-2px);
}

.dest-highlight-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1D263B, #2d3a52);
  color: #FF8C42;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.dest-highlight-card strong {
  display: block;
  font-size: 0.9rem;
  color: #1D263B;
  margin-bottom: 0.2rem;
}

.dest-highlight-card p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ===== How to Reach ===== */
.dest-reach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.dest-reach-card {
  padding: 1.25rem 1rem;
  background: #f8fafc;
  border-radius: 12px;
  text-align: center;
  border: 1px solid #e2e8f0;
}

.dest-reach-card i {
  font-size: 1.5rem;
  color: #1D263B;
  margin-bottom: 0.5rem;
  display: block;
}

.dest-reach-card strong {
  display: block;
  font-size: 0.9rem;
  color: #1D263B;
  margin-bottom: 0.4rem;
}

.dest-reach-card p {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ===== Local Food Tags ===== */
.dest-food-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dest-food-tag {
  padding: 0.45rem 1rem;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #9a3412;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #fed7aa;
  transition: all 0.2s;
}

.dest-food-tag:hover {
  background: linear-gradient(135deg, #FF8C42, #ff6b1a);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}

/* ===== Travel Tips ===== */
.dest-tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dest-tips-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.5;
  padding: 0.6rem 0.85rem;
  background: #f8fafc;
  border-radius: 8px;
}

.dest-tips-list li i {
  color: #22c55e;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* ===== CTA Buttons ===== */
.dest-modal-cta {
  display: flex;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 2px solid #f0f0f0;
}

.dest-cta-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.dest-cta-btn.primary {
  background: linear-gradient(135deg, #1D263B, #2d3a52);
  color: #fff;
}

.dest-cta-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 38, 59, 0.3);
}

.dest-cta-btn.whatsapp {
  background: #25D366;
  color: #fff;
}

.dest-cta-btn.whatsapp:hover {
  background: #1fb855;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .dest-modal-hero {
    height: 240px;
  }

  .dest-modal-hero-overlay h2 {
    font-size: 1.6rem;
  }

  .dest-modal-stats {
    flex-wrap: wrap;
  }

  .dest-stat {
    flex: 1 1 33%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.65rem 0.75rem;
    font-size: 0.75rem;
  }

  .dest-modal-body {
    padding: 1.25rem;
  }

  .dest-highlights-grid {
    grid-template-columns: 1fr;
  }

  .dest-reach-grid {
    grid-template-columns: 1fr;
  }

  .dest-weather-grid {
    grid-template-columns: 1fr;
  }

  .dest-modal-cta {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .dest-modal-overlay {
    padding: 0;
  }

  .dest-modal {
    border-radius: 0;
    max-height: 100vh;
  }

  .dest-modal-hero {
    border-radius: 0;
    height: 200px;
  }

  .dest-modal-hero-overlay {
    padding: 1.25rem;
  }

  .dest-modal-hero-overlay h2 {
    font-size: 1.4rem;
  }
}

/* ===== Clickable Card Indicator ===== */
.destination-card {
  cursor: pointer;
}

.destination-card .card-content::after {
  content: 'Tap to explore →';
  display: block;
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #FF8C42;
  font-weight: 500;
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
}

.destination-card:hover .card-content::after {
  opacity: 1;
  transform: translateX(0);
}
