/* ================================= */
/* BOTON FLOTANTE DE MUSICA */
/* ================================= */
.floating-music {
    position: fixed;
    bottom: 20px;
    right: 20px;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    color: white;
    font-size: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    cursor: pointer;

    box-shadow: 0 4px 10px rgba(0,0,0,0.2);

    z-index: 1000;

    transition: all 0.3s ease;
}

.hidden{
    display:none;
}
/* ================================= */
/* FUENTES PERSONALIZADAS */
/* ================================= */

@font-face {
    font-family: "Angelface";
    src: url("fonts/BRUSHSCI.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Champagne";
    src: url("fonts/ChampagneLimousines.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
body {
    font-family: "Champagne", sans-serif;
}

.groom-name,
.bride-name {
    font-family: "Angelface", cursive;
}

/* ================================= */
/* PALETA DE COLORES */
/* ================================= */
:root {

    /* COLOR PRINCIPAL */
    --color-primary: #174664;
    /* VARIACIONES */
    --color-primary-dark: #021D38;
    --color-primary-light: #2a5f85; /* derivado para hover */

    /* SECUNDARIOS (ACENTOS) */
    --color-accent: #395f87;
    --color-accent-soft: #6d87a3;

    /* NEUTROS */
    --color-background: #fbfbfb;
    --color-white: #ffffff;

    /* TEXTO */
    --color-text: #021D38;
    --color-text-soft: #174664;

    /* DETALLES */
    --color-border-soft: #d6c7b2;

    /* SOMBRAS */
    --shadow-soft: rgba(2, 29, 56, 0.15);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Champagne", sans-serif;

    background-color: var(--color-background);
    color: var(--color-text);

    line-height: 1.6;
}
.invitation-container {
    max-width: 500px;
    margin: 0 auto;
}
.section {
    padding: 60px 20px;
    text-align: center;
}
h1, h2, h3 {
    color: var(--color-primary-dark);
}
p {
    color: var(--color-text);
    margin-bottom: 10px;
}
.groom-name,
.bride-name {
    font-family: "Angelface", cursive;
    color: var(--color-primary);
}
button {
    background-color: var(--color-accent);
    color: var(--color-white);

    border: none;
    padding: 10px 20px;

    cursor: pointer;
}

/* ========================= */
/* SECCIÓN NOMBRES */
/* ========================= */

.nombres-section {
    text-align: center;
    padding: 170px 20px;

    background-image: url("liriosbordesvert.png"); /* puedes cambiar la imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}
.contenido-nombres {
    transform: translateY(-50px);
}
/* Asegura que el contenido esté encima del overlay */
.nombres-section * {
    position: relative;
    z-index: 1;
}
/* Texto superior */
.acompaniados {
    font-size: 24px;
    letter-spacing: 3px;
    margin-bottom: 30px;
}
/* Nombres principales */
.groom-name,
.bride-name {
    font-size: 52px;
    line-height: 0.8;
    margin: -5px 0;
}
/* Separar nombre y apellido */
.first-name,
.last-name {
    display: block;
}
/* Ampersand (&) */
.amper-names {
    width: 210px;
    height: auto;

    margin: 10px 0;
    opacity: 0.3;
}
/* Imagen decorativa */
.floral-detail-top {
    width: 120px;
    margin-top: 30px;
    margin-bottom: 0px;

    opacity: 0.5;
}

/* ========================= */
/* SECCIÓN CONTADOR */
/* ========================= */

.count-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px 60px 20px;
}

/* Contenedor general del timer */
.countdown-timer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Cada recuadro */
.timer-box {
    flex: 1;
    background-color: var(--color-accent);
    border: none;
    border-radius: 12px;

    width: 90px;
    height: 100px;
    margin: 0 0.2px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px var(--shadow-soft);
}

/* Número */
.timer-box span:first-child {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-white);
}

/* Texto (DÍAS, HORAS, etc) */
.label {
    font-size: 10px;
    margin-top: 5px;
    color: var(--color-white);
}
.colon {
    display: none;
}

/* ========================= */
/* SECCIÓN MÚSICA */
/* ========================= */

.music-section {
    display: flex;
    flex-direction: column; /* texto arriba, botón abajo */
    justify-content: center;
    align-items: center;

    text-align: center;
    padding: 0 20px 20px 20px;
}

/* Título */
.music-section h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--color-text);
}

/* Botón */
#play-music-btn {
    color: var(--color-white);

    border: none;
    border-radius: 50px;

    padding: 12px 50px;
    font-size: 18px;

    cursor: pointer;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* ========================= */
/* SECCIÓN INFO */
/* ========================= */
.capilla {
    width: 100px;
}
.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;    
    text-align: center;    

    background-image: url("lirioscentro.png"); /* tu imagen */
    background-repeat: no-repeat;
    background-position: bottom center;
    background-size: 400px;

    padding: 0 20px 40px 20px;
}

/* Texto principal */
.couple-song {
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Título */
.month {
    margin-bottom: 10px;
}

/* Fecha */
.day {
    font-size: 28px;
    margin-bottom: 20px;
    letter-spacing: 2px;

}

/* Contenedor fecha */
.date-time {
    margin-bottom: 10px;
}

/* Versículo */
.location-city-name {
    margin-bottom: 25px;
    max-width: 500px;
}

/* Texto recepción */
.reception-info {
    margin-bottom: 10px;
}

/* Dirección */
.reception-address {
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Botón */
.btn-ubication {

    border: none;
    border-radius: 50px;

    padding: 12px 25px;
    cursor: pointer;

    margin-bottom: 30px;
}

/* Imagen decorativa */
.decorative-frame {
    width: 150px;
    opacity: 0.8;
}

/* ========================= */
/* SECCIÓN VESTIMENTA */
/* ========================= */

.vestimenta-section {
    display: flex;
    flex-direction: column;
    align-items: center;   /* 👈 centra horizontal */
    text-align: center;    /* 👈 centra texto */

    padding: 0 20px 30px 20px;
}

/* Título */
.etiqueta-titulo {
    margin-bottom: 20px;
}
.vestimenta {
    width: 120px;
}
/* Texto */
.vestimenta-descripcion-unificada {
    font-size: 18px;
}

/* ========================= */
/* SECCIÓN PROGRAMA */
/* ========================= */

.programa-section {
    padding: 0 20px 80px 20px;
    text-align: center;

    background-image: url("floreslateral.png"); /* puedes cambiar la imagen */
    background-size: 300px;
    background-position: right;
    background-repeat: no-repeat;


}
.auto{
    width: 200px;
    transform: translateX(-25px);
}
.anillos{
    width: 100px;
}
/* Contenedor general */
.contenido-programa {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Línea vertical central */
.contenido-programa::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 0;
    left: 50%;

    width: 2px;
    background-color: var(--color-primary);

    transform: translateX(-50%);
}

/* Cada evento */
.evento-linea {
    position: relative;
    width: 100%;
    margin: 2px 0;
}

/* BLOQUES */
.tiempo-izquierda,
.tiempo-derecha {
    width: 40%;
    position: relative; /* 👈 necesario para las líneas */
}

/* IZQUIERDA */
.tiempo-izquierda {
    text-align: center;
    margin-right: auto;
}

/* DERECHA */
.tiempo-derecha {
    text-align: center;
    margin-left: auto;
}

/* ========================= */
/* LÍNEAS LATERALES */
/* ========================= */

/* Línea hacia la izquierda */
.tiempo-izquierda::before {
    content: "";
    position: absolute;
    top: 50px;
    right: -60px;

    width: 230px;
    height: 2px;
    background-color: var(--color-primary);
}

/* Línea hacia la derecha */
.tiempo-derecha::before {
    content: "";
    position: absolute;
    top: 50px;
    left: -60px;

    width: 230px;
    height: 2px;
    background-color: var(--color-primary);
}

/* Hora */
.hora {
    font-weight: bold;
    color: var(--color-primary-dark);
}

/* Descripción */
.descripcion {
    font-size: 14px;
    margin: 0;
}

/* ========================= */
/* SECCIÓN REGALO */
/* ========================= */

.regalo-section {
    position: relative;
    z-index: 0;

    min-height: 20vh;
    padding: 40px 20px;

    background-color: var(--color-primary);
    color: var(--color-white);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.regalo-section,
.regalo-section * {
    color: var(--color-white);
}

/* Imagen de fondo */
.regalo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;

}

/* Asegurar contenido arriba */
.regalo-section * {
    position: relative;
    z-index: 1;
}

/* GIF */
.regalo-gif-top {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

/* Título */
.regalo-titulo {
    font-family: 'Angelface';
    font-size: 3em;
    margin-bottom: 30px;
}

/* Contenedor principal */
.qr-container {
    max-width: 700px;
    width: 90%;
    padding: 30px 20px;
    margin-bottom: 40px;

    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-background);
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Texto descriptivo */
.qr-label {
    font-family: 'Champagne';
    font-size: 1em;
    line-height: 1.5;

    margin-bottom: 30px;
    max-width: 90%;
}

/* Columnas */
.qr-columnas-detalle {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
}

/* Columnas base */
.detalle-columna-izquierda,
.detalle-columna-derecha {
    flex: 1;
    padding: 10px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Línea divisoria */
.detalle-columna-izquierda {
    border-right: 1px solid var(--color-background);
}

/* Títulos */
.detalle-opciones-titulo {
    font-family: 'Champagne';
    font-size: 1.1em;
    margin-bottom: 10px;
}

/* Textos */
.detalle-direccion-1,
.detalle-direccion-2,
.detalle-banco-nombre {
    font-family: 'Champagne';
    font-size: 1em;
    line-height: 1.4;
}

/* Número banco */
.detalle-banco-nro {
    font-family: 'Champagne';
    font-weight: bold;
}

/* QR */
.qr-imagen {
    width: 100px;
    height: 100px;
    padding: 5px;

    background-color: var(--color-white);
    border-radius: 6px;
}

/* Texto final */
.regalo-agradecimiento {
    font-family: 'Angelface';
    font-size: 2.5em;
    margin-top: -15px;
}

/* ========================= */
/* SECCIÓN RSVP */
/* ========================= */

.rsvp-section {
    min-height: 100vh;
    padding-bottom: 60px;

    background-color: var(--color-white); /* 👈 antes #3f5e49 */
    color: var(--color-primary);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;

    position: relative; /* IMPORTANTE */
    overflow: hidden;   /* evita desbordes */
}

/* ========================= */
/* TÍTULOS */
/* ========================= */

.rsvp-titulo {
    font-family: 'Champagne';
    font-size: 2em;
    text-transform: uppercase;

    margin-top: 40px;
    margin-bottom: 10px;
}

.rsvp-subtitulo {
    font-family: 'Champagne';
    font-size: 0.9em;

    margin-bottom: 30px;
}

/* ========================= */
/* FORMULARIO */
/* ========================= */

.rsvp-form {
    max-width: 450px;
    width: 90%;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Inputs */
.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 12px 15px;

    border: 1px solid var(--color-primary-light);
    border-radius: 6px;

    font-family: 'Champagne';
    font-size: 1em;

    background-color: var(--color-white);
    color: var(--color-primary-dark);
}

/* Placeholder */
.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
    color: var(--color-text-soft);
}

/* Select opciones */
.rsvp-form select option {
    background-color: var(--color-white);
    color: var(--color-primary-dark);
}

/* ========================= */
/* BOTÓN */
/* ========================= */

.btn-submit {
    width: 100%;
    padding: 12px;

    border: none;
    border-radius: 6px;

    cursor: pointer;

    background-color: var(--color-accent); /* 👈 tu color destacado */
    color: var(--color-white);

    font-family: 'Champagne';
    font-size: 1em;
    text-transform: uppercase;

    margin-top: 10px;

    transition: 0.3s;
}

.btn-submit:hover {
    background-color: var(--color-accent-soft);
}

/* ========================= */
/* MENSAJE FINAL */
/* ========================= */

.rsvp-final-mensaje {
    font-family: 'Champagne';
    font-size: 3em;

    margin-top: 60px;
}

.rsvp-final-mensaje span {
    display: block;
    font-size: 0.8em;
    margin-top: 5px;
}
.rsvp-section::after {
    content: "";
    position: absolute;

    bottom: -15px;
    left: 0;
    width: 100%;
    height: 400px; /* 👈 ajusta el alto */

    background-image: url("liriosinferior.png"); /* tu imagen */
    background-repeat: no-repeat;
    background-position: right;
    background-size: 300px;

    opacity: 0.4; /* 👈 controla transparencia */

    z-index: 0;
}
/* ================================================================================================================================================ */
/* ==============================================================RESPONSIVE - MÓVIL 360x800 ======================================================= */
/* ================================================================================================================================================ */

@media (max-width: 480px) {
/* ========================= */
/* SECCIÓN NOMBRES */
/* ========================= */
    .nombres-section {
        padding: 120px 10px;
        background-position: top;

        width: 100%;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;

        transform: translateY(-10px);
    }
    .contenido-nombres {
        transform: translateY(20px);
    }
    /* Texto superior */
    .acompaniados {
        font-size: 16px;
        letter-spacing: 2px;
        margin-bottom: 20px;
    }
    /* Nombres */
    .groom-name,
    .bride-name {
    font-size: 40px;
    line-height: 0.9;
    margin: 1px 0;
}
    /* Ampersand */
    .amper-names {
        width: 120px;
        margin: 10px auto;
        opacity: 0.3;
    }
    /* Imagen decorativa */
    .floral-detail-top {
        width: 80px;
        margin-top: 20px;
    }

/* ========================= */
/* SECCIÓN CONTADOR */
/* ========================= */
 .count-section {
        padding: 0 10px 30px 10px;
    }

    .countdown-timer {
        gap: 0px; /* menos espacio entre cajas */
    }

    .timer-box {
        height: 90px; /* más compacto */
        margin: 0 2px;
        border-radius: 12px;
    }

    /* Número */
    .timer-box span:first-child {
        font-size: 16px;
    }

    /* Texto */
    .label {
        font-size: 8px;
        margin-top: 3px;
    }
/* ========================= */
/* SECCIÓN VESTIMENTA */
/* ========================= */

.vestimenta-section {
    display: flex;
    flex-direction: column;
    align-items: center;   /* 👈 centra horizontal */
    text-align: center;    /* 👈 centra texto */

    padding: 0 20px 30px 20px;
}
/* ========================= */
/* SECCIÓN PROGRAMA */
/* ========================= */

.programa-section {
    padding: 0 20px 80px 20px;
    text-align: center;
}

/* Contenedor general */
.contenido-programa {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Línea vertical central */
.contenido-programa::before {
    content: "";
    position: absolute;
    top: 15px;
    bottom: 0;
    left: 50%;

    width: 2px;
    background-color: var(--color-primary);

    transform: translateX(-50%);
}

/* Cada evento */
.evento-linea {
    position: relative;
    width: 100%;
    margin: 2px 0;
}

/* BLOQUES */
.tiempo-izquierda,
.tiempo-derecha {
    width: 40%;
    position: relative; /* 👈 necesario para las líneas */
}

/* IZQUIERDA */
.tiempo-izquierda {
    text-align: center;
    margin-right: auto;
}

/* DERECHA */
.tiempo-derecha {
    text-align: center;
    margin-left: auto;
}

/* ========================= */
/* LÍNEAS LATERALES */
/* ========================= */

/* Línea hacia la izquierda */
.tiempo-izquierda::before {
    content: "";
    position: absolute;
    top: 50px;
    right: -32px;

    width: 120px;
    height: 2px;
    background-color: var(--color-primary);
}

/* Línea hacia la derecha */
.tiempo-derecha::before {
    content: "";
    position: absolute;
    top: 50px;
    left: -32px;

    width: 120px;
    height: 2px;
    background-color: var(--color-primary);
}

/* Hora */
.hora {
    font-weight: bold;
    color: var(--color-primary-dark);
}

/* Descripción */
.descripcion {
    font-size: 14px;
    margin: 0;
}
.rsvp-section *{
    position: relative;
    z-index: 1;
}
.rsvp-section::after {
    content: "";
    position: absolute;

    bottom: -15px;
    left: 0;
    width: 100%;
    height: 400px; /* 👈 ajusta el alto */

    background-image: url("liriosinferior.png"); /* tu imagen */
    background-repeat: no-repeat;
    background-position: right;
    background-size: 275px;

    opacity: 0.4; /* 👈 controla transparencia */

    z-index: 0;
}
}


