/* Estilos para slides com vídeo */
.video-slide {
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.hero-video {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
}

.hero-slide-video {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.slide-clickable {
    transition: transform 0.3s ease;
}

.slide-clickable:hover {
    transform: scale(1.02);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-slide-video {
        min-height: 450px;
    }
    
    .hero-video {
        min-height: 450px;
    }
}

/* Fallback para navegadores que não suportam vídeo */
video::-webkit-media-controls {
    display: none !important;
}

video::-webkit-media-controls-enclosure {
    display: none !important;
}

/* Garantir que o conteúdo fique acima do vídeo */
.video-slide .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.hero-mobile .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.video-slide .slide-info,
.hero-mobile .slide-info {
    text-align: center;
    width: 100%;
}

/* Centralizar melhor o conteúdo */
.video-slide .row,
.hero-mobile .row {
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* Esconder botão vazio */
.btn-empty {
    display: none !important;
}