/* Styles pour le carrousel */

/* Animation plus fluide */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* Indicateurs du carrousel */
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
}

.carousel-indicators button.active {
  background-color: #fff;
  transform: scale(1.2);
}

/* Effet hover sur les contrôles */
.carousel-control-prev, .carousel-control-next {
  opacity: 0.2;
  transition: opacity 0.3s ease;
}

.carousel-control-prev:hover, .carousel-control-next:hover {
  opacity: 0.8;
}

/* Légendes du carrousel */
.carousel-caption {
  bottom: 20px;
}

.carousel-caption h5 {
  display: inline-block;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0 0 3px rgba(0,0,0,0.5);
}

/* Conteneur du carrousel */
#heroCarousel {
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Responsive pour mobiles */
@media (max-width: 767.98px) {
  .carousel-caption {
    position: relative;
    background-color: rgba(0,0,0,0.7);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    display: block !important;
  }
  
  .carousel-caption h5 {
    font-size: 14px;
    margin: 0;
    background: none !important;
  }
  
  .carousel-indicators {
    bottom: 5px;
  }
  
  .carousel-item img {
    height: 250px !important;
  }
}