/* Map Container */
.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 15px;
  box-sizing: border-box;
}

/* Section Title */
.section-title {
  text-align: center;
  color: #2a3f5f;
  margin-bottom: 10px;
  font-size: 2rem;
  font-weight: 700;
}

/* Subtitle */
.subtitle {
  text-align: center;
  color: #6c757d;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

/* Cities List */
.cities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  padding: 0 10px;
}

/* City Buttons */
.city-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #2a3f5f;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin: 5px;
}

.city-btn i {
  margin-right: 8px;
  font-size: 16px;
  color: #2a7fba;
}

.city-btn:hover {
  background: #f0f4f8;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.city-btn.active {
  background: #2a7fba;
  color: white;
  border-color: #2a7fba;
}

.city-btn.active i {
  color: white;
}

/* Map Container */
#map {
  width: 100%;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e6ed;
  margin: 0 auto;
  background: #f8f9fa;
}

/* Leaflet Overrides */
.leaflet-container {
  font-family: inherit;
  z-index: 1;
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  padding: 0;
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0;
  padding: 12px 16px;
  line-height: 1.5;
  font-size: 14px;
}

.leaflet-popup-content b {
  color: #2a7fba;
  display: block;
  margin-bottom: 5px;
  font-size: 15px;
}

.leaflet-popup-tip {
  box-shadow: none;
}

.leaflet-marker-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .map-container {
    padding: 15px 10px;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  #map {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .cities-list {
    gap: 8px;
    padding: 0 5px;
  }
  
  .city-btn {
    padding: 8px 15px;
    font-size: 13px;
    margin: 3px;
  }
  
  #map {
    height: 400px;
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }
  
  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }
  
  .cities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 5px;
  }
  
  .city-btn {
    width: 100%;
    justify-content: center;
    padding: 8px 10px;
    font-size: 12px;
    margin: 0;
  }
  
  #map {
    height: 350px;
  }
}
