/* --- IMPORT FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;1,700&family=Poppins:wght@300;400;600&family=Sacramento&display=swap');

/* --- VARIABLES --- */
:root {
    --gold: #c5a059;
    --gold-light: #e2c275;
    --gold-dark: #8e6d13;
    --cream: #fdfaf0;
    --dark: #2c2c2c;
    --white: #ffffff;
}

/* --- RESET & BASIC --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- UTILITIES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- OVERLAY PREMIUM (GLASSMORPHISM) --- */
#overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)), 
                url('../assets/img/wedding-photo.jpeg');
    background-size: cover;
    background-position: center;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: transform 1s cubic-bezier(0.7, 0, 0.3, 1), opacity 1s ease;
}

.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 40px 30px;
    border-radius: 25px;
    color: white;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    text-align: center;
}

.title-font {
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: #f1f1f1;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.gold-gradient-text {
    background: linear-gradient(to right, #e2c275, #c5a059, #e2c275);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Sacramento', cursive;
    font-weight: bold;
    font-size: clamp(3rem, 10vw, 4rem) !important;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15px 0;
}
.divider .line { height: 1px; width: 40px; background: var(--gold-light); }
.divider i { color: var(--gold-light); font-size: 0.8rem; }

.recipient-area { margin: 25px 0; }
.guest-name {
    font-size: 1.6rem;
    color: #ffffff;
    font-weight: 600;
    margin-top: 5px;
}

.btn-premium {
    background: linear-gradient(135deg, #c5a059 0%, #8e6d13 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 35px;
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(142, 109, 19, 0.4);
    transition: 0.3s;
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}
.hero-img {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), url('../assets/img/wedding-photo.jpeg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}
.hero-text h1 {
    font-family: 'Sacramento', cursive;
    font-size: clamp(3.5rem, 12vw, 5rem);
    color: var(--gold-light);
}

/* --- SECTION GENERAL --- */
.section-padding { padding: 80px 0; text-align: center; }
h2.section-title { 
    font-family: 'Playfair Display', serif; 
    font-size: clamp(2rem, 8vw, 2.8rem); 
    color: var(--gold-dark);
    margin-bottom: 30px;
}

/* --- MEMPELAI SECTION --- */
.couple-names { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.person .name {
    font-family: 'Sacramento', cursive;
    font-size: clamp(2.5rem, 10vw, 3.5rem);
    color: var(--gold);
}
.ampersand { font-family: 'Playfair Display', serif; font-size: 2.5rem; color: var(--gold-dark); }

/* --- CARDS & FORMS --- */
.event-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
.event-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--gold-light);
}
.wishes-container {
    background: white; padding: 25px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
input, textarea {
    width: 100%; padding: 12px; margin-bottom: 15px;
    border: 1px solid #ddd; border-radius: 10px; font-family: inherit;
}

/* --- MAPS --- */
.maps-container {
    border-radius: 20px; overflow: hidden; margin-top: 20px;
    height: 300px; border: 4px solid white; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* --- MUSIC CONTROL --- */
#music-control {
    position: fixed; bottom: 85px; right: 20px;
    width: 50px; height: 50px; background: var(--gold);
    border-radius: 50%; display: flex; justify-content: center;
    align-items: center; color: white; z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    cursor: pointer;
}

/* --- NAVIGATION FOOTER --- */
.mobile-nav {
    position: fixed; bottom: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex; justify-content: space-around;
    padding: 12px 0 18px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
    z-index: 1000; border-top: 1px solid var(--gold-light);
}
.nav-item {
    text-decoration: none; color: #999;
    display: flex; flex-direction: column; align-items: center; flex: 1;
}
.nav-item i { font-size: 1.2rem; }
.nav-item span { font-size: 0.7rem; margin-top: 2px; }
.nav-item.active { color: var(--gold-dark); }

/* --- TABLET & DESKTOP --- */
@media (min-width: 768px) {
    .couple-names { flex-direction: row; justify-content: center; gap: 50px; }
    .event-grid { grid-template-columns: 1fr 1fr; }
    .section-padding { padding: 100px 0; }
}