/* Nuevo Bloque de Fuente */
@font-face {
    font-family: 'Avenue';
    src: url('font/avenue.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Dancing+Script:wght@400;700&family=Lora:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Open+Sans:wght@400&family=Montserrat:wght@300;400;500;600;700&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #fafafa;
    overflow-x: hidden;
    color: #333;
    line-height: 1.6;
}

/* ========================================================= */
/* 🎁 OVERLAY DE APERTURA (SOBRE) - CON IMAGEN DE TEXTURA */
/* ========================================================= */
#overlay-intro {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex; 
    justify-content: center;
    align-items: center;
    z-index: 1000; 
    transition: opacity 1.5s ease-out, transform 0.3s ease-out;
    pointer-events: auto; 
    cursor: pointer;
    background-color: transparent; 
}

/* EFECTO HOVER: Se hace un poco más grande (zoom) al pasar el cursor */
#overlay-intro:hover {
    transform: scale(1.01); 
}

/* La división del sobre (mitad izquierda y derecha) */
.overlay-half {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    
    background-image: url('sobre.jpg');
    background-size: 200% 100%;
    background-repeat: no-repeat;
    
    transition: transform 1.5s ease-in-out;
    pointer-events: none;
}

.left-half {
    left: 0;
    background-position: left center;
}

.right-half {
    right: 0;
    background-position: right center;
}

/* ❌ ELIMINAMOS el texto "TOCA PARA ABRIR" */
.open-instruction {
    display: none; /* <-- CAMBIO SOLICITADO */
}


/* CLASES DE APERTURA (Móvil y default) */
.is-open .left-half {
    transform: translateX(-100%);
}

.is-open .right-half {
    transform: translateX(100%);
}

.is-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
/* ========================================================= */


/* ========================================================= */
/* 🖥️ MEDIA QUERY PARA ORDENADORES (AJUSTE DE RESPONSIVIDAD DEL SOBRE) */
/* ========================================================= */
@media (min-width: 992px) {
    /* 1. Establece un fondo blanco para el overlay que cubrirá toda la pantalla,
       lo que se verá en los laterales del sobre centrado. */
    #overlay-intro {
        background-color: #ffffff; 
        max-width: 100%;
    }

    /* 2. Redefinimos las mitades del sobre para que respeten un ancho fijo de 700px total
       y se centren verticalmente, respetando un max-height. */
    .overlay-half {
        width: 350px; /* 50% de 700px (ancho máximo deseado del sobre) */
        top: 50%; /* Centrado vertical */
        height: 90vh; /* Altura máxima para no desbordar */
        max-height: 90vh;
        
        background-size: 700px 100%; /* La textura debe cubrir el ancho total de 700px */
    }
    
    /* 3. Posicionamiento: Las mitades se inician desde el centro de la pantalla */
    .left-half {
        left: 50%;
        /* Mueve a la izquierda por su propio ancho y centra verticalmente */
        transform: translate(-100%, -50%); 
        background-position: left center;
    }

    .right-half {
        left: 50%;
        /* Mantiene el centro y centra verticalmente */
        transform: translate(0%, -50%); 
        background-position: right center;
    }

    /* 4. Animación de apertura: Las mitades se alejan del centro. */
    .is-open .left-half {
        /* Se aleja más de su posición inicial, garantizando que el espacio sea > 350px */
        transform: translate(-170%, -50%); 
    }

    .is-open .right-half {
        /* Se aleja más de su posición inicial */
        transform: translate(70%, -50%); 
    }
}
/* ========================================================= */


/* --- Sección Principal (Hero) con Banner, Música, Fecha, etc. --- */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    background-image: url('img/BACK2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #333;
    min-height: 600px;
    padding-bottom: 0;
    margin-top: 0;
}

.banner-container {
    width: 100%;
    max-width: none;
    margin-bottom: 0;
    overflow: hidden;
}

.banner-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

/* Estilos para el reproductor de música */
.music-player-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

#weddingSong {
    display: none;
}

/* Estilos para el nuevo botón de imagen */
.play-image-button {
    width: 80px;
    height: auto;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.play-image-button:hover {
    transform: scale(1.1);
}

/* NUEVOS estilos para las frases del encabezado */
.wedding-phrases-container {
    margin-top: 20px;
    margin-bottom: 15px;
    text-align: center;
    padding: 0 20px;
}

.wedding-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: 2em;
    font-weight: 500;
    color: #000000;
    margin: 0;
}

/* 1. CLASE DE LA FECHA (h2): USA MONTSERRAT Y GROSOR 600 (SE MANTIENE SEPARADA) */
.wedding-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    font-weight: 600; 
    color: #000000;
    margin: 0;
    line-height: 1.2;
}

/* 2. NUEVA CLASE PARA LOS NOMBRES (h1): SÓLO ESTA USA AVENUE */
.wedding-names-custom {
    font-family: 'Avenue', sans-serif; /* <-- ÚNICO USO DE AVENUE */
    font-size: 3.5em;
    font-weight: normal; /* Usa el grosor disponible en Avenue */
    color: #988d74;
    margin: 0;
    line-height: 1.2;
}


.wedding-location {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    color: #000000;
    margin-top: 5px;
    letter-spacing: 4px;
}

.ring-image-container {
    width: 150px;
    margin-bottom: 25px;
}

.ring-image {
    display: block;
    width: 100%;
    height: auto;
}

/* Frase de amor ahora con estilo condensado y color para contraste */
.love-phrase {
    font-family: 'Montserrat', serif;
    font-style: normal;
    font-size: 1em;
    color: #3a3a3a;
    line-height: 1.6;
    max-width: 500px;
    margin: 30px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.love-phrase b {
    font-weight: bold;
}

/* --- Contenedor de ancho completo para el contador y el banner --- */
.full-width-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* --- Contador Regresivo --- */
.countdown-container {
    margin-top: 30px;
    margin-bottom: 0;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    width: 100%;
}

#countdown {
    display: flex;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.time-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.number {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    font-weight: bold;
    color: #988d74;
}

.label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    color: #988d74;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nuevo banner de invitación */
.invitation-banner-container {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

.invitation-banner-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* --- Sección de Padres y Padrinos con imagen de fondo (diseño simplificado) --- */
.parents-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
    background-image: url('img/back.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
}

.parents-text-container {
    max-width: 500px;
    padding: 60px 20px;
    background-color: transparent;
    border-radius: 10px;
}

.parents-text-container h3 {
    font-family: 'Cormorant Garamond', serif; /* Nuevo estilo para h3 */
    font-size: 1.5em;
    font-weight: 400;
    color: #988d74;
    line-height: 1.4;
    margin: 0;
}

.parents-info {
    font-family: 'Lora', serif;
    font-size: 1.1em;
    color: #666;
    margin-top: 20px;
    padding: 0;
}

.parents-info p {
    margin: 0;
    padding: 0;
    margin-bottom: 15px;
}

.parents-info p:last-child {
    margin-bottom: 0;
}

.parents-info b {
    font-weight: bold;
    color: #666;
}

/* --- Estilos para las secciones de contenido individuales --- */
#locationContent {
    background-color: #ffffff;
    padding: 60px 40px;
    border-radius: 0;
    text-align: center;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.dresscode-section {
    background-color: #f2f2f2;
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    margin: 25px auto;
}
.dresscode-section:first-of-type {
    margin-top: 25px;
}

/* Estilos de los títulos y textos */
.location h2 { /* ESTE h2 PERMANECE INTACTO */
    font-family: 'Cormorant Garamond', serif; /* Nueva tipografía */
    font-size: 2.5em;
    color: #988d74;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    font-weight: 400;
}

.location h2 i {
    margin-right: 15px;
    color: #988d74;
}

.location .detail-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15em;
    margin-bottom: 8px;
    color: #444;
    font-weight: 500;
}

.location .detail-address {
    font-family: 'Montserrat', serif;
    font-size: 1.05em;
    color: #666;
    margin-top: -5px;
    margin-bottom: 15px;
}

.map-link, .gift-link, .whatsapp-link, .rsvp-button {
    display: inline-block;
    background-color: #877754;
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

/* Aplica el color específico al botón del mapa */
.location .map-link {
    background-color: #988d74;
}

.map-link:hover, .gift-link:hover, .whatsapp-link:hover, .rsvp-button:hover {
    background-color: #877754;
}

.whatsapp-link i {
    margin-right: 8px;
}

/* --- Sección de Línea del Tiempo (con imagen) --- */
.timeline-image-section {
    background-color: #ffffff;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 900px;
}

.timeline-image-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-image {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Nuevos estilos de la Galería --- */
.gallery-title-section {
    text-align: center;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #ffffff;
}

.gallery-title-our {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #000;
    margin: 0;
    line-height: 1;
    font-weight: 500;
}

.gallery-title-gallery { /* ESTE h2 NO CAMBIA */
    font-family: 'Cormorant Garamond', serif; /* Nueva tipografía */
    font-size: 3em;
    color: #988d74;
    margin: 0;
    line-height: 1;
    font-weight: 400;
}

.gallery-container {
    max-width: 900px;
    margin: 0 auto 0 auto;
    position: relative;
    padding: 0 20px;
    background-color: #ffffff;
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.image-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 15px;
}

.carousel-image {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    scroll-snap-align: center;
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
}

/* Flechas del carrusel */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #988d74;
    font-size: 2em;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    opacity: 0.8;
    transition: opacity 0.2s ease;
    display: none;
}
.carousel-nav:hover {
    opacity: 1;
}
.carousel-nav.prev-nav { left: 10px; }
.carousel-nav.next-nav { right: 10px; }

/* --- Estilos para el Lightbox --- */
.lightbox {
    display: none;
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-image {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    position: relative;
    z-index: 100; /* Aseguramos que la imagen tenga un z-index para que se apilen correctamente */
}

.lightbox .close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 102; /* ¡AQUÍ ESTÁ EL CAMBIO CLAVE! Mayor que la imagen y las flechas */
}

.lightbox .close-btn:hover {
    color: #988d74;
}

.lightbox .lightbox-nav {
    color: #fff;
    font-size: 2.5em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 15px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    display: block !important;
    z-index: 101; /* ¡AQUÍ ESTÁ EL CAMBIO CLAVE! Mayor que la imagen, pero menor que el botón de cerrar */
}

.lightbox .lightbox-nav:hover {
    opacity: 1;
}

.lightbox .lightbox-nav.prev-nav { left: 20px; }
.lightbox .lightbox-nav.next-nav { right: 20px; }

/* --- Sección de Video --- */
.video-container {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0;
    background-color: #000;
}

.video-preview {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #000;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.video-preview .preview-content {
    color: #fff;
    text-align: center;
}

.save-the-date-text {
    font-family: 'Cormorant Garamond', serif; /* Nueva tipografía */
    font-size: 3em;
    margin: 0;
    line-height: 1;
    font-weight: 500;
}

.play-button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3em;
    cursor: pointer;
    margin-top: 10px;
    padding: 0;
    outline: none;
    transition: transform 0.2s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.video-player {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Nuevo banner al final del video --- */
.banner-container-bottom {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
}

.bottom-banner-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
}

/* --- Sección de Mesa de Regalos --- */
.gifts-section {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
    background-image: url('img/mesa.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
}

.gifts-container-inner {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.gifts-title-mesa {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #000;
    margin: 0;
    line-height: 1;
    font-weight: 500;
}

.gifts-title-regalos { /* ESTE h2 NO CAMBIA */
    font-family: 'Cormorant Garamond', serif; /* Nueva tipografía */
    font-size: 2.5em;
    color: #b1a892;
    margin: 0;
    line-height: 1;
    font-weight: 400;
}

.gifts-text {
    font-family: 'Montserrat', sans-serif;
    font-size: .95em;
    color: #666;
    margin: 20px 0;
}

.gifts-option {
    margin-bottom: 30px;
}
.gifts-option:last-of-type {
    margin-bottom: 0;
}


.gifts-logo-container {
    margin: 20px 0 10px 0;
}

.gifts-logo {
    width: 150px;
    height: auto;
}
.gifts-logo-bbva {
    width: 100px;
    height: auto;
    margin-bottom: 10px;
}

.bbva-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 1em;
    color: #444;
    line-height: 1.5;
}
.bbva-info p {
    margin: 5px 0;
}

.sobre-info {
    margin-top: 40px;
}
.envelope-icon {
    font-size: 2.5em;
    color: #b1a892;
    margin-bottom: 10px;
}
.sobre-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9em;
    color: #666;
    max-width: 350px;
    margin: 0 auto;
}

.gift-link {
    display: inline-block;
    background-color: #988d74;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}
.gift-link:hover {
    background-color: #877754;
}

/* --- Sección de Confirmación de Asistencia (RSVP) --- */
.rsvp-section {
    text-align: center;
    padding: 60px 40px;
    background-color: #fff;
    max-width: 900px;
    width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

.rsvp-title-confirmacion {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #000;
    margin: 0;
    line-height: 1;
    font-weight: 500;
}

.rsvp-title-asistencia { /* ESTE h2 NO CAMBIA */
    font-family: 'Cormorant Garamond', serif; /* Nueva tipografía */
    font-size: 2.5em;
    color: #988d74;
    margin: 0;
    line-height: 1;
    font-weight: 400;
}

/* Nuevos estilos para el formulario */
#rsvpForm {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    width: 100%;
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    box-sizing: border-box;
}

.rsvp-button {
    background-color: #988d74;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
}
.rsvp-button:hover {
    background-color: #877754;
}

.respetuosamente {
    margin-top: 40px;
}

.rsvp-title-respetuosamente {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5em;
    color: #000;
    margin: 0;
    line-height: 1;
    font-weight: 500;
}

.rsvp-title-ninos { /* ESTE h2 NO CAMBIA */
    font-family: 'Cormorant Garamond', serif; /* Nueva tipografía */
    font-size: 2.5em;
    color: #988d74;
    margin: 0;
    line-height: 1;
    font-weight: 400;
}

/* --- Footer --- */
.footer {
    margin-top: 0;
    font-size: 0.9em;
    color: #888;
    border-top: none;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 20px;
}

.back-to-top-link {
    color: #988d74;
    font-size: 1.5em;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-top-link:hover {
    color: #877754;
}

.back-to-top-text {
    margin-top: 5px;
    margin-bottom: 10px;
}

.copyright, .website-url {
    font-size: 0.8em;
    margin: 2px 0;
    text-align: center;
}

/* --- Media Queries para Responsividad (Galería y otros) --- */
@media (min-width: 769px) {
    .image-carousel {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        overflow-x: visible;
    }
    .carousel-image {
        width: 100%;
        flex: auto;
    }
    .carousel-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .parents-section {
        flex-direction: column;
        gap: 20px;
        background-position: center;
        margin: 0;
    }

    .parents-text-container {
        max-width: 100%;
        padding: 40px 20px;
    }

    .carousel-wrapper {
        position: relative;
    }
    .carousel-nav {
        display: block;
    }
    .image-carousel {
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 15px;
        overflow-x: hidden;
    }
    .carousel-image {
        flex: 0 0 100%;
        width: 100%;
    }
    .save-the-date-text {
        font-size: 2em;
    }
    .play-button {
        font-size: 3em;
    }
    .play-image-button {
        width: 80px;
        height: auto;
    }
    
    /* SOLUCIÓN para las flechas del lightbox en móvil */
    .lightbox .lightbox-nav {
        font-size: 1.5em;
        padding: 10px;
        opacity: 0.9;
        display: block !important;
        z-index: 101;
    }
    .lightbox .lightbox-nav.prev-nav { left: 10px; }
    .lightbox .lightbox-nav.next-nav { right: 10px; }

    .lightbox .close-btn {
        z-index: 102;
    }

    .lightbox-image {
        z-index: 100;
    }
}

@media (max-width: 508px) {
    #locationContent {
        padding: 40px 25px;
        margin: 0 auto;
    }
    .rsvp-section {
        padding: 40px 20px;
    }
    .gifts-section {
        padding: 40px 20px;
    }
    .wedding-headline {
        font-size: 1em;
    }
    .wedding-date { 
        font-size: 1.5em;
        font-weight: 400;
        color: #000000;
    }
    .wedding-names-custom {
        /* TAMAÑO AUMENTADO PARA MÓVIL */
        font-size: 2.5rem; 
        font-weight: normal; 
        color: #988d74;
    }
    .wedding-location {
        font-size: 0.9em;
        letter-spacing: 2px;
    }
    .ring-image-container {
        width: 120px;
    }
    .love-phrase {
        font-size: .95em;
        max-width: 400px;
    }
    #countdown {
        gap: 15px;
    }
    .number {
        font-size: 2em;
    }
    .label {
        font-size: 0.9em;
    }
    .hero .names {
        font-size: 3.5em;
    }
    .we-get-married {
        font-size: 1.5em;
    }
    h2 {
        font-size: 1.8em;
    }
    .detail-info, .detail-address {
        font-size: 1em;
    }
    .map-link, .gift-link, .whatsapp-link, .rsvp-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .full-width-container {
        margin: 0;
    }
    .gifts-container-inner {
        padding: 30px;
    }
    .gifts-title-mesa {
        font-size: 2.2em;
    }
    .gifts-title-regalos {
        font-size: 2.5em;
    }
    .gifts-logo {
        width: 120px;
    }
    .gifts-logo-bbva {
        width: 80px;
    }
    .bbva-info {
        font-size: .9em;
    }
    .sobre-info {
        margin-top: 30px;
    }
    .envelope-icon {
        font-size: 2em;
    }
    .sobre-text {
        font-size: 0.8em;
        max-width: 300px;
    }
    .play-image-button {
        width: 93px;
        height: auto;
    }
    
    /* SOLUCIÓN para las flechas del lightbox en móvil */
    .lightbox .lightbox-nav {
        font-size: 1.5em;
        padding: 10px;
        opacity: 0.9;
        display: block !important;
        z-index: 101;
    }
    .lightbox .lightbox-nav.prev-nav { left: 10px; }
    .lightbox .lightbox-nav.next-nav { right: 10px; }

    .lightbox .close-btn {
        z-index: 102;
    }

    .lightbox-image {
        z-index: 100;
    }
}

@media (max-width: 480px) {
    #locationContent {
        padding: 30px 15px;
    }
    .rsvp-section {
        padding: 30px 15px;
    }
    .gifts-section {
        padding: 30px 15px;
    }
    .gifts-container-inner {
        padding: 20px;
    }
    .gifts-title-mesa {
        font-size: 1.8em;
    }
    .gifts-title-regalos {
        font-size: 2.2em;
    }
    .gifts-text {
        font-size: 0.9em;
    }
    .gifts-logo {
        width: 100px;
    }
    .gifts-logo-bbva {
        width: 70px;
    }
    .bbva-info {
        font-size: 0.7em;
    }
    .sobre-info {
        margin-top: 20px;
    }
    .envelope-icon {
        font-size: 2em;
    }
    .sobre-text {
        font-size: 0.7em;
        max-width: 250px;
    }
    .play-image-button {
        width: 93px;
        height: auto;
    }
    .wedding-headline {
        font-size: 0.75rem;
        font-weight: 300;
    }
    .wedding-date {
        font-size: 1.2rem;
        font-weight: 600;
    }
    .wedding-names-custom {
        /* TAMAÑO AUMENTADO PARA MÓVIL PEQUEÑO */
        font-size: 2.5rem; 
        font-weight: normal;
    }
    .wedding-location {
        font-size: 0.6rem;
        font-weight: 300;
        letter-spacing: 0.5px;
    }
    .ring-image-container {
        width: 100px;
    }
    .love-phrase {
        font-size: 0.75em;
        font-family: 'Montserrat', sans-serif;
        font-style: normal;
        max-width: 300px;
    }
    #countdown {
        gap: 10px;
    }
    .number {
        font-size: 1.8em;
        color: #988d74;
    }
    .label {
        font-size: 0.8em;
        color: #988d74;
    }
    .hero .names {
        font-size: 2.8em;
    }
    .we-get-married {
        font-size: 1.3em;
    }
    h2 {
        font-size: 1.5em;
    }
    .detail-info, .detail-address {
        font-size: 0.9em;
    }
    .map-link, .gift-link, .whatsapp-link, .rsvp-button {
        padding: 8px 15px;
        font-size: 0.8em;
    }
    .banner-image {
        height: 60vh;
        object-fit: cover;
    }
    
    /* SOLUCIÓN para las flechas del lightbox en móvil */
    .lightbox .lightbox-nav {
        font-size: 1.5em;
        padding: 10px;
        opacity: 0.9;
        display: block !important;
        z-index: 101;
    }
    .lightbox .lightbox-nav.prev-nav { left: 10px; }
    .lightbox .lightbox-nav.next-nav { right: 10px; }

    .lightbox .close-btn {
        z-index: 102;
    }

    .lightbox-image {
        z-index: 100;
    }
}
/* --- Estilos para el botón flotante de Música (NUEVO) --- */
.floating-music-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #b1a892; /* Color que armoniza con tu paleta */
    color: #fff;
    font-size: 1.5em;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 50; /* Asegura que esté por encima del contenido */
    opacity: 0.9; 
    transition: background-color 0.3s, opacity 0.3s, transform 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-music-button:hover {
    opacity: 1;
    background-color: #988d74;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .floating-music-button {
        width: 50px;
        height: 50px;
        font-size: 1.2em;
        bottom: 15px;
        right: 15px;
    }
}

/* --- NUEVOS ESTILOS PARA LA SECCIÓN RSVP (ASISTENCIA SI/NO) --- */

.attendance-group {
    text-align: center;
    margin-bottom: 30px; /* Espacio extra debajo de la selección */
}

.attendance-group > label {
    font-size: 1.1em;
    font-weight: 600;
    color: #333; /* Color oscuro para el encabezado de la pregunta */
    margin-bottom: 15px;
}

.radio-options {
    display: flex;
    justify-content: center;
    gap: 20px; /* Espacio entre los botones Sí y No */
    margin-top: 10px;
}

.radio-options input[type="radio"] {
    /* Ocultar el radio button nativo */
    display: none;
}

.radio-options .radio-label {
    cursor: pointer;
    padding: 12px 25px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    user-select: none; /* Evita selección de texto */
    min-width: 120px; /* Asegura que ambos botones tengan el mismo ancho */
    text-align: center;
}

/* Estilo cuando el radio button está seleccionado */
.radio-options input[type="radio"]:checked + .radio-label {
    background-color: #988d74; /* Color de tu paleta (tierra/oro) */
    color: #ffffff;
    border-color: #988d74;
    box-shadow: 0 4px 6px rgba(152, 141, 116, 0.4);
}

/* Efecto hover */
.radio-options .radio-label:hover {
    border-color: #988d74;
    background-color: #f0f0f0;
}

/* Media Query para móvil */
@media (max-width: 480px) {
    .radio-options {
        flex-direction: column; /* Apila las opciones en pantallas pequeñas */
        gap: 10px;
    }
    .radio-options .radio-label {
        min-width: auto;
        padding: 10px 15px;
    }
}