* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 40px;
  text-align: center;
}

header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
  font-size: 1.2em;
  opacity: 0.95;
}

.main-content {
  display: flex;
  min-height: 600px;
}

.sidebar {
  width: 350px;
  background: #f8f9fa;
  padding: 25px;
  border-right: 1px solid #e0e0e0;
  overflow-y: auto;
  max-height: 600px;
}

.sidebar h2 {
  color: #667eea;
  margin-bottom: 20px;
  font-size: 1.5em;
}

.location-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.location-item {
  background: white;
  padding: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.location-item:hover {
  transform: translateX(5px);
  border-color: #667eea;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.location-item h3 {
  color: #333;
  font-size: 1.1em;
  margin-bottom: 5px;
}

.location-item p {
  color: #666;
  font-size: 0.9em;
}

.map-container {
  flex: 1;
  position: relative;
}

#map {
  width: 100%;
  height: 600px;
}

footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Custom Info Window Styling */
.info-window {
  max-width: 300px;
}

.info-window h3 {
  color: #667eea;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.info-window p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 8px;
}

.info-window .category {
  display: inline-block;
  background: #667eea;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.85em;
  margin-top: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    max-height: 300px;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  header h1 {
    font-size: 1.8em;
  }

  .subtitle {
    font-size: 1em;
  }
}

/* Scrollbar Styling */
.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 10px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: #764ba2;
}
