/* ================== SLIDER BASE ================== */
#slider_base_1 {
  width: 100%;
  height: 600px;
  position: relative;
  overflow: hidden;
}

/* Slides */
#slider_base_1 .slides_base_1 {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Chaque slide */
#slider_base_1 .slide_base_1 {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

#slider_base_1 .slide_base_1.active_base_1 {
  opacity: 1;
}

/* Caption texte blanc, centré, sans fond */
#slider_base_1 .caption_base_1 {
  color: #fff;
  max-width: 50%;
}

#slider_base_1 .caption_base_1 h2 {
  font-size: 38px;
  margin: 0 0 10px 0;
}

#slider_base_1 .caption_base_1 p {
  font-size: 20px;
  margin: 0 0 15px 0; /* marge en bas pour le bouton */
}

/* Bouton Contact stylé pour toutes les slides */
.contact_btn_base_1 {
  display: inline-block;
  padding: 10px 25px;
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 3px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hover sur tous les boutons */
.contact_btn_base_1:hover {
  background: rgba(255, 255, 255, 0.5); /* blanc transparent 50% */
  color: #fff;
}

/* ================== CONTROLS ET DOTS ================== */
#slider_base_1 .controls_dots_base_1 {
  position: absolute;
  bottom: 15px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* espace entre flèche et point */
  box-sizing: border-box;
}

/* Flèches */
#slider_base_1 .prev_base_1,
#slider_base_1 .next_base_1 {
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  user-select: none;
  margin: 0 10px; /* 10px de marge entre flèches et points */
  transition: color 0.3s ease;
}

#slider_base_1 .prev_base_1:hover,
#slider_base_1 .next_base_1:hover {
  color: #f0f0f0;
}

/* Points */
#slider_base_1 .dots_base_1 {
  display: flex;
  justify-content: center;
  gap: 8px;
}

/* Point normal */
#slider_base_1 .dot_base_1 {
  height: 12px;
  width: 12px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Point actif plus large */
#slider_base_1 .dot_base_1.active_base_1 {
  width: 24px;
  background: #fff;
  border-radius: 12px;
}

#slider_base_1 .pause_play_btn_base_1 {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  transition: background 0.3s ease;
}

#slider_base_1 .pause_play_btn_base_1:hover {
  background: rgba(120,120,120,0.5);
}

#slider_base_1 .pause_play_btn_base_1 img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* ================== RESPONSIVE MOBILE ================== */
@media screen and (max-width: 768px) {

  #slider_base_1 {
    height: 300px;
  }

  #slider_base_1 .caption_base_1 h2 {
    font-size: 24px;
  }

  #slider_base_1 .caption_base_1 p {
    font-size: 14px;
  }

  #slider_base_1 .prev_base_1,
  #slider_base_1 .next_base_1 {
    font-size: 22px;
    margin: 0 5px;
  }

  #slider_base_1 .dot_base_1.active_base_1 {
    width: 18px;
  }

  #slider_base_1 .caption_base_1 a.contact_btn_base_1 {
    padding: 8px 18px;
    font-size: 14px;
  }
}
