/* Réinitialisation de base */
body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Conteneur principal */
.slider-container {
    max-width: 100%;
    margin: 10px auto;
    position: relative; /* CRUCIAL pour positionner les flèches */
    overflow: hidden; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Gestion des images */
.slides {
    /* Nous n'utilisons pas flex/transform ici, mais la visibilité avec display: none/block */
}

.slide {
    width: 100%;
    display: none; /* Cache toutes les images par défaut */
    height: auto;
}

.slide.active-slide {
    display: block; /* Affiche uniquement l'image ayant cette classe */
}

/* Style et positionnement des flèches */
.prev-arrow, .next-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%; 
    transform: translateY(-50%); /* Meilleur centrage vertical */
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10; /* Assure que les flèches sont cliquables */
}

.next-arrow {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev-arrow {
    left: 0;
    border-radius: 0 3px 3px 0;
}

.prev-arrow:hover, .next-arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Points de navigation (Dots) */
.dots-container {
    text-align: center;
    padding: 10px 0;
}

.dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #FF9900;
}