/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #f2f4f8;
  color: #2c3e50;
  overflow-y: auto;
  overflow-x: hidden;
}

/* ===== CONTAINER PRINCIPAL ===== */
.container-maps {
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  width: 100%;
}

/* ===== BARRE DE BOUTONS EN HAUT ===== */
.locations {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px 10px;
  background: linear-gradient(to right, #ffffff, #f0f4f8);
  border-bottom: 1px solid #dcdde1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  flex-wrap: wrap;
  z-index: 10;
}

/* ===== STYLE DES BOUTONS ===== */
.locations button {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #2c3e50, #4b6584);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.locations button:hover {
  background: linear-gradient(135deg, #1e2c3b, #34495e);
  transform: translateY(-2px);
}

.locations button:active {
  transform: scale(0.97);
  background: #1f2a38;
}

/* ===== CARTE (IFRAME) EN DESSOUS ===== */
iframe {
  width: 100%;
  height: calc(100vh - 200px); /* 100px = approx hauteur de la barre */
  min-height: 400px;
  border: none;
  filter: grayscale(0.05) contrast(1.1) brightness(1.03);
  transition: all 0.3s ease;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .locations {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 15px 5px;
  }

  .locations button {
    flex: 1 1 45%;
    font-size: 13px;
    padding: 10px;
  }

  iframe {
    height: calc(100vh - 120px); /* ajuste selon le contenu */
  }
}
