/* --- Variables Globales (Fácil edición para cada cliente) --- */
:root {
    --primary-color: #D4AF37; /* Dorado */
    --text-color: #333333;
    --bg-color: #F9F9F9;
    --white: #FFFFFF;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* --- Reset y Base --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: center;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-heading); font-weight: 600; }
h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 1rem; }

/* --- Animaciones --- */
.fade-in { animation: fadeIn 2s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Clase para Scroll Reveal */
.hidden { opacity: 0; transform: translateY(50px); transition: all 1s ease-out; }
.show { opacity: 1; transform: translateY(0); }

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--white);
}

.overlay {
    position: absolute; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Oscurece la foto para leer texto */
}

.hero-content { position: relative; z-index: 2; padding: 20px; }
.pre-title { letter-spacing: 3px; text-transform: uppercase; font-size: 0.9rem; }
.names { font-size: 4rem; margin: 10px 0; line-height: 1; }
.divider { width: 100px; height: 2px; background: var(--white); margin: 20px auto; }
.date { font-size: 1.2rem; letter-spacing: 2px; }

/* --- Countdown --- */
.countdown-section { padding: 4rem 1rem; background: var(--white); }
.timer { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.time-box {
    display: flex; flex-direction: column;
    font-family: var(--font-heading);
    font-size: 2rem; color: var(--primary-color);
}
.time-box small { font-family: var(--font-body); font-size: 0.8rem; color: #666; text-transform: uppercase; }

/* --- Cards (Detalles) --- */
.details {
    padding: 4rem 1rem;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem;
}
.card {
    background: var(--white); padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-radius: 8px; width: 300px;
    border-top: 3px solid var(--primary-color);
}
.icon-gold { color: var(--primary-color); font-size: 2rem; margin-bottom: 1rem; }
.btn {
    display: inline-block; margin-top: 1rem; padding: 10px 20px;
    border: 1px solid var(--primary-color); color: var(--primary-color);
    text-decoration: none; text-transform: uppercase; font-size: 0.8rem;
    transition: 0.3s;
}
.btn:hover { background: var(--primary-color); color: var(--white); }

/* --- RSVP Form --- */
.rsvp { padding: 4rem 1rem; background: #eaeaea; }
.rsvp-form {
    max-width: 400px; margin: 2rem auto; display: flex; flex-direction: column; gap: 1rem;
}
input, select {
    padding: 15px; border: none; border-radius: 5px; font-family: var(--font-body);
}
.btn-gold {
    background: var(--primary-color); color: var(--white); border: none;
    padding: 15px; font-weight: bold; cursor: pointer; border-radius: 5px;
    transition: transform 0.2s;
}
.btn-gold:hover { transform: scale(1.02); }

/* --- Música Flotante --- */
.music-control {
    position: fixed; bottom: 20px; right: 20px;
    width: 50px; height: 50px; background: var(--white);
    border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 100; color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .names { font-size: 3rem; }
    .timer { gap: 15px; }
}