/* 🌅 Hero Section */
.hero-banner {
  position: relative;
  height: 420px;
  background: radial-gradient(circle at center, #0097a7 0%, #002f4b 100%);
  color: white;
  text-align: center;
  overflow: hidden;
}
.hero-banner .aurora {
  position: absolute;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 45deg, #00bcd4, #ff4081, #4caf50, #00bcd4);
  animation: aurora 15s linear infinite;
  opacity: 0.25;
  filter: blur(120px);
}
@keyframes aurora { to { transform: rotate(360deg); } }
.hero-content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}
.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 2px;
}
.hero-content span {
  background: linear-gradient(90deg, #ffeb3b, #ff5722);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  font-size: 1.1rem;
  margin-top: 10px;
}

/* 🔍 Filter & Search */
.filter-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 20px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 50;
}
.filter-container input {
  padding: 10px 15px;
  border-radius: 25px;
  border: 2px solid #00bcd4;
  font-size: 1rem;
  outline: none;
  min-width: 250px;
  transition: 0.3s;
}
.filter-container input:focus {
  border-color: #ff9800;
}
.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-btn {
  background: white;
  border: 2px solid #00bcd4;
  color: #007c91;
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.filter-btn.active, .filter-btn:hover {
  background: linear-gradient(90deg, #00bcd4, #0097a7);
  color: white;
  box-shadow: 0 0 12px rgba(0,188,212,0.6);
  transform: scale(1.05);
}

/* 🏞️ Destinations Grid */
.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  background: #f0f8ff;
}
.gallery-photo {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  opacity: 0;
  transform: translateY(30px);
}
.gallery-photo.show {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}
.gallery-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.photo-title {
  color: #007c91;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 10px 0 5px;
}
.photo-desc {
  color: #333;
  font-size: 0.9rem;
  padding: 0 10px 10px;
}

/* ❤️ Like + View Buttons */
.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px 15px;
}
.like-btn, .view-more-btn {
  background: linear-gradient(90deg, #00bcd4, #0097a7);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}
.like-btn:hover, .view-more-btn:hover {
  transform: scale(1.1);
}
.like-btn .like-icon {
  margin-right: 4px;
}
.like-btn.liked .like-icon {
  color: red;
  text-shadow: 0 0 8px rgba(255,0,0,0.6);
}

/* 🖼️ Image Popup Viewer */
.image-popup {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}
.image-popup.active {
  display: flex;
}
.popup-content {
  position: relative;
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}
.popup-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}
.close-popup {
  position: absolute;
  top: -10px;
  right: 10px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}
.popup-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.popup-controls button {
  background: linear-gradient(90deg,#00bcd4,#0097a7);
  border: none;
  color: white;
  padding: 8px 18px;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}
.popup-controls button:hover {
  transform: scale(1.05);
}

/* 📱 Responsive Fix */
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2rem; }
  .filter-container { flex-direction: column; }
  .filter-container input { width: 90%; }
}

/* 🌍 Professional Map Section (Optimized for All Devices) */
.image-map-section {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* Keeps perfect map shape */
  margin-top: 60px;
  overflow: hidden;
  border-top: 3px solid #00bcd4;
  box-shadow: 0 -2px 25px rgba(0, 0, 0, 0.15);
  background: #001f29;
}

.map-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* shows full image without cropping */
  transition: transform 1s ease, filter 0.5s ease;
  filter: brightness(80%) contrast(1.05);
  z-index: 1;
}

.image-map-section:hover .map-image {
  transform: scale(1.04);
  filter: brightness(90%) contrast(1.1);
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 2;
  background: rgba(0, 0, 0, 0.45);
  padding: 25px 35px;
  border-radius: 20px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.map-overlay h2 {
  font-size: 2rem;
  letter-spacing: 1px;
  margin-bottom: 10px;
  color: #ffeb3b;
  text-shadow: 0 0 10px rgba(255,255,0,0.6);
}

.map-overlay p {
  font-size: 1rem;
  color: #f1f1f1;
  margin-bottom: 15px;
}

.map-btn {
  background: linear-gradient(90deg, #00bcd4, #0097a7);
  border: none;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.map-btn:hover {
  background: linear-gradient(90deg, #0097a7, #00bcd4);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0,188,212,0.8);
}

/* 📱 Responsive Adjustments */
@media (max-width: 992px) {
  .image-map-section {
    aspect-ratio: 4/3;
  }
}

@media (max-width: 600px) {
  .image-map-section {
    aspect-ratio: 3/2;
  }
  .map-overlay {
    padding: 20px;
  }
  .map-overlay h2 {
    font-size: 1.5rem;
  }
  .map-overlay p {
    font-size: 0.9rem;
  }
  .map-btn {
    font-size: 0.9rem;
    padding: 8px 18px;
  }
}
