/* ==========================================================================
   PALETA CHAMPAGNE & ESTILO MINIMALISTA - HILLARY & JEFRID
   ========================================================================== */

:root {
    --bg-champagne: #f4f0e6;     /* Fondo crema champagne sutil de tu paleta */
    --card-champagne: #eae3d2;   /* Tono arena suave para el bloque de RSVP */
    --navy-blue: #192064;        /* Azul marino elegante para títulos y textos */
    --navy-subtle: rgba(25, 32, 100, 0.7);
    --white-pure: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-champagne);
    color: var(--navy-blue);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- MENÚ SUPERIOR --- */
.nav-container {
    width: 100%;
    padding: 20px 40px;
    background-color: var(--bg-champagne);
    display: flex;
    justify-content: flex-end;
}

.nav-languages {
    display: flex;
    gap: 15px;
}

.nav-languages a {
    font-size: 0.8rem;
    text-decoration: none;
    color: var(--navy-subtle);
    transition: color 0.3s;
}

.nav-languages a.active, .nav-languages a:hover {
    color: var(--navy-blue);
    font-weight: 500;
}

/* --- PORTADA PRINCIPAL (PROPORCIONES ORIGINALES) --- */
.hero-section {
    width: 100%;
}

.hero-frame {
    position: relative;
    width: 100%;
    height: 90vh;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white-pure);
}

.wedding-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.wedding-badge {
    margin-top: 20px;
    border: 1px solid var(--white-pure);
    border-radius: 50%;
    padding: 15px;
}

.badge-inner {
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* --- SECCIONES FULL-WIDTH (IMÁGENES RESPETADAS AL 100%) --- */
.location-full-section, .couple-portrait-full-section {
    width: 100%;
}

.location-display-img, .portrait-full-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* --- SECCIÓN EDITORIAL: "NOTA" --- */
.love-always-section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 80px 20px;
}

.editorial-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Estilo asimétrico original de tus dos imágenes pequeñas */
.editorial-images-block {
    position: relative;
    width: 50%;
    height: 450px;
}

.editorial-img-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 350px;
}

.editorial-img-front {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 270px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.editorial-images-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Efecto de lupa EXCLUSIVO para las dos fotos pequeñas de la nota */
.nota-clickable-img {
    cursor: zoom-in;
    transition: filter 0.3s ease, transform 0.2s ease;
}

.nota-clickable-img:hover {
    filter: brightness(0.95);
    transform: scale(1.01);
}

.editorial-text-block {
    width: 50%;
}

.editorial-script-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.editorial-paragraph {
    font-size: 1rem;
    color: var(--navy-blue);
    text-align: justify;
    line-height: 1.7;
}

/* --- SECCIÓN RSVP (ESTILO TARJETA CHAMPAGNE) --- */
.rsvp-section {
    padding: 80px 20px;
    background-color: var(--bg-champagne);
}

.rsvp-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--card-champagne);
    padding: 50px 40px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.rsvp-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--navy-blue);
    letter-spacing: 1px;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--navy-subtle);
    margin-bottom: 40px;
}

.instruction {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

input[type="tel"] {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(25, 32, 100, 0.2);
    background-color: var(--white-pure);
    color: var(--navy-blue);
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    text-align: center;
    margin-bottom: 20px;
}

.btn {
    width: 100%;
    padding: 15px;
    background-color: var(--navy-blue);
    color: var(--white-pure);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0f1442;
}

.guest-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid rgba(25, 32, 100, 0.1);
    text-align: left;
}

.guest-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: var(--navy-blue);
}

.attendance-options {
    display: flex;
    gap: 15px;
}

.attendance-options label {
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hidden { display: none !important; }
.error-text { color: #cc3333; font-size: 0.85rem; margin-top: 10px; }
.success-icon { font-size: 2.5rem; margin-bottom: 15px; color: var(--navy-blue); }

footer {
    padding: 40px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: var(--navy-subtle);
    border-top: 1px solid rgba(25, 32, 100, 0.1);
}

/* ==========================================================================
   VISUALIZADOR EN PANTALLA COMPLETA (LIGHTBOX INTERNO)
   ========================================================================== */
.lightbox {
    display: none; 
    position: fixed;
    z-index: 99999; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 32, 100, 0.97); /* Fondo azul premium al expandir la imagen */
    backdrop-filter: blur(4px);
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.lightbox-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 80%;
    max-height: 85vh;
}

.lightbox-content {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    animation: zoomIn 0.2s ease-out;
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    color: var(--bg-champagne);
    font-size: 40px;
    cursor: pointer;
    user-select: none;
}

.lightbox-arrow {
    background: none;
    border: none;
    color: var(--bg-champagne);
    font-size: 3rem;
    cursor: pointer;
    padding: 20px;
    user-select: none;
    transition: transform 0.2s;
}
.lightbox-arrow:hover { transform: scale(1.1); }

@keyframes zoomIn {
    from { transform: scale(0.97); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* --- ADAPTACIÓN RESPONSIVA PARA MÓVILES --- */
@media (max-width: 768px) {
    .editorial-container { flex-direction: column; gap: 30px; }
    .editorial-images-block, .editorial-text-block { width: 100%; }
    .editorial-images-block { height: 350px; }
    .editorial-img-back { height: 280px; }
    .editorial-img-front { height: 200px; }
    .wedding-title { font-size: 2.8rem; }
    .lightbox-arrow { font-size: 2rem; }
    .guest-row { flex-direction: column; align-items: flex-start; gap: 10px; }
}