/**
 * Styles pour le slider des popups des animaux
 */

/* Conteneur du slider */
.animal-slider {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Conteneur des slides */
.animal-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Styles des slides */
.animal-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.animal-slide.active {
    opacity: 1;
    z-index: 2;
}

/* Style des images dans les slides */
.animal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation du slider */
.animal-slider-nav {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    padding: 0 20px;
    z-index: 3;
}

/* Boutons précédent/suivant */
.animal-slider-prev,
.animal-slider-next {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animal-slider-prev:hover svg circle,
.animal-slider-next:hover svg circle {
    stroke-opacity: 0.6;
}

.animal-slider-prev svg,
.animal-slider-next svg {
    width: 50px;
    height: 50px;
}

/* Points de navigation */
.animal-slider-dots {
    display: flex;
    gap: 8px;
}

.animal-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.animal-slider-dot.active {
    background-color: #1C4F5A;
}

/* Responsive */
@media (max-width: 768px) {
    .animal-slider-nav {
        bottom: 10px;
        padding: 0 10px;
    }
    
    .animal-slider-prev svg,
    .animal-slider-next svg {
        width: 40px;
        height: 40px;
    }
    
    .animal-slider-dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .animal-slider-prev svg,
    .animal-slider-next svg {
        width: 35px;
        height: 35px;
    }
}
