/**
 * Estilos para la galería de videos
 */

/* Contenedor de las miniaturas de video */
.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Proporción 16:9 */
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Efecto de hover */
.thumb-link:hover .video-thumbnail {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Icono de reproducción */
.video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.video-play-icon i {
    font-size: 24px;
    color: #004494; /* Color azul del proyecto */
}

.thumb-link:hover .video-play-icon {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.9);
}

/* Ajustes para el swiper de videos */
.swiper[data-swiper="youtube"] .swiper-slide {
    padding: 10px;
}

/* Overlay oscuro sobre la miniatura para mejorar contraste */
.video-thumbnail::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.thumb-link:hover .video-thumbnail::after {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Estilos responsive */
@media (max-width: 768px) {
    .video-play-icon {
        width: 40px;
        height: 40px;
    }
    
    .video-play-icon i {
        font-size: 18px;
    }
} 