
/* =========================================
   BODA NEFTA Y CECI
   DISEÑO CINEMATOGRÁFICO
========================================= */

#invitacion {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    background: #faf5e9;
    overflow: hidden;
}

/* ESCENAS */

.escena {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding: 65px 25px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    background: radial-gradient(
        ellipse at center,
        #fffdf7 0%,
        #faf5e9 65%,
        #e8d7b5 100%
    );
    color: #493b2b;
    overflow: hidden;
}

.escena.activa {
    animation: entradaEscena 1.5s ease both;
}

/* MARCO DORADO */

.escena::before {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid #b8934e;
    pointer-events: none;
}

.escena::after {
    content: "";
    position: absolute;
    inset: 22px;
    border: 1px solid rgba(184, 147, 78, 0.35);
    pointer-events: none;
}

/* CONTENIDO */

.contenido-escena {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
}

.escena.activa .contenido-escena {
    animation: aparecerTexto 2s ease both;
}

/* TÍTULOS */

.titulo-cinematico {
    font-family: "Great Vibes", cursive;
    font-size: clamp(48px, 10vw, 100px);
    color: #80602e;
    font-weight: normal;
    margin: 15px 0;
}

.subtitulo-cinematico {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(20px, 4vw, 32px);
    letter-spacing: 3px;
    color: #80602e;
}

/* TEXTOS Y VERSÍCULOS */

.texto-cinematico {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(20px, 4vw, 30px);
    line-height: 1.45;
    margin: 18px auto;
    max-width: 620px;
}

.versiculo {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: clamp(25px, 5vw, 38px);
    line-height: 1.4;
}

.referencia-biblica {
    color: #80602e;
    font-size: 19px;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* SEPARADOR DORADO */

.separador-dorado {
    width: 130px;
    height: 1px;
    margin: 25px auto;
    background: linear-gradient(
        to right,
        transparent,
        #b8934e,
        transparent
    );
}

/* FOTOGRAFÍAS */

.marco-fotografico {
    width: min(65vw, 320px);
    height: clamp(180px, 32dvh, 390px);
    margin: 20px auto;
    padding: 7px;
    border: 2px solid #b8934e;
    border-radius: 150px 150px 15px 15px;
    box-shadow: 0 10px 30px rgba(73, 59, 43, 0.20);
    overflow: hidden;
}

.fotografia-cinematica {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: inherit;
}

.escena.activa .fotografia-cinematica {
    animation: fotografiaZoom 20s ease both;
}

/* NUESTROS PADRES */

.nombre-padre {
    font-size: clamp(20px, 4vw, 28px);
    margin: 15px 0;
    letter-spacing: 1px;
}

.liston-negro {
    color: #222222;
    font-size: 24px;
}

/* FECHA */

.numero-fecha {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(90px, 20vw, 170px);
    color: #b8934e;
    line-height: 1;
}

/* CONTROLES DE REPRODUCCIÓN */

.controles-cinematicos {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid #b8934e;
    border-radius: 50px;
    background: rgba(250, 245, 233, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
}

.boton-cinematico {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid #b8934e;
    border-radius: 50%;
    background: transparent;
    color: #80602e;
    font-size: 18px;
    cursor: pointer;
}

.boton-cinematico:hover {
    background: #b8934e;
    color: white;
}

/* ANIMACIONES */

@keyframes entradaEscena {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes aparecerTexto {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fotografiaZoom {
    from {
        transform: scale(0.98);
    }

    to {
        transform: scale(1.04);
    }
}

/* DISEÑO PARA CELULARES */

@media (max-width: 480px) {

    .escena {
        padding: 40px 28px 100px;
    }

    .escena::before {
        inset: 9px;
    }

    .escena::after {
        inset: 15px;
    }

    .controles-cinematicos {
        bottom: 18px;
        gap: 8px;
    }

    .boton-cinematico {
        width: 36px;
        height: 36px;
    }
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {

    .escena,
    .contenido-escena,
    .fotografia-cinematica {
        animation: none !important;
    }
}
