/* =========================================
   CSS PARA CARRUSEL DE PATROCINADORES
   ========================================= */

/* Sección de Patrocinadores */
.sponsors-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
}

.sponsors-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Carrusel Container */
.sponsors-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* Track del carrusel */
.sponsors-track {
    display: flex;
    gap: 80px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

/* Pausar animación al hacer hover */
.sponsors-carousel:hover .sponsors-track {
    animation-play-state: paused;
}

/* Animación de scroll infinito */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Slide individual */
.sponsor-slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.3s ease;
    min-width: 200px;
    height: 120px;
}

.sponsor-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Logo de patrocinador */
.sponsor-logo {
    max-width: 160px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.sponsor-slide:hover .sponsor-logo {
    filter: grayscale(0%);
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 992px) {
    .sponsors-section {
        padding: 50px 0;
    }
    
    .sponsors-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .sponsors-track {
        gap: 60px;
    }
    
    .sponsor-slide {
        min-width: 180px;
        height: 110px;
        padding: 18px;
    }
    
    .sponsor-logo {
        max-width: 140px;
        max-height: 70px;
    }
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 40px 0;
    }
    
    .sponsors-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .sponsors-carousel {
        padding: 15px 0;
    }
    
    .sponsors-track {
        gap: 40px;
        animation: scroll 20s linear infinite;
    }
    
    .sponsor-slide {
        min-width: 150px;
        height: 100px;
        padding: 15px;
    }
    
    .sponsor-logo {
        max-width: 120px;
        max-height: 60px;
    }
    
    .sponsors-carousel::before,
    .sponsors-carousel::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .sponsors-section {
        padding: 35px 0;
    }
    
    .sponsors-title {
        font-size: 20px;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
    }
    
    .sponsors-carousel {
        padding: 12px 0;
    }
    
    .sponsors-track {
        gap: 30px;
        animation: scroll 15s linear infinite;
    }
    
    .sponsor-slide {
        min-width: 120px;
        height: 80px;
        padding: 10px;
    }
    
    .sponsor-logo {
        max-width: 100px;
        max-height: 50px;
    }
    
    .sponsors-carousel::before,
    .sponsors-carousel::after {
        width: 40px;
    }
}
