@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%);
    }
}


/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */

.couple-photo-container {
    /* Gabungkan slideDown (masuk) dan floatAnim (mengambang) */
    animation:
        slideInDown 1.5s cubic-bezier(0.22, 1, 0.36, 1) backwards,
        floatAnim 4s ease-in-out infinite 1.5s;
    /* float dimulai setelah slide selesai */
}

.content-wrapper .sub-title,
.content-wrapper .couple-names,
.content-wrapper .guest-info,
.content-wrapper .btn-open {
    animation: slideInUp 1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* Staggered delay untuk teks agar muncul bergantian */
.sub-title {
    animation-delay: 0.8s;
}

.couple-names {
    animation-delay: 1s;
}

.guest-info {
    animation-delay: 1.2s;
}

.btn-open {
    animation-delay: 1.4s;
}

/* Mengatur delay agar elemen muncul bergantian */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* State dasar sebelum animasi */
.animate-hidden {
    opacity: 0;
    transform: translateY(40px);
    /* Muncul dari bawah */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

/* State saat elemen masuk ke viewport */
.animate-show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Animasi Pesan Penutup (Fade In saja) --- */


/* --- Animasi Thank You (Expand Letter Spacing) --- */
.thank-you-text.animate-hidden {
    opacity: 0;
    letter-spacing: 10px;
    transform: scale(1.1);
    transition: all 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.thank-you-text.animate-show {
    opacity: 1;
    letter-spacing: -2px;
    /* Kembali ke gaya rapat sesuai gambar */
    transform: scale(1);
}

/* --- Animasi Foto Closing (Zoom Out ke Frame) --- */
.closing-photo.animate-hidden {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s ease-out;
}

.closing-photo.animate-show {
    opacity: 1;
    transform: scale(1);
}

/* 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%;
}

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 1.5s ease, transform 1.5s ease;
}

.opening-section.visible {
    opacity: 1;
    transform: translateY(0);
}



.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 */

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
.left-section {
    color: #8d745b;
    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: linear-gradient(to bottom, #f5f1eb30 70%, #fdfaf7 100%);
    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: #fcf8f4;
    overflow-x: hidden;
    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.0); */
}

/* Tampilan Pertama di Kanan (Mobile View lookalike) */
/* Styling khusus untuk First Screen */
.first-screen {
    position: relative;
    background-color: #fdfaf7;
    /* Efek watercolor di tengah */
    background-image: radial-gradient(circle, rgba(210, 180, 140, 0.3) 0%, transparent 80%);
    color: #5a4b41;
    height: 100vh;
    overflow: hidden;
    padding: 80px 20px !important;
}

/* Overlay Gradasi Atas */
.top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    /* Menutupi 30% area atas */
    background: linear-gradient(to bottom, rgba(166, 139, 109, 0.15) 0%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}


/* Positioning tetap sama */
/* --- Definisi Keyframes per Sudut (Menjaga Rotasi Tetap) --- */

@keyframes slideTopLeft {
    from {
        opacity: 0;
        transform: translate(-100px, -100px) rotate(180deg);
    }

    to {
        opacity: 0.8;
        transform: translate(0, 0) rotate(180deg);
    }
}

@keyframes slideTopRight {
    from {
        opacity: 0;
        transform: translate(100px, -100px) rotate(270deg);
    }

    to {
        opacity: 0.8;
        transform: translate(0, 0) rotate(270deg);
    }
}

@keyframes slideBottomLeft {
    from {
        opacity: 0;
        transform: translate(-100px, 100px) rotate(90deg);
    }

    to {
        opacity: 0.8;
        transform: translate(0, 0) rotate(90deg);
    }
}

@keyframes slideBottomRight {
    from {
        opacity: 0;
        transform: translate(100px, 100px) rotate(0deg);
    }

    to {
        opacity: 0.8;
        transform: translate(0, 0) rotate(0deg);
    }
}

/* --- Penerapan pada Elemen --- */

.decor-leaf {
    position: absolute;
    width: 180px;
    z-index: 2;
    pointer-events: none;
    animation-duration: 1.8s;
    animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
    animation-fill-mode: forwards;
    /* Menahan posisi akhir animasi */
}

.top-left {
    top: -30px;
    left: -30px;
    animation-name: slideTopLeft;
}

.top-right {
    top: -30px;
    right: -30px;
    animation-name: slideTopRight;
    /* animation-delay: 0.2s; */
}

.bottom-left {
    bottom: -30px;
    left: -30px;
    animation-name: slideBottomLeft;
    /* animation-delay: 0.4s; */
}

.bottom-right {
    bottom: -30px;
    right: -30px;
    animation-name: slideBottomRight;
    /* animation-delay: 0.6s; */
}

.content-wrapper {
    animation: slideUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container Foto Pasangan */
.couple-photo-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 35px auto;
    padding: 12px;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    /* Sedikit rounded agar modern */
}

.couple-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Konten Teks */
.content-wrapper {
    position: relative;
    z-index: 3;
}

.couple-names {
    font-family: 'Georgia', serif;
    font-size: 3.2rem;
    margin: 10px 0 25px 0;
    color: #8d745b;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.btn-open {
    display: inline-block;
    padding: 12px 35px;
    background-color: #a68b6d;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    z-index: 4;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(166, 139, 109, 0.4);
}

/* Update pada Container Foto Pasangan */
.couple-photo-container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 280px;
    margin: 0 auto 35px auto;
    padding: 12px;
    background: white;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-radius: 4px;

    /* Tambahkan animasi di sini */
    animation: floatAnim 4s ease-in-out infinite;
}

/* Definisi Gerakan Mengambang */
@keyframes floatAnim {
    0% {
        transform: translateY(0px) rotate(-1deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
        /* Naik 15px dan sedikit miring sebaliknya */
    }

    100% {
        transform: translateY(0px) rotate(-1deg);
    }
}

/* Optimasi pada Overlay agar lebih halus */
.top-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    /* Sedikit lebih tinggi */
    background: linear-gradient(to bottom,
            rgba(166, 139, 109, 0.2) 0%,
            rgba(253, 250, 247, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Efek transisi halus saat tombol dihover */
.btn-open:hover {
    background-color: #8d745b;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(166, 139, 109, 0.5);
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }
}

.opening-section {
    position: relative;
    background-color: #fdfaf7;
    background-image: radial-gradient(circle, rgba(210, 180, 140, 0.2) 0%, transparent 80%);
    padding: 0 !important;
    /* Foto memenuhi sisi atas */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* overflow: hidden; */
}

/* Container Foto Utama */
.main-photo-wrapper {
    width: 100%;
    height: 60vh;
    /* Mengambil 60% tinggi layar */
    position: relative;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

/* Wrapper Teks */
.text-content {
    padding: 40px 20px;
    z-index: 5;
    text-align: center;
    margin-top: -30px;
    /* Menarik teks sedikit ke atas foto yang fade */
}

.opening-title {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #8d745b;
    margin-bottom: 5px;
}

.couple-names-large {
    font-family: 'Georgia', serif;
    font-size: 3rem;
    color: #5a4b41;
    margin-bottom: 20px;
}

/* Box Tanggal dengan Garis */
.date-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.line {
    width: 40px;
    border: 0;
    border-top: 1px solid #a68b6d;
}

.wedding-date {
    font-weight: 600;
    font-size: 1.1rem;
    color: #8d745b;
}

.opening-quote {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 80%;
    margin: 0 auto;
    font-style: italic;
    color: #7a6a5e;
}

/* Responsif untuk Mobile */
@media (max-width: 480px) {
    .couple-names-large {
        font-size: 2.5rem;
    }

    .main-photo-wrapper {
        height: 50vh;
    }
}


/* --- 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.2rem;
    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 --- */


/* Responsive */
@media (max-width: 768px) {
    .surah-title {
        font-size: 1.8rem;
    }

    .quote-text {
        font-size: 1rem;
    }

    .polaroid-frame img {
        max-width: 260px;
        height: 300px;
    }
}

/* --- SECTION BRIDE & GROOM --- */
.couple-section {
    position: relative;
    background-color: #fdfaf7;
    padding: 100px 20px !important;
    color: #5a4b41;
    text-align: center;
}

.couple-container {
    max-width: 600px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

.couple-header {
    margin-bottom: 50px;
}

.salam {
    font-weight: 600;
    margin-bottom: 15px;
    color: #8d745b;
}

.opening-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #7a6a5e;
}

/* Bingkai Foto Melengkung (Arch) */
.arch-frame {
    width: 200px;
    height: 280px;
    margin: 0 auto 20px auto;
    border-radius: 100px 100px 10px 10px;
    /* Bentuk Kubah/Arch */
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(141, 116, 91, 0.15);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bride-name,
.groom-name {
    font-family: 'Georgia', serif;
    font-size: 2.2rem;
    color: #8d745b;
    margin-bottom: 10px;
}

.parent-info {
    font-size: 0.85rem;
    color: #7a6a5e;
    margin-bottom: 20px;
}

.ampersand {
    font-family: 'Georgia', serif;
    font-size: 2.5rem;
    font-style: italic;
    color: #a68b6d;
    margin: 20px 0 40px 0;
}

/* Dekorasi Daun - Menyesuaikan posisi agar tidak menumpuk teks */
.couple-section .decor-leaf {
    width: 120px;
    opacity: 0.5;
}

/* Responsif untuk Mobile */
@media (max-width: 480px) {
    .arch-frame {
        width: 160px;
        height: 230px;
    }

    .bride-name,
    .groom-name {
        font-size: 1.8rem;
    }
}

/* Styling Link Instagram */
.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    background-color: transparent;
    border: 1px solid #a68b6d;
    color: #8d745b;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: -10px;
    /* Merapatkan dengan info orang tua */
    margin-bottom: 20px;
}

.instagram-link i {
    font-size: 1rem;
}

.instagram-link:hover {
    background-color: #a68b6d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(166, 139, 109, 0.2);
}

/* Penyesuaian jarak ampersand agar tidak terlalu dekat dengan tombol IG */
.ampersand {
    margin: 40px 0;
}

.wave-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 4;
    pointer-events: none;
}

.wave-container svg {
    display: block;
    width: 100%;
    height: 100px;
    /* Sedikit lebih tinggi untuk efek bertumpuk */
}

/* Styling Profile Wrapper */
.couple-profile {
    position: relative;
    padding-top: 20px;
    z-index: 5;
}

/* Styling Bunga Latar */
.bg-flower {
    position: absolute;
    top: -40px;
    /* Atur posisi vertikal bunga */
    left: 50%;
    transform: translateX(-50%);
    width: 360px;
    /* Sesuaikan ukuran bunga */
    height: auto;
    opacity: 0.3;
    /* Transparansi agar tidak terlalu mencolok */
    z-index: -1;
    /* Pastikan berada di belakang foto */
    pointer-events: none;
}

/* Opsional: Rotasi bunga untuk mempelai pria agar tidak monoton */
.flower-pria {
    transform: translateX(-50%) rotate(180deg);
    opacity: 0.25;
}

/* Pastikan arch-frame tetap di atas */
.arch-frame {
    position: relative;
    z-index: 6;
    /* Di atas bg-flower */
    width: 200px;
    height: 280px;
    margin: 0 auto 20px auto;
    border-radius: 100px 100px 10px 10px;
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 10px 25px rgba(141, 116, 91, 0.15);
}

.bg-flower-2 {
    position: absolute;
    top: 260px;
    left: 62px;
    /* Atur posisi vertikal bunga */
    transform: translateX(-50%);
    width: 220px;
    /* Sesuaikan ukuran bunga */
    height: auto;
    opacity: 0.8;
    /* Transparansi agar tidak terlalu mencolok */
    z-index: 10;
    /* Pastikan berada di belakang foto */
    pointer-events: none;
}

.bg-flower-3 {
    position: absolute;
    top: -10px;
    left: 13px;
    /* Atur posisi vertikal bunga */
    transform: translateX(-50%);
    width: 220px;
    /* Sesuaikan ukuran bunga */
    height: auto;
    opacity: 0.8;
    /* Transparansi agar tidak terlalu mencolok */
    z-index: 10;
    /* Pastikan berada di belakang foto */
    pointer-events: none;
}

.bg-flower-4 {
    position: absolute;
    right: -158px;
    bottom: -10px;
    /* Atur posisi vertikal bunga */
    transform: translateX(-50%);
    width: 220px;
    /* Sesuaikan ukuran bunga */
    height: auto;
    opacity: 0.8;
    /* Transparansi agar tidak terlalu mencolok */
    z-index: 10;
    /* Pastikan berada di belakang foto */
    pointer-events: none;
}

/* Responsif Mobile */
@media (max-width: 480px) {
    .bg-flower {
        width: 360px;
        top: -20px;
    }

    .bg-flower-2 {
        width: 210px;
        top: 260px;
        left: 62px;
    }

    .bg-flower-3 {
        width: 210px;
        top: -10px;
        left: 13px;
    }

    .bg-flower-4 {
        width: 210px;
        right: -158px;
        bottom: -10px;
    }
}

/* Base style untuk semua layer */
.wave-layer {
    fill: #f1ece7;
    /* Warna utama Anda */
}

/* Pengaturan opasitas bertumpuk */
.wave-back {
    fill-opacity: 0.2;
    /* Sangat transparan */
}

.wave-mid {
    fill-opacity: 0.4;
    /* Sedang */
}

.wave-front {
    fill-opacity: 0.7;
    /* Paling pekat di depan */
}

/* Pastikan section memiliki padding agar konten tidak tertutup */
.section {
    position: relative;
    padding-bottom: 120px !important;
}

/* --- SECTION SAVE THE DATE --- */
.save-the-date {
    background-color: #ffffff;
    /* Latar belakang putih bersih */
    color: #5a4b41;
    /* Teks cokelat gelap agar terbaca jelas */
    position: relative;
    padding: 140px 20px 100px 20px !important;
    text-align: center;
    overflow: hidden;
}

/* Gelombang Atas */
.wave-container-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-container-top svg {
    height: 80px;
    width: 100%;
    display: block;
    fill: #fdfaf7;
    /* Warna krem dari section sebelumnya */
}

/* Konten Teks */
.save-date-content {
    position: relative;
    z-index: 5;
}

.std-top-text {
    /* font-family: 'Great Vibes', cursive; */
    /* Gunakan font kursif */
    font-size: 1.5rem;
    color: #a68b6d;
    margin-bottom: -10px;
}

.std-title {
    font-family: 'Georgia', serif;
    font-size: 2.3rem;
    letter-spacing: 5px;
    margin-bottom: 40px;
}

.std-day {
    letter-spacing: 4px;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

.std-main-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.std-number {
    font-size: 4rem;
    font-weight: bold;
    line-height: 1;
}

.std-month-year {
    text-align: left;
    font-weight: 600;
    line-height: 1.2;
}

.std-line {
    width: 40px;
    height: 1.5px;
    background-color: #a68b6d;
}

/* Countdown */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(166, 139, 100, 0.3);
    border-radius: 8px;
    width: 70px;
    padding: 15px 0;
}

.countdown-item .num {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
}

.countdown-item .label {
    font-size: 0.7rem;
    color: #a68b6d;
}

.std-location {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-remind {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #a68b6d;
    color: #a68b6d;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.btn-remind:hover {
    background-color: #a68b6d;
    color: #2b1610;
}

/* --- SECTION EVENT (AKAD & RESEPSI) --- */
.event-section {
    background: url('../images/bg-event.png') no-repeat center center;
    position: relative;
    padding: 120px 20px !important;
    text-align: center;
    background-size: cover;
}

.event-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.event-card {
    background-color: #ffffff;
    border-radius: 30px;
    padding: 50px 30px;
    box-shadow: 0 10px 40px rgba(141, 116, 91, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(166, 139, 109, 0.2);
}

/* Dekorasi Bunga pada Kartu (Opsional jika ingin pakai decor-daun.png) */
.event-card::before {
    content: "";
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-image: url('../images/decor-daun.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
    transform: rotate(-15deg);
}

.event-title {
    /* font-family: 'Great Vibes', cursive; */
    font-size: 2.5rem;
    color: #8d745b;
    margin-bottom: 20px;
}

.event-day,
.event-month {
    font-weight: 600;
    letter-spacing: 2px;
    color: #a68b6d;
    font-size: 0.9rem;
}

.event-date {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    margin: 10px 0;
    color: #5a4b41;
}

.event-time {
    font-size: 0.95rem;
    font-weight: 500;
    color: #7a6a5e;
    margin-bottom: 25px;
}

.location-label {
    font-weight: 700;
    color: #8d745b;
    margin-bottom: 5px;
}

.location-detail {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #5a4b41;
    margin-bottom: 30px;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #a68b6d;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(166, 139, 109, 0.3);
}

.btn-maps:hover {
    background-color: #8d745b;
    transform: translateY(-3px);
}

/* Penyesuaian Wave Top agar sinkron */
.event-section .wave-container-top .wave-layer {
    fill: #ffffff;
    /* Mengambil warna section putih sebelumnya */
}

/* --- SECTION LOVE STORY (POLAROID STYLE) --- */
.story-section {
    background-color: #ffffff;
    position: relative;
    padding: 50px 20px 140px 20px !important;
    text-align: center;
    color: #5a4b41;
}

.story-container {
    max-width: 600px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

.story-main-title {
    /* font-family: 'Great Vibes', cursive; */
    font-size: 3rem;
    color: #8d745b;
    margin-bottom: 40px;
}

/* Image Wrapper with Artistic Frame */
.story-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto 50px auto;
}

.story-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.story-img-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #a68b6d;
    border-radius: 15px;
    z-index: 1;
}

/* Timeline Content */
.story-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.story-item {
    margin-bottom: 10px;
}

.story-date {
    display: inline-block;
    background-color: #fdfaf7;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    color: #a68b6d;
    font-size: 0.9rem;
    margin-bottom: 10px;
    border: 1px solid #e8e1da;
}

.story-title {
    font-family: 'Georgia', serif;
    font-size: 1.4rem;
    color: #8d745b;
    margin-bottom: 10px;
}

.story-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #7a6a5e;
    max-width: 80%;
    margin: 0 auto;
}

.story-divider {
    padding: 30px 0;
    color: #e8e1da;
    position: relative;
}

.story-divider::before,
.story-divider::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 1px;
    height: 25px;
    background-color: #e8e1da;
}

.story-divider::before {
    top: 0;
}

.story-divider::after {
    bottom: 0;
}

.story-divider i {
    font-size: 0.8rem;
    color: #a68b6d;
}

/* Wave adjustment */
.story-section .wave-container-top .wave-layer {
    fill: #fdfaf7;
    /* Warna dari section Event sebelumnya */
}

/* --- SECTION GALLERY MODERN --- */
.gallery-section {
    background-color: #fdfaf7;
    /* Kembali ke krem terang agar Galeri menonjol */
    padding: 50px 20px 0 20px;
    color: #210404;
}

.gallery-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Header Styling */
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.our-memories {
    font-family: 'Beau Rivage', cursive;
    font-size: 2rem;
    color: #dfa164;
    margin-bottom: -15px;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
}

/* Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    /* Sudut membulat halus */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Variasi Ukuran Grid */
.gallery-item.large {
    grid-row: span 2;
}

.gallery-item.vertical {
    grid-row: span 2;
}

.gallery-item.horizontal {
    grid-column: span 2;
}

/* Footer Initial */
.gallery-footer {
    margin-top: 60px;
    text-align: center;
    /* border-top: 1px solid rgba(0, 0, 0, 0.05); */
    /* padding-top: 40px; */
}

.footer-initial {
    font-family: 'Playfair Display', serif;
    font-size: 8rem;
    line-height: 0.8;
    letter-spacing: -5px;
    opacity: 0.1;
    /* Transparan halus seperti watermark */
}

/* Responsive Mobile */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .gallery-title {
        font-size: 3.5rem;
    }
}

/* Styling Lightbox */
.lightbox {
    display: none;
    /* Sembunyi secara default */
    position: fixed;
    z-index: 9999;
    /* Pastikan di atas segalanya */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Latar belakang hitam transparan */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 8px;
    /* Sudut membulat halus */
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease;
}

.close-lightbox {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: #c5a059;
    /* Warna emas saat hover */
}

/* Animasi membesar */
@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- SECTION WEDDING GIFT --- */
.gift-section {
    background-color: #fdfaf7;
    /* Kembali ke warna krem lembut */
    position: relative;
    padding: 140px 20px 100px 20px !important;
    text-align: center;
    color: #5a4b41;
}

.gift-container {
    max-width: 500px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

.gift-title {
    /* font-family: 'Great Vibes', cursive; */
    font-size: 3rem;
    color: #8d745b;
    margin-bottom: 20px;
}

.gift-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #7a6a5e;
    margin-bottom: 40px;
    padding: 0 10px;
}

.gift-card {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(141, 116, 91, 0.08);
    border: 1px solid rgba(166, 139, 109, 0.15);
    margin-bottom: 25px;
}

.bank-item {
    padding: 10px 0;
}

.bank-name {
    font-weight: 700;
    color: #8d745b;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.account-number {
    font-size: 1.2rem;
    font-weight: 600;
    color: #5a4b41;
    margin-bottom: 5px;
}

.account-name {
    font-size: 0.9rem;
    color: #7a6a5e;
    margin-bottom: 15px;
}

.divider-gift {
    height: 1px;
    background: radial-gradient(circle, #e8e1da 0%, transparent 100%);
    margin: 20px 0;
}

.btn-copy {
    background-color: transparent;
    border: 1px solid #a68b6d;
    color: #8d745b;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background-color: #a68b6d;
    color: #ffffff;
}

/* Transisi Gelombang Atas */
.gift-section .wave-container-top .wave-layer {
    fill: #ffffff;
    /* Warna dari section Story sebelumnya */
}

/* Ikon Utama di Atas Judul */
.gift-main-icon {
    font-size: 2.5rem;
    color: #a68b6d;
    margin-bottom: 10px;
    opacity: 0.8;
}

/* Container Judul */
.gift-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
}

/* Header Alamat Kado */
.address-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.address-header i {
    font-size: 1.2rem;
    color: #8d745b;
}

/* Sedikit Animasi Halus pada Ikon */
.gift-main-icon {
    animation: pulseGift 2s infinite ease-in-out;
}

@keyframes pulseGift {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* --- SECTION RSVP --- */
.rsvp-section {
    background-color: #fdfaf7;
    /* Latar krem terang */
    padding: 0px 20px 80px 20px;
    text-align: center;
    color: #8d745b;
}

.rsvp-container {
    max-width: 500px;
    margin: 0 auto;
}

/* Header Wishes */
.give-best {
    font-family: 'Beau Rivage', cursive;
    font-size: 1.8rem;
    color: #e6b686;
    margin-bottom: -15px;
}

.big-wish-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1;
}

.for-groom-bride {
    font-size: 1.1rem;
    color: #ecc59f;
    margin-top: 5px;
    margin-bottom: 40px;
}

/* Wishes List (Kartu Maroon) */
.wish-list {
    margin-bottom: 50px;
    max-height: 400px;
    overflow-y: auto;
    /* Agar bisa di-scroll jika banyak */
    padding-right: 5px;
}

.wish-item {
    background-color: #8d745b;
    /* Maroon gelap sesuai gambar */
    /* color: #ffffff; */
    padding: 25px;
    border-radius: 4px;
    text-align: left;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.wish-sender {
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
}

.wish-location {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 10px;
}

.wish-text {
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* RSVP Form */
.input-group {
    margin-bottom: 15px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #8d745b1c;
    /* Warna input abu-abu krem sesuai gambar */
    border: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: #ba6000;
    border-radius: 4px;
}

.btn-rsvp-send {
    width: 100%;
    padding: 15px;
    background-color: #8d745b;
    color: white;
    border: none;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-rsvp-send:hover {
    background-color: #a52a2a;
}

/* --- SECTION PENUTUP --- */
/* --- ANIMASI CLOSING SECTION --- */



/* --- SECTION CLOSING MODERN --- */
.closing-section {
    background-color: #ffffff;
    position: relative;
    padding: 100px 20px 40px 20px !important;
    text-align: center;
    color: #5a4b41;
}

.closing-container {
    max-width: 600px;
    margin: 0 auto;
    z-index: 5;
    position: relative;
}

.closing-statement {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #7a6a5e;
    margin-bottom: 20px;
    font-style: italic;
}

.closing-salam {
    font-weight: 600;
    color: #8d745b;
    margin-bottom: 40px;
}

.closing-names {
    margin-bottom: 50px;
}

.bride-name-last {
    /* font-family: 'Great Vibes', cursive; */
    font-size: 3.5rem;
    color: #8d745b;
    margin-bottom: 5px;
}

.hashtag {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #a68b6d;
    font-weight: 500;
}

/* Foto Penutup Artistik */
.closing-photo-wrapper {
    width: 100%;
    max-width: 280px;
    margin: 0 auto 60px auto;
    position: relative;
    /* Masking untuk efek fade out di bawah */
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.closing-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Credits Styling */
.credits {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1ece7;
    font-size: 0.8rem;
    color: #b5a496;
}

.credits i {
    color: #e27d7d;
    /* Warna merah hati yang lembut */
    margin: 0 3px;
}

/* Penyesuaian Gelombang Atas */
.closing-section .wave-container-top .wave-layer {
    fill: #fdfaf7;
    /* Warna krem dari section Gift sebelumnya */
}

/* Responsive penyesuaian */
@media (max-width: 480px) {
    .thank-you-text {
        font-size: 4rem;
    }

    .closing-bride-name {
        font-size: 2.8rem;
    }
}

/* Khusus untuk elemen story-card agar muncul dengan efek zoom halus */
.story-card.animate-hidden {
    transform: translateY(40px) scale(0.95);
    transition: all 1.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.story-card.animate-show {
    transform: translateY(0) scale(1);
    opacity: 1;
}


/* --- Animasi Gift: Fade Up & Blur --- */
.gift-container.animate-hidden {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(50px);
    transition: all 1.2s ease-out;
}

.gift-container.animate-show {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}



.date-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Gradasi coklat muda */
    background: linear-gradient(to top, rgb(252 249 246) 0%, rgb(253 251 248) 50% 30%, rgb(0 0 0 / 0%) 70%, rgb(0 0 0 / 4%) 100%);
    color: white;
}

/* Sembunyikan elemen sebelum scroll */
.reveal {
    opacity: 0;
    transition: all 0.8s ease;
}


/* Foto & Teks menggunakan animasi yang Anda miliki */
.main-photo-wrapper.active {
    animation: fadeInScale 1.5s forwards;
}

.text-content .reveal.active {
    animation: slideInUp 1s forwards;
}

/* Menghubungkan delay yang Anda miliki ke animasi */
.active.delay-1 {
    animation-delay: 0.2s;
}

.active.delay-2 {
    animation-delay: 0.4s;
}

.active.delay-3 {
    animation-delay: 0.6s;
}

.active.delay-4 {
    animation-delay: 0.8s;
}

/* Keyframe tambahan untuk sisi kanan jika diperlukan */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Pastikan status awal transparan */
.couple-section .reveal {
    opacity: 0;
    transition: opacity 1s ease;
}

/* Perlu keyframe slideInRight */

/* Header & Teks Slide In Up */
.couple-section .couple-header.active,
.couple-section .parent-info.active,
.couple-section .instagram-link.active {
    animation: slideInUp 1s forwards;
}

/* Profil & Ampersand Fade In Scale */
.couple-section .couple-profile.active,
.couple-section .ampersand.active {
    animation: fadeInScale 1.2s forwards;
}

/* Bunga di belakang foto muncul perlahan */
.couple-section .bg-flower {
    opacity: 0;
    transition: opacity 2s ease;
}

.couple-section .couple-profile.active .bg-flower {
    opacity: 0.3;
}

/* Delay Management sesuai class yang Anda buat */
.delay-1.active {
    animation-delay: 0.2s;
}

.delay-2.active {
    animation-delay: 0.6s;
}

.delay-3.active {
    animation-delay: 0.9s;
}

.delay-4.active {
    animation-delay: 1s;
}

/* Container utama Save The Date */
.save-the-date .save-date-content {
    overflow: hidden;
}

/* Base state untuk elemen reveal di section ini */
.save-the-date .reveal {
    opacity: 0;
    transition: opacity 1s ease;
}

/* Judul dan Teks menggunakan slideInUp */
.save-the-date .std-top-text.active,
.save-the-date .std-title.active,
.save-the-date .std-day.active,
.save-the-date .std-main-date.active,
.save-the-date .std-location.active,
.save-the-date .btn-remind.active {
    animation: slideInUp 1s forwards;
}

/* Item Countdown menggunakan fadeInScale agar lebih pop-out */
.save-the-date .countdown-item.active {
    animation: fadeInScale 0.8s forwards;
}

/* Bunga latar muncul perlahan */
.save-the-date .bg-flower.active {
    animation: fadeInScale 2s forwards;
}

/* Delay (Menggunakan class delay yang sudah Anda buat) */
.save-the-date .delay-1.active {
    animation-delay: 0.2s;
}

.save-the-date .delay-2.active {
    animation-delay: 0.4s;
}

.save-the-date .delay-3.active {
    animation-delay: 0.6s;
}

.save-the-date .delay-4.active {
    animation-delay: 0.8s;
}

/* Pastikan container memiliki perspektif */
.event-section {
    perspective: 1000px;
}

/* Base state untuk kartu */
.event-card.reveal {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 0.8s ease;
}

/* Animasi saat aktif menggunakan keyframe yang Anda miliki */
.event-card.reveal.active {
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Atur Delay agar kartu muncul bergantian */
.event-card.active.delay-1 {
    animation-delay: 0.2s;
}

.event-card.active.delay-3 {
    animation-delay: 0.5s;
}

/* Base state untuk elemen di story-section */
.story-section .reveal {
    opacity: 0;
    transition: opacity 1s ease;
}

/* Animasi Foto Utama */
.story-section .story-image-wrapper.active {
    animation: fadeInScale 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animasi Butir Cerita */
.story-section .story-item.active {
    animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animasi Pembagi Hati */
.story-section .story-divider.active {
    animation: fadeInScale 0.8s forwards;
}

/* Animasi Bunga Latar */
.story-section .bg-flower-2.active {
    opacity: 0.7;
    /* Kembali ke opacity awal Anda */
    transition: opacity 2s ease;
}

/* Delay (Menggunakan class delay yang sudah ada) */
.story-section .delay-1.active {
    animation-delay: 0.3s;
}

.story-section .delay-2.active {
    animation-delay: 0.6s;
}

.story-section .delay-3.active {
    animation-delay: 0.9s;
}

/* Base state untuk item galeri */
.gallery-section .reveal {
    opacity: 0;
    transition: opacity 1s ease;
}

/* Judul muncul dari bawah */
.gallery-header.active {
    animation: slideInUp 1s forwards;
}

/* Foto galeri muncul dengan efek skala */
.gallery-item.active {
    animation: fadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Mengatur Delay agar foto muncul bergantian (menggunakan class yang sudah Anda buat) */
.gallery-section .delay-1.active {
    animation-delay: 0.2s;
}

.gallery-section .delay-2.active {
    animation-delay: 0.4s;
}

.gallery-section .delay-3.active {
    animation-delay: 0.6s;
}

/* Styling Grid Galeri agar rapi */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px 0;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Base state reveal untuk gift section */
.gift-section .reveal {
    opacity: 0;
    transition: opacity 1s ease;
}

/* Animasi header dan subtitle */
.gift-section .gift-header.active,
.gift-section .gift-subtitle.active {
    animation: slideInUp 1s forwards;
}

/* Animasi kartu gift menggunakan scale agar lebih pop-out */
.gift-section .gift-card.active {
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Delay staggered */
.gift-section .delay-1.active {
    animation-delay: 0.2s;
}

.gift-section .delay-2.active {
    animation-delay: 0.4s;
}

.gift-section .delay-3.active {
    animation-delay: 0.6s;
}

/* Base state reveal untuk RSVP section */
.rsvp-section .reveal {
    opacity: 0;
    transition: all 1s ease;
}

/* Animasi Header dan Daftar Ucapan */
.rsvp-section .wish-header.active,
.rsvp-section .wish-item.active {
    animation: slideInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Form RSVP menggunakan efek Scale agar menonjol */
.rsvp-section .rsvp-form-container.active {
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Pengaturan Staggered Delay */
.rsvp-section .delay-1.active {
    animation-delay: 0.2s;
}

.rsvp-section .delay-2.active {
    animation-delay: 0.4s;
}

.rsvp-section .delay-3.active {
    animation-delay: 0.6s;
}

.rsvp-section .delay-4.active {
    animation-delay: 0.8s;
}

/* Styling list ucapan agar rapi */
.wish-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 40px;
    padding-right: 10px;
}

.wish-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(141, 116, 91, 0.05);
    border-left: 4px solid #a68b6d;
}

/* Base state reveal untuk closing section */
.closing-section .reveal {
    opacity: 0;
    transition: all 1.2s ease;
}

/* Animasi Statement dan Salam */
.closing-section .closing-statement.active,
.closing-section .closing-salam.active,
.closing-section .credits.active {
    animation: slideInUp 1.2s forwards;
}

/* Animasi Nama Mempelai dan Hashtag */
.closing-section .closing-names.active {
    animation: fadeInScale 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animasi Foto Penutup - Dibuat lebih dramatis */
.closing-section .closing-photo-wrapper.active {
    animation: fadeInScale 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Delay Staggered */
.closing-section .delay-1.active {
    animation-delay: 0.2s;
}

.closing-section .delay-2.active {
    animation-delay: 0.5s;
}

.closing-section .delay-3.active {
    animation-delay: 0.8s;
}

.closing-section .delay-4.active {
    animation-delay: 1.2s;
}