/*--------------------------------------------------------------
# Partners Section avec contrôles carousel
--------------------------------------------------------------*/

/* Container avec position relative pour les flèches */
.partners {
    position: relative;
}

.partners-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 60px; /* Espace pour les flèches */
}

/* Wrapper pour masquer le débordement */
.partners-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Flèches de navigation */
.partner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 153, 204, 0.9);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    font-size: 0;
}

.partner-arrow:hover {
    background: rgba(0, 119, 158, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.partner-arrow i {
    font-size: 18px;
}

.partner-prev {
    left: 0;
}

.partner-next {
    right: 0;
}

/* Track des partenaires modifié pour le contrôle manuel */
.partners-track {
    display: flex;
    transition: transform 0.5s ease;
    animation: scroll-partners 40s linear infinite;
    will-change: transform;
}

/* État pause quand on utilise les flèches */
.partners-track.manual-control {
    animation: none !important;
}

/* Reprendre l'animation après 5 secondes */
.partners-track.resume-animation {
    animation-play-state: running !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .partners-container {
        padding: 0 40px;
    }
    
    .partner-arrow {
        width: 35px;
        height: 35px;
    }
    
    .partner-arrow i {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .partners-container {
        padding: 0 30px;
    }
    
    .partner-arrow {
        width: 30px;
        height: 30px;
    }
}