/* Logo Carousel Styles */
.logo-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 40px 0;
    position: relative;
}

.logo-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-carousel-track {
    display: flex;
    align-items: center;
    gap: 60px;
    animation: scroll-infinite 30s linear infinite;
    width: max-content;
}

/* Animation de défilement continu */
@keyframes scroll-infinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause au survol */
.logo-carousel-track:hover {
    animation-play-state: paused;
}

.logo-carousel-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px; /* Largeur fixe pour tous les logos */
    height: auto;
}

.logo-carousel-item img {
    width: 100%;
    height: auto;
    max-height: 80px; /* Hauteur maximale adaptative */
    object-fit: contain; /* Maintient les proportions */
    display: block;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-carousel-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}

/* Effet au survol */
.logo-carousel-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-carousel-wrapper {
        padding: 30px 0;
    }
    
    .logo-carousel-item {
        width: 150px;
    }
    
    .logo-carousel-item img {
        max-height: 60px;
    }
    
    .logo-carousel-track {
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .logo-carousel-wrapper {
        padding: 20px 0;
    }
    
    .logo-carousel-item {
        width: 120px;
    }
    
    .logo-carousel-item img {
        max-height: 50px;
    }
    
    .logo-carousel-track {
        gap: 30px;
    }
}
