/* ================= HERO ================= */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-desktop,
.hero-mobile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}

.hero-mobile { display: none; }

@media (max-width: 768px) {
    .hero-desktop { display: none; }
    .hero-mobile { display: block; }
}

.hero-overlay {
    position: absolute;
    bottom: 12%;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.btn-iniciar {
    background: white;
    border: 2px solid #000;
    padding: 15px 40px;
    font-size: 22px;
    font-family: 'Cinzel', serif;
    border-radius: 10px;
    cursor: pointer;
}

/* ================= VIDEO ================= */
.video-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

.video-wrapper {
    width: 90%;
    max-width: 1100px;
}

.video-wrapper video {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* ================= GALERÍA ================= */
#gallery {
    width: 90%;
    max-width: 1100px; 
    margin: auto;
}
.galeria-section {
    padding-top: 40px;
}

#gallery img {
    width: 100%;
    display: block;
}

.fade-photo {
    opacity: 0;
    transform: translateY(20px);
    transition: .8s ease;
}
.fade-photo.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* ================= MODAL ================= */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9000;
}

.modal-container {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-box {
    background: white;
    padding: 35px;
    border-radius: 14px;
    width: 90%;
    max-width: 480px;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 25px;
    font-family: 'Cinzel', serif;
}

.input-group {
    width: 100%;
}

.input-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #aaa;
    border-radius: 50px;
    font-size: 18px;
    box-sizing: border-box;
}

.btn-submit {
    width: 100%;
    background: black;
    color: white;
    font-size: 20px;
    padding: 14px;
    border-radius: 10px;
    margin-top: 20px;
    cursor: pointer;
}
.galeria-columns {
        column-count: 1;
        column-gap: 0;
    }

    @media (min-width: 480px) {
        .galeria-columns {
            column-count: 2;
        }
    }

    @media (min-width: 768px) {
        .galeria-columns {
            column-count: 3;
        }
    }

    @media (min-width: 1024px) {
        .galeria-columns {
            column-count: 4;
        }
    }

    .galeria-img {
        width: 100%;
        margin-bottom: 10px;
        break-inside: avoid;
        border-radius: 12px;
    }

.hidden { display: none !important; }
