/* Premium Demo Styles */
:root {
    --bg-dark: #121212;
    --bg-darker: #0a0a0a;
    --text-light: #f5f5f5;
    --text-muted: #aaaaaa;
    --gold: #d4af37;
    --gold-dark: #b5952f;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Montserrat', sans-serif;
}

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

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

h1, h2, h3, .logo { font-family: var(--font-heading); }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-3 { margin-top: 1.5rem; }
.w-100 { width: 100%; }
.hidden { display: none; }

/* Loader */
.loader-wrapper {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex; justify-content: center; align-items: center;
    transition: opacity 1s ease;
}
.loader-logo {
    font-family: var(--font-heading); font-size: 3rem; color: var(--gold);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { opacity: 0.5; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0.5; transform: scale(0.9); }
}

/* Fade in Body */
.fade-in-body { opacity: 0; animation: fadeInBody 1.5s forwards 0.5s; }
@keyframes fadeInBody { to { opacity: 1; } }

/* Music Player */
.music-player {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    z-index: 1000; cursor: pointer; backdrop-filter: blur(5px);
    transition: all 0.3s;
}
.music-player.playing .disc { animation: spin 3s linear infinite; color: var(--gold); }
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Navbar */
.premium-nav {
    position: fixed; top: 0; width: 100%;
    padding: 1.5rem 4rem; display: flex; justify-content: space-between; align-items: center;
    z-index: 1000; transition: all 0.4s ease;
    background: transparent;
}
.premium-nav.scrolled {
    background: rgba(10, 10, 10, 0.9);
    padding: 1rem 4rem;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.premium-nav .logo { font-size: 2rem; color: var(--gold); letter-spacing: 2px; }
.nav-links { list-style: none; display: flex; gap: 2.5rem; }
.nav-links a {
    color: var(--text-light); text-decoration: none; font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 2px; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* Hero */
.hero-premium { height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&q=80&w=1200') center/cover;
    filter: brightness(0.4); z-index: -1;
}
.pre-title { font-size: 1.2rem; font-style: italic; font-weight: 300; margin-bottom: 1rem; color: var(--gold); }
.main-title { font-size: 6rem; margin-bottom: 1.5rem; letter-spacing: 5px; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.date-premium { font-size: 1.2rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 3rem; }

/* Buttons */
.btn {
    display: inline-block; padding: 1rem 2.5rem; text-decoration: none;
    font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 2px;
    transition: all 0.4s; cursor: pointer; border: none; background: transparent;
}
.premium-btn {
    border: 1px solid var(--gold); color: var(--gold);
}
.premium-btn:hover { background: var(--gold); color: var(--bg-dark); }

/* Page Header */
.page-header-premium {
    height: 50vh; position: relative; display: flex; align-items: center; justify-content: center;
    background-size: cover; background-position: center;
}
.page-header-premium .overlay {
    position: absolute; top:0; left:0; width:100%; height:100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), var(--bg-dark));
}
.page-header-premium h1 { position: relative; font-size: 4rem; color: var(--gold); letter-spacing: 4px; }

/* Sections */
.section-premium { padding: 6rem 10%; }
.dark-section { background-color: var(--bg-darker); }
.gold-title { font-size: 3rem; color: var(--gold); margin-bottom: 2rem; }

/* Timeline (Historia) */
.timeline-section { position: relative; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after {
    content: ''; position: absolute; width: 2px; background: var(--gold);
    top: 0; bottom: 0; left: 50%; margin-left: -1px;
}
.timeline-item { padding: 10px 40px; position: relative; width: 50%; }
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; }
.timeline-item::after {
    content: ''; position: absolute; width: 16px; height: 16px;
    background: var(--bg-dark); border: 2px solid var(--gold); border-radius: 50%;
    top: 15px; z-index: 1;
}
.timeline-item.left::after { right: -9px; }
.timeline-item.right::after { left: -9px; }
.date-stamp { color: var(--gold); font-style: italic; margin-bottom: 10px; }

/* Dress Code (Detalles) */
.dress-code-grid { display: flex; justify-content: center; gap: 4rem; margin-top: 3rem; flex-wrap: wrap; }
.dress-item { text-align: center; }
.dress-img { width: 200px; height: 300px; object-fit: cover; border-radius: 10px; border: 1px solid var(--gold); margin-bottom: 1.5rem; }

/* Map */
.map-container-premium { border: 1px solid var(--gold); padding: 10px; border-radius: 5px; }

/* Gallery */
.masonry-gallery { columns: 3 250px; gap: 1.5rem; }
.masonry-item { margin-bottom: 1.5rem; break-inside: avoid; }
.masonry-item img { width: 100%; border-radius: 5px; filter: grayscale(50%); transition: all 0.5s; }
.masonry-item img:hover { filter: grayscale(0); transform: scale(1.02); box-shadow: 0 10px 30px rgba(212,175,55,0.2); }

/* RSVP */
.rsvp-container-premium { max-width: 600px; margin: 0 auto; background: var(--bg-darker); padding: 3rem; border: 1px solid rgba(212,175,55,0.3); border-radius: 10px; }
.form-group { margin-bottom: 1.5rem; }
.rsvp-form-premium input, .rsvp-form-premium select, .rsvp-form-premium textarea {
    width: 100%; padding: 1rem; background: transparent; border: none; border-bottom: 1px solid var(--gold);
    color: var(--text-light); font-family: var(--font-body);
}
.rsvp-form-premium input:focus, .rsvp-form-premium select:focus, .rsvp-form-premium textarea:focus { outline: none; border-bottom: 2px solid var(--gold); }
.rsvp-form-premium textarea { height: 100px; resize: none; }
.rsvp-form-premium select option { background: var(--bg-darker); color: var(--text-light); }

/* Footer */
.footer-premium { background: var(--bg-darker); text-align: center; padding: 2rem; border-top: 1px solid rgba(212,175,55,0.2); font-family: var(--font-heading); color: var(--gold); }

/* Hamburguesa Menu Estilos */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1100;
}
.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--gold);
    transition: all 0.3s ease;
}

/* Regalos Estilos Premium */
.gifts-grid-premium {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}
.gift-card-premium {
    background: var(--bg-darker);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 3rem 2rem;
    border-radius: 10px;
    width: 320px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}
.gift-card-premium:hover {
    transform: translateY(-10px);
    border-color: var(--gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}
.gift-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}
.gift-card-premium h3 {
    font-family: var(--font-heading);
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.event-number {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}
.event-number strong {
    color: var(--gold);
}
.gift-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .premium-nav {
        padding: 1.5rem 2rem;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        background: rgba(10, 10, 10, 0.95);
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        border-left: 1px solid rgba(212, 175, 55, 0.3);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3rem;
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1000;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .main-title { font-size: 3.5rem; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; text-align: left; }
    .timeline-item.right { left: 0%; }
    .timeline-item.left::after, .timeline-item.right::after { left: 22px; }
    
    .section-premium { padding: 4rem 5%; }

    
    .gifts-grid-premium {
        gap: 2rem;
    }
    .gift-card-premium {
        width: 100%;
        max-width: 290px;
        padding: 2rem 1.5rem;
    }
}

/* Countdown Timer Styles */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}
.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 5px;
    min-width: 90px;
    backdrop-filter: blur(5px);
}
.countdown-item span {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--gold);
    font-weight: 600;
}
.countdown-item label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-top: 0.5rem;
}
@media (max-width: 600px) {
    .countdown-container {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    .countdown-item {
        padding: 0.75rem 1rem;
        min-width: 70px;
    }
    .countdown-item span {
        font-size: 1.8rem;
    }
    .countdown-item label {
        font-size: 0.7rem;
    }
}
