/* Estilos para el carrusel dentro de la sección existente */
.carousel-section {
    margin: 40px 0;
   
    
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.carousel-title {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 8px;
    font-size: 1.8rem;
}

.carousel-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 25px;
    font-size: 1rem;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background-color: #2c3e50;
    min-height: 400px;
    margin: 0 auto;
}

.carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide .image-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    text-align: center;
}

.carousel-slide .image-title {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.carousel-slide .image-desc {
    font-size: 0.85rem;
    opacity: 0.9;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 1.3rem;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 15px;
}

.carousel-btn.next {
    right: 15px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #bdc3c7;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dots .dot.active {
    background-color: #3498db;
    transform: scale(1.2);
}

.image-counter {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    z-index: 5;
}

.carousel-instructions {
    margin-top: 20px;
    padding: 15px;
    background-color: #e8f4fc;
    border-radius: 6px;
    border-left: 4px solid #3498db;
    font-size: 0.9rem;
}

.carousel-instructions code {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* Estilos responsivos para el carrusel */
@media (max-width: 768px) {
    .carousel-section {
        margin: 30px 0;
        padding: 20px 15px;
       
    }
    
    .carousel-title {
        font-size: 1.6rem;
    }
    
    .carousel-container {
        min-height: 350px;
    }
    
    .carousel-slide {
        height: 350px;
        
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        min-height: 280px;
        
    }
    
    .carousel-slide {
        height: 280px;
        
    }
    
    .carousel-slide .image-info {
        padding: 10px;
    }
    
    .carousel-slide .image-title {
        font-size: 1rem;
    }
    
    .carousel-slide .image-desc {
        font-size: 0.8rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .carousel-btn.prev {
        left: 10px;
    }
    
    .carousel-btn.next {
        right: 10px;
    }
}

/* ===== SECCIÓN PATROCINADOR ===== */

.patro-section {
            
            margin: 0 auto;
            padding: 60px 20px;
            
            border-radius: 10px;
            
            overflow: hidden;
        }
        
        .patro-section h1 {
            text-align: center;
            margin-bottom: 40px;
            font-size: 2.5rem;
            color: #fdfdfd;
            position: relative;
        }
        
        .patro-section h1:after {
            content: '';
            display: block;
            width: 100px;
            height: 3px;
            background: linear-gradient(to right, #3498db, #9b59b6);
            margin: 10px auto;
        }
        
        .patro-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            padding: 20px 0;
        }
        
        .patro-track {
            display: flex;
            animation: scroll 60s linear infinite;
            animation-fill-mode: forwards;
            will-change: transform;
            backface-visibility: hidden;
            perspective: 1000px;
        }
        
        .patro-track:hover {
            animation-play-state: paused;
        }
        
        .patro-slide {
            flex: 0 0 auto;
			padding: 20px;
            width: 250px;
            height: 250px;
            margin: 0 20px;
            display: flex;
			text-align: center;
            align-items: center;
            justify-content: center;
            background-color: #fcfbfb;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        
        .patro-slide:hover {
            transform: translateY(-5px);
			background-color: #fcfbfb;
            box-shadow: 0 8px 15px rgba(104, 104, 104, 0.15);
        }
        
        .patro-slide img {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            
            transition: filter 0.3s ease;
        }
        
        .patro-slide:hover img {
            filter: grayscale(0%);
        }
        
        @keyframes scroll {
            0% {
                transform: translateX(0);
            }
            100% {
                transform: translateX(calc(-200px * 20));
            }
        }
        
        /* Efecto de gradiente en los bordes */
        .patro-container:before,
        .patro-container:after {
            content: '';
            position: absolute;
            top: 0;
            width: 100px;
            height: 100%;
            z-index: 2;
        }
        
        .patro-container:before {
            left: 0;
           
        }
        
        .patro-container:after {
            right: 0;
            
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            .patro-section h1 {
                font-size: 2rem;
            }
            
            .patro-slide {
                width: 400px;
                height: 400px;
               
            }
            
            
            
            .patro-slide img {
            max-width: 100%;
            max-height: 100%;
           
        }
            
            @keyframes scroll {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(calc(-200px * 25));
                }
            }
        }
        
        @media (max-width: 480px) {
            .patro-section h1 {
                font-size: 1.5rem;
            }
            
            .patro-slide {
               width: 350px;
                height: 350px;
                margin: 0 15px;
            }
            
            @keyframes scroll {
                0% {
                    transform: translateX(0);
                }
                100% {
                    transform: translateX(calc(-200px * 25));
                }
            }

        }
        
.video-container {
        margin-top: 20px;
        position: relative;
        padding-bottom: 56.25%; /* Relación 16:9 */
        height: 0;
        overflow: hidden;
        max-width: 100%;
    }
    
    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }