/* --- Definisi Animasi --- */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Animasi Pohon Melambai (Swaying) */
@keyframes sway {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(2deg);
    }

    /* Goyang sedikit ke kanan */
    100% {
        transform: rotate(0deg);
    }
}

/* Animasi Masuk Pohon Kanan 2 (Rotasi 346deg) */
@keyframes slideInTreeRight2 {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(346deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(346deg);
    }
}

/* Animasi Masuk Pohon Kanan 3 (Rotasi -15deg) */
@keyframes slideInTreeRight3 {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(-15deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(-15deg);
    }
}

/* Animasi Sway (Goyang) tetap menggunakan variabel agar fleksibel */
@keyframes swayMirror {
    0% {
        transform: rotate(var(--rotasi-asal));
    }

    50% {
        transform: rotate(calc(var(--rotasi-asal) + 2deg));
    }

    100% {
        transform: rotate(var(--rotasi-asal));
    }
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body,
html {
    overflow-x: hidden;
    /* Mencegah scroll horizontal seluruh halaman */
    margin: 0;
    padding: 0;
    width: 100%;
}
/* Kunci total scroll */


body.locked {
    overflow: hidden !important;
    touch-action: none; /* Cegah scroll di mobile */
    position: fixed; /* Kunci posisi di beberapa browser mobile */
    width: 100%;
}

/* First Screen sebagai Overlay Fixed */
.first-screen {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99; /* Pastikan di atas segalanya */
    background-color: #210404; /* Maroon sesuai tema */
    transition: transform 1.6s cubic-bezier(0.7, 0, 0.3, 1), 
                opacity 1.6s ease;
    will-change: transform, opacity;
}

/* Animasi Tirai Terangkat */
.first-screen.fade-out {
    transform: translateY(-100%);
    opacity: 0.8; /* Sedikit transparan saat terangkat agar halus */
    pointer-events: none;
}

/* Opening Section State Awal */
.opening-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 2s ease, transform 2s ease;
}

.opening-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}
.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    font-family: 'Georgia', serif;
    background-color: #1a2a33;
    color: white;
}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
    /* Mencegah seluruh halaman scroll */
}

/* Class khusus untuk nama pengantin */
.bride-name {
    font-family: "Beau Rivage", cursive;
    font-weight: 400;
    line-height: 1.2;
}

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
.left-section {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px;
    position: relative;
}

.left-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.left-content {
    position: relative;
    bottom: -363px;
    z-index: 2;
}

.left-content h2 {
    font-weight: 300;
    letter-spacing: 3px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.left-content h1 {
    font-size: 5rem;
}

/* Ukuran font diperbesar agar Beau Rivage terlihat jelas */

/* --- BAGIAN Kanan (SCROLLABLE) --- */
.right-section {
    flex: 1;
    overflow-y: auto;
    background-color: #1a2a33;
    scroll-behavior: smooth;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

/* Tampilan Pertama di Kanan (Mobile View lookalike) */
/* Update font utama jika ada Google Fonts lebih baik */
.first-screen {
    position: relative;
    min-height: 100vh;
    padding: 60px 10% !important;
    /* Padding atas-bawah dan kiri-kanan */
    overflow: hidden;
}

/* Overlay Gradasi lebih gelap di atas dan bawah */
.first-screen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(0 0 0 / 87%) 0%, rgb(0 0 0 / 57%) 50%, rgb(0 0 0 / 37%) 100%);
    z-index: 1;
}

.content-wrapper {
    position: relative;
    z-index: 2;
    height: 80vh;
    /* Mengatur tinggi area konten agar bisa dipisah atas-bawah */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Ini yang membuat satu di atas, satu di bawah */
    width: 100%;
}

/* Bagian Atas: Rata Kiri */
.sampul-top {
    text-align: left;
    margin-top: 5vh;
}

.first-screen h2 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 300;
    text-transform: none;
    margin-bottom: 10px;
    font-family: 'Serif', Georgia, serif;
}

.bride-name {
    color: rgb(213, 197, 154);
    /* Warna emas */
    font-size: 4.5rem !important;
    line-height: 0.9;
    font-weight: 400;
    margin: 0 !important;
    font-family: 'Playfair Display', serif;
}

/* Bagian Bawah: Rata Tengah */
.sampul-bottom {
    text-align: center;
    margin-bottom: 20px;
}

.dear-text {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 0;
}

.guest-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 25px;
}

/* Tombol sesuai gambar ke-2 */
.btn-buka {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    background-color: #4a443c;
    /* Coklat gelap matte */
    color: white;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.icon-mail {
    font-size: 1.1rem;
}

/* Penyesuaian Mobile */
@media (max-width: 600px) {
    .bride-name {
        font-size: 4rem !important;
    }

    .content-wrapper {
        height: 80vh;
    }
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }
}

.parallax-group {
    position: relative;
    width: 100%;
    /* Perspektif diletakkan di container paling luar */
    perspective: 1px;
    height: auto;
    overflow-x: hidden;
}

.parallax-bg-shared {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Akan mengikuti tinggi total group */
    background: url('images.jpeg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    /* Opsional: menambah kestabilan di beberapa browser */
    z-index: -1;
    /* transform: translateZ(-1px) scale(2); */
    filter: brightness(0.6);
}

/* Overlay tunggal yang menyambung */
.parallax-overlay-shared {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradasi dari atas ke bawah secara total */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgb(0 0 0 / 55%) 30% 30%, rgb(0 0 0 / 55%) 70%, rgb(0 0 0 / 34%) 100%);
    z-index: 0;
}

.opening-section,
.quotes-section {
    background: transparent !important;
    position: relative;
    z-index: 1;
    /* Pastikan konten di atas background shared */
}

/* opening */
.opening-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    /* justify-content: center; */
    align-items: center;
    perspective: 1px;
    /* Penting untuk parallax CSS */
}



/* Overlay Gelap agar teks seperti gambar referensi */
/* Overlay Gradasi Hitam ke Transparan (Top to Bottom) */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Menutup seluruh layar */
    /* Bagian atas hitam pekat (0.8), tengah mulai memudar, bawah transparan */
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.8) 0%,
            rgba(0, 0, 0, 0.4) 50%,
            rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

/* Penyesuaian konten agar sedikit naik ke area yang lebih gelap */
.opening-content {
    position: relative;
    z-index: 10;
    /* text-align: center; */
    color: #ffffff;
    padding: 20px;
    /* margin-top: -50px; */
    margin-bottom: -300px;
    /* Menaikkan posisi teks sedikit */
    animation: fadeInScale 2s ease-out forwards;
}

/* Memperbaiki class name di Media Query agar sesuai dengan HTML */
@media (max-width: 768px) {
    .bride-name-opening {
        font-size: 3.5rem !important;
    }

    .opening-section {
        height: 100svh;
    }

    /* Penyesuaian konten agar sedikit naik ke area yang lebih gelap */
    .opening-content {


        margin-bottom: -520px;

    }
}

/* Styling Teks sesuai gambar */
.subtitle {
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 300;
}

.bride-name-opening {
    font-family: 'Playfair Display', serif;
    /* Pastikan font ini ter-import */
    font-size: 4rem !important;
    line-height: .9;
    margin: 15px 0 !important;
    color: #c5a059;
    /* Warna Gold Dull seperti gambar referensi */
    font-weight: 400;
}

.wedding-date {
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-top: 10px;
    font-weight: 300;
}

/* Animasi Muncul */
@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}


/* --- SECTION QUOTES --- */
.quotes-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 150px;
    padding: 80px 20px;
    perspective: 1px;
}

/* Background Parallax untuk Quotes */


/* Overlay Gradasi agar teks terbaca */
.overlay-quotes {
    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: 2;
}

.quotes-container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    text-align: center;
}

/* Style Polaroid sesuai Gambar Referensi */
.polaroid-frame {
    background: #e3dcd2;
    /* Warna kertas vintage putih tulang */
    padding: 15px 15px 60px 15px;
    /* Bagian bawah lebih lebar khas polaroid */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    transform: rotate(-3deg);
    /* Efek miring seperti gambar */
    margin-bottom: 50px;
    transition: transform 1.5s ease-out;
}

.polaroid-frame img {
    width: 100%;
    max-width: 320px;
    height: 380px;
    object-fit: cover;
    display: block;
}

/* Typography */
.surah-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    color: #c5a059;
    margin-bottom: 20px;
    font-weight: 400;
}

.quote-text {
    font-family: 'Lora', 'Georgia', serif;
    /* Font serif yang lembut */
    font-size: 1.1rem;
    line-height: 1.8;
    color: #f0f0f0;
    font-style: normal;
    padding: 0 20px;
}

/* --- Animasi Reveal saat Scroll --- */
.quotes-content,
.polaroid-frame {
    opacity: 0;
    transform: translateY(50px) rotate(-3deg);
    transition: all 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.quotes-section.reveal .quotes-content {
    opacity: 1;
    transform: translateY(0);
}

.quotes-section.reveal .polaroid-frame {
    opacity: 1;
    transform: translateY(0) rotate(-3deg);
}

/* Responsive */
@media (max-width: 768px) {
    .surah-title {
        font-size: 2.1rem;
    }

    .quote-text {
        font-size: 1rem;
    }

    .polaroid-frame img {
        max-width: 260px;
        height: 300px;
    }
}

/* --- SECTION BRIDE & GROOM --- */
/* --- SECTION BRIDE & GROOM --- */
/* --- SECTION BRIDE & GROOM --- */
.couple-section {
    min-height: 100vh;
    background-color: #fcfaf7;
    /* Warna krem sangat muda agar kontras dengan section sebelumnya */
    padding: 100px 20px;
    text-align: center;
    color: #333;
    position: relative;
    z-index: 1;
}

.couple-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #c5a059;
    /* Gold Theme */
    margin-bottom: 15px;
}

.intro-text {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 60px auto;
    line-height: 1.8;
    color: #666;
}

.couple-wrapper {
    display: column;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

/* Bingkai Foto Gaya Arch/Lengkung (Matching Nathan & Karina Style) */
/* --- SECTION BRIDE & GROOM (POLAROID EDITION) --- */
.couple-section {
    min-height: 100vh;
    background-color: #fcfaf7;
    padding: 80px 20px;
    text-align: center;
    color: #333;
    position: relative;
    z-index: 1;
}

.couple-wrapper {
    display: flex;
    flex-direction: column;
    /* Memaksa posisi atas-bawah di semua device */
    align-items: center;
    gap: 20px;
    /* Jarak antar elemen */
    max-width: 600px;
    margin: 0 auto;
}

/* Frame Polaroid Mempelai */
.polaroid-couple {
    background: #e3dcd2;
    width: 250px;
    padding: 12px 12px 30px 12px;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.5s ease;
}

/* Rotasi tetap dipertahankan untuk estetika */
.mempelai-left .polaroid-couple {
    transform: rotate(-3deg);
}

.mempelai-right .polaroid-couple {
    transform: rotate(3deg);
}

.photo-inner {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background-color: #eee;
}

.photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ampersand-divider {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #c5a059;
    margin: 10px 0;
}

/* Tipografi */
.couple-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #c5a059;
    margin-bottom: 15px;
}

.profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #c5a059;
    margin-top: 5px;
}

.full-name {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 1.1rem;
}

/* --- RESPONSIVE ADJUSTMENT --- */
@media (max-width: 480px) {
    .polaroid-couple {
        width: 200px;
        /* Sedikit lebih kecil di HP agar proporsional */
    }

    .photo-inner {
        height: 250px;
    }

    .couple-title {
        font-size: 2.2rem;
    }
}

/* Hover Effect Interaktif */
.polaroid-couple:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    z-index: 5;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .polaroid-couple {
        width: 220px;
    }

    .photo-inner {
        height: 260px;
    }
}

.parents-info {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #888;
}

.ampersand-divider {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #c5a059;
    align-self: center;
    margin: 20px 0;
}

/* Instagram Button Style */
.btn-instagram {
    display: inline-flex;
    margin-top: 15px;
    color: #c5a059;
    font-size: 1.4rem;
    transition: 0.3s;
}

.btn-instagram:hover {
    transform: scale(1.2);
    color: #333;
}

/* --- ANIMASI REVEAL --- */
.mempelai-left,
.mempelai-right,
.couple-title,
.intro-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s ease-out;
}

.couple-section.reveal .mempelai-left,
.couple-section.reveal .mempelai-right,
.couple-section.reveal .couple-title,
.couple-section.reveal .intro-text {
    opacity: 1;
    transform: translateY(0);
}

/* Delay agar muncul bergantian */
.couple-section.reveal .mempelai-right {
    transition-delay: 0.3s;
}

/* Responsive HP */
@media (max-width: 768px) {
    .couple-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .ampersand-divider {
        margin: 10px 0;
    }
}

/* --- SECTION SAVE THE DATE --- */
/* --- SECTION SAVE THE DATE --- */
.save-the-date {
    min-height: 70vh;
    background-color: #343638;
    /* Grey gelap tema utama */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #c5a059;
    margin-bottom: 40px;
}

/* Date Info V2 */
.date-info-v2 {
    width: 100%;
    max-width: 450px;
    margin-bottom: 50px;
}

.day-name {
    font-family: 'Lora', serif;
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 1.1rem;
    margin-top: 20px;
    color: #f0f0f0;
}

.big-date-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.line-gold {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #c5a059, transparent);
}

.date-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.day-number {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    line-height: 1;
    color: #c5a059;
}

.month-year-detail {
    text-align: left;
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Countdown Glassmorphism */
.countdown-container-v2 {
    display: flex;
    gap: 12px;
    margin-bottom: 50px;
}

.countdown-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.3);
    /* Border emas tipis */
    color: white;
    width: 75px;
    padding: 15px 5px;
    border-radius: 12px;
    transition: all 0.5s ease;
}

.countdown-box span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #c5a059;
}

.countdown-box label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ddd;
}

.location-text-v2 {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #e0e0e0;
}

/* Button Modern */
.btn-remind-v2 {
    background-color: transparent;
    color: white;
    padding: 12px 30px;
    border: 1px solid #c5a059;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.4s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-remind-v2:hover {
    background-color: #c5a059;
    color: #343638;
}

/* --- RESPONSIVE --- */
@media (max-width: 480px) {
    .day-number {
        font-size: 3.5rem;
    }

    .countdown-box {
        width: 65px;
    }

    .event-title {
        font-size: 2.5rem;
    }
}

.save-the-date h2,
.date-info,
.location-text,
.btn-remind {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

/* Kotak Countdown muncul dengan efek skala (zoom) */
.countdown-box {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Class pemicu saat di-scroll */
.save-the-date.reveal h2,
.save-the-date.reveal .date-info,
.save-the-date.reveal .location-text,
.save-the-date.reveal .btn-remind {
    opacity: 1;
    transform: translateY(0);
}

.save-the-date.reveal .countdown-box {
    opacity: 1;
    transform: scale(1);
}

/* Delay bertahap untuk kotak countdown agar muncul bergantian */
.save-the-date.reveal .countdown-box:nth-child(1) {
    transition-delay: 0.4s;
}

.save-the-date.reveal .countdown-box:nth-child(2) {
    transition-delay: 0.6s;
}

.save-the-date.reveal .countdown-box:nth-child(3) {
    transition-delay: 0.8s;
}

.save-the-date.reveal .countdown-box:nth-child(4) {
    transition-delay: 1.0s;
}

.save-the-date.reveal .btn-remind {
    transition-delay: 1.2s;
}

/* --- SECTION EVENT (AKAD & RESEPSI) --- */
.event-section {
    min-height: 100vh;
    background: linear-gradient(to top, rgb(255 255 255 / 0%) 0%, rgb(0 0 0 / 0%) 30%, rgb(255 255 255 / 20%) 70%, rgb(0 0 0 / 0%) 100%);
    /* Menyambung dengan parallax sebelumnya */
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Kartu dengan Gaya Arch Modern */
.event-card-v2 {
    background-color: rgba(255, 255, 255, 0.92);
    /* Putih bersih dengan sedikit transparansi */
    backdrop-filter: blur(5px);
    width: 100%;
    max-width: 450px;
    padding: 80px 40px;
    text-align: center;
    color: #333;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-radius: 20px 20px 20px 20px;
    /* Bentuk Kubah/Archway */
    border: 1px solid rgba(197, 160, 89, 0.3);
    /* Outline emas tipis */

    /* Animasi Masuk */
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
}

.event-type-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #c5a059;
    margin-bottom: 10px;
}

.event-divider-gold {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.event-divider-gold .line {
    height: 1px;
    width: 40px;
    background: #c5a059;
}

.event-date-text {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: #444;
}

.event-details p {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.event-details .time {
    color: #c5a059;
    font-weight: 600;
}

.section-divider-floral {
    color: #c5a059;
    margin: 40px 0;
    font-size: 1.2rem;
    letter-spacing: 5px;
}

/* Tombol Maps Modern */
.btn-maps-v2 {
    display: inline-block;
    background-color: transparent;
    color: #333;
    padding: 10px 25px;
    border: 1px solid #c5a059;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Lora', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    transition: 0.3s;
}

.btn-maps-v2:hover {
    background-color: #c5a059;
    color: white;
    transform: translateY(-3px);
}

/* --- Trigger Animasi Reveal --- */
.event-section.reveal .event-card-v2 {
    opacity: 1;
    transform: translateY(0);
}

/* Penyesuaian Mobile */
@media (max-width: 480px) {
    .event-card-v2 {
        padding: 60px 25px;
        border-radius: 15px 15px 15px 15px;
    }

    .event-type-title {
        font-size: 2.2rem;
    }
}

/* --- SECTION LOVE STORY (POLAROID STYLE) --- */
.story-section {
    min-height: 100vh;
    background: transparent !important;
    /* Menyambung parallax */
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #c5a059;
    margin-bottom: 10px;
    text-align: center;
}

/* Base Frame Polaroid */
.story-polaroid {
    background: #e3dcd2;
    /* Warna kertas vintage putih tulang */
    width: 100%;
    max-width: 350px;
    padding: 15px 15px 40px 15px;
    /* Bagian bawah lebih lebar khas polaroid */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    margin-bottom: 60px;
    transition: all 1s ease-out;
    opacity: 0;
    /* Untuk animasi reveal */
}

/* Variasi Kemiringan agar natural */
.story-polaroid:nth-child(even) {
    transform: rotate(3deg) translateY(50px);
}

.story-polaroid:nth-child(odd) {
    transform: rotate(-3deg) translateY(50px);
}

.polaroid-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.polaroid-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.polaroid-caption {
    text-align: center;
    color: #333;
    /* Teks di kertas polaroid biasanya gelap */
    padding: 0 10px;
}

.polaroid-caption h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #444;
}

.polaroid-caption p {
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 15px;
}

.story-number {
    font-size: 0.8rem;
    font-weight: bold;
    color: #888;
    letter-spacing: 2px;
}

/* --- ANIMASI REVEAL --- */
.story-section.reveal .story-polaroid {
    opacity: 1;
}

.story-section.reveal .story-polaroid:nth-child(even) {
    transform: rotate(3deg) translateY(0);
}

.story-section.reveal .story-polaroid:nth-child(odd) {
    transform: rotate(-3deg) translateY(0);
}

/* Hover Effect */
.story-polaroid:hover {
    transform: rotate(0deg) scale(1.05) !important;
    z-index: 5;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

/* Penyesuaian Mobile */
@media (max-width: 480px) {
    .story-polaroid {
        max-width: 300px;
    }

    .polaroid-image-wrapper {
        height: 250px;
    }
}

/* --- SECTION GALLERY MODERN --- */
.gallery-section {
    min-height: 100vh;
    background: transparent !important;
    /* Agar parallax menyambung */
    padding: 100px 20px;
    position: relative;
    z-index: 1;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #c5a059;
    /* Gold accent */
    margin-bottom: 50px;
    text-align: center;
}

/* Grid Layout Modern (Masonry-like) */
.gallery-grid-v2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

/* Bingkai Foto Gaya Minimalis */
.gallery-item-v2 {
    background: white;
    padding: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
    opacity: 0;
    /* Untuk animasi reveal */
    transform: translateY(30px);
}

.photo-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.gallery-item-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Variasi Ukuran */
.gallery-item-v2.tall .photo-wrapper {
    height: 415px;
    /* Menyesuaikan grid */
}

@media (min-width: 768px) {
    .gallery-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item-v2.tall {
        grid-row: span 2;
    }
}

/* Hover Effect */
.gallery-item-v2:hover {
    transform: translateY(-5px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.gallery-item-v2:hover img {
    transform: scale(1.1);
}

/* --- ANIMASI REVEAL --- */
.gallery-section.reveal .gallery-item-v2 {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay agar muncul satu per satu */
.gallery-section.reveal .gallery-item-v2:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-section.reveal .gallery-item-v2:nth-child(2) {
    transition-delay: 0.2s;
}

.gallery-section.reveal .gallery-item-v2:nth-child(3) {
    transition-delay: 0.3s;
}

.gallery-section.reveal .gallery-item-v2:nth-child(4) {
    transition-delay: 0.4s;
}

.gallery-section.reveal .gallery-item-v2:nth-child(5) {
    transition-delay: 0.5s;
}

.gallery-section.reveal .gallery-item-v2:nth-child(6) {
    transition-delay: 0.6s;
}

/* Lightbox Styling */
.lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

/* --- SECTION WEDDING GIFT --- */
.gift-section {
    padding: 80px 20px;
    min-height: 50vh;
    /* background-color: #f9f9f9; */
    text-align: center;
  
    color: #7d7c7c;
    background-attachment: fixed;
    background-position: center;
}

.gift-section h2 {
    font-family: "Beau Rivage", cursive;
    font-size: 3.5rem;
    color: #c5a059;
    margin-bottom: 20px;
}




.gift-intro {
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
    color: #ffff;
}

/* Container Kartu Bank */
.bank-card {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    padding: 25px;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bank-logo {
    height: 30px;
    float: right;
}

.chip {
    width: 45px;
    margin-bottom: 20px;
}

.account-number {
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Courier New', Courier, monospace;
}

.account-name {
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-copy {
    display: block;
    width: fit-content;
    margin: 15px auto 0;
    padding: 8px 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-copy:hover {
    background: #f0f0f0;
}

/* Alamat Pengiriman */
.address-card {
    background: white;
    width: 100%;
    max-width: 450px;
    margin: 50px auto 0;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.gift-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #c5a059;
}

.address-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.address-details {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.address-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-action {
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid #343638;
}

.btn-outline {
    color: #343638;
    background: white;
}

.btn-dark {
    color: white;
    background: #c5a059;
}

/* --- ANIMASI GIFT SECTION --- */
.gift-section h2,
.gift-intro {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1s ease-out;
}

/* Kartu bank muncul dari kiri dan kanan secara selang-seling */
.bank-card {
    opacity: 0;
    transition: all 1s ease-out;
}

.bank-card:nth-of-type(1) {
    transform: translateX(-50px);
}

.bank-card:nth-of-type(2) {
    transform: translateX(50px);
}

/* Kartu alamat muncul dengan efek zoom kecil */
.address-card {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Class pemicu saat di-scroll */
.gift-section.reveal h2,
.gift-section.reveal .gift-intro {
    opacity: 1;
    transform: translateY(0);
}

.gift-section.reveal .bank-card {
    opacity: 1;
    transform: translateX(0);
}

.gift-section.reveal .address-card {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Delay staggered agar kartu muncul bergantian */
.gift-section.reveal .bank-card:nth-of-type(1) {
    transition-delay: 0.3s;
}

.gift-section.reveal .bank-card:nth-of-type(2) {
    transition-delay: 0.8s;
}

.gift-section.reveal .address-card {
    transition-delay: 1.0s;
}

/* --- SECTION RSVP --- */
/* --- SECTION RSVP & WISHES MODERN --- */
.rsvp-section {
    min-height: 100vh;
    background: transparent !important;
    /* Menyambung parallax seamless */
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Container */
.rsvp-container-v2,
.wishes-container-v2 {
    background: rgba(255, 255, 255, 0.95);
    /* Putih bersih elegan */
    width: 100%;
    max-width: 550px;
    padding: 50px 35px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.rsvp-title,
.wishes-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #c5a059;
    margin-bottom: 10px;
}

.rsvp-subtitle {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 35px;
}

/* Form Styling */
.rsvp-form-v2 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 0.95rem;
    background: #f9f9f9;
    transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: #c5a059;
    background: #fff;
}

.btn-rsvp-send {
    background-color: #343638;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-rsvp-send:hover {
    background-color: #c5a059;
    transform: translateY(-2px);
}

/* Wishes Display */
.wishes-display-v2 {
    max-height: 450px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 15px;
    text-align: left;
}

.wish-card-v2 {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid #c5a059;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wish-header strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: #333;
}

.wish-time {
    font-size: 0.75rem;
    color: #aaa;
}

.wish-card-v2 p {
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

/* Custom Scrollbar */
.wishes-display-v2::-webkit-scrollbar {
    width: 5px;
}

.wishes-display-v2::-webkit-scrollbar-thumb {
    background: #c5a059;
    border-radius: 10px;
}

/* --- ANIMASI REVEAL --- */
.rsvp-section.reveal .rsvp-container-v2,
.rsvp-section.reveal .wishes-container-v2 {
    opacity: 1;
    transform: translateY(0);
}

.rsvp-section.reveal .wishes-container-v2 {
    transition-delay: 0.3s;
}

/* Mobile Adjustments */
@media (max-width: 480px) {

    .rsvp-title,
    .wishes-title {
        font-size: 2.2rem;
    }

    .rsvp-container-v2,
    .wishes-container-v2 {
        padding: 35px 20px;
    }
}

/* --- SECTION PENUTUP --- */
/* --- ANIMASI CLOSING SECTION --- */
.closing-photo {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.closing-text,
.hashtag,
.closing-names,
.social-links,
.footer-logo {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

/* --- SECTION CLOSING MODERN --- */
.closing-section {
    min-height: 100vh;
    background: transparent !important;
    /* Menyambung parallax seamless */
    padding: 100px 20px 40px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Bingkai Foto Gaya Archway (Serasi dengan Couple Section) */
.closing-photo-v2 {
    width: 240px;
    height: 340px;
    border-radius: 120px 120px 0 0;
    /* Lengkung atas modern */
    border: 1px solid #c5a059;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: scale(0.9);
    transition: all 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.closing-photo-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closing-content {
    max-width: 600px;
    position: relative;
}

.closing-text-v2 {
    font-family: 'Lora', serif;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    color: #f0f0f0;
}

.hashtag-v2 {
    font-family: 'Lora', serif;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 20px;
    color: #c5a059;
    /* Aksen Gold */
}

.closing-names-v2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #c5a059;
    margin-bottom: 50px;
    font-weight: 400;
}

/* Social Media Icons */
.social-links-v2 {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.social-icon-v2 {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(197, 160, 89, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c5a059;
    text-decoration: none;
    transition: 0.4s;
    font-size: 1.1rem;
}

.social-icon-v2:hover {
    background: #c5a059;
    color: #333;
    border-color: #c5a059;
}

/* Footer Credit */
.footer-logo-v2 {
    opacity: 0.5;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-top: 20px;
}

.footer-logo-v2 i {
    color: #ff4d4d;
}

/* --- TRIGGER ANIMASI REVEAL --- */
.closing-section.reveal .closing-photo-v2 {
    opacity: 1;
    transform: scale(1);
}

.closing-section.reveal .closing-text-v2,
.closing-section.reveal .hashtag-v2,
.closing-section.reveal .closing-names-v2,
.closing-section.reveal .social-links-v2,
.closing-section.reveal .footer-logo-v2 {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Adjustment */
@media (max-width: 480px) {
    .closing-names-v2 {
        font-size: 2.8rem;
    }

    .closing-photo-v2 {
        width: 200px;
        height: 280px;
    }
}

/* Keadaan awal elemen sebelum scroll sampai ke posisi */