:root {
    /* Skema Warna Theme 79 Indoinvite */
    --primary-color: #928573; 
    --secondary-color: #fdf9f6; 
    --dark-color: #303333; 
    --text-color: #202020;
    
    /* Font Theme 79 */
    --font-heading: 'Photograph Signature', cursive;
    --font-subheading: 'Averia Serif Libre', serif;
    --font-body: 'Playfair Display', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); background-color: var(--secondary-color); color: var(--text-color); line-height: 1.6; overflow-x: hidden; scroll-behavior: smooth; }
.hidden { display: none !important; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.container { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 80px 0; }
.section-title { font-family: var(--font-heading); color: var(--primary-color); font-size: 4rem; margin-bottom: 5px; font-weight: normal; }
.section-subtitle { font-family: var(--font-body); color: var(--dark-color); margin-bottom: 40px; font-size: 1.1rem; }

/* Cover Section */
.cover-section { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: url('https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&q=80') center/cover; display: flex; justify-content: center; align-items: center; z-index: 1000; color: white; text-align: center; transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out; }
.cover-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(48, 51, 51, 0.6); z-index: 1; }
.cover-content { position: relative; z-index: 2; padding: 40px 20px; border-radius: 15px; }
.pre-title { font-family: var(--font-subheading); letter-spacing: 2px; font-size: 1.1rem; margin-bottom: 10px; color: #fff; }
.couple-name-cover { font-family: var(--font-heading); font-size: 5rem; color: #fff; margin-bottom: 25px; font-weight: normal; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.guest-info { margin-bottom: 30px; }
#guest-name { font-family: var(--font-subheading); font-size: 2rem; margin: 10px 0; display: inline-block; padding-bottom: 5px; color: #fff; font-weight: bold; }

/* Buttons */
.btn-primary { background-color: var(--primary-color); color: white; border: none; padding: 12px 35px; font-size: 1.1rem; font-family: var(--font-subheading); border-radius: 5px; cursor: pointer; transition: all 0.3s; }
.btn-primary:hover { background-color: #7a6e5e; }

/* Hero Section */
.hero-section { position: relative; height: 100vh; background: url('https://images.unsplash.com/photo-1511285560929-80b456fea0bc?auto=format&fit=crop&q=80') center/cover; display: flex; justify-content: center; align-items: center; text-align: center; color: white; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.6)); }
.hero-text { position: relative; z-index: 2; padding-top: 50px; }
.hero-text h2 { font-family: var(--font-subheading); letter-spacing: 2px; font-size: 1.2rem; margin-bottom: 10px; }
.hero-text h1 { font-family: var(--font-heading); font-size: 5.5rem; color: #fff; margin-bottom: 5px; font-weight: normal; }

/* Countdown */
.countdown { display: flex; justify-content: center; gap: 10px; margin-top: 30px; }
.time-box { background: var(--primary-color); color: #fff; padding: 15px 10px; border-radius: 10px; min-width: 70px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.time-box span { font-size: 1.5rem; font-weight: 600; display: block; font-family: var(--font-subheading); }
.time-box p { font-size: 0.75rem; text-transform: uppercase; margin-top: 5px; }

/* Quote Section */
.quote-section { background-color: #e1d6c7; }
.quote-icon { font-size: 2rem; color: var(--dark-color); margin-bottom: 20px; opacity: 0.3; }
.quote-text { font-family: var(--font-body); font-size: 1.1rem; max-width: 650px; margin: 0 auto 15px; color: var(--dark-color); }
.quote-source { font-weight: bold; color: var(--dark-color); }

/* Couple Section */
.couple-section { background-color: var(--secondary-color); }
.bismillah { font-size: 2.5rem; margin-bottom: 15px; color: var(--dark-color); }
.opening-text { font-family: var(--font-body); max-width: 600px; margin: 0 auto 50px; font-size: 1.1rem; color: var(--dark-color); }
.couple-wrapper { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 30px; }
.person { flex: 1; min-width: 250px; }
.img-wrapper { position: relative; width: 220px; height: 220px; margin: 0 auto 20px; }
.circle-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; position: relative; z-index: 2; padding: 5px; background: var(--primary-color); }
.person h3 { font-family: var(--font-heading); font-size: 3rem; color: var(--primary-color); margin-bottom: 5px; font-weight: normal; }
.parents { font-family: var(--font-body); font-size: 1rem; color: var(--dark-color); margin-bottom: 15px; }
.ig-link { display: inline-block; color: var(--primary-color); text-decoration: none; font-size: 0.9rem; border: 1px solid var(--primary-color); padding: 5px 15px; border-radius: 5px; transition: 0.3s; }
.ig-link:hover { background: var(--primary-color); color: white; }
.and-symbol { font-family: var(--font-heading); font-size: 4rem; color: var(--dark-color); font-weight: normal; }

/* Timeline / Story Section */
.story-section { background-color: #fff; }
.timeline { position: relative; max-width: 800px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 2px; background-color: var(--primary-color); top: 0; bottom: 0; left: 50%; margin-left: -1px; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; }
.timeline-item::after { content: ''; position: absolute; width: 16px; height: 16px; right: -8px; background-color: white; border: 4px solid var(--primary-color); top: 15px; border-radius: 50%; z-index: 1; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even)::after { left: -8px; }
.timeline-content { padding: 20px; background-color: var(--secondary-color); position: relative; border-radius: 10px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.timeline-content h3 { color: var(--primary-color); font-family: var(--font-subheading); font-size: 1.5rem; margin-bottom: 5px; }
.timeline-content .date { display: block; font-family: var(--font-body); font-style: italic; color: #888; margin-bottom: 15px; font-size: 0.9rem; }

/* Event Section */
.event-section { background-color: var(--secondary-color); }
.event-wrapper { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.event-card { background: #fff; padding: 40px 30px; border-radius: 10px; flex: 1; min-width: 280px; max-width: 320px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; }
.event-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.event-card h3 { font-family: var(--font-subheading); font-size: 2rem; margin-bottom: 20px; color: var(--dark-color); font-weight: bold; }
.event-details, .event-location { font-family: var(--font-body); color: var(--dark-color); margin-bottom: 20px; }
.event-location { padding-top: 15px; border-top: 1px dashed #ccc; }
.btn-outline { display: inline-block; color: #fff; background: var(--primary-color); padding: 8px 20px; text-decoration: none; border-radius: 5px; transition: 0.3s; font-size: 0.9rem; font-family: var(--font-subheading); }
.btn-outline:hover { background: #7a6e5e; }

/* Gallery Section */
.gallery-section { background-color: var(--dark-color); color: #fff; }
.gallery-section .section-title { color: var(--primary-color); }
.gallery-section .section-subtitle { color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 20px; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: 5px; }

/* Video Section */
.video-section { background-color: #fff; }
.video-container { position: relative; padding-bottom: 56.25%; /* 16:9 Aspect Ratio */ height: 0; overflow: hidden; max-width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* RSVP Section */
.rsvp-section { background-color: #B3A99C; color: #303333; }
.rsvp-section .section-title { color: var(--dark-color); }
.rsvp-section .section-subtitle { color: var(--dark-color); }
.rsvp-form-container { max-width: 500px; margin: 0 auto; background: white; padding: 40px 30px; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; margin-bottom: 8px; font-weight: bold; color: var(--dark-color); font-size: 1rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s; background: #fff; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); }

/* Gift Section */
.gift-section { background-color: #fdf9f6; }
.bank-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-top: 30px; }
.bank-card { background: white; padding: 30px; border-radius: 10px; width: 100%; max-width: 320px; text-align: center; border: 1px solid #eaeaea; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.bank-name { font-size: 1.5rem; color: var(--dark-color); margin-bottom: 15px; font-family: var(--font-subheading); font-weight: bold; }
.account-number { font-size: 1.5rem; letter-spacing: 2px; color: var(--primary-color); margin-bottom: 5px; font-family: var(--font-body); font-weight: bold; }
.account-name { color: #555; margin-bottom: 20px; font-size: 1rem; }
.btn-copy { background: white; border: 1px solid var(--primary-color); padding: 8px 20px; border-radius: 5px; cursor: pointer; color: var(--primary-color); transition: 0.3s; font-family: var(--font-subheading); font-size: 1rem; }
.btn-copy:hover { background: var(--primary-color); color: white; }

/* Footer */
footer { text-align: center; padding: 60px 20px; background-color: #fff; color: var(--dark-color); }
.footer-thanks { font-family: var(--font-body); max-width: 500px; margin: 0 auto 10px; color: var(--dark-color); }
.footer-couple { font-family: var(--font-heading); color: var(--primary-color); font-size: 4rem; font-weight: normal; margin-top: 10px; }

/* Music Control */
.music-control { position: fixed; bottom: 80px; right: 20px; background: var(--primary-color); color: white; border: none; width: 45px; height: 45px; border-radius: 50%; font-size: 1rem; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 99; }

/* Bottom Nav (Mobile) */
.bottom-nav { position: fixed; bottom: 0; left: 0; width: 100%; height: 60px; background: var(--dark-color); display: flex; justify-content: space-around; align-items: center; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 999; }
.nav-item { text-decoration: none; color: #888; display: flex; flex-direction: column; align-items: center; font-size: 0.7rem; gap: 4px; transition: 0.3s; font-family: var(--font-body); }
.nav-item i { font-size: 1.2rem; }
.nav-item.active { color: var(--primary-color); }

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .couple-name-cover { font-size: 4rem; }
    .hero-text h1 { font-size: 4.5rem; }
    .section-title { font-size: 3rem; }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even), .timeline-item:nth-child(odd) { left: 0; }
    .timeline-item::after { left: 23px !important; }
}
