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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    background-color: #E8DCC4;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6BA5A0 0%, #5A9490 50%, #4A8380 100%);
    background-image: url('hero.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at bottom, rgba(232,220,196,0.75) 0%, rgba(107,165,160,0.25) 40%, rgba(0,0,0,0.08) 70%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: 2rem;
    margin-top: -15vh;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4), 2px 2px 6px rgba(0,0,0,0.2);
}

.mobile-break {
    display: none;
}

.symbols {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.moon, .sun {
    opacity: 0.9;
}

.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4), 2px 2px 5px rgba(0,0,0,0.2);
    letter-spacing: 0.02em;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 0;
    gap: 1rem;
}

.divider-line {
    height: 1px;
    width: 4rem;
    background-color: #6BA5A0;
}

.divider-symbols {
    color: #6BA5A0;
    font-size: 1.8rem;
    display: flex;
    gap: 0.5rem;
}

/* Details Section */
.details {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 2rem;
    display: grid;
    gap: 3rem;
}

.detail-block {
    text-align: center;
}

.detail-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #6BA5A0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.detail-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #333;
}

.detail-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #666;
    margin-top: 0.5rem;
}

.detail-text {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #555;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    color: #6BA5A0;
    font-weight: 500;
}

.map-link {
    display: inline-block;
    margin-top: 1rem;
    color: #6BA5A0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.map-link:hover {
    color: #D4A574;
    border-bottom-color: #D4A574;
}

/* RSVP Section */
.rsvp {
    background-color: #6BA5A0;
    padding: 6rem 2rem;
}

.rsvp-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.rsvp-text {
    color: white;
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.rsvp-button {
    display: inline-block;
    background-color: #D4A574;
    color: white;
    padding: 1.2rem 3rem;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    text-decoration: none;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 12px;
}

.rsvp-button:hover {
    background-color: #C89563;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E8DCC4;
    background-image: url('footer.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 4rem 2rem;
    text-align: center;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(107, 165, 160, 0.8) 0%, rgba(232, 220, 196, 0.6) 15%, rgba(232, 220, 196, 0.5) 100%);
}

/* Music control button */
.music-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #6BA5A0;
    border: 2px solid #E8DCC4;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 6px 25px rgba(107,165,160,0.4);
    }
}

.music-button:hover {
    background-color: #D4A574;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    animation: none;
}

.music-button:active {
    transform: scale(0.95);
}

.music-button svg {
    width: 28px;
    height: 28px;
}

.music-label {
    position: fixed;
    bottom: 2.2rem;
    right: 6rem;
    background-color: rgba(107, 165, 160, 0.95);
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-family: 'Lora', serif;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    animation: fadeInOut 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
        background-position: 70% center;
    }
    
    .hero-content {
        padding: 1rem;
        margin-top: -22vh;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .mobile-break {
        display: inline;
    }
    
    .symbols {
        gap: 1rem;
        font-size: 2rem;
        margin-bottom: 14rem;
    }
    
    .details {
        gap: 3rem;
        padding: 3rem 1.5rem;
    }
    
    .rsvp {
        padding: 4rem 1.5rem;
    }
    
    .rsvp-button {
        padding: 1rem 2rem;
        width: 100%;
        max-width: 300px;
    }
    
    .music-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }
    
    .music-button svg {
        width: 24px;
        height: 24px;
    }
    
    .music-label {
        bottom: 1.7rem;
        right: 4.5rem;
        font-size: 0.8rem;
        padding: 0.5rem 0.8rem;
    }
    
    .footer {
        background-attachment: scroll;
        background-position: center 30%;
        min-height: 70vh;
    }
}

@media (max-width: 480px) {
    .scroll-indicator {
        bottom: 2rem;
        font-size: 1.5rem;
    }
    
    .divider-line {
        width: 2rem;
    }
    
    .divider-symbols {
        font-size: 1.5rem;
    }
}
