/* Lightbox Popup Gallery for Popular Destinations */
.destination-overlay {
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.destination-overlay .btn-preview-icon {
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease-in-out;
  background: rgba(122, 183, 48, 0.9);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.destination-item:hover .destination-overlay .btn-preview-icon {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-modal.show .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 15px;
  text-align: center;
}

.lightbox-caption h4 {
  color: #7AB730;
  margin: 0 0 4px 0;
  font-weight: 600;
}

.lightbox-caption p {
  color: #cccccc;
  margin: 0;
  font-size: 14px;
}

/* Controls */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #ffffff;
  font-size: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10002;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: #7AB730;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 28px;
  background: rgba(255, 255, 255, 0.15);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 10001;
}

.lightbox-nav:hover {
  background: #7AB730;
  color: #ffffff;
}

.lightbox-nav.prev {
  left: 25px;
}

.lightbox-nav.next {
  right: 25px;
}

.lightbox-counter {
  position: absolute;
  top: 25px;
  left: 25px;
  color: #aaaaaa;
  font-size: 14px;
}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .lightbox-nav.prev { left: 10px; }
  .lightbox-nav.next { right: 10px; }
}
