/* === RESET DASAR === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    overflow-x: hidden; /* Mencegah geser kanan kiri */
}

/* === BAGIAN COVER (FIXED DI DEPAN) === */
.cover-full {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh;
    z-index: 100;
    background-image: url('Foto_awal.jpg'); 
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    transition: transform 1.5s ease-in-out;
}

.overlay-gradasi {
    position: absolute;
    bottom: 0; left: 0; width: 100%; height: 70%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.95));
    z-index: 1;
}

.isi-cover {
    position: relative;
    z-index: 2;
    padding-bottom: 60px;
    width: 100%;
    text-align: center;
    color: white;
}

.nama-pengantin {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 20px;
}

.kotak-tamu { margin-bottom: 30px; }

.label-tamu {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.8;
}

.nama-tamu {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 10px 0;
}

.keterangan-maaf {
    font-size: 0.7rem;
    font-style: italic;
    opacity: 0.6;
    margin-top: 5px;
    font-weight: 300;
}

.btn-buka {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.7);
    color: white;
    padding: 12px 35px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-buka:hover { background: white; color: #333; }
.buka-pintu { transform: translateY(-100%); }

/* === HALAMAN UTAMA === */
#halaman-utama {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    z-index: 1; 
}

.slideshow-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}

.slideshow-container::after {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
}

.slide {
    position: absolute;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slideShowAnimasi 15s infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

@keyframes slideShowAnimasi {
    0% { opacity: 0; transform: scale(1); }
    10% { opacity: 1; }
    33% { opacity: 1; transform: scale(1.1); }
    43% { opacity: 0; }
    100% { opacity: 0; }
}

.sub-judul {
    font-family: 'Lato', sans-serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.judul-utama {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.tanggal-acara {
    font-size: 1.2rem;
    letter-spacing: 3px;
    border-top: 1px solid rgba(255,255,255,0.5);
    border-bottom: 1px solid rgba(255,255,255,0.5);
    display: inline-block;
    padding: 10px 30px;
    margin-bottom: 40px;
}

.countdown-box {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.waktu {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(3px);
    padding: 10px;
    border-radius: 8px;
    min-width: 65px;
    border: 1px solid rgba(255,255,255,0.2);
}

.waktu span { display: block; font-size: 1.5rem; font-weight: bold; }
.waktu p { font-size: 0.7rem; margin-top: 5px; text-transform: uppercase; }

/* Animasi Muncul */
.sub-judul, .judul-utama, .tanggal-acara, .countdown-box {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}
.muncul-animasi .sub-judul { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }
.muncul-animasi .judul-utama { opacity: 1; transform: translateY(0); transition-delay: 0.8s; }
.muncul-animasi .tanggal-acara { opacity: 1; transform: translateY(0); transition-delay: 1.1s; }
.muncul-animasi .countdown-box { opacity: 1; transform: translateY(0); transition-delay: 1.4s; }

/* === GLOBAL SECTION === */
section {
    position: relative;
    padding: 80px 20px;
    width: 100%;
}

/* === AYAT SUCI === */
.section-ayat {
    background-color: #f9f9f9;
    text-align: center;
    color: #444;
    overflow: hidden;
}
.bg-daun {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/leaf.png'); 
    opacity: 0.1; z-index: 0;
}
.container-ayat { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.inisial-pasangan { font-family: 'Cinzel', serif; font-size: 4rem; margin-bottom: 30px; color: #333; }
.garis-miring { color: #c5a059; font-weight: 300; margin: 0 10px; }
.judul-surah { font-family: 'Lato', sans-serif; font-weight: bold; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }
.isi-ayat { font-family: 'Lato', sans-serif; font-style: italic; line-height: 1.8; font-size: 1rem; color: #666; }

/* === DIVIDER === */
.divider-cantik {
    display: flex; align-items: center; justify-content: center;
    padding: 30px 20px; background-color: #ffffff; width: 100%; overflow: hidden;
}
.garis {
    height: 1px; background-color: #ddd; flex: 1;
    max-width: 150px; min-width: 20px;
}
.teks-tengah {
    font-family: 'Great Vibes', cursive; font-size: 2.5rem;
    margin: 0 20px; color: #c5a059; text-align: center; white-space: nowrap;
}

/* === SALAM === */
.section-salam { background-color: #ffffff; text-align: center; color: #333; }
.bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/floral-linen.png');
    opacity: 0.3; z-index: 0;
}
.container-salam { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.salam-pembuka { font-family: 'Great Vibes', cursive; font-size: 2rem; margin-bottom: 20px; color: #444; }
.intro-teks { font-family: 'Lato', sans-serif; font-size: 1.1rem; line-height: 1.8; font-weight: 300; }

/* === PROFIL COUPLE === */
.section-couple { background-color: #ffffff; padding: 60px 20px; overflow: hidden; }
.container-couple {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    max-width: 1000px; margin: 0 auto; gap: 40px;
}
.couple-card { text-align: center; flex: 1; min-width: 300px; }
.img-wrapper {
    width: 200px; height: 260px; margin: 0 auto 20px auto; overflow: hidden;
    border-radius: 15px; border: 5px solid #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.couple-card:hover .img-wrapper img { transform: scale(1.05); }
.nama-mempelai {
    font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: #333;
    margin-bottom: 10px; text-transform: none; letter-spacing: 0px;
}
.ortu-mempelai { font-family: 'Lato', sans-serif; font-size: 0.9rem; color: #777; margin-bottom: 20px; line-height: 1.6; }
.btn-ig {
    display: inline-block; text-decoration: none; background-color: #c5a059; color: white;
    padding: 8px 20px; border-radius: 20px; font-size: 0.85rem; font-weight: bold;
    transition: 0.3s; box-shadow: 0 4px 10px rgba(197, 160, 89, 0.3);
}
.btn-ig:hover { background-color: #b08d4b; transform: translateY(-3px); }
.dan-icon {
    font-family: 'Great Vibes', cursive; font-size: 5rem; color: #c5a059;
    margin: 0 30px; align-self: center; line-height: 0;
}
.animasi-scroll { opacity: 0; transform: translateY(50px); transition: all 1.2s ease-out; }
.animasi-scroll.muncul { opacity: 1; transform: translateY(0); }

/* === SAVE THE DATE === */
.section-save-date { position: relative; padding: 100px 20px; text-align: center; color: white; overflow: hidden; }
.save-bg-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; }
.save-slide {
    position: absolute; width: 100%; height: 100%; background-size: cover; background-position: center;
    opacity: 0; animation: slideShowAnimasi 15s infinite;
}
.save-slide:nth-child(1) { animation-delay: 0s; }
.save-slide:nth-child(2) { animation-delay: 5s; }
.save-slide:nth-child(3) { animation-delay: 10s; }
.save-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1; }
.container-save-date { position: relative; z-index: 2; }
.judul-save {
    font-family: 'Cinzel', serif; font-weight: 700; font-size: 3.5rem; margin-bottom: 15px; color: #ffffff;
    letter-spacing: 8px; text-transform: uppercase; text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.tgl-save { font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 40px; font-weight: 300; }
.save-countdown .waktu { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.5); }
.btn-calendar {
    margin-top: 40px; padding: 15px 40px; background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px); border: 1px solid rgba(255, 255, 255, 0.6);
    color: white; border-radius: 50px; font-size: 0.9rem; cursor: pointer;
    transition: all 0.3s ease; font-family: 'Lato', sans-serif; letter-spacing: 2px;
    display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase;
}
.btn-calendar:hover {
    background-color: #ffffff; color: #000000; border-color: #ffffff;
    transform: translateY(-3px); box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

/* === WEDDING EVENT === */
.section-event { position: relative; padding: 80px 20px; color: white; overflow: hidden; }
.event-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('bg-event.PNG'); background-size: cover; background-position: center;
    background-attachment: fixed; z-index: 0;
}
.event-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 1; }
.container-event { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto; }
.header-event { text-align: center; margin-bottom: 50px; }
.judul-event { font-family: 'Cinzel', serif; font-size: 3rem; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 5px; }
.divider-event { display: flex; align-items: center; justify-content: center; gap: 15px; }
.garis-panjang { height: 1px; width: 60px; background-color: rgba(255,255,255,0.7); }
.teks-hiasan { font-family: 'Great Vibes', cursive; font-size: 1.8rem; color: #c5a059; }
.row-acara { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.card-acara {
    flex: 1; min-width: 300px; 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 20px; border-radius: 15px; text-align: center; transition: transform 0.3s;
}
.card-acara:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.5); }
.icon-acara { font-size: 2.5rem; margin-bottom: 20px; color: #c5a059; }
.nama-acara {
    font-family: 'Cinzel', serif; font-size: 1.8rem; margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.3); padding-bottom: 15px; display: inline-block;
}
.info-waktu p, .info-tempat p { font-family: 'Lato', sans-serif; margin: 5px 0; }
.hari { font-size: 1.2rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
.tanggal { font-size: 1rem; margin-bottom: 10px; }
.jam { font-size: 0.9rem; font-style: italic; opacity: 0.8; margin-bottom: 20px !important; }
.lokasi-judul { font-size: 0.8rem; text-transform: uppercase; opacity: 0.7; margin-top: 20px !important; }
.alamat { font-size: 1rem; font-weight: 600; }
.alamat-detail { font-size: 0.9rem; opacity: 0.8; line-height: 1.5; }
.btn-maps {
    display: inline-block; margin-top: 30px; padding: 10px 25px; background-color: #fff;
    color: #333; text-decoration: none; border-radius: 50px; font-weight: bold;
    font-size: 0.9rem; transition: 0.3s; box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.btn-maps:hover { transform: scale(1.05); background-color: #c5a059; color: white; }
.btn-maps i { margin-right: 8px; }

/* === GALERI === */
.section-gallery { background-color: #ffffff; padding: 80px 20px; text-align: center; }
.header-gallery h2 { font-family: 'Cinzel', serif; font-size: 2.5rem; color: #333; margin-bottom: 10px; }
.header-gallery p { font-family: 'Lato', sans-serif; color: #888; margin-bottom: 40px; font-style: italic; }
.masonry-grid { column-count: 3; column-gap: 15px; max-width: 1000px; margin: 0 auto; }
.item-foto { break-inside: avoid; margin-bottom: 15px; }
.item-foto img {
    width: 100%; height: auto; border-radius: 8px; display: block;
    cursor: pointer; transition: transform 0.3s ease, filter 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.item-foto img:hover { transform: scale(1.03); filter: brightness(0.9); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }

/* === LIGHTBOX === */
.lightbox {
    display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9); justify-content: center; align-items: center;
    padding: 20px; opacity: 0; transition: opacity 0.3s ease;
}
.lightbox.active { display: flex; opacity: 1; }
.lightbox img {
    max-width: 90%; max-height: 90vh; border-radius: 5px;
    box-shadow: 0 0 20px rgba(255,255,255,0.2); transform: scale(0.8); transition: transform 0.3s ease;
}
.lightbox.active img { transform: scale(1); }
.close-btn {
    position: absolute; top: 20px; right: 30px; font-size: 40px; color: white;
    cursor: pointer; font-weight: bold; transition: 0.3s;
}
.close-btn:hover { color: #c5a059; }

/* === WEDDING GIFT === */
.section-gift {
    position: relative; padding: 60px 20px; background-color: #1a1a1a;
    color: #fff; text-align: center; overflow: hidden;
}
.gift-bg-pattern {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 1px, transparent 1px, transparent 10px);
    z-index: 0;
}
.container-gift { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.judul-gift { font-family: 'Great Vibes', cursive; font-size: 3rem; color: #c5a059; margin-bottom: 15px; }
.teks-sopan {
    font-family: 'Lato', sans-serif; font-size: 0.95rem; line-height: 1.5;
    margin-bottom: 40px; color: #ccc; font-weight: 300;
}
.row-gift { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 40px; }
.gift-card {
    background: linear-gradient(135deg, #2c3e50, #4ca1af); width: 100%; max-width: 320px;
    padding: 20px; border-radius: 12px; text-align: left; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1); transition: transform 0.3s;
}
.card-bsi { background: linear-gradient(135deg, #134e5e, #71b280); }
.gift-card:hover { transform: translateY(-3px); }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.bank-logo { font-weight: 900; font-size: 1.1rem; letter-spacing: 1px; color: rgba(255,255,255,0.9); }
.chip-icon { font-size: 1.8rem; color: #fceabb; opacity: 0.8; }
.label-rek { font-size: 0.75rem; opacity: 0.7; margin-bottom: 3px; text-transform: uppercase; }
.no-rek { font-family: 'Courier New', monospace; font-size: 1.5rem; letter-spacing: 2px; margin-bottom: 5px; }
.nama-pemilik { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.btn-salin {
    margin-top: 15px; width: 100%; padding: 10px; background: rgba(255,255,255,0.2);
    color: #fff; border: 1px solid rgba(255,255,255,0.4); border-radius: 6px;
    font-size: 0.8rem; font-weight: bold; cursor: pointer; transition: 0.3s;
    display: flex; justify-content: center; align-items: center; gap: 5px;
}
.btn-salin:hover { background: #fff; color: #333; }
.btn-salin.sukses { background: #27ae60; color: white; border-color: #27ae60; }
.gift-physical {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px; padding: 25px; display: flex; flex-direction: column;
    align-items: center; gap: 15px; max-width: 660px; margin: 0 auto;
}
.physical-icon { font-size: 2rem; color: #c5a059; margin-bottom: 5px; }
.physical-content h3 { font-family: 'Cinzel', serif; font-size: 1.2rem; margin-bottom: 10px; color: #fff; }
.alamat-detail { font-family: 'Lato', sans-serif; font-size: 0.9rem; line-height: 1.6; color: #ddd; }
.physical-buttons { display: flex; gap: 15px; margin-top: 10px; flex-wrap: wrap; justify-content: center; }
.btn-action {
    padding: 10px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: bold;
    text-decoration: none; cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 8px; border: none;
}
.btn-action:not(.btn-maps-gift) { background: #fff; color: #333; }
.btn-action:not(.btn-maps-gift):hover { background: #ddd; }
.btn-action.sukses { background: #27ae60 !important; color: white !important; }
.btn-maps-gift { background: #c5a059; color: #fff; }
.btn-maps-gift:hover { background: #b08d4b; transform: translateY(-2px); }

/* === RSVP === */
.section-rsvp { background-color: #f9f9f9; padding: 50px 20px; color: #333; }
.header-rsvp { text-align: center; margin-bottom: 50px; }
.header-rsvp h2 { font-family: 'Cinzel', serif; font-size: 3rem; font-weight: 700; color: #000; margin-bottom: 10px; letter-spacing: 5px; text-transform: uppercase; }
.header-rsvp p { font-family: 'Lato', sans-serif; color: #666; }
.row-rsvp { display: flex; flex-direction: column; align-items: center; gap: 30px; max-width: 600px; margin: 0 auto; }
.col-form {
    width: 100%; background: #fff; padding: 40px; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eee;
}
.form-group { margin-bottom: 20px; }
input[type="text"], input[type="number"], textarea {
    width: 100%; padding: 15px; border: 1px solid #e0e0e0; background: #fdfdfd;
    border-radius: 8px; font-family: 'Lato', sans-serif; font-size: 1rem; transition: 0.3s; outline: none;
}
input:focus, textarea:focus { border-color: #333; background: #fff; box-shadow: 0 0 0 2px rgba(0,0,0,0.05); }
.attendance-options { display: flex; gap: 15px; }
.radio-box { flex: 1; cursor: pointer; position: relative; }
.radio-box input { display: none; }
.radio-label {
    display: block; text-align: center; padding: 12px; border: 1px solid #ddd;
    border-radius: 8px; color: #888; transition: 0.3s; font-weight: bold; font-size: 0.9rem;
}
.radio-box input:checked + .radio-label { background-color: #000; color: white; border-color: #000; }
.btn-kirim {
    width: 100%; padding: 15px; background-color: #000; color: #fff; border: none;
    border-radius: 8px; font-weight: bold; letter-spacing: 1px; cursor: pointer;
    transition: 0.3s; text-transform: uppercase; font-size: 0.9rem;
}
.btn-kirim:hover { background-color: #333; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.col-ucapan {
    width: 100%; background: #fff; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee; overflow: hidden; height: 350px; display: flex; flex-direction: column;
}
.ucapan-header-box { padding: 20px 30px; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; background: #fafafa; }
.ucapan-header-box h3 { font-family: 'Cinzel', serif; font-size: 1.1rem; font-weight: bold; margin: 0; }
#jumlah-ucapan { font-size: 0.8rem; color: #888; font-weight: 600; }
.list-ucapan-container { padding: 20px 30px; overflow-y: auto; flex: 1; scroll-behavior: smooth; }
.card-ucapan { border-bottom: 1px solid #f5f5f5; padding-bottom: 20px; margin-bottom: 20px; animation: fadeIn 0.5s ease; }
.card-ucapan:last-child { border-bottom: none; margin-bottom: 0; }
.ucapan-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 0.9rem; }
.nama-pengirim { font-weight: bold; color: #000; font-size: 1rem; }
.status-hadir { font-size: 0.7rem; padding: 4px 10px; border-radius: 30px; font-weight: 600; text-transform: uppercase; }
.status-hadir.hadir { background: #e8f5e9; color: #2e7d32; }
.status-hadir.tidak { background: #ffebee; color: #c62828; }
.isi-ucapan { font-size: 0.95rem; color: #555; line-height: 1.6; margin-bottom: 8px; font-family: 'Lato', sans-serif; }
.waktu-ucapan { font-size: 0.7rem; color: #bbb; display: block; }

/* === CLOSING === */
.section-closing {
    position: relative; height: auto; min-height: 80vh; display: flex;
    flex-direction: column; justify-content: center; align-items: center; text-align: center;
    color: white; overflow: hidden; padding-bottom: 60px;
}
.closing-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('closing.jpg'); background-size: cover;
    background-position: center top; background-attachment: fixed; z-index: 0;
}
.closing-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8)); z-index: 1;
}
.container-closing { position: relative; z-index: 2; max-width: 800px; padding: 0 20px; }
.teks-penutup { font-family: 'Lato', sans-serif; font-size: 1rem; line-height: 1.6; margin-bottom: 20px; font-weight: 300; font-style: italic; }
.salam-penutup { font-family: 'Cinzel', serif; font-size: 1.2rem; font-weight: bold; margin-bottom: 40px; }
.kami-bahagia { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px; opacity: 0.8; }
.judul-terimakasih { font-family: 'Great Vibes', cursive; font-size: 4rem; color: #c5a059; margin-bottom: 30px; line-height: 1.2; }
.nama-keluarga {
    display: flex; flex-direction: row; justify-content: center; align-items: center;
    gap: 15px; width: 100%; max-width: 900px; margin: 0 auto 40px auto; line-height: 1.4;
}
.nama-keluarga p { flex: 1; margin: 0; font-size: 0.9rem; font-weight: 400; }
.nama-keluarga p:first-child { text-align: right; }
.nama-keluarga p:last-child { text-align: left; }
.dan-kecil { flex: 0 0 auto; font-family: 'Great Vibes', cursive; font-size: 4rem; color: #c5a059; margin: 0 10px; line-height: 0.8;}
.couple-closing { font-family: 'Cinzel', serif; font-size: 2rem; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }

footer {
    position: absolute; bottom: 0; width: 100%; padding: 25px 15px; text-align: center; z-index: 2;
    color: #ffffff; font-size: 1rem; font-family: 'Lato', sans-serif; font-weight: 600; letter-spacing: 1px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.9); border-top: 1px solid rgba(255,255,255,0.3);
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

/* === TOMBOL MUSIK === */
#tombol-musik {
    display: none; position: fixed; bottom: 20px; left: 20px; width: 50px; height: 50px;
    background-color: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%; color: white;
    justify-content: center; align-items: center; font-size: 24px; cursor: pointer;
    z-index: 9999; box-shadow: 0 4px 10px rgba(0,0,0,0.3); transition: 0.3s;
}
#tombol-musik:hover { background-color: rgba(255, 255, 255, 0.8); color: #333; }
.berputar { animation: putarMusik 3s linear infinite; }
@keyframes putarMusik { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ======================================================= */
/* === RESPONSIF KHUSUS HP (SUPER COMPLETE) === */
/* ======================================================= */
@media (max-width: 768px) {
    
    /* 1. COVER: Kecilkan nama pengantin agar tidak numpuk */
    .nama-pengantin { font-size: 2rem; margin-bottom: 10px; }
    .nama-tamu { font-size: 1.2rem; }
    .isi-cover { padding-bottom: 40px; }

    /* 2. HERO: Judul Utama agar tidak nabrak */
    .judul-utama { font-size: 2.2rem; }
    .sub-judul { font-size: 0.7rem; }
    
    /* 3. COUPLE: Nama panjang agar tidak keluar layar */
    .container-couple { flex-direction: column; }
    .dan-icon { margin: 10px 0; font-size: 3rem; }
    .img-wrapper { width: 180px; height: 240px; }
    .nama-mempelai { 
        font-size: 1.4rem; /* Font dikecilkan */
        padding: 0 10px; /* Jarak kiri kanan agar tidak mepet */
        line-height: 1.3;
    }

    /* 4. EVENT: Stack kartu ke bawah */
    .row-acara { flex-direction: column; gap: 20px; }
    .card-acara { min-width: 100%; padding: 30px 15px; }

    /* 5. GALERI: 2 Kolom */
    .masonry-grid { column-count: 2; }
    .header-gallery h2 { font-size: 2rem; }

    /* 6. GIFT: Tombol fisik jadi vertikal */
    .physical-buttons { flex-direction: column; width: 100%; }
    .btn-action { width: 100%; justify-content: center; }
    .judul-gift { font-size: 2.5rem; }

    /* 7. RSVP: Header & Form dirapikan */
    .header-rsvp h2 { font-size: 2.2rem; }
    .col-form { padding: 25px; }

    /* 8. CLOSING: Kunci agar foto & nama pas */
    .closing-bg { background-attachment: scroll; background-position: center top; }
    .section-closing { height: auto; min-height: 600px; padding: 60px 20px; }
    
    /* Nama Pengantin di Closing (Yusril & Aisyah) */
    .judul-terimakasih { font-size: 2.5rem; line-height: 1.2; }
    
    /* Keluarga Besar: Tetap Side-by-side tapi font kecil */
    .nama-keluarga {
        flex-direction: row; gap: 5px; padding: 0 5px; align-items: flex-start;
    }
    .nama-keluarga p { font-size: 0.65rem; }
    .dan-kecil { font-size: 2.5rem; margin-top: 0px; }

    /* Terima Kasih */
    .couple-closing { font-size: 1.5rem; }

    /* Divider Two Souls */
    .divider-cantik { padding: 20px 10px; }
    .teks-tengah { font-size: 1.5rem; margin: 0 10px; white-space: normal; }
    .garis { max-width: 50px; }
}