/* =========================================
   1. RESET Y CONFIGURACIÓN BÁSICA
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%; 
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #dbcdab; 
    color: #333;
    overflow: hidden; 
}

.secciones-ocultas {
    display: none; 
}

.contenedor-ancho {
    max-width: 900px;
    margin: 0 auto;
}

.titulo-seccion-oscura {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #081a30;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-align: center;
}

.btn-dorado {
    display: inline-block;
    padding: 12px 30px;
    background-color: rgba(183, 155, 91, 0.8);
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-style: italic;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
}

.btn-dorado:hover {
    background-color: #dfcd9a;
    color: #081a30;
}

/* =========================================
   2. SECCIÓN PORTADA INTRO (HERO PASAPORTE)
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh; 
    background-image: url('fondo03.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.passport-wrapper {
    position: relative;
    width: 400px; 
    height: 560px; 
}

.img-passport {
    position: absolute;
    top: -40px;      
    left: -50px; 
    width: 100%;
    height: auto;
    z-index: 2;
    filter: drop-shadow(-15px 20px 15px rgba(0, 0, 0, 0.4));
}

.img-boarding-pass {
    position: absolute;
    top: 95px;       
    left: 175px;    
    width: 86%;      
    height: auto;
    z-index: 1;
    transform: rotate(12deg); 
    filter: drop-shadow(5px 10px 8px rgba(0, 0, 0, 0.2));
}

.texto-boarding {
    position: absolute;
    bottom: 50px;       
    right: -30px;       
    width: 190px;       
    text-align: center;
    color: #1a2c42;     
    font-family: 'Playfair Display', serif; 
    font-size: 1.05rem; 
    font-weight: 500;   
    line-height: 1.4;   
    z-index: 3;
    transform: rotate(12deg); 
}

.btn-open {
    position: absolute; 
    bottom: -10px;      
    right: -5px;       
    padding: 12px 28px;
    background-color: #dfcd9a;
    color: #0b2347; 
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: 3;
    transform: rotate(12deg); 
}

.btn-open:hover {
    background-color: #0b2347;
    color: #dfcd9a;
    box-shadow: 0 6px 15px rgba(11, 35, 71, 0.3);
    transform: translateY(-3px) rotate(12deg); 
}

/* =========================================
   3. MENÚ DE NAVEGACIÓN
   ========================================= */
.menu-principal {
    position: absolute; 
    top: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 100;
    text-align: center;
}

.menu-principal ul {
    list-style: none;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-principal li {
    padding: 0 15px;
    border-right: 1px solid rgba(223, 205, 154, 0.4); 
}

.menu-principal li:last-child {
    border-right: none; 
}

.menu-principal a {
    color: #dfcd9a; 
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.menu-principal a:hover {
    color: #ffffff;
}

/* =========================================
   4. FONDO AZUL CONTINUO (Hero + Ticket + Reloj)
   ========================================= */
.fondo-continuo-azul {
    background-image: url('fondo01.jpg'); 
    background-size: cover;          
    background-position: top center; 
    background-color: #081a30; 
    width: 100%;
    padding-bottom: 80px; 
}

.hero-principal {
    position: relative;
    width: 100%;
    padding-top: 140px; 
    padding-bottom: 60px; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contenido-hero-principal {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.subtitulo-hero {
    font-family: 'Playfair Display', serif;
    color: #dfcd9a;
    font-size: 2rem;
    letter-spacing: 8px;
    margin-bottom: 10px;
}

.subtitulo-hero-2 {
    font-family: 'Playfair Display', serif;
    color: #dfcd9a;
    font-size: 1rem;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.icono-mundo {
    width: 280px; 
    height: auto;
    margin: 20px 0;
    filter: drop-shadow(0px 5px 15px rgba(0,0,0,0.3)); 
}

.titulo-pareja {
    font-family: 'Great Vibes', cursive; 
    color: #dfcd9a;
    font-size: 4.5rem;
    font-weight: 400;
    margin-top: 10px;
}

/* =========================================
   5. TICKET BOARDING PASS BLANCO
   ========================================= */
.seccion-ticket {
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.ticket-wrapper {
    display: flex;
    background-color: #fdfaf6;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.ticket-foto {
    flex: 1; 
    min-width: 300px;
}

.ticket-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-contenido {
    flex: 1.5; 
    display: flex;
    flex-direction: column;
}

.ticket-cabecera {
    background: linear-gradient(to right, #dfcd9a, #c2a878);
    padding: 15px 30px;
    color: #081a30;
    font-weight: 600;
    letter-spacing: 4px;
    font-size: 1.1rem;
    border-bottom: 2px dashed #081a30;
}

.ticket-cuerpo {
    padding: 40px 40px;
    color: #081a30;
}

.ticket-titulo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.ticket-texto {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #4a5568;
}

.ticket-datos {
    display: flex;
    gap: 60px;
    margin-bottom: 30px;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 20px;
}

.dato-col {
    display: flex;
    flex-direction: column;
}

.dato-label {
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #081a30;
}

.dato-valor {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #081a30;
}

.ticket-destino {
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #4a5568;
}

.btn-abrir-mapa {
    display: inline-block;
    padding: 12px 30px;
    background-color: #081a30;
    color: #dfcd9a;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-abrir-mapa:hover {
    background-color: #dfcd9a;
    color: #081a30;
}

/* =========================================
   6. SECCIÓN CUENTA REGRESIVA
   ========================================= */
.seccion-contador {
    background-image: none !important; 
    background-color: transparent !important; 
    padding: 60px 20px 20px 20px; 
    text-align: center;
    color: #ffffff;
}

.titulo-contador {
    font-family: 'Great Vibes', cursive;
    color: #dfcd9a;
    font-size: 5rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.subtitulo-contador {
    font-family: 'Playfair Display', serif;
    color: #e2e8f0; 
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 60px;
}

.contenedor-reloj {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

.bloque-tiempo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 140px;
    height: 170px;
    border: 1px dashed rgba(223, 205, 154, 0.5); 
    border-radius: 70px 70px 0 0; 
    padding-top: 15px; 
}

.numero-tiempo {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 15px;
}

.etiqueta-tiempo {
    font-family: 'Playfair Display', serif;
    color: #dfcd9a;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* =========================================
   7. SECCIÓN NUESTRA HISTORIA (PARALLAX)
   ========================================= */
.seccion-historia-parallax {
    position: relative;
    background-image: url('pareja2.jpeg'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
    padding: 180px 20px 200px 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-historia {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 26, 48, 0.75); 
    z-index: 1;
}

.contenedor-historia-texto {
    position: relative;
    z-index: 2;
    max-width: 750px;
}

.titulo-historia-cursiva {
    font-family: 'Great Vibes', cursive;
    color: #ffffff;
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.contenedor-historia-texto p {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #e2e8f0;
}

.ola-superior, .ola-inferior {
    position: absolute;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.ola-superior { top: -2px; }
.ola-inferior { bottom: -2px; }

.ola-superior svg, .ola-inferior svg {
    display: block;
    width: calc(100% + 4px);
    height: 90px;
}

/* =========================================
   8. SECCIÓN DRESS CODE
   ========================================= */
.seccion-dresscode {
    background-color: #e5d9ba; 
    padding: 80px 20px 40px 20px;
    text-align: center;
}

.texto-dresscode {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #081a30;
    max-width: 700px;
    margin: 0 auto;
}

.caja-notas-dresscode {
    background-color: rgba(255, 255, 255, 0.4);
    border: 1px dashed #8f855a;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    text-align: left;
}

.caja-notas-dresscode p {
    margin-bottom: 15px;
}

.caja-notas-dresscode p:last-child {
    margin-bottom: 0;
}

/* =========================================
   9. SECCIÓN REGALOS (CAJA OLIVA Y SELLO)
   ========================================= */
.seccion-regalos {
    background-image: url('fondo03.jpg'); 
    background-size: cover;
    background-position: center;
    background-color: #e5d9ba; 
    padding: 100px 20px;
    display: flex;
    justify-content: center;
}

.caja-regalos {
    background-color: #8f855a; 
    border: 2px dotted #ffffff;
    border-radius: 20px;
    padding: 50px;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 850px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.columna-sello {
    flex: 0 0 auto;
}

.sello-regalo {
    width: 120px;
    height: 120px;
    background: #ffffff; 
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-mask-image: radial-gradient(circle at 6px 6px, transparent 5px, black 5.5px);
    -webkit-mask-size: 16px 16px;
    mask-image: radial-gradient(circle at 6px 6px, transparent 5px, black 5.5px);
    mask-size: 16px 16px;
}

.sello-interior-regalo {
    width: 96px;
    height: 96px;
    background-color: #8f855a; 
    border: 1px solid #ffffff; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.icono-regalo {
    font-size: 3rem;
}

.columna-texto-regalo {
    flex: 1;
    color: #ffffff;
}

.titulo-cursiva-regalo {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 15px;
}

.texto-regalo {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-bancario {
    display: inline-block;
    padding: 10px 25px;
    background-color: #e5d9ba; 
    color: #081a30; 
    text-decoration: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-bancario:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================
   10. SECCIÓN NOTAS IMPORTANTES
   ========================================= */
.seccion-notas {
    background-color: #081a30; 
    padding: 80px 20px;
}

.grid-notas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.tarjeta-nota {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(223, 205, 154, 0.3);
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    color: #e2e8f0;
}

.icono-nota {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.tarjeta-nota h3 {
    font-family: 'Playfair Display', serif;
    color: #dfcd9a;
    font-size: 1.5rem;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.tarjeta-nota p {
    line-height: 1.6;
    margin-bottom: 25px;
}

/* =========================================
   11. SECCIÓN CONFIRMACIÓN (RSVP)
   ========================================= */
.seccion-rsvp {
    background-color: #fdfaf6; 
    padding: 100px 20px;
    text-align: center;
}

.texto-rsvp {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 40px;
}

.formulario-rsvp {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background: #ffffff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.grupo-form {
    margin-bottom: 20px;
}

.grupo-form label {
    display: block;
    font-weight: 600;
    color: #081a30;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.grupo-form input,
.grupo-form select,
.grupo-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
}

.grupo-form input:focus,
.grupo-form select:focus,
.grupo-form textarea:focus {
    outline: none;
    border-color: #8f855a;
}

.btn-enviar {
    width: 100%;
    padding: 15px;
    background-color: #dfcd9a;
    color: #081a30;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-enviar:hover {
    background-color: #081a30;
    color: #dfcd9a;
}

/* =========================================
   12. FOOTER (CONTACTO)
   ========================================= */
.pie-pagina {
    background-color: #05101e; 
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
}

.pie-pagina h2 {
    font-family: 'Playfair Display', serif;
    color: #dfcd9a;
    margin-bottom: 10px;
}

.pie-pagina p {
    margin-bottom: 30px;
    color: #ccc;
}

.botones-contacto {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-block;
    padding: 12px 25px;
    background-color: #25D366; 
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background-color: #1ebc5a;
    transform: translateY(-2px);
}

/* =========================================
   13. RESPONSIVE GENERAL PARA CELULARES
   ========================================= */
@media (max-width: 768px) {
    /* Menu y Hero */
    .menu-principal ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .menu-principal li {
        border-right: none;
    }
    
    .hero-principal { padding-top: 220px; }
    .subtitulo-hero { font-size: 1.5rem; letter-spacing: 4px; }
    .subtitulo-hero-2 { font-size: 0.85rem; letter-spacing: 2px; }
    .icono-mundo { width: 200px; }
    .titulo-pareja { font-size: 3.5rem; }
    
    /* Intro Passport */
    .passport-wrapper {
        width: 280px; 
        height: 400px;
    }
    .img-passport {
        top: -25px;      
        left: -30px; 
    }
    .img-boarding-pass {
        top: 65px;       
        left: 105px; 
        width: 86%;      
    }
    .texto-boarding {
        bottom: 30px;
        right: -60px;
        width: 140px;
        font-size: 0.8rem; 
    }
    .btn-open {
        bottom: -15px; 
        right: -55px; 
        padding: 8px 20px;
        font-size: 0.8rem;
    }

    /* Ticket */
    .ticket-wrapper { flex-direction: column; }
    .ticket-foto { height: 300px; }
    .ticket-datos { gap: 30px; flex-direction: column; border-bottom: none; }
    .dato-col { border-bottom: 1px dashed #ccc; padding-bottom: 10px; }

    /* Reloj */
    .titulo-contador { font-size: 4rem; }
    .contenedor-reloj { gap: 15px; }
    .bloque-tiempo {
        width: 100px;
        height: 130px;
        border-radius: 50px 50px 0 0;
    }
    .numero-tiempo { font-size: 2.2rem; margin-bottom: 10px; }
    .etiqueta-tiempo { font-size: 0.85rem; }

    /* Historia Parallax */
    .seccion-historia-parallax {
        background-attachment: scroll; 
        padding: 120px 20px 140px 20px;
    }
    .titulo-historia-cursiva { font-size: 3.5rem; }

    /* Regalos */
    .caja-regalos {
        flex-direction: column; 
        text-align: center;
        padding: 40px 20px;
        gap: 20px;
    }
}