/* PALETA: Beige, Blanco, Dorado, Negro */
:root {
    --gold: #d4af37;
    --gold-soft: #e5c76b;
    --beige: #f9f7f2;
    --white: #ffffff;
    --black: #1a1a1a;
    --text-muted: #555;
    --playfair: 'Playfair Display', serif;
    --cormorant: 'Cormorant Garamond', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--white);
    font-family: var(--cormorant);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1000px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; text-align: center; }
.beige-bg { background-color: var(--beige); }
.hidden { display: none; }

/* ANIMACIÓN BIENVENIDA */
.overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--beige);
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1);
}

.overlay-content h1 { font-size: 3.5rem; font-family: var(--playfair); font-weight: 400; margin-bottom: 20px; }
.gold-line { width: 50px; height: 1px; background: var(--gold); margin: 0 auto 20px; }

/* HERO SECTION */
.hero-image {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=1400') center/cover;
    display: flex; justify-content: center; align-items: center;
    color: white;
}

.hero-text h2 { font-family: var(--playfair); font-size: 4.5rem; font-weight: 400; }
.save-the-date { letter-spacing: 5px; text-transform: uppercase; font-size: 0.9rem; }

/* CUENTA REGRESIVA */
.countdown-grid {
    display: flex; justify-content: center; gap: 30px; margin-top: 40px;
}
.time-unit span { display: block; font-size: 3.5rem; font-family: var(--playfair); color: var(--gold); }
.time-unit small { text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }

/* GALERÍA */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px; padding: 20px;
}
.gallery-item img {
    width: 100%; height: 400px; object-fit: cover;
    filter: grayscale(20%); transition: 0.5s;
}
.gallery-item img:hover { filter: grayscale(0%); }

/* FORMULARIO RSVP */
.rsvp-box { max-width: 600px; }
.elegant-form input, .elegant-form select, .elegant-form textarea {
    width: 100%; padding: 15px; margin-bottom: 20px;
    border: none; border-bottom: 1px solid var(--gold);
    background: transparent; font-family: var(--cormorant); font-size: 1.2rem;
}
.btn-dark {
    background: var(--black); color: white; border: none;
    padding: 15px 40px; cursor: pointer; letter-spacing: 2px;
    width: 100%; transition: 0.4s;
}
.btn-dark:hover { background: var(--gold); }

/* BOTÓN DORADO */
.btn-gold {
    padding: 15px 30px; border: 1px solid var(--gold);
    background: transparent; color: var(--gold);
    font-family: var(--playfair); cursor: pointer; transition: 0.4s;
}
.btn-gold:hover { background: var(--gold); color: white; }

/* ANIMACIONES DE SCROLL */
.reveal { opacity: 0; transform: translateY(40px); transition: 1.2s all ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* RESPONSIVO */
@media (max-width: 768px) {
    .hero-text h2 { font-size: 3rem; }
    .countdown-grid { gap: 15px; }
    .time-unit span { font-size: 2.2rem; }
}