.navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--emerald);
  font-size: 1.8rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  margin: 0 0.5rem;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, var(--emerald), var(--gold));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.btn-explore {
  background: linear-gradient(to right, var(--emerald), var(--emerald-dark));
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 139, 87, 0.3);
}

.btn-explore:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(46, 139, 87, 0.4);
  color: white;
}

/* Event Hero Section */
.destination-hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.destination-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.destination-hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 0 2rem;
}

.destination-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.section-title::after {
    display: none;
}

.destination-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--ivory);
}

.destination-meta {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

/* Event Details Section */
.destination-details {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.destination-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 2rem;
  white-space: pre-wrap;
  word-wrap: break-word;    /* breaks long words to fit the container */
}

.highlight-box {
  background: linear-gradient(
    135deg,
    var(--emerald) 0%,
    var(--emerald-dark) 100%
  );
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(46, 139, 87, 0.3);
}

.highlight-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 240px;
  grid-gap: 25px;
  grid-auto-flow: dense;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
}

.gallery-caption h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gallery-caption p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.btn-360-small {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-360-small:hover {
  background-color: white;
  transform: translateY(-3px);
}

/* Share Buttons */
.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.share-btn:hover {
  transform: translateY(-3px);
  opacity: 0.9;
}

.facebook {
  background-color: #3b5998;
}
.twitter {
  background-color: #1da1f2;
}
.instagram {
  background: linear-gradient(45deg, #405de6, #833ab4, #c13584, #e1306c);
}
.whatsapp {
  background-color: #25d366;
}

/* Explore Sidebar */
.explore-sidebar {
  position: relative;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-left: 30px;
  height: fit-content;
}

.explore-sidebar-title {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.explore-sidebar-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
}

.explore-sidebar-cards {
  display: grid;
  gap: 20px;
}

.explore-sidebar-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.explore-sidebar-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.explore-sidebar-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.explore-sidebar-card-img {
  height: 140px;
  overflow: hidden;
  position: relative;
}

.explore-sidebar-card-img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
}

.explore-sidebar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.explore-sidebar-card:hover .explore-sidebar-card-img img {
  transform: scale(1.1);
}

.explore-sidebar-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.explore-sidebar-card-title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-weight: 600;
}

.explore-sidebar-card-text {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
  flex: 1;
}

.explore-sidebar-card-cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary-color);
  transition: all 0.3s ease;
}

.explore-sidebar-card:hover .explore-sidebar-card-cta {
  color: var(--primary-color);
  transform: translateX(5px);
}

.explore-sidebar-card-cta i {
  margin-left: 8px;
  transition: all 0.3s ease;
}

.explore-sidebar-card:hover .explore-sidebar-card-cta i {
  transform: translateX(3px);
}

/* Modern Badge */
.explore-sidebar-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

/* Map Section */
.map-section {
  background-color: var(--light-bg);
  position: relative;
  overflow: hidden;
}

.map-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: 400px;
}

#locationMap {
  height: 100%;
  width: 100%;
}

.map-info {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.map-info p {
  font-size: 1.1rem;
  color: #555;
}

/* 360 Modal */
.modal-360 .modal-dialog {
  max-width: 800px;
  margin: 20px auto;
}

.modal-360 .modal-content {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
}

.modal-360 .modal-header {
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
}

.modal-360 .modal-header .btn-close {
  margin: 0;
}

.modal-360 .modal-body {
  padding: 0;
}

.panorama-container {
  width: 100%;
  height: 500px;
}

#panorama-main,
#panorama-gallery1,
#panorama-gallery2,
#panorama-gallery3,
#panorama-gallery4,
#panorama-gallery5 {
  width: 100%;
  height: 100%;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 80px 0 20px;
}

.footer h5 {
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--ivory);
}

.footer p {
  color: #bdc3c7;
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--ivory);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--emerald);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  color: #95a5a6;
}

/* Back Button */
.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  margin-top: 40px;
  transition: all 0.3s ease;
}

.back-button:hover {
  color: var(--accent-color);
  transform: translateX(-5px);
}

/* Responsive */
@media (max-width: 1200px) {
  .explore-sidebar {
    margin-left: 0;
    margin-top: 40px;
  }

  .explore-sidebar-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .destination-hero {
    height: 60vh;
    min-height: 500px;
    background-attachment: scroll;
  }

  .destination-details {
    padding: 80px 0;
  }

  .panorama-container {
    height: 400px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 250px;
  }

  .gallery-item.wide,
  .gallery-item.tall,
  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .map-container {
    height: 350px;
  }

  .modal-360 .modal-dialog {
    max-width: 95%;
    margin: 10px auto;
  }

  .panorama-container {
    height: 350px;
  }

  .explore-sidebar-cards {
    grid-template-columns: 1fr;
  }

  .explore-sidebar-card-img {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .destination-hero {
    height: 50vh;
    min-height: 400px;
  }

  .destination-title {
    font-size: 2.2rem;
  }

  .destination-details {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .panorama-container {
    height: 300px;
  }
}
