@import url("galeria.css");

.galeria-header {
    margin-bottom: var(--four-rem);
}

li.breadcrumb-item a,
li.breadcrumb-item.active,
.breadcrumb-item::before {
    color: var(--cor-primaria) !important;
}

.video-thumbnail-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.video-card {
    transition: all 0.3s ease;
}
.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.video-card .card-title {
    border-bottom: none !important;
    margin-bottom: 0 !important;
}
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-thumbnail-wrapper:hover .video-overlay {
    opacity: 1;
}
.play-icon {
    color: white;
    font-size: 3rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.video-modal .modal-dialog {
    max-width: 60%;
    margin: 1rem auto;
}

.video-modal .modal-content {
    background-color: rgba(0, 0, 0, 0.85);
    border: none;
    border-radius: 0;
}

.video-modal .modal-header {
    border-bottom: 1px solid #333;
    padding: 1rem 1.5rem;
}

.video-modal .modal-title {
    color: #fff;
    font-size: 1.5rem;
    border-bottom: none !important;
}

.video-modal .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.video-modal .modal-body {
    padding: 0;
}

.video-modal .ratio {
    --bs-aspect-ratio: 56.25%; /* 16:9 */
    min-height: 50vh;
}

@media (max-width: 768px) {
    .video-modal .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }

    .video-modal .ratio {
        min-height: 50vh;
    }
}
