/* ============================================================
   destinations-explorer.css
   "Explore More Destinations & Tours" grid section + info popup
   modal. Shared component, loaded on our_packages.html and every
   individual package page so the block stays visually identical
   and easy to update from one place (js/destinations-data.js).

   Uses the site's existing theme variables:
     --primary-color:   #FFC107 (gold)
     --secondary-color: #FF8C00 (orange)
     --dark-color:      #212529
   ============================================================ */

.explore-more-section {
  padding: 70px 0 80px;
  background: linear-gradient(160deg, #fffaf0 0%, #fdf1dc 100%);
}

.explore-more-sub {
  text-align: center;
  max-width: 620px;
  margin: -20px auto 45px;
  color: #6b5b3a;
  font-size: 0.98rem;
}

/* Grid of category columns */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 30px 26px;
}

.explore-col {
  background: #fff;
  border-radius: 14px;
  padding: 22px 22px 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.explore-col:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.11);
  transform: translateY(-4px);
}

.explore-col-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark-color, #212529);
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid;
  border-image: linear-gradient(90deg, var(--primary-color, #FFC107), var(--secondary-color, #FF8C00)) 1;
  line-height: 1.3;
}

.explore-col-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--primary-color, #FFC107), var(--secondary-color, #FF8C00));
  color: var(--dark-color, #212529);
  font-size: 0.85rem;
}

.explore-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.explore-list li {
  margin-bottom: 4px;
}

.explore-list .dest-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 6px;
  border-radius: 6px;
  color: #7a4a00;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  cursor: pointer;
}

.explore-list .dest-link i {
  font-size: 0.75rem;
  color: var(--secondary-color, #FF8C00);
  transition: transform 0.2s ease;
}

.explore-list .dest-link:hover,
.explore-list .dest-link:focus {
  background: rgba(255, 193, 7, 0.16);
  color: var(--dark-color, #212529);
  padding-left: 10px;
}

.explore-list .dest-link:hover i {
  transform: translateX(2px);
}

@media (max-width: 575.98px) {
  .explore-more-section {
    padding: 50px 0 60px;
  }
  .explore-more-sub {
    margin-top: -10px;
  }
  .explore-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Destination Info Popup Modal
   ============================================================ */
.dest-modal .modal-content {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.dest-modal .modal-header {
  background: linear-gradient(45deg, var(--primary-color, #FFC107), var(--secondary-color, #FF8C00));
  border-bottom: none;
  padding: 18px 22px;
}

.dest-modal .modal-title {
  color: var(--dark-color, #212529);
  font-weight: 700;
  font-size: 1.15rem;
}

.dest-modal .btn-close {
  box-shadow: none;
}

.dest-modal .modal-body {
  padding: 24px 22px 8px;
}

.dest-modal-category {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--secondary-color, #FF8C00);
  background: rgba(255, 140, 0, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.dest-modal .modal-body p {
  color: #444;
  line-height: 1.65;
  font-size: 0.98rem;
}

.dest-modal .modal-footer {
  border-top: none;
  padding: 16px 22px 22px;
}

.dest-modal .btn-package {
  width: auto;
  padding: 10px 22px;
}

/* Pop-in animation (a bit livelier than Bootstrap's default fade+slide) */
.dest-modal .modal-dialog {
  transform: scale(0.85) translateY(20px);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}

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