/* Estilos para el carrusel de logos inclinado */
.tilted-logos-container {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden; /* Cambiado de visible a hidden */
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Efecto de desvanecimiento eliminado */

.tilted-logos-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #fff;
    opacity: 0.9;
}

.tilted-logos-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(20deg) rotateZ(-12deg);
}

.tilted-logos-track {
    position: absolute;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: tiltedScroll 25s linear infinite;
}

.logo-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    transform: translateZ(0);
}

.logo-item:hover {
    transform: scale(1.05) translateX(-5px) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
}

.logo-item img {
    height: 30px;
    width: auto;
    margin-right: 12px;
    filter: grayscale(100%) brightness(1.8);
    transition: all 0.4s ease;
    max-width: 120px;
    object-fit: contain;
}

.logo-item:hover img {
    filter: grayscale(0%) brightness(1);
}

.logo-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.logo-item:hover span {
    color: rgba(255, 255, 255, 1);
}

/* Animación del carrusel */
@keyframes tiltedScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .tilted-logos-container {
        height: 180px;
    }
    
    .logo-item {
        padding: 0.6rem 1rem;
    }
    
    .logo-item img {
        height: 20px;
    }
    
    .logo-item span {
        font-size: 0.8rem;
    }
}
