/* Importar fuente cursiva desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
    /* Fiusha Vibrante para acentos y nombres */
    --fiusha: #ff007f; 
    /* Fiusha suave para fondos de secciones */
    --fiusha-pastel: #fff0f5; 
    /* Dorado elegante */
    --dorado: #d4af37; 
    /* Dorado brillante para brillos */
    --dorado-brillante: #f9e27d;
    --fuente-principal: 'Montserrat', sans-serif;
    /* Fuente elegante opcional para el nombre (descárgala de Google Fonts) */
    --fuente-acento: 'Great Vibes', cursive; 
}

/* Aplicamos el scroll suave y reseteamos el box-sizing */
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    /* Quitamos el overflow-x para evitar que la página se mueva hacia los lados en móviles */
    overflow-x: hidden; 
    font-family: var(--fuente-principal);
}

/* Asegúrate de que el texto en el hero sea blanco por defecto para contrastar */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    /* Aseguramos que el hero no tenga padding que empuje el contenido */
    padding: 0; 
}

/* Contenedor de la Imagen de Fondo */
.hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/foto-xv-1x.png'); /* Ruta de tu imagen */
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* 1. MEJORA DE CONTRASTE (Overlay más oscuro arriba y abajo) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Un degradado más agresivo para que el blanco y el "desliza" se vean sí o sí */
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(255, 0, 127, 0.2) 50%, 
        rgba(0, 0, 0, 0.7) 100%
    );
    z-index: 2;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 3; /* Partículas sobre la foto y el overlay */
}

/* 2. CENTRADO BALANCEADO DEL CONTENIDO */
.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    /* --- EL TRUCO PARA EL CENTRADO PERFECTO --- */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centrado vertical */
    height: 100vh; /* Ocupa toda la altura visible */
    width: 100%;
    margin: 0; /* Limpiamos márgenes */
}

.gold-line {
    background: linear-gradient(to right, transparent, var(--dorado), transparent);
    height: 3px;
    border: none;
    width: 250px;
}

@media (max-width: 600px) {
    .name {
        font-size: 2.8rem;
    }
    .title {
        font-size: 0.9rem;
        letter-spacing: 4px;
    }
}

/* Estilos del Cuadro de Foto */
/* 3. REDUCCIÓN DE ESPACIOS */
.photo-frame {
    width: 300px;
    height: 450px;
    margin: 0 auto 70px auto; /* Reducido de 30px a 15px */
    border: 4px solid var(--dorado);
    box-shadow: 0px 0px 30px #ff007f66; /* Resplandor fiusha/dorado */
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la foto llene el círculo sin deformarse */
    border-radius: 50%;
}

/* Unificamos las propiedades comunes */
.title, .date {
    color: #ffffff; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8); /* Sombra para que resalten sobre cualquier fondo */
}

/* Propiedades específicas para el título */
.title {
    margin: 0 0 10px 0;
    font-size: 1.3rem;
    font-weight: 700; /* Mantenemos negrita para cuerpo */
    text-transform: uppercase;
    letter-spacing: 6px;
    display: inline-block;
    /* --- CAMBIOS CLAVE PARA LEGIBILIDAD --- */
    /* 1. Color Dorado Sólido (puedes ajustar este tono si lo prefieres más oscuro) */
    color: #b39136; /* Un dorado más profundo para contraste */
    /* 2. Eliminamos sombras y efectos de recorte de texto */
    text-shadow: none;
    -webkit-background-clip: padding-box; 
    background-clip: padding-box;
    -webkit-text-fill-color: currentcolor;
    background: none;
    /* 3. Aplicamos la nueva animación (duración 1.5s, se ejecuta 1 vez) */
    animation: parpadeoInicial 1.5s ease-out 1;
    /* Aseguramos que se mantenga visible después de la animación */
    opacity: 1; 
}

.name {
    margin: 0; /* Limpiamos márgenes predeterminados */
    font-size: 5.5rem;
    line-height: 1;
    color: var(--fiusha);
    /* Una sombra suave para que el fiusha no se vea plano */
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* Propiedades específicas para la fecha */
.date {
    /* 1. Limpiamos márgenes y damos espacio superior */
    margin: 15px 0 0 0; 
    
    /* 2. FORZAMOS EL PESO DE FUENTE MÁS GRUESO (!important) */
    /* Asegúrate que en tu Google Fonts incluiste ' Montserrat:wght@700' o 'Montserrat:wght@900' */
    font-size: 1.3rem; 
    font-weight: 900 !important; /* Pasamos de 400 (normal) a 900 (ultra-bold) */
    text-transform: uppercase;
    letter-spacing: 6px; 
    display: inline-block;
    
    /* 3. CAMBIAMOS A UN DORADO MÁS PROFUNDO Y OSCURO (Bronce) */
    color: #a67c00; /* Reemplazamos el dorado claro por este tono más marrón/oscuro */
    
    /* 4. AGREGAMOS UNA SOMBRA DE TEXTO OSCURA (Definición de borde) */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra negra difuminada para contraste */
    
    /* Eliminamos cualquier efecto de recorte de texto anterior */
    -webkit-background-clip: padding-box; 
    background-clip: padding-box;
    -webkit-text-fill-color: currentcolor;
    background: none;

    /* 5. Mantenemos la animación de parpadeo inicial */
    animation: parpadeoInicial 1.5s ease-out 1;
    
    /* Aseguramos que se mantenga visible y sólida después del parpadeo */
    opacity: 1; 
}

.gold-line {
    margin: 10px auto; /* Reducido de 20px a 10px */
    width: 180px;
}

/* Contenedor del Indicador */
.scroll-down-indicator {
    position: absolute;
    bottom: 30px; /* Pegado abajo */
    left: 35%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    font-family: var(--fuente-principal);
    font-size: 1.0rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    z-index: 5;
}

/* 4. MEJORA DEL "DESLIZA" */
.scroll-down-indicator {
    bottom: 40px;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,1); /* Sombra negra pura para que resalte */
}

/* Quitamos el estilo de enlace predeterminado */
.scroll-down-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Aseguramos que el indicador responda al hover */
.scroll-down-indicator:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.scroll-indicator {
    position: fixed;    /* Crucial: se queda fija en la pantalla */
    bottom: 30px;       /* Distancia desde abajo */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;      /* Forzamos que esté por encima de todas las secciones */
    text-align: center;
    transition: opacity 0.5s ease;
    pointer-events: none; /* Para que no estorbe si el usuario quiere hacer clic en algo detrás */
}

.scroll-indicator p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a67c00;     /* El dorado que ya usamos para que se vea en fondo blanco */
    margin-bottom: 5px;
    font-weight: 700;
}

.scroll-indicator i, 
.scroll-indicator span {
    color: #a67c00;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    display: block;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.mouse, .arrow span {
    border-color: #ffffff;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}

.wheel {
    width: 14px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 1.5s infinite; /* Animación de sube y baja */
}

/* Flechas animadas */
.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    margin: -5px auto 0 auto;
    animation: scroll-arrow 1.5s infinite;
}

.arrow span:nth-child(2) {
    animation-delay: 0.2s;
}

.countdown-section {
    /* 1. Mapeamos tu imagen de flores de esta sección */
    background-image: url('../img/fondo-mariposas.jpeg') !important;
    background-size:60% auto !important;
    background-repeat: repeat !important;
    background-position: top center !important;
    background-color: rgba(253, 251, 247, 0.45); /* Mezcla sutil con crema champán
   
    /*padding: 100px 20px;
    background-color: #f8b6b6; */
    text-align: center;
    min-height: 10vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-section h2 {
    font-family: var(--fuente-principal);
    color: var(--fiusha);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 40px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: var(--fiusha-pastel);
    border: 2px solid var(--dorado);
    border-radius: 15px;
    padding: 20px;
    min-width: 100px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-10px);
}

.countdown-item span {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--fiusha);
    margin-bottom: 5px;
}

.countdown-item p {
    margin: 0;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--dorado);
    letter-spacing: 2px;
}

/* 1. Ajustamos el contenedor del pie del contador */
.countdown-footer-container {
    margin-top: 30px; /* Reducimos de 50px a 30px */
    margin-bottom: 0px; /* Forzamos que no empuje hacia abajo */
}

.countdown-footer {
    font-family: var(--fuente-principal);
    font-size: 1.1rem;
    color: #666;
    font-style: italic;
    margin: 0;
    white-space: nowrap; /* Evita que se parta en dos líneas */
}

.countdown-footerVestir {
    font-family: var(--fuente-principal);
    font-size: 1.4rem;
    color: #510202;
    font-style: italic;
    margin: 0;
    white-space: nowrap; /* Evita que se parta en dos líneas */
}

.line {
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, transparent, var(--dorado), transparent);
}

/* En móviles, si la frase es larga, bajamos el tamaño */
@media (max-width: 600px) {
    .countdown-footer {
        font-size: 0.9rem;
    }
    .countdown-footer-container {
        gap: 10px;
        padding: 0 10px;
    }
}

/* Ajuste para móviles */
@media (max-width: 600px) {
    .countdown-item {
        min-width: 70px;
        padding: 10px;
    }
    .countdown-item span {
        font-size: 1.8rem;
    }
}

/* KEYFRAMES para las animaciones */
@keyframes scroll-wheel {
    0% { opacity: 1; top: 6px; }
    100% { opacity: 0; top: 18px; }
}

@keyframes scroll-arrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

/* Animación de resplandor elegante */
/* Nueva animación: Parpadeo sutil al inicio (2 parpadeos) */
@keyframes parpadeoInicial {
    0% { opacity: 0; }
    25% { opacity: 1; }
    50% { opacity: 0; }
    75% { opacity: 1; }
    100% { opacity: 1; } /* Se queda visible */
}

/* Estilos de la Sección Ubicación */
.location-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 30px;
    margin: 20px auto;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid var(--dorado-suave);
}

.venue-name {
    font-family: var(--fuente-titulos);
    color: #b39136; /* Tu dorado oscuro */
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.event-type {
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.address {
    color: #888;
    margin: 20px 0;
    font-style: italic;
}

/* Botones de Navegación */
.location-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-map {
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-map.google {
    background: #4285F4;
}

.btn-map.waze {
    background: #33CCFF;
}

.btn-map:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    color: white;
}

/* --- TÍTULO DE SECCIÓN INTEGRADO --- */
.title-secondary {
    margin-top: 0;
    font-family: var(--fuente-principal);
    font-size: 1.5rem;
    font-weight: 900 !important; /* Peso fuerte como la fecha */
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #670358; /* El mismo dorado profundo de la fecha */
    text-align: center;
    margin-bottom: 5px;
    display: block;
}
/* 2. Ajustamos el padding de la sección de ubicación */
.section-padding {
    padding: 40px 20px; /* Reducimos el padding superior/inferior de 80px a 40px */  
}

.container {
    padding-top: 0;
    padding-bottom: 0;
}

.line-gold {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, #b39136, transparent);
    margin: 0 auto 30px auto;
}

.regalos-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: #666;
    font-style: italic;
}

.regalos-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.regalo-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #a67c00; /* El dorado oscuro que ya validamos */
    border-radius: 15px;
    padding: 30px;
    width: 280px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.regalo-card:hover {
    transform: translateY(-10px);
}

.regalo-card i {
    font-size: 2.5rem;
    color: #a67c00;
    margin-bottom: 20px;
}

.regalo-card h3 {
    font-family: var(--fuente-principal);
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 10px;
}

.regalo-id {
    font-weight: bold;
    color: #888;
    margin: 10px 0;
}

.btn-regalo {
    display: inline-block;
    padding: 10px 25px;
    background: #a67c00;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-regalo:hover {
    background: #8e6a00;
    color: #fff;
}

.dedicatoria-box {
    background: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(166, 124, 0, 0.1);
    position: relative;
}

.gold-heart {
    color: #a67c00;
    font-size: 2rem;
    margin-bottom: 20px;
    display: block;
}

.mensaje-texto {
    font-family: 'Playfair Display', serif; /* O una fuente cursiva que tengas cargada */
    font-style: italic;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin: 30px 0;
}

.mensaje-texto p {
    margin-bottom: 20px;
}

.firma {
    font-family: var(--fuente-principal);
    color: #a67c00;
    margin-top: 30px;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* Decoración extra: comillas elegantes */
.mensaje-texto::before {
    content: '"';
    font-size: 4rem;
    color: rgba(166, 124, 0, 0.1);
    position: absolute;
    top: 100px;
    left: 20px;
}

/* Tarjeta de Confirmación Estilo Gala */
.confirm-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 15px 45px rgba(0,0,0,0.08);
    border: 1px solid rgba(166, 124, 0, 0.2);
}

.label-gold {
    color: #a67c00;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    display: block;
    margin-bottom: 15px;
}

.family-name {
    font-family: var(--fuente-principal);
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* Estilizado del Select para que no se vea "nativo" de Windows */
.select-pases {
    width: 100%;
    max-width: 300px;
    padding: 12px;
    border: 2px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    color: #555;
    background-color: #f9f9f9;
    margin-bottom: 25px;
    outline: none;
    transition: border-color 0.3s;
}

.select-pases:focus {
    border-color: #a67c00;
}

/* Botón de confirmación alineado al diseño general */
.btn-confirm {
    background: #a67c00;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(166, 124, 0, 0.3);
}

.btn-confirm:hover {
    background: #8e6a00;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(166, 124, 0, 0.4);
}

.status-msg {
    background: #f0fdf4; /* Un verde muy tenue */
    border: 1px solid #28a745;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    color: #166534;
}

.status-msg i {
    font-size: 2rem;
    color: #28a745;
    margin-bottom: 10px;
}

.status-msg p {
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.btn-edit {
    background: none;
    border: none;
    color: #a67c00;
    text-decoration: underline;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: bold;
}

.d-none {
    display: none;
}

.btn-whatsapp-confirm {
    display: inline-block;
    background-color: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-confirm:hover {
    background-color: #128c7e;
    color: white;
    transform: scale(1.05);
}

.btn-whatsapp-confirm i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.lock-notice {
    margin-top: 15px;
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 8px;
    background: #f9f9f9;
}

.lock-notice i {
    color: #a67c00;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.lock-notice p {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.2;
    margin: 0;
}

/* --- CÓDIGO DE VESTIMENTA SEMIINFORMAL--- */
/* --- CONTENEDOR TIPO ICONO RESPONSIVO --- */
.contenedor-imagenVestir {
    background-color: #ffffff; /* Fondo blanco puro como lo pediste */
    border: 1px solid #d4af37;  /* Borde dorado fino opcional (eliminar si no lo deseas) */
    border-radius: 50%;        /* Hace el contenedor circular (tipo botón de icono) */
    
    /* CONTROL DE TAMAÑO: Actúa como un icono fas-fa grande */
    width: 200px;              
    height: 200px;
    
    /* CENTRADO ABSOLUTO DEL CONTENIDO */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;  /* Centra la caja horizontalmente y da margen abajo */
    padding: 15px;             /* Espacio interno para que la imagen no toque los bordes */
    
    /* EFECTO DE SOMBRA ELEGANTE */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* --- COMPORTAMIENTO DE LA IMAGEN INTERNA --- */
.contenedor-imagenVestir img {
    width: 100%;               /* Se adapta al 100% del contenedor */
    height: 100%;              /* Mantiene la proporción */
    object-fit: contain;       /* Evita que los novios se deformen o estiren */
    display: block;
}

/* --- AJUSTE RESPONSIVO PARA PANTALLAS PEQUEÑAS (MÓVIL) --- */
@media (max-width: 480px) {
    .contenedor-imagenVestir {
        width: 110px;          /* Se encoge un poco en pantallas muy chicas */
        height: 110px;
        padding: 10px;
    }
}
/* --fin-- */

.dress-code-container {
     background-image: url('../img/fondo-mariposas.jpeg') !important;
     background-size: 60% auto !important;
    background-repeat: repeat !important;
    background-position: top center !important;

    background-color: rgb(254, 254, 253); /* Mezcla sutil con crema champán*/

    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap; /* Clave para que no se desfase en móvil */
}

.dress-code-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--dorado-suave, #d4af37);
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    text-align: center;
    transition: transform 0.3s ease;
}

.dress-code-item:hover {
    transform: translateY(-5px);
}

.dress-icon {
    font-size: 3rem;
    color: var(--dorado-suave, #d4af37);
    margin-bottom: 20px;
}

.dress-code-item h3 {
    font-family: var(--fuente-principal);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.dress-code-note {
    margin-top: 30px;
    font-style: italic;
    color: #fff;
    opacity: 0.9;
}

/* Ajuste Responsivo para Vestimenta */
@media (max-width: 480px) {
    .dress-code-item {
        width: 100% !important; /* Ocupa todo el ancho en celular */
        margin-bottom: 15px;
    }
    
    .dress-icon {
        font-size: 2.5rem;
    }
}

/* --- REFINAMIENTO DE COLOR PARA SECCIONES --- */
/* Aplicamos el fondo crema a las secciones principales para dar elegancia */
section, 
.detalles-section, 
.asistencia-section, 
.regalos-section,
.countdown-section {
    background-color: #FDFBF7 !important; /* Crema Champán */
    color: #4A4A4A; /* Un gris muy oscuro para mejor legibilidad */
}

/* Ajuste para las tarjetas o contenedores internos si se ven muy blancas */
.card, .info-box {
    background-color: #ffffff; 
    border: 1px solid #e0c097; /* Un borde dorado sutil */
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Si tienes la sección de la CLABE o formularios, esto los hace resaltar */
.clabe-container, #formConfirmacion {
    background-color: #fff;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #d4af37;
}

/* --- ESTILOS DEL SPLASH SCREEN --- */
/* #splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FDFBF7; */ /*Mismo tono crema para consistencia*/
/*    
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
} */

/* 2. PANTALLA DE BIENVENIDA (SPLASH SCREEN) */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease-in-out;
    background-color: #FDFBF7; /* Color crema de fondo para PC */
    
    /* Configuración de la imagen de Mariposas */
    background-image: url('../img/fondo-mariposas.jpeg') !important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; /* En PC se ve la imagen completa sin recortes */
}

/* Ajuste para Celulares (Para que las mariposas llenen toda la pantalla) */
@media (max-width: 767px) {
    #splash-screen {
        background-size: cover; /* En móvil sí permitimos que cubra todo */
    }
}

/* El resto de estilos (botón, animación) se quedan igual */
#btn-abrir-invitacion {
    background-color: #d4af37;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 35px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.5);
    animation: pulse-gold 2s infinite; /* El botón "late" para llamar la atención */
    font-family: sans-serif;
    letter-spacing: 2px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

/* Animación de latido */
@keyframes pulse-gold {
    0% { transform: scale(1); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); }
    50% { transform: scale(1.08); box-shadow: 0 5px 25px rgba(212, 175, 55, 0.7); }
    100% { transform: scale(1); box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4); }
}

/* Estilo para el subtítulo "Estás invitado" */
.subtitulo-invitado {
    color: #4A4A4A;
    letter-spacing: 4px;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* --- ESTILO PARA EL NOMBRE EN CURSIVA --- */
.nombre-principal {
    font-family: 'Great Vibes', cursive; /* Usamos la fuente que importamos */
    font-size: 6rem; /* Ajusta el tamaño según tu diseño */
    color: #d4af37; /* El color dorado elegante que ya usamos */
    font-weight: normal; /* Las cursivas se ven mejor sin negrita */
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-weight: normal;
}

.nombre-principal2 {
    font-family: 'Great Vibes', cursive; /* Usamos la fuente que importamos */
    font-size: 4rem; /* Ajusta el tamaño según tu diseño */
    color: #d4af37; /* El color dorado elegante que ya usamos */
    font-weight: normal; /* Las cursivas se ven mejor sin negrita */
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-weight: normal;
}

/* --- OPTIMIZACIÓN CURSIVA SECCIÓN CUENTA REGRESIVA --- */

/* 1. Cambiar el título "FALTAN SOLO..." a la cursiva elegante */
.countdown-section h2, 
.countdown-title,
#countdown-title-container { 
    font-family: 'Great Vibes', cursive !important;
    font-size: 3.5rem !important; /* Al ser cursiva, aumentamos un poco el tamaño para que luzca */
    color: #FF007F !important;    /* Mantenemos tu color rosa/fiusha original */
    font-weight: normal !important;
    letter-spacing: 0px !important; /* Las cursivas no llevan tracking/separación */
    text-transform: none !important; /* Evita que se fuerce a mayúsculas para que la cursiva ligue bien */
}

/* 2. Ajuste para los números del contador */
/* Nota: Los números NO se ponen en cursiva porque se deforman y pierden legibilidad (91, 3, etc) */
.countdown-number, 
.timer-num {
    font-family: 'Montserrat', sans-serif; /* Una fuente limpia, moderna y elegante */
    color: #FF007F !important; /* Mantenemos tu rosa original en los números */
    font-weight: bold;
}

/* 3. Ajuste para las etiquetas de abajo (DÍAS, HORAS, MINUTOS, SEGUNDOS) */
.countdown-label, 
.timer-label {
    font-family: 'Montserrat', sans-serif;
    color: #d4af37 !important; /* Mantenemos tu dorado elegante */
    letter-spacing: 2px;
    font-size: 0.8rem;
}

/* 4. Cambiar la frase de cierre "Para celebrar juntos este gran día" */
.countdown-footer, 
.countdown-section p i,
.countdown-section em {
    font-family: 'Great Vibes', cursive !important;
    font-size: 2.2rem !important;
    color: #4A4A4A !important; /* Gris oscuro para el contraste fino */
    font-style: normal !important; /* Quitamos el 'italic' nativo para usar la tipografía real */
}


/* --- ESTILOS OPTIMIZADOS PARA CÓDIGO DE VESTIMENTA (SIN CORBATA) --- */

/* Contenedor principal que abraza todo el fondo floral */
.vestimenta-wrapper {
    background-color: #FDFBF7; /* Crema suave para PC */
    width: 100%;
    padding: 30px 0;
}

/* Centra el contenido */
.vestimenta-container {
     background-image: url('../img/fondo-mariposas.jpeg') !important;
    background-size: 60% auto !important;
    background-repeat: repeat !important;
    background-position: top center !important;
    background-color: rgba(253, 251, 247, 0.45); /* Mezcla sutil con crema champán

    max-width: 480px; /* Tamaño ideal para móvil */
    margin: 0 auto;
    text-align: center;
    position: relative;
    padding: 0 15px;
}

/* Título superior "CÓDIGO DE VESTIMENTA" */
.vestimenta-title {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 3px;
    color: #4A4A4A;
    margin-bottom: 25px;
    font-weight: normal;
    text-transform: uppercase;
}

/* La tarjeta que lleva la imagen de fondo (dibujos dorados) XXXXX*/
.vestimenta-card-content {
    background-image: url('../img/codexVestir.jpeg') !important;
    
    border: 2px solid #d4af37; /* Borde dorado */
    border-radius: 12px;
    
    /* Esta altura es CRÍTICA para que coincida con el dibujo */
    height: 700px; 
    
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

/* Contenedor del texto real debajo de los dibujos */
.vestimenta-text-group {
    position: absolute;
    bottom: 20px; /* Lo acomoda en la base de la tarjeta */
    left: 0;
    width: 100%;
    padding: 0 30px;
    text-align: center;
}

/* Subtítulo "SEMIFORMAL / CASUAL CHIC" */
.vestimenta-text-group h3 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    color: #4A4A4A;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-weight: normal;
}

/* Párrafos de descripción */
.vestimenta-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Resaltado opcional para "sin corbata" */
.no-tie {
    color: #d4af37;
    font-weight: bold;
}

/* Frase de "Evitar gala" */
.info-evitar {
    margin-top: 15px;
    font-weight: bold;
    color: #555;
}

/* AJUSTES PARA PANTALLAS GRANDES (PC / TABLET) */
@media (min-width: 768px) {
    .vestimenta-card-content {
        height: 750px; /* Un poco más alto en PC para balance */
        max-width: 480px;
        margin: 0 auto;
    }
}

/* --- SECCIÓN CÓDIGO DE VESTIMENTA SEMIINFORMAL and CHIC--- */
.vestimenta-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 40px 20px;
    /* background-color: #941f02;  Crema champán */
    background-image: url('../img/fondo-mariposas.jpeg') !important;
    background-size: 60% auto !important;
    background-repeat: repeat !important;
    background-position: top center !important;
    background-color: rgba(253, 251, 247, 0.45); /* Mezcla sutil con crema champán*/
}

.vestimenta-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    width: 280px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #d4af37;
}

/* La tarjeta dorada de las mujeres */
.vestimenta-card.gala {
    background: linear-gradient(135deg, #f9f5eb 0%, #e8daf0 100%); /* Un toque lila/crema sutil */
    border: 2px solid #d4af37;
}

.vestimenta-icon-frame {
    border: 2px solid #d4af37;
    padding: 15px;
    display: inline-block;
    margin-bottom: 15px;
    border-radius: 4px;
}

.vestimenta-card h3 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.vestimenta-card p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.4;
}


/* ==========================================================================
   SECCIÓN DEDICATORIA / MENSAJE ESPECIAL (FONDO DE MARIPOSAS)
   ========================================================================== */
/* 1. Aplicamos el fondo a toda la sección para que luzcan las mariposas de las esquinas */
#dedicatoria.section-padding {
    background-image: url('../img/fondo-mariposas.jpeg') !important;
    background-size: 60% auto !important;
    /*background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;*/
    background-repeat: repeat !important;
    background-position: top center !important;
    padding: 100px 0; /* Espaciado generoso arriba y abajo para lucir el diseño */
    width: 100%;
    box-sizing: border-box;
}

/* 2. Modificamos la caja interna para que sea transparente y no tape el fondo */
.dedicatoria-box {
    background: transparent !important; /* Quitamos fondos sólidos previos */
    box-shadow: none !important;        /* Quitamos sombras pesadas si las tenía */
    text-align: center;
    max-width: 650px;                   /* Evita que el texto toque las mariposas laterales */
    margin: 0 auto;
    padding: 0 20px;
}

/* Icono de corazón dorado */
.gold-heart {
    color: #d4af37;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

/* Línea divisoria dorada */
.line-gold {
    width: 60px;
    height: 2px;
    background-color: #d4af37;
    margin: 15px auto 30px auto;
}

/* 3. Estilo para tus párrafos con la hermosa letra cursiva */
.mensaje-texto p {
    font-family: 'Great Vibes', cursive !important;
    font-size: 2.6rem !important;
    color: #4A4A4A !important; /* Gris oscuro elegante de alta legibilidad */
    line-height: 1.4;
    margin-bottom: 15px;
    /* Sutil reflejo blanco para asegurar que se lea perfecto sobre el lienzo */
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8); 
}

/* 4. Estilo para la firma de la familia */
.dedicatoria-box .firma {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #555;
    margin-top: 35px;
    line-height: 1.5;
}

.dedicatoria-box .firma strong {
    color: #d4af37; /* Dorado para resaltar a "Tus Papás y Hermanos" */
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVA PARA CELULARES
   ========================================================================== */
@media (max-width: 768px) {
    #dedicatoria.section-padding {
        padding: 80px 0; /* Ajustamos espacio en pantallas medianas */
    }
    .mensaje-texto p {
        font-size: 2.1rem !important; /* Letra un poco más chica en móviles para que no rompa renglón feo */
    }
}

@media (max-width: 480px) {
    #dedicatoria.section-padding {
        padding: 60px 0;
    }
    .mensaje-texto p {
        font-size: 1.8rem !important; /* Tamaño perfecto para pantallas compactas */
    }
}

/* ==========================================================================
   SECCIÓN MESA DE REGALOS (FONDO DE MARIPOSAS - HTML INTACTO)
   ========================================================================== */

/* 1. Aplicamos el fondo de mariposas a toda la sección */
#regalos.section-padding {
    background-image: url('../img/fondo-mariposas.jpeg') !important;
    background-size: 60% auto !important;
    /*background-position: center !important;
    background-repeat: no-repeat !important;*/


    /*background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;*/
    background-repeat: repeat !important;
    background-position: top center !important;

    padding: 100px 0; /* Espaciado generoso para lucir el diseño */
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

/* 2. Estilo para el párrafo introductorio */
.regalos-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #555;
    max-width: 600px;
    margin: 15px auto 40px auto;
    line-height: 1.6;
}

/* 3. Contenedor Grid (lo alineamos para centrar la tarjeta única) */
.regalos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 4. La tarjeta central (Blanca con ligera transparencia) */
.regalos-grid .regalo-card {
    background: rgba(255, 255, 255, 0.92) !important; /* Deja pasar sutilmente el fondo */
    border: 1px solid #e2d1b5 !important;
    border-radius: 15px !important;
    padding: 40px 30px !important;
    width: 100%;
    max-width: 400px; /* Tamaño ideal y estético para la tarjeta única */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.regalos-grid .regalo-card:hover {
    transform: translateY(-5px);
}

/* Estilo para los iconos de regalo y sobre juntos */
.regalos-grid .regalo-card i {
    color: #d4af37;
    font-size: 2.2rem;
    margin: 0 8px 20px 8px; /* Separación elegante entre los dos iconos */
    display: inline-block;
}

/* Texto interno de la tarjeta */
.regalos-grid .regalo-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    color: #4A4A4A;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* ==========================================================================
   OPTIMIZACIÓN RESPONSIVA PARA PANTALLAS MÓVILES
   ========================================================================== */
@media (max-width: 768px) {
    #regalos.section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 480px) {
    #regalos.section-padding {
        padding: 60px 0;
    }
    .regalos-grid .regalo-card {
        padding: 30px 20px !important;
        margin: 0 10px;
    }
    .regalos-grid .regalo-card p {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   AJUSTE RESPONSIVO PARA TÍTULOS EN MÓVILES (REMANTE / RECEPCIÓN)
   ========================================================================== */

@media (max-width: 480px) {
    /* Reducimos el tamaño del título secundario para que no se amontone en celular */
    h3.title-secondary, 
    .title-secondary {
        font-size: 1.8rem !important; /* Tamaño perfecto y elegante para pantallas de celular */
        letter-spacing: 2px !important;
        margin-bottom: 8px !important;
        text-align: center;
    }

    /* Ajustamos el espacio de la línea dorada debajo del título */
    .line-gold {
        width: 50px !important; /* Un poco más corta para mantener la proporción */
        height: 2px !important;
        background-color: #d4af37 !important;
        margin: 10px auto 25px auto !important; /* Centrada y con espacio hacia el contenido inferior */
    }
}


