﻿:root {
  --bg: #050418;
  --text: #f1f5f9;
  --gold: #ffd07a;
  --dark: #0f0f1e;
  --light: #e0e0e8;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  position: relative;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
  /* make body transparent so the slideshow (background) shows through */
  background: transparent;
  color: var(--text);
  line-height: 1.6;
  padding-top: 0;
  margin-top: 0;
}

/* Remove the global overlay so slideshow images are visible behind content */
body::before {
  display: none;
}

/* Slideshow Background */
.slideshow {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* use the site's background color as slideshow fallback */
  background: var(--bg);
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: opacity;
}

.slide.active {
  opacity: 1 !important;
}

.slide.brighten {
  filter: brightness(1.15) contrast(1.05);
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #0a3d6e 0%, #1a5490 50%, #2d6bb0 100%);
  background-image: 
    radial-gradient(ellipse 200px 80px at 20% 30%, rgba(255, 255, 255, 0.1), transparent),
    radial-gradient(ellipse 300px 100px at 80% 50%, rgba(255, 255, 255, 0.08), transparent),
    radial-gradient(ellipse 250px 90px at 50% 70%, rgba(255, 255, 255, 0.05), transparent);
  backdrop-filter: blur(12px);
  padding: 12px 24px;
  border-bottom: 1px solid rgba(26, 84, 144, 0.4);
  box-shadow: 0 4px 12px rgba(10, 61, 110, 0.3);
}

.topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

/* Live Search Styles */
.search-container {
  position: relative;
  max-width: 500px;
  margin-left: auto;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 8px 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 208, 122, 0.6);
  box-shadow: 0 0 20px rgba(255, 208, 122, 0.3);
}

#liveSearch {
  flex: 1;
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  padding: 8px 12px;
  outline: none;
}

#liveSearch::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-btn {
  background: none;
  border: none;
  color: #ffd07a;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.2s ease;
}

.search-btn:hover {
  transform: scale(1.1);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 10px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-results.hidden {
  display: none;
}

.search-category {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-category:last-child {
  border-bottom: none;
}

.search-category h4 {
  color: #ffd07a;
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.search-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  border-color: rgba(255, 208, 122, 0.3);
}

.search-result-image {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
}

.search-result-info h5 {
  color: white;
  margin: 0 0 4px 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.search-result-info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.8rem;
}

.view-image-search {
  background: rgba(255, 208, 122, 0.2);
  border: 1px solid rgba(255, 208, 122, 0.4);
  color: #ffd07a;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.view-image-search:hover {
  background: rgba(255, 208, 122, 0.3);
  transform: scale(1.1);
}

.brand {
  flex-shrink: 0;
}

.logo-svg {
  height: 50px;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 6px rgba(255, 208, 122, 0.6));
  border-radius: 4px;
  padding: 2px;
}

.topnav {
  display: flex;
  gap: 30px;
  margin: 0;
  flex-grow: 1;
  align-items: center;
}

.nav-item {
  cursor: pointer;
  color: #1a5490;
  font-weight: 600;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.nav-item:hover {
  color: #0a3d6e;
  border-bottom-color: #0a3d6e;
}

.top-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Buttons */
.btn {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.btn.subtle {
  background: rgba(255, 255, 255, 0.3);
  color: #1a5490;
  border: 1px solid rgba(26, 84, 144, 0.3);
  font-weight: 600;
}

.btn.subtle:hover {
  background: rgba(255, 255, 255, 0.5);
  border-color: #1a5490;
  color: #0a3d6e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 84, 144, 0.2);
}

.btn.primary {
  background: var(--gold);
  color: var(--bg);
}

.btn.primary:hover {
  background: #ffe8a0;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 208, 122, 0.4);
}

.btn.ghost {
  background: transparent;
  color: #1a5490;
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  display: block;
  font-weight: 700;
  cursor: pointer;
}

.btn.ghost:hover {
  color: #0a3d6e;
  transform: scale(1.05);
  text-shadow: 0 2px 4px rgba(10, 61, 110, 0.1);
}

/* Main Content */
main {
  position: relative;
  z-index: 10;
  margin-top: 0;
  padding-top: 0;
}

.page {
  min-height: 100vh;
  width: 100vw;
  position: relative;
  top: 0;
  left: 0;
  padding: 100px 20px 40px;
  max-width: none;
  margin: 0;
  z-index: 100;
  border: none;
  outline: none;
}

/* Fix toolbar overlap for all pages - topbar is ~70px + padding + margins */
.page {
  margin-top: 70px !important;
  padding-top: 30px !important;
}

/* Ensure specific pages don't overlap with toolbar */
#malls, #explore, #cars, #flights, #ride {
  margin-top: 80px !important;
  padding-top: 40px !important;
}

/* Home Page Interactive Map Section */
.home-map-section {
  margin: 60px auto;
  max-width: 1400px;
  padding: 0 20px;
}

.map-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.map-heading {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 15px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.map-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

.home-map-container {
  background: linear-gradient(135deg, rgba(10, 61, 110, 0.3), rgba(26, 84, 144, 0.3));
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  gap: 30px;
  min-height: 500px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.home-south-africa-map {
  flex: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.interactive-map {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Enhanced Map Header */
.map-header {
  background: linear-gradient(90deg, rgba(26, 84, 144, 0.8), rgba(255, 208, 122, 0.8));
  padding: 15px 25px;
  border-radius: 12px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.map-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.map-stats span {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.live-indicator {
  animation: pulse 2s infinite;
  background: rgba(255, 0, 0, 0.3) !important;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

.sa-map-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
  border-radius: 10px;
}

/* Enhanced Attraction Pins */
.attraction-pin {
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.attraction-pin:hover {
  transform: scale(1.3);
  filter: drop-shadow(3px 3px 8px rgba(0,0,0,0.5)) brightness(1.2);
}

/* Attraction Type Styling */
.natural-wonder { fill: #ff6b6b; }
.wildlife { fill: #74b9ff; }
.historical { fill: #4ecdc4; }
.cultural { fill: #fdcb6e; }
.adventure { fill: #fd79a8; }
.entertainment { fill: #45b7d1; }
.theme-park { fill: #a29bfe; }
.museum { fill: #fdcb6e; }
.unesco { fill: #e17055; }
.safari { fill: #00b894; }
.aquarium { fill: #00b894; }
.resort { fill: #e84393; }
.wine-tourism { fill: #ffeaa7; }
.government { fill: #6c5ce7; }
.national-park { fill: #fab1a0; }

.enhanced-map-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.map-controls {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.map-zoom-btn, .map-filter-btn, .map-view-btn, .map-info-btn {
  background: rgba(26, 84, 144, 0.9);
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-filter-btn {
  background: rgba(255, 208, 122, 0.9);
  color: #1a5490;
}

.map-view-btn {
  background: rgba(116, 185, 255, 0.9);
}

.map-info-btn {
  background: rgba(253, 203, 110, 0.9);
  color: #1a5490;
}

.map-zoom-btn:hover, .map-filter-btn:hover, .map-view-btn:hover, .map-info-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.95);
  color: #1a5490;
}

/* Map Legend */
.map-legend {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(26, 84, 144, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 15px;
  color: #fff;
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.legend-header {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 13px;
  color: #ffd07a;
}

.legend-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
}

.legend-dot.natural-wonder { background: #ff6b6b; }
.legend-dot.wildlife { background: #74b9ff; }
.legend-dot.historical { background: #4ecdc4; }
.legend-dot.cultural { background: #fdcb6e; }
.legend-dot.adventure { background: #fd79a8; }
.legend-dot.entertainment { background: #45b7d1; }

/* Attraction Filter Panel */
.attraction-filter-panel {
  position: absolute;
  top: 80px;
  right: 20px;
  background: rgba(26, 84, 144, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 20px;
  color: #fff;
  width: 220px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 1000;
}

.attraction-filter-panel h4 {
  margin: 0 0 15px 0;
  color: #ffd07a;
  font-size: 14px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-options label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  transition: color 0.3s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.filter-options label:hover {
  color: #ffd07a;
}

.filter-options input[type="checkbox"] {
  accent-color: #ffd07a;
}

/* Real-time Map Integration Styles */
#realTimeMap {
  border-radius: 10px;
  border: 2px solid rgba(26, 84, 144, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.leaflet-control-layers {
  background: rgba(26, 84, 144, 0.9) !important;
  backdrop-filter: blur(10px);
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: white !important;
}

.leaflet-control-layers-expanded {
  padding: 10px 15px !important;
}

.leaflet-control-layers label {
  color: white !important;
  font-weight: 500;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.leaflet-popup-content-wrapper {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-radius: 15px !important;
  border: 2px solid rgba(26, 84, 144, 0.3) !important;
}

.leaflet-popup-tip {
  background: rgba(255, 255, 255, 0.95) !important;
}

.custom-marker {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.info-control, .filter-control {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
}

.leaflet-control-zoom {
  background: rgba(26, 84, 144, 0.9) !important;
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.leaflet-control-zoom a {
  background-color: transparent !important;
  color: white !important;
  border: none !important;
  font-size: 18px !important;
  font-weight: bold !important;
}

.leaflet-control-zoom a:hover {
  background-color: rgba(255, 208, 122, 0.3) !important;
  color: #1a5490 !important;
}

/* Mobile Responsive Enhancements for Interactive Map */
@media (max-width: 768px) {
  .map-header {
    padding: 12px 15px;
  }
  
  .map-stats {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  
  .map-stats span {
    text-align: center;
    font-size: 0.85rem;
    padding: 8px;
  }
  
  .map-controls {
    bottom: 10px;
    right: 10px;
    gap: 6px;
  }
  
  .map-zoom-btn, .map-filter-btn, .map-view-btn, .map-info-btn {
    padding: 6px 10px;
    font-size: 10px;
  }
  
  .map-legend {
    top: 10px;
    left: 10px;
    padding: 10px;
    font-size: 11px;
  }
  
  .legend-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  
  .attraction-filter-panel {
    top: 60px;
    right: 10px;
    width: 200px;
    padding: 15px;
  }
  
  .filter-options label {
    font-size: 11px;
  }
  
  /* Touch-friendly attraction pins on mobile */
  .attraction-pin {
    r: 10;
  }
  
  .attraction-pin:hover {
    r: 14;
  }
  
  /* Mobile city labels */
  .city-labels text {
    font-size: 12px;
  }
}

.map-zoom-btn:hover {
  background: #1a5490;
  transform: translateY(-2px);
}

.home-map-sidebar {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 25px;
  overflow-y: auto;
  max-height: 500px;
}

.home-map-sidebar h3 {
  color: #fff;
  margin: 0 0 20px 0;
  font-size: 1.3rem;
  font-weight: 700;
}

/* Featured attraction cards styles */
.home-map-attractions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

.featured-attraction-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.featured-attraction-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 208, 122, 0.4);
}

.attraction-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.attraction-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-attraction-card:hover .attraction-image img {
  transform: scale(1.1);
}

.attraction-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.attraction-details {
  padding: 20px;
}

.attraction-details h4 {
  color: #ffd07a;
  margin: 0 0 8px 0;
  font-size: 1.2em;
  font-weight: 600;
}

.location {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 12px 0;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.description {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 15px 0;
  font-size: 0.95em;
  line-height: 1.5;
}

.attraction-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.attraction-info span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85em;
  display: flex;
  align-items: center;
  gap: 5px;
}

.price { color: #90EE90 !important; }
.hours { color: #87CEEB !important; }
.type { color: #ffd07a !important; }

.attraction-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature {
  background: rgba(255, 208, 122, 0.15);
  color: #ffd07a;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8em;
  border: 1px solid rgba(255, 208, 122, 0.3);
  transition: all 0.3s ease;
}

.featured-attraction-card:hover .feature {
  background: rgba(255, 208, 122, 0.25);
  border-color: rgba(255, 208, 122, 0.5);
}

/* Live Search Styles */
.search-container {
  position: relative;
  max-width: 500px;
  margin-left: auto;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  padding: 8px 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 208, 122, 0.6);
  box-shadow: 0 0 20px rgba(255, 208, 122, 0.3);
}

#liveSearch {
  flex: 1;
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  padding: 8px 12px;
  outline: none;
}

#liveSearch::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.search-btn {
  background: none;
  border: none;
  color: #ffd07a;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
  transition: transform 0.2s ease;
}

.search-btn:hover {
  transform: scale(1.1);
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 10px;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-results.hidden {
  display: none;
}

.search-category {
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-category:last-child {
  border-bottom: none;
}

.search-category h4 {
  color: #ffd07a;
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.search-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
  border-color: rgba(255, 208, 122, 0.3);
}

.search-result-image {
  width: 60px;
  height: 45px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
}

.search-result-info h5 {
  color: white;
  margin: 0 0 4px 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.search-result-info p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 0.8rem;
}

.view-image-search {
  background: rgba(255, 208, 122, 0.2);
  border: 1px solid rgba(255, 208, 122, 0.4);
  color: #ffd07a;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.view-image-search:hover {
  background: rgba(255, 208, 122, 0.3);
  transform: scale(1.1);
}

/* Image Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-overlay.hidden {
  display: none;
}

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 20px 20px 0 0;
}

.lightbox-info {
  padding: 25px;
  background: rgba(26, 26, 46, 0.8);
  color: white;
}

.lightbox-info h3 {
  color: #ffd07a;
  margin: 0 0 10px 0;
  font-size: 1.4rem;
}

.lightbox-info p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.lightbox-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-btn {
  background: #4CAF50;
  color: white;
}

.download-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
}

.share-btn {
  background: #2196F3;
  color: white;
}

.share-btn:hover {
  background: #1976D2;
  transform: translateY(-2px);
}

.details-btn {
  background: #ffd07a;
  color: #1a5490;
}

.details-btn:hover {
  background: #ffb347;
  transform: translateY(-2px);
}

.lightbox-navigation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.nav-btn {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

/* Image overlay for attraction cards */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.attraction-image:hover .image-overlay {
  opacity: 1;
}

.view-image-btn {
  background: rgba(255, 208, 122, 0.9);
  color: #1a5490;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Responsive design for attraction cards */
@media (max-width: 768px) {
  .home-map-attractions-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .featured-attraction-card {
    margin: 0 10px;
  }
  
  .attraction-image {
    height: 180px;
  }
  
  .attraction-info {
    flex-direction: column;
    gap: 8px;
  }
  
  .search-container {
    max-width: 100%;
    margin: 0 10px;
  }
  
  .search-results {
    max-height: 300px;
  }
  
  .lightbox-container {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .lightbox-info {
    padding: 20px;
  }
  
  .lightbox-actions {
    flex-direction: column;
  }
  
  .action-btn {
    justify-content: center;
  }
}

/* Legacy support for simple attraction items */
.map-attraction-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-attraction-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 208, 122, 0.2);
}

.map-attraction-item h4 {
  color: #ffd07a;
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 600;
}

.map-attraction-item p {
  color: #fff;
  margin: 0 0 8px 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.attraction-type {
  background: rgba(255, 208, 122, 0.2);
  color: #ffd07a;
  padding: 4px 8px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Image Lightbox Styles */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-overlay.hidden {
  display: none;
}

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10001;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.lightbox-content {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.lightbox-img {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 20px 20px 0 0;
}

.lightbox-info {
  padding: 25px;
  background: rgba(26, 26, 46, 0.8);
  color: white;
}

.lightbox-info h3 {
  color: #ffd07a;
  margin: 0 0 10px 0;
  font-size: 1.4rem;
}

.lightbox-info p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.lightbox-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.download-btn {
  background: #4CAF50;
  color: white;
}

.download-btn:hover {
  background: #45a049;
  transform: translateY(-2px);
}

.share-btn {
  background: #2196F3;
  color: white;
}

.share-btn:hover {
  background: #1976D2;
  transform: translateY(-2px);
}

.details-btn {
  background: #ffd07a;
  color: #1a5490;
}

.details-btn:hover {
  background: #ffb347;
  transform: translateY(-2px);
}

.lightbox-navigation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
}

.nav-btn {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

/* Image overlay for attraction cards */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.attraction-image:hover .image-overlay {
  opacity: 1;
}

.view-image-btn {
  background: rgba(255, 208, 122, 0.9);
  color: #1a5490;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  color: #fff;
  text-align: center;
}

.map-loading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffd07a;
}

.map-info h3 {
  margin: 0 0 10px 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.map-info p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .home-map-container {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  
  .home-south-africa-map {
    flex: 1;
    min-height: 300px;
  }
  
  .home-map-sidebar {
    flex: none;
    max-height: 300px;
  }
  
  .map-heading {
    font-size: 1.8rem;
  }
  
  .map-description {
    font-size: 1rem;
  }
}

/* Content wrapper for seamless background merge */
.page > h2 {
  margin-top: 30px;
  padding-top: 0;
}

/* Ensure first elements in pages clear the toolbar */
.page > *:first-child {
  margin-top: 40px !important;
}

.page > .back-btn {
  position: fixed;
  top: 85px;
  left: 20px;
  margin: 0;
  z-index: 1500;
}

.page-navigation {
  position: fixed;
  top: 85px;
  left: 20px;
  display: flex;
  gap: 10px;
  z-index: 2000;
  pointer-events: auto;
}

.page-navigation .back-btn {
  position: relative;
  top: auto;
  left: auto;
  margin: 0;
  pointer-events: auto;
  cursor: pointer;
  z-index: 2001;
}

.page > h2,
.page > .back-btn,
.page > .cards,
.page > #attractionCards,
.page > #attractionDetail,
.page > .explore-grid {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 0;
  padding: 30px;
  margin: 0 auto 20px auto;
  max-width: 1400px;
  box-shadow: none;
  border: none;
}

/* Hero Section */
.hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

/* Why 2goWhere Section */
.why-2gowhere-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  margin: 40px 0;
}

.why-2gowhere-window {
  max-width: 1200px;
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 208, 122, 0.3);
  border-radius: 24px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.why-2gowhere-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.8;
}

.why-heading {
  font-size: 42px;
  font-weight: 900;
  text-align: center;
  margin: 0 0 50px 0;
  color: var(--gold);
  text-shadow: 0 2px 15px rgba(255, 208, 122, 0.4);
  letter-spacing: 1px;
}

.why-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  align-items: start;
}

.why-item {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 208, 122, 0.2);
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
}

.why-item:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 208, 122, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 208, 122, 0.15);
}

.why-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 15px 0;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-item p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  text-align: left;
}

/* Mobile responsiveness for Why section */
@media (max-width: 768px) {
  .why-2gowhere-container {
    padding: 40px 15px;
    margin: 20px 0;
  }
  
  .why-2gowhere-window {
    padding: 30px 20px;
    border-radius: 16px;
  }
  
  .why-heading {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .why-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .why-item {
    padding: 20px;
  }
  
  .why-item h3 {
    font-size: 16px;
  }
  
  .why-item p {
    font-size: 14px;
  }
}

.hero h1 {
  font-size: 56px;
  margin: 0 0 20px 0;
  color: var(--gold);
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(255, 208, 122, 0.3);
}

.hero p {
  font-size: 18px;
  color: var(--light);
  margin: 0 0 30px 0;
  max-width: 600px;
}

.home-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta {
  padding: 14px 32px;
  background: var(--gold);
  color: var(--bg);
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0) scale(1);
}

.cta:hover {
  background: #ffe8a0;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 208, 122, 0.4);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: none;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.card:hover {
  background: rgba(255, 208, 122, 0.05);
  transform: translateY(-4px);
}

.card-image {
  width: 100%;
  height: 200px;
  background: rgba(100, 100, 120, 0.3);
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card h3 {
  margin: 0 0 10px 0;
  color: var(--gold);
}

.card p {
  margin: 0;
  color: var(--light);
  font-size: 14px;
}

/* Explore Grid */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.explore-btn {
  padding: 20px;
  background: #0a3d6e;
  border: 2px solid #0a3d6e;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0) scale(1);
}
.explore-panel{margin-top:16px}
.search-row{display:flex;gap:12px;align-items:center;margin-bottom:8px}
.search-input{flex:1;padding:10px 12px;border-radius:10px;border:1px solid rgba(10,61,110,.2);background:rgba(255,255,255,.6);backdrop-filter:blur(6px);color:#0a3d6e;transition:all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);transform:scale(1)}
.search-input::placeholder{color:#1a5490;opacity:.6}
.search-input:focus{outline:none;border-color:#1a5490;background:rgba(255,255,255,.8);transform:scale(1.02);box-shadow:0 0 0 3px rgba(26,84,144,.1)}
.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0a3d6e;
  font-weight: 600;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.explore-meta{margin:8px 0 12px;color:#1a5490;font-weight:600}
.badge{display:inline-block;padding:2px 8px;margin-left:6px;font-size:12px;background:#ffd07a;color:#0a3d6e;border-radius:999px;vertical-align:middle}
/* Home stack panels */
.home-stack{margin-top:24px;display:grid;gap:24px}
.home-panel{background:rgba(255,255,255,.55);backdrop-filter:blur(8px);border:1px solid rgba(10,61,110,.15);border-radius:16px;box-shadow:0 8px 22px rgba(10,61,110,.08);overflow:hidden}
.panel-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:linear-gradient(180deg, rgba(255,255,255,.7), rgba(255,255,255,.4));border-bottom:1px solid rgba(10,61,110,.12)}
.panel-header h3{margin:0;color:#0a3d6e}
.panel-close{appearance:none;border:0;background:transparent;color:#1a5490;font-size:20px;line-height:1;border-radius:8px;padding:2px 8px;cursor:pointer;transition:all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);transform:scale(1)}
.panel-close:hover{background:rgba(10,61,110,.12);transform:scale(1.1);box-shadow:0 2px 6px rgba(10,61,110,.15)}

/* Side Panel System */
.side-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-panel-overlay.active {
  opacity: 1;
  visibility: visible;
}

.side-panel {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 85vh;
  background: linear-gradient(135deg, rgba(10, 61, 110, 0.95), rgba(26, 84, 144, 0.95), rgba(45, 107, 176, 0.95));
  backdrop-filter: blur(25px);
  border: 2px solid rgba(255, 208, 122, 0.3);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(0.8) translateY(50px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 208, 122, 0.4) transparent;
}

/* Side panel background images */
.side-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 18px;
  opacity: 0.3;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.side-panel.panel-explore::before {
  background-image: url('../images/capetown_1.jpg');
}

.side-panel.panel-hotels::before {
  background-image: url('../images/capetown_2.jpg');
}

.side-panel.panel-attractions::before {
  background-image: url('../images/safari_1.jpg');
}

.side-panel.panel-malls::before {
  background-image: url('../images/durban_1.jpg');
}

.side-panel.panel-cars::before {
  background-image: url('../images/safari_2.jpg');
}

.side-panel.panel-flights::before {
  background-image: url('../images/capetown_1.jpg');
}

.side-panel.panel-ride::before {
  background-image: url('../images/durban_1.jpg');
}

.side-panel-overlay.active .side-panel {
  transform: scale(1) translateY(0);
}

.side-panel::-webkit-scrollbar {
  width: 8px;
}

.side-panel::-webkit-scrollbar-track {
  background: transparent;
}

.side-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 208, 122, 0.3);
  border-radius: 4px;
}

.side-panel::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 208, 122, 0.5);
}

.side-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 208, 122, 0.15));
  border-bottom: 2px solid rgba(255, 208, 122, 0.3);
  backdrop-filter: blur(20px);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.side-panel-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: inherit;
  opacity: 0.1;
  z-index: -1;
}

.side-panel-header h2 {
  margin: 0;
  color: var(--gold);
  font-size: 28px;
  font-weight: 800;
  text-shadow: 0 3px 15px rgba(255, 208, 122, 0.4);
  letter-spacing: 0.5px;
}

.side-panel-close {
  appearance: none;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  border-radius: 12px;
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1);
}

.side-panel-close:hover {
  background: rgba(255, 208, 122, 0.2);
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(255, 208, 122, 0.2);
}

.side-panel-content {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.side-panel-content h3 {
  color: var(--gold);
  margin: 0 0 15px 0;
  font-size: 22px;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(255, 208, 122, 0.3);
}

.side-panel-content p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 16px;
}

.side-panel .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 25px;
}

.side-panel .card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 208, 122, 0.12));
  backdrop-filter: blur(15px);
  border: 2px solid rgba(255, 208, 122, 0.3);
  border-radius: 15px;
  padding: 25px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.side-panel .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #ffe8a0);
  transform: scaleX(0);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.side-panel .card:hover {
  background: linear-gradient(135deg, rgba(255, 208, 122, 0.25), rgba(255, 255, 255, 0.2));
  backdrop-filter: blur(20px);
  border-color: rgba(255, 208, 122, 0.6);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(255, 208, 122, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.side-panel .card:hover::before {
  transform: scaleX(1);
}

.side-panel .card h4 {
  color: var(--gold);
  margin: 0 0 12px 0;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.side-panel .card p {
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 10px 0;
  font-size: 14px;
  line-height: 1.5;
}

.side-panel .card small {
  color: rgba(255, 208, 122, 0.8);
  font-size: 13px;
  font-weight: 600;
  display: block;
  margin-top: 8px;
}

.panel-stats {
  display: flex;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.stat-item {
  background: rgba(255, 208, 122, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 208, 122, 0.4);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
  flex: 1;
  min-width: 120px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.stat-item:hover {
  background: rgba(255, 208, 122, 0.25);
  border-color: rgba(255, 208, 122, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 208, 122, 0.2);
}

/* Panel Search Styling */
.panel-search {
  margin: 20px 0;
}

.search-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.panel-search-input {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid rgba(255, 208, 122, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.panel-search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.panel-search-input:focus {
  outline: none;
  border-color: rgba(255, 208, 122, 0.6);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 20px rgba(255, 208, 122, 0.3);
}

.search-btn {
  padding: 15px 20px;
  border: 2px solid rgba(255, 208, 122, 0.4);
  border-radius: 12px;
  background: rgba(255, 208, 122, 0.2);
  backdrop-filter: blur(10px);
  color: var(--gold);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.search-btn:hover {
  background: rgba(255, 208, 122, 0.3);
  border-color: rgba(255, 208, 122, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 208, 122, 0.2);
}

.search-results {
  margin-top: 20px;
}

.no-results {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.8);
  font-style: italic;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 208, 122, 0.2);
}

/* Detail Modal Styling */
.detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.detail-content {
  background: linear-gradient(135deg, rgba(10, 61, 110, 0.95), rgba(26, 84, 144, 0.95));
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 208, 122, 0.3);
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

.detail-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--gold);
  font-size: 20px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.detail-close:hover {
  background: rgba(255, 208, 122, 0.2);
  transform: scale(1.1);
}

.detail-content h2 {
  color: var(--gold);
  margin: 0 0 20px 0;
  font-size: 24px;
  text-shadow: 0 2px 10px rgba(255, 208, 122, 0.3);
}

.detail-info p {
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.detail-info strong {
  color: var(--gold);
}

.detail-actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(30px) scale(0.9); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Mobile responsiveness for search and modals */
@media (max-width: 768px) {
  .search-container {
    flex-direction: column;
  }
  
  .search-btn {
    align-self: stretch;
  }
  
  .detail-content {
    margin: 20px;
    padding: 20px;
  }
  
  .detail-actions {
    flex-direction: column;
  }
}

.stat-number {
  color: var(--gold);
  font-size: 24px;
  font-weight: 800;
  display: block;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-top: 5px;
}

/* Mobile responsiveness for side panels */
@media (max-width: 768px) {
  .side-panel {
    width: 100%;
    right: -100%;
  }
  
  .side-panel-overlay.active .side-panel {
    right: 0;
  }
}
/* Toolbar dropdown */
.toolbar-dropdown{position:absolute;z-index:1000;background:rgba(255,255,255,.7);backdrop-filter:blur(10px);border:1px solid rgba(10,61,110,.15);border-radius:12px;box-shadow:0 12px 32px rgba(10,61,110,.15);padding:8px;max-height:60vh;overflow:auto}
.dd-header{display:flex;align-items:center;justify-content:space-between;padding:6px 8px 10px 8px;border-bottom:1px solid rgba(10,61,110,.12)}
.dd-title{color:#0a3d6e;font-weight:800}
.dd-close{appearance:none;border:0;background:transparent;color:#1a5490;font-size:18px;border-radius:8px;padding:2px 6px;cursor:pointer;transition:all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);transform:scale(1)}
.dd-close:hover{background:rgba(10,61,110,.12);transform:scale(1.1);box-shadow:0 2px 6px rgba(10,61,110,.15)}
.dd-list{list-style:none;margin:8px 0 0 0;padding:0}
.dd-list li{margin:0;padding:0}
.dropdown-item{display:flex;flex-direction:column;gap:2px;width:100%;text-align:left;padding:10px 10px;border:0;background:transparent;color:#0a3d6e;border-radius:10px;cursor:pointer;transition:all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);transform:translateX(0)}
.dropdown-item:hover{background:rgba(10,61,110,.12);transform:translateX(2px);box-shadow:0 2px 8px rgba(10,61,110,.1)}
.dropdown-row{padding:10px;border-radius:10px;transition:all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);transform:translateX(0)}
.dropdown-row:hover{background:rgba(10,61,110,.12);transform:translateX(2px);box-shadow:0 2px 8px rgba(10,61,110,.1)}
.muted{color:#1a5490;opacity:.8;font-size:12px}
.dd-form{display:grid;grid-template-columns:1fr auto auto;gap:8px;padding:8px}
.dd-form input{padding:8px 10px;border-radius:10px;border:1px solid rgba(10,61,110,.2);background:rgba(255,255,255,.6);color:#0a3d6e;transition:all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);transform:scale(1)}
.dd-form input:focus{outline:none;border-color:#1a5490;background:rgba(255,255,255,.8);transform:scale(1.02);box-shadow:0 0 0 3px rgba(26,84,144,.1)}
.dd-search{padding:8px}
/* Dropdown item with avatar */
.dd-item{display:flex;align-items:center;gap:10px;padding:6px 4px}
.dd-avatar{width:36px;height:36px;border-radius:50%;display:grid;place-items:center;font-size:18px;background:radial-gradient(circle at 30% 30%, #f4fbff, #cfeaff);color:#0a3d6e;overflow:hidden;flex:0 0 36px}
.dd-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.dd-text h4{margin:0;font-size:14px;color:#0a3d6e}
.dd-text small{color:#1a5490;opacity:.85}
.stars{color:#ffd07a}

.explore-btn:hover {
  background: #1a5490;
  border-color: #1a5490;
  color: #ffffff;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 25px rgba(26, 84, 144, 0.3);
}

/* Headings */
h2 {
  font-size: 36px;
  margin: 0 0 30px 0;
  color: var(--gold);
}

h3 {
  color: var(--gold);
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  background: rgba(5, 4, 24, 0.8);
  border-top: 1px solid rgba(255, 208, 122, 0.1);
  color: #aab3bf;
  margin-top: 60px;
}

/* Forms */
.form-card {
  background: linear-gradient(135deg, rgba(135, 206, 235, 0.5) 0%, rgba(176, 224, 230, 0.5) 50%, rgba(224, 246, 255, 0.5) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 208, 122, 0.5);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.form-card h3 {
  color: #0a3d6e;
  margin-top: 0;
  margin-bottom: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.flight-form-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.flight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.flight-trip-type {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .flight-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-weight: 700;
  color: #0a3d6e;
  margin-bottom: 6px;
}

.form-field input,
.form-field select {
  padding: 12px 14px;
  border: 1.5px solid rgba(26,84,144,0.35);
  border-radius: 10px;
  background: rgba(255,255,255,0.9);
  color: #2c3e50;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
  border-color: #1a5490;
  box-shadow: 0 0 0 3px rgba(26,84,144,0.15);
}

.inline {
  display: flex;
  gap: 16px;
}

.inline label {
  font-weight: 600;
  color: #0a3d6e;
}

.form-actions {
  margin-top: 16px;
}

.form-actions .btn.primary {
  background: #ffd07a;
  color: #050418;
  border: 2px solid #ffd07a;
}

.form-actions .btn.primary:hover {
  background: #ffe099;
  border-color: #ffe099;
}

@media (max-width: 768px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* Hamburger Menu */
.hamburger-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
  box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
  z-index: 2000;
  transition: right 0.3s ease-in-out;
  overflow-y: auto;
}

.hamburger-menu.open {
  right: 0;
}

.hamburger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: linear-gradient(135deg, #87CEEB 0%, #B0E0E6 100%);
  border-bottom: 2px solid rgba(26, 84, 144, 0.2);
}

.hamburger-header h3 {
  margin: 0;
  color: #1a5490;
  font-size: 24px;
}

.close-btn {
  background: transparent;
  border: none;
  font-size: 28px;
  color: #1a5490;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: scale(1) rotate(0deg);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.close-btn:hover {
  background: rgba(26, 84, 144, 0.15);
  color: #0a3d6e;
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 2px 8px rgba(26, 84, 144, 0.2);
}

.hamburger-nav {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.hamburger-item {
  padding: 16px 24px;
  color: #1a5490;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(26, 84, 144, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.hamburger-item:hover {
  background: rgba(135, 206, 235, 0.1);
  padding-left: 25px;
}

/* Page sections - removed duplicate, handled below */

.page h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #0a3d6e;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 12px;
  font-weight: 700;
}

.back-btn {
  background: rgba(26, 84, 144, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 2px solid #1a5490;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin: 0;
  display: inline-block;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(26, 84, 144, 0.4);
  transform: translateX(0);
  white-space: nowrap;
}

.back-btn:hover {
  background: #0a3d6e;
  color: #ffffff;
  transform: translateX(-3px) scale(1.05);
  box-shadow: 0 6px 25px rgba(26, 84, 144, 0.6);
}

/* Cards grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  box-shadow: none;
}

.card:hover {
  transform: translateY(-4px);
  background: rgba(255, 208, 122, 0.05);
}

.card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  color: #0a3d6e;
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.card-content p {
  color: #2c3e50;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
  font-weight: 500;
}

.card-content .location {
  color: #0a3d6e;
  font-size: 0.9rem;
  display: block;
  margin-top: 10px;
  font-weight: 700;
}

/* Detail view */
.detail-view {
  max-width: 900px;
  margin: 20px auto 0 auto;
  background: linear-gradient(135deg, rgba(135, 206, 235, 0.5) 0%, rgba(176, 224, 230, 0.5) 50%, rgba(224, 246, 255, 0.5) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(255, 208, 122, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.detail-view .back-btn {
  position: fixed;
  top: 85px;
  left: 20px;
  margin: 0;
  z-index: 1500;
}

.detail-header {
  margin-bottom: 30px;
}

.detail-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 20px;
}

.detail-title h2 {
  color: #0a3d6e;
  font-size: 2.5rem;
  margin-bottom: 10px;
  text-align: left;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.detail-location {
  color: #0a3d6e;
  font-size: 1.1rem;
  font-weight: 700;
}

.detail-body {
  color: #2c3e50;
  font-weight: 500;
}

.detail-section {
  margin-bottom: 30px;
}

.detail-section h3 {
  color: #0a3d6e;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.detail-section p {
  line-height: 1.8;
  font-size: 1.05rem;
  color: #2c3e50;
  font-weight: 500;
}

.highlights-list {
  list-style: none;
  padding: 0;
}

.highlights-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
  color: #2c3e50;
  font-weight: 500;
}

.highlights-list li:before {
  content: "★";
  color: #ffd700;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  background: rgba(26, 84, 144, 0.12);
  color: #0a3d6e;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(26, 84, 144, 0.35);
  font-weight: 700;
}

.detail-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.detail-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.detail-actions .btn {
  flex: 1;
}

/* Info cards for placeholder pages */
.info-card {
  background: linear-gradient(135deg, rgba(135, 206, 235, 0.5) 0%, rgba(176, 224, 230, 0.5) 50%, rgba(224, 246, 255, 0.5) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 208, 122, 0.5);
  border-radius: 16px;
  padding: 50px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
  color: #0a3d6e;
  font-size: 2rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.info-card p {
  color: #2c3e50;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 500;
}

.info-card .btn {
  min-width: 200px;
}

/* Page background system with overlays */
.page {
  position: relative;
  overflow: hidden;
  background: transparent;
  z-index: 1;
  border: none;
  outline: none;
  margin: 0;
  padding: 0;
}

.page > * {
  position: relative;
  z-index: 1;
}

.page::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  transform: translateZ(0);
  will-change: transform, opacity;
  opacity: 1;
  background-image:
    radial-gradient(ellipse 800px 400px at 20% 30%, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(ellipse 1000px 500px at 80% 50%, rgba(255, 255, 255, 0.3), transparent),  
    radial-gradient(ellipse 900px 450px at 50% 70%, rgba(255, 255, 255, 0.2), transparent),
    linear-gradient(135deg, #87CEEB 0%, #B0E0E6 30%, #E0F6FF 70%, #F0F8FF 100%);
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Keep home page using slideshow background */
#home::before { display: none !important; }

  /* Home uses slideshow, so no background here */

  /* Explore: safari vibe */
  /* Page-specific photo backgrounds removed to unify with toolbar theme */

  /* Attractions: mountainscape */

  /* Hotels: city/urban skyline */

  /* Cars: scenic coastal road */

  /* Flights: bright sky with subtle clouds */

  /* Ride: vibrant beachfront city */

  /* Reviews: elegant bokeh gradient */

  /* About: soft branded glow */

/* Responsive */
@media (max-width: 768px) {
    .cards {
      grid-template-columns: 1fr;
      padding: 10px;
    }
  
    .page h2 {
      font-size: 2rem;
    }
  
    .detail-image {
      height: 250px;
    }
  
    .detail-title h2 {
      font-size: 2rem;
    }
  
    .detail-info-grid {
      grid-template-columns: 1fr;
    }
  
    .detail-actions {
      flex-direction: column;
    }
  }

/* Responsive */
@media (max-width: 768px) {
  .topbar {
    padding: 12px 16px;
  }

  .topbar-inner {
    gap: 12px;
  }

  .topnav {
    display: none;
  }

  .btn.ghost {
    display: block;
  }

  .page {
    padding: 120px 15px 40px;
    width: 100vw;
    min-height: 100vh;
    position: relative;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .home-buttons {
    flex-direction: column;
  }

  .cta {
    width: 100%;
  }

  h2 {
    font-size: 28px;
  }
}

/* Fixed Navigation Styles */
.fixed-navigation {
  position: fixed !important;
  top: 80px;
  left: 20px;
  right: 20px;
  background: rgba(26, 26, 46, 0.95) !important;
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 9999 !important;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s ease;
}

.fixed-navigation:hover {
  background: rgba(26, 26, 46, 0.98) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.fixed-navigation .back-btn {
  background: rgba(255, 208, 122, 0.1);
  border: 1px solid rgba(255, 208, 122, 0.3);
  color: #ffd07a;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.fixed-navigation .back-btn:hover {
  background: rgba(255, 208, 122, 0.2);
  border-color: rgba(255, 208, 122, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 208, 122, 0.3);
}

.fixed-navigation .back-btn:active {
  transform: translateY(0);
}

/* Add top margin to page content to account for fixed navigation */
.page#malls {
  padding-top: 100px;
}

.page#malls h2 {
  margin-top: 20px;
}

/* Mobile responsive fixed navigation */
@media (max-width: 768px) {
  .fixed-navigation {
    left: 10px;
    right: 10px;
    padding: 12px;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .fixed-navigation .back-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
    flex: 1;
    min-width: 120px;
  }
  
  .page#malls {
    padding-top: 120px;
  }
}

@media (max-width: 480px) {
  .fixed-navigation {
    position: relative !important;
    top: auto;
    left: auto;
    right: auto;
    margin: 20px 10px;
  }
  
  .page#malls {
    padding-top: 20px;
  }
}
