/**
 * Estilos específicos para a Galeria de Fotos e Vídeos
 * Hotel 15 de Julho
 */

/* Grid de Galeria com suporte a vídeos */
.video-item {
    cursor: pointer;
}

/* Efeito de hover do botão de play */
.video-item .hover {
    background: rgba(0, 0, 0, 0.6) !important;
}

.video-item .hover i {
    font-size: 4rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
}

.video-item:hover .hover i {
    transform: scale(1.15);
    color: #ff9800; /* Destaque laranja no play ao passar o mouse */
}

/* Modal do Player de Vídeo */
#video-modal {
    background-color: #000000 !important;
    max-width: 960px;
    width: 90% !important;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #333;
    max-height: 85% !important;
}

#video-modal .modal-content {
    padding: 0 !important;
    position: relative;
    background-color: #000;
}

/* Botão de Fechar do Modal */
#video-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ffffff;
    font-size: 24px;
    z-index: 999;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.2s;
}

#video-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Container de Vídeo Responsivo (Mantém proporção 16:9) */
.video-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-responsive iframe,
.video-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Ajustes finos para exibição em dispositivos móveis */
@media (max-width: 600px) {
    #video-modal {
        width: 95% !important;
    }
    #video-modal .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
    .video-item .hover i {
        font-size: 3rem;
    }
}
