:root {
  --white: #fff;
}

body {
  overflow-x: hidden;
  width: 100%;
}

#map {
  height: 600px;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw; 

  border-radius: 0;
  border: none;
  box-shadow: inset 0 0 50px #000;
  background: #0e0e12 !important;
}

.leaflet-tooltip {
  background-color: #1a1b2a !important;
  color: white !important;
  border: 1px solid var(--rose) !important;
  border-radius: 8px !important;
  font-family: "Poppins", sans-serif;
}

.leaflet-control-zoom {
  display: none;
}

.custom-flag {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
  border-radius: 2px;
}

h2 {
  text-align: center;
  margin: 2rem 0;
  color: var(--white);
}

/* --- Carrousels --- */
.carousel-container,
.carousel-container2,
.carousel-container3 {
  position: relative;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  padding: 20px 60px;
  box-sizing: border-box;
}

.carousel,
.carousel2,
.carousel3 {
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel::-webkit-scrollbar,
.carousel2::-webkit-scrollbar,
.carousel3::-webkit-scrollbar {
  display: none;
}

.carousel-track,
.carousel-track2,
.carousel-track3 {
  display: flex;
  gap: 15px;
  width: max-content;
}

.carousel-item,
.carousel-item2,
.carousel-item3 {
  flex: 0 0 auto;
  width: 200px;
  text-align: center;
}

.carousel-item a:hover h3,
.carousel-item2 a:hover h3,
.carousel-item3 a:hover h3 {
    color: var(--rose) !important;
    transition: color 0.3s ease;
}

.carousel-item img,
.carousel-item2 img,
.carousel-item3 img {
  width: 200px;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  margin-bottom: 10px;
}

.carousel-item a:hover img,
.carousel-item2 a:hover img,
.carousel-item3 a:hover img {
    border: 1px solid var(--rose);
    box-shadow: 0 0 15px rgba(255, 0, 119, 0.4);
    transition: all 0.3s ease;
}

.carousel-btn-prev,
.carousel-btn-next,
.carousel-btn-prev2,
.carousel-btn-next2,
.carousel-btn-prev3,
.carousel-btn-next3 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #00000080;
  color: var(--white);
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  border-radius: 5px;
}

.carousel-btn-prev,
.carousel-btn-prev2,
.carousel-btn-prev3 {
  left: 10px;
}
.carousel-btn-next,
.carousel-btn-next2,
.carousel-btn-next3 {
  right: 10px;
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
  #map {
    margin-top: 10dvh;
    height: 350px;
  }

  h2 {
    text-align: center;
    padding-left: 15px;
    font-size: 1.2rem;
  }

  .carousel-container,
  .carousel-container2,
  .carousel-container3 {
    padding: 10px 0 10px 15px;
  }

  /* Cache les boutons flèches sur mobile */
  .carousel-btn-prev,
  .carousel-btn-next,
  .carousel-btn-prev2,
  .carousel-btn-next2,
  .carousel-btn-prev3,
  .carousel-btn-next3 {
    display: none;
  }

  .carousel-item,
  .carousel-item2,
  .carousel-item3 {
    width: 140px;
  }

  .carousel-item img,
  .carousel-item2 img,
  .carousel-item3 img {
    width: 140px;
    height: 210px;
  }
}
