/* ===================================================
   Galeria de Eventos — Eventos.html
   =================================================== */

.eventos-gallery {
    background-color: var(--color-sand-light);
    width: 100%;
}

.eventos-gallery .gallery-container,
.gallery-container {
    padding: 60px 20px;
    padding-top: 0px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 1500px;
    gap: 20px;
    margin: 0 auto;
}

.gallery-large {
    width: 100%;
    display: block;
}

.gallery-large .reveal-wrapper {
    width: 100%;
    display: block;
}

.gallery-large img,
.gallery-grid img {
    width: 100%;
    display: block;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(0,0,0,0.07);
}

.gallery-large img {
    aspect-ratio: 1 / 1;
}

.gallery-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gallery-grid .reveal-wrapper {
    width: 100%;
    display: block;
}

.gallery-grid img {
    aspect-ratio: 1 / 1;
}

@media (min-width: 992px) {
    .eventos-gallery {
        padding-top: 80px;
        padding-bottom: 100px;
    }

    .eventos-gallery .gallery-container,
    .gallery-container {
        padding: 0 20px;
        align-items: stretch;
        width: 100%;
        max-width: 1500px;
    }

    .gallery-large {
        width: 100%;
    }

    .gallery-large .reveal-wrapper {
        width: 100%;
    }

    .gallery-large img {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    .gallery-grid {
        width: 100%;
    }

    .gallery-grid img {
        aspect-ratio: 4 / 3;
    }
}

/* Rising Curtain Reveal Effect */
.reveal-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: block;
}

.curtain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-sand-light);
    transform-origin: top;
    z-index: 10;
}
