@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%);
    }
}

@keyframes slideInUpAccent {
    from {
        opacity: 0;
        transform: translateY(50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Mengatur delay agar elemen muncul bergantian */

/* Variasi delay untuk elemen berurutan (stagger effect) */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */


/* 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%;
}

.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Reset & Base Font */
body,
html {

    font-family: 'Serif', 'Georgia', serif;
    color: #6d5d4b;
    background-color: #1a2a33;

}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
    /* Mencegah seluruh halaman scroll */
}

/* Class khusus untuk nama pengantin */

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
/* --- Sidebar Kiri (Desktop) --- */
.left-section {
    color: #ffffff;
    /* Mengganti ke putih agar lebih kontras di navy */
    flex: 1.4;
    background: url('images.jpeg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Konten di bawah sesuai gambar referensi */
    padding: 60px;
    position: relative;
    overflow: hidden;
}

/* Overlay Gradasi Biru Gelap (Vignette) */
.left-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradasi dari transparan ke biru gelap pekat sesuai tema Gift Section */
    background: linear-gradient(to top, rgba(10, 10, 46, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
    z-index: 1;
}

.left-content {
    position: relative;
    z-index: 2;
    text-align: left;
    /* Sesuai layout visual gambar */
    padding-bottom: 20px;
}

.left-content h2 {
    font-family: sans-serif;
    font-weight: 400;
    letter-spacing: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.left-content h1 {
    font-family: 'Playfair Display', serif;
    /* Font utama tema */
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 15px;
}

.left-content p {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: #bfa37e;
    /* Menggunakan aksen Gold/Bronze dari tema Save The Date */
}

/* Dekorasi Tambahan: Bunga di pojok bawah */
.left-section::after {
    content: "";
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    height: 250px;
    background: url('../images/blu-fllower.webp') no-repeat center center;
    background-size: contain;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

/* Ukuran font diperbesar agar Beau Rivage terlihat jelas */

/* --- BAGIAN Kanan (SCROLLABLE) --- */
.right-section {
    flex: 1;
    overflow-y: auto;
    /* background: url('blue-background.jpg') no-repeat center center;
            background-size: cover; */
    background-color: #ffffff;
    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); */
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }
}

/* first/ */
/* Container Utama */
.first-screen {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Memposisikan konten di bawah */
    align-items: center;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    /* Pastikan import font ini */
    text-align: center;
}

/* Background Image */
.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-position: center;
}

/* Gradasi Gelap (Vignette) */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    /* Menutupi area bawah ke tengah */
    background: linear-gradient(to top, rgb(16 26 60) 0%, rgb(0 49 132 / 0%) 100%);
}

/* Penataan Konten */
.content {
    margin-bottom: 5vh;
    /* Jarak dari bawah layar */
    z-index: 1;
    padding: 20px;
}

.sub-title {
    font-size: 0.9rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.3s;
}

.couple-names {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 400;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.6s;
}

.guest-section {
    margin-bottom: 30px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 0.9s;
}

.guest-section p {
    font-size: 1rem;
    font-style: italic;
}

.guest-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
}

/* Tombol Buka Undangan */
.btn-open {
    padding: 12px 40px;
    border-radius: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #1a1a1a;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease forwards 1.2s;
}

.btn-open:hover {
    transform: scale(1.05);
    background: #ffffff;
}

/* Keyframes Animasi */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Efek Bola Bergerak --- */

.circles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    /* Di atas hero-image, di bawah content */
}

.circle {
    position: absolute;
    background: rgba(255, 255, 255);
    /* Putih transparan */
    border-radius: 50%;
    filter: blur(3px);
    /* Membuat tepi bola lembut */
    animation: floating 15s infinite ease-in-out;
}

/* Ukuran dan posisi acak untuk masing-masing bola */
.c1 {
    width: 30px;
    height: 30px;
    top: 10%;
    left: 10%;
    animation-duration: 18s;
}

.c2 {
    width: 30px;
    height: 30px;
    top: 40%;
    right: 37px;
    animation-duration: 22s;
}

.c3 {
    width: 30px;
    height: 30px;
    bottom: 30%;
    left: 5%;
    animation-duration: 15s;
}

.c4 {
    width: 30px;
    height: 30px;
    bottom: 23%;
    right: 15%;
    animation-duration: 20s;
}

/* Keyframes untuk gerakan melayang */
@keyframes floating {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, 50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-10deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Pastikan konten tetap di atas bola */
.content {
    z-index: 2 !important;
}

.overlay {
    z-index: 1 !important;
}

/* opening */
.opening-section {
    position: relative;
    height: 100vh;
    background-color: #ffffff;
    /* Latar belakang putih bersih sesuai gambar */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

/* --- Dekorasi --- */
.deco {
    position: absolute;
    z-index: 5;
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
}

.bird-deco {
    width: 150px;
    top: -30px;
    right: -50px;
    /* Sembunyi di kanan */
}

.flower-bottom {
    width: 200px;
    bottom: -50px;
    right: -50px;
}

/* Saat reveal aktif */
.opening-section.reveal .bird-deco {
    opacity: 1;
    right: -20px;
    transform: rotate(-10deg);
}

.opening-section.reveal .flower-bottom {
    opacity: 1;
    bottom: 0;
    right: -40px;
}

/* --- Photo Frame --- */
/* --- Update Photo Frame --- */
.photo-frame {
    position: relative;
    width: 100%;
    /* Disesuaikan agar lebih luas untuk blending */
    max-width: 450px;
    height: auto;
    aspect-ratio: 3 / 4;
    margin: 0 auto 20px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 1.5s ease;

    /* Menghapus border-radius kaku agar foto menyatu luas */
    overflow: visible;

    /* Efek memudar di bagian bawah dan samping */
    -webkit-mask-image: linear-gradient(to bottom,
            black 60%,
            rgba(0, 0, 0, 0.5) 80%,
            transparent 100%);
    mask-image: linear-gradient(to bottom,
            black 60%,
            rgba(0, 0, 0, 0.5) 80%,
            transparent 100%);
}

.main-photo {
    width: 100%;
    height: 100%;
    background-position: center top;
    /* Memberikan sedikit filter agar tone warna masuk ke latar putih */
    filter: contrast(1.05) brightness(1.02);
}

/* Gradasi tambahan untuk memastikan transisi ke putih sempurna */
.photo-gradient {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top,
            #ffffff 10%,
            rgba(255, 255, 255, 0.5) 50%,
            transparent 100%);
    z-index: 2;
}

/* Memperbaiki posisi container agar teks tidak tertutup dekorasi */
.opening-container {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.opening-text {
    margin-top: -30px;
    /* Menarik teks ke atas agar menumpuk sedikit di area gradasi */
    text-align: left;
    width: 100%;
    color: #101a3c;
    padding: 0 30px;
    box-sizing: border-box;
}

.text-subtitle {
    font-family: sans-serif;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.text-couple {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.5s;
}

.line-separator {
    width: 50%;
    border: 0;
    border-top: 1px solid #d1d1d1;
    margin: 15px 0;
}

.text-date {
    font-weight: 600;
    margin-bottom: 20px;
}

.save-the-date-opening {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #1a2a4e;
    padding-bottom: 5px;
    cursor: pointer;
}

/* Animasi Teks saat Reveal */
.opening-section.reveal .text-couple {
    opacity: 1;
    transform: translateY(0);
}

/* --- State Awal (Tersembunyi) --- */

/* Section secara umum */
.opening-section {
    opacity: 1;
    /* Section tetap ada, tapi isinya kita sembunyikan */
}

/* Foto Utama dengan efek scale & fade */
.opening-section .photo-frame {
    opacity: 0;
    transform: scale(0.8) translateY(50px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Dekorasi Bunga & Burung (Muncul dari arah luar layar) */
.opening-section .bird-deco {
    opacity: 0;
    transform: translateX(100px) rotate(20deg);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
    /* Delay 0.5s */
}

.opening-section .flower-bottom {
    opacity: 0;
    transform: translate(50px, 50px);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
    /* Delay 0.3s */
}

/* Teks (Muncul berurutan dari bawah) */
.opening-section .text-subtitle,
.opening-section .text-couple,
.opening-section .line-separator,
.opening-section .text-date,
.opening-section .save-the-date {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

/* --- State Saat Reveal (Aktif) --- */

/* Pemicu dari IntersectionObserver */
.opening-section.reveal .photo-frame {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.opening-section.reveal .bird-deco {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
}

.opening-section.reveal .flower-bottom {
    opacity: 1;
    transform: translate(0, 0);
}

/* Animasi Teks Berurutan (Staggered) */
.opening-section.reveal .text-subtitle {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

.opening-section.reveal .text-couple {
    transition-delay: 0.8s;
    opacity: 1;
    transform: translateY(0);
}

.opening-section.reveal .line-separator {
    transition-delay: 1.0s;
    opacity: 1;
    transform: translateY(0);
}

.opening-section.reveal .text-date {
    transition-delay: 1.1s;
    opacity: 1;
    transform: translateY(0);
}

.opening-section.reveal .save-the-date {
    transition-delay: 1.3s;
    opacity: 1;
    transform: translateY(0);
}

/* quotes  */
/* --- Quotes Section Layout --- */
.quotes-section {
    min-height: 50vh;
    position: relative;
    padding: 100px 30px;
    background-color: #0a0a2e;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.quotes-container {
    max-width: 600px;
    width: 100%;
    position: relative;
}

/* --- Tipografi --- */
.quotes-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    /* Warna emas muda/bronze untuk aksen title */
    margin-bottom: 20px;
}

.quotes-line {
    width: 40px;
    height: 1px;
    background-color: #bfa37e;
    margin: 0 auto 30px;
}

.quotes-text {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.quotes-subtext {
    font-family: sans-serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #bfa37e;
}

/* --- State Awal Animasi (Hidden) --- */
.quotes-section .quotes-title,
.quotes-section .quotes-line,
.quotes-section .quotes-text,
.quotes-section .quotes-subtext {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* --- State Saat Reveal (Visible) --- */
.quotes-section.reveal .quotes-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.quotes-section.reveal .quotes-line {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
    width: 60px;
    /* Garis sedikit memanjang saat muncul */
}

.quotes-section.reveal .quotes-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.quotes-section.reveal .quotes-subtext {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

/* Dekorasi Tambahan (Opsional) */
.quotes-decor {
    position: absolute;
    width: 100px;
    height: 100px;
    opacity: 0.1;
    border: 1px solid #1a2a4e;
    border-radius: 50%;
    z-index: 0;
}

.quotes-decor.top {
    top: -20px;
    left: -20px;
}

.quotes-decor.bottom {
    bottom: -20px;
    right: -20px;
}

/* --- State Awal (Elemen Tersembunyi) --- */

/* Judul muncul dengan sedikit scale */
.quotes-section .quotes-title {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Garis pembatas melebar dari tengah */
.quotes-section .quotes-line {
    opacity: 0;
    width: 0;
    /* Mulai dari lebar 0 */
    transition: all 1s ease-out 0.4s;
}

/* Teks kutipan muncul dengan efek blur halus */
.quotes-section .quotes-text {
    opacity: 0;
    filter: blur(5px);
    transform: translateY(30px);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.6s;
}

/* Keterangan ayat/sumber muncul terakhir */
.quotes-section .quotes-subtext {
    opacity: 0;
    transform: translateY(10px);
    transition: all 1s ease-out 1s;
}

/* --- State Saat Reveal (Pemicu IntersectionObserver) --- */

.quotes-section.reveal .quotes-title {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.quotes-section.reveal .quotes-line {
    opacity: 1;
    width: 60px;
    /* Melebar ke ukuran tujuan */
}

.quotes-section.reveal .quotes-text {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.quotes-section.reveal .quotes-subtext {
    opacity: 1;
    transform: translateY(0);
}

/* couple/ */
/* --- Couple Section Layout --- */
/* =========================================
   COUPLE SECTION - FULL STYLES
   ========================================= */

.couple-section {
    position: relative;
    padding: 100px 20px;
    background-color: #ffffff;
    /* Latar belakang putih bersih */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.couple-container {
    margin: 0 auto;
    display: grid;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    z-index: 2;
}

.couple-card {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

/* --- Bingkai & Foto Mempelai --- */
.couple-photo-frame {
    position: relative;
    width: 260px;
    /* Sesuaikan ukuran dengan keinginan */
    height: 260px;
    /* Harus sama dengan width untuk lingkaran sempurna */
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.frame-decor {
    position: absolute;
    /* top: -10%; Memberi ruang agar bunga terlihat keluar sedikit */
    /* left: -10%; */
    width: 150%;
    /* Sedikit lebih besar dari container foto */
    height: 150%;
    z-index: 5;
    pointer-events: none;
    object-fit: contain;
    /* Animasi muncul */
    opacity: 0;
    transform: scale(1.1) rotate(-10deg);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s;
}

.couple-photo {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /* Membuat foto menjadi bulat sempurna */
    overflow: hidden;
    z-index: 1;
    background-size: cover;
    background-position: center;
    border: 5px solid #ffffff;
    /* Frame putih tipis di dalam bunga */
    box-shadow: 0 10px 25px rgba(26, 42, 78, 0.1);
}



/* Ganti dengan foto wanita */

.photo-mask {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.8), transparent);
    z-index: 2;
    border-radius: 0 0 130px 130px;
    /* Mengikuti lengkungan bawah */
}

/* --- Detail Informasi Mempelai --- */
.couple-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1a2a4e;
    /* Biru gelap mewah */
    margin-bottom: 8px;
}

.full-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.family-info,
.parent-names {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.ig-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    text-decoration: none;
    color: #1a2a4e;
    font-size: 0.9rem;
    border: 1px solid #1a2a4e;
    padding: 6px 18px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.ig-link:hover {
    background: #1a2a4e;
    color: #ffffff;
}

.couple-divider {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #bfa37e;
    /* Aksen Gold/Bronze */
    opacity: 0;
    transform: scale(0.5);
    transition: all 1s ease 0.6s;
}

/* =========================================
   ANIMASI ON-SCROLL (REVEAL)
   ========================================= */

/* State awal sembunyi */
.couple-card.groom {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.couple-card.bride {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* State muncul saat di-scroll */
.couple-section.reveal .couple-card.groom,
.couple-section.reveal .couple-card.bride {
    opacity: 1;
    transform: translateX(0);
}

.couple-section.reveal .frame-decor {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

.couple-section.reveal .couple-divider {
    opacity: 1;
    transform: scale(1);
}

/* --- Responsif Mobile --- */
@media (max-width: 768px) {
    .couple-container {
        flex-direction: column;
        gap: 60px;
    }

    .couple-divider {
        margin: -20px 0;
        transform: rotate(90deg) scale(0.5);
        /* Simbol & miring di mobile */
    }

    .couple-section.reveal .couple-divider {
        transform: rotate(0deg) scale(1);
    }
}

/* save-date/ */
/* --- Save The Date Layout --- */
.save-the-date {
    position: relative;
    padding: 120px 20px;
    min-height: 70vh;
    background-color: #f9fbfd;
    /* Putih sedikit kebiruan agar aset bunga menyatu */
    overflow: hidden;
    text-align: center;
}

.std-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* --- Tipografi & Elemen Visual --- */
.std-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a2a4e;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.std-divider {
    width: 60px;
    height: 2px;
    background-color: #bfa37e;
    /* Aksen Gold */
    margin: 0 auto 25px;
}

.std-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

/* --- Countdown Styling --- */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.countdown-item {
    background: #ffffff;
    width: 80px;
    padding: 15px 5px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(26, 42, 78, 0.08);
    border: 1px solid rgba(26, 42, 78, 0.05);
}

.countdown-item .number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2a4e;
}

.countdown-item .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #bfa37e;
}

/* --- Dekorasi Aset --- */
.std-decor {
    position: absolute;
    opacity: 0.2;
    z-index: 1;
    transition: all 1.5s ease;
}

.top-right {
    width: 200px;
    top: -40px;
    right: -50px;
    transform: rotate(15deg);
}

.bottom-left {
    width: 180px;
    bottom: -40px;
    left: -50px;
}

/* --- Button --- */
.btn-calendar {
    display: inline-block;
    padding: 12px 30px;
    background: #1a2a4e;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: 0.3s;
}

.btn-calendar:hover {
    background: #bfa37e;
    transform: translateY(-3px);
}

/* --- Animasi On-Scroll (Reveal) --- */
.save-the-date .std-content {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.save-the-date.reveal .std-content {
    opacity: 1;
    transform: translateY(0);
}

/* Animasi Staggered untuk Kotak Countdown */
.save-the-date.reveal .countdown-item {
    animation: bounceIn 0.8s both;
}

.save-the-date.reveal .countdown-item:nth-child(1) {
    animation-delay: 0.3s;
}

.save-the-date.reveal .countdown-item:nth-child(2) {
    animation-delay: 0.5s;
}

.save-the-date.reveal .countdown-item:nth-child(3) {
    animation-delay: 0.7s;
}

.save-the-date.reveal .countdown-item:nth-child(4) {
    animation-delay: 0.9s;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* event/ */
/* --- Event Section Layout --- */
.event-section {
    position: relative;
    padding: 100px 20px;
    background-color: #ffffff;
    overflow: hidden;
    text-align: center;
}

.event-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.event-header {
    margin-bottom: 50px;
}

.event-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a2a4e;
    margin-bottom: 15px;
}

.event-divider {
    width: 60px;
    height: 2px;
    background-color: #bfa37e;
    /* Aksen Gold */
    margin: 0 auto;
}

/* --- Penyesuaian Card Modern --- */
.event-card-modern {
    display: flex;
    background: #fff;
    min-width: 320px;
    max-width: 400px;
    border: 1px solid #ddd;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    /* Sudut lebih tajam sesuai referensi gambar */
    overflow: hidden;
    text-align: left;
    margin-bottom: 30px;
}

/* Sisi Berwarna (Navy/Blue Gradient) */
.card-side-label {
    background: linear-gradient(to bottom, #43507a, #1a2a4e);
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.card-side-label span {
    transform: rotate(-90deg);
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    white-space: nowrap;
    text-transform: capitalize;
}

/* Konten Utama (Putih) */
.card-main-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.date-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.big-date {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: #1a2a4e;
}

.date-meta p {
    margin: 0;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
}

.card-divider {
    border: 0;
    border-top: 2px solid #bfa37e;
    /* Aksen Gold sesuai tema sebelumnya */
    width: 100%;
    margin: 15px 0;
}

.event-time {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.loc-title {
    font-size: 1.2rem;
    color: #1a2a4e;
    margin-bottom: 15px;
}

.loc-name {
    font-weight: 700;
    margin-bottom: 5px;
}

.loc-detail {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.4;
    margin-bottom: 25px;
}

/* Tombol Lokasi */
.btn-location {
    display: inline-block;
    padding: 10px 20px;
    background: #1a2a4e;
    background: linear-gradient(135deg, #1a2a4e, #43507a);
    color: #fff;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    text-align: center;
    transition: 0.3s;
    align-self: flex-start;
}

.btn-location:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

/* Animasi On-Scroll (Reveal) */
.event-card-modern {
    opacity: 0;
    transition: all 1s ease-out;
}

.event-card-modern.akad {
    transform: translateX(-30px);
}

.event-card-modern.resepsi {
    transform: translateX(30px);
}

.event-section.reveal .event-card-modern {
    opacity: 1;
    transform: translateX(0);
}

/* --- Dekorasi --- */
.event-decor {
    position: absolute;
    width: 200px;
    opacity: 0.15;
    z-index: 1;
}

.top-left {
    top: -50px;
    left: -50px;
    transform: rotate(-15deg);
}

.bottom-right {
    bottom: -50px;
    right: -50px;
    transform: rotate(165deg);
}

/* --- Animasi On-Scroll (Reveal) --- */
.event-card {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.event-card.akad {
    transform: translateX(-50px);
}

.event-card.resepsi {
    transform: translateX(50px);
}

.event-section.reveal .event-card {
    opacity: 1;
    transform: translateX(0);
}

.event-section.reveal .event-card.resepsi {
    transition-delay: 0.3s;
}

/* story/ */
/* --- Story Section Layout --- */
.story-section {
    padding: 100px 20px;
    background-color: #fcfcfc;
    overflow: hidden;
    position: relative;
}

.story-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.story-header {
    text-align: center;
    margin-bottom: 60px;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a2a4e;
    margin-bottom: 10px;
}

.story-divider {
    width: 60px;
    height: 2px;
    background-color: #bfa37e;
    margin: 0 auto;
}

/* --- Timeline Styling --- */
.story-timeline {
    position: relative;
    padding-left: 20px;
}

/* Garis Timeline Tengah (Opsional) */
.story-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(26, 42, 78, 0.1);
}

.story-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

/* Titik di Timeline */
.story-item::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 20px;
    width: 11px;
    height: 11px;
    background: #bfa37e;
    border-radius: 50%;
    z-index: 2;
}

.story-card {
    background: #fff;
    padding: 30px;
    border-radius: 80px 80px 20px 20px;
    /* Bentuk Arch khas tema ini */
    box-shadow: 0 10px 30px rgba(26, 42, 78, 0.05);
    border: 1px solid rgba(26, 42, 78, 0.05);
    transition: all 0.3s ease;
}

.story-date {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #bfa37e;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.story-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a2a4e;
    margin-bottom: 15px;
}

.story-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* --- Dekorasi --- */
.story-decor.bird {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 120px;
    opacity: 0.2;
    transform: rotate(-15deg);
}

/* --- Animasi On-Scroll (Reveal) --- */
.story-item {
    opacity: 0;
    transform: translateX(30px);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Memberikan delay staggered agar muncul satu per satu */
.story-section.reveal .story-item:nth-child(1) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateX(0);
}

.story-section.reveal .story-item:nth-child(2) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateX(0);
}

.story-section.reveal .story-item:nth-child(3) {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateX(0);
}

/* --- Tambahan untuk Foto Cerita --- */
.story-img-wrapper {
    width: 100%;
    height: 250px;
    /* Sesuaikan tinggi foto */
    margin-bottom: 20px;
    border-radius: 60px 60px 15px 15px;
    /* Bentuk arch mini */
    overflow: hidden;
    position: relative;
}

.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card:hover .story-img {
    transform: scale(1.1);
    /* Efek zoom saat kartu di-hover */
}

/* Menambahkan gradasi halus pada foto agar teks di bawahnya lebih fokus */
.story-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.2), transparent);
}

/* Responsif untuk Mobile */
@media (max-width: 480px) {
    .story-img-wrapper {
        /* height: 150px; */
    }
}

/* gallery/ */
/* --- Gallery Section Layout --- */
.gallery-section {
    padding: 100px 20px;
    background-color: #fcfcfc;
    overflow: hidden;
    position: relative;
    text-align: center;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.gallery-header {
    margin-bottom: 60px;
}

.gallery-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a2a4e;
    margin-bottom: 10px;
}

.gallery-divider {
    width: 60px;
    height: 2px;
    background-color: #bfa37e;
    margin: 0 auto;
}

/* --- Grid Galeri --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 kolom di mobile */
    grid-auto-rows: 150px;
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #eee;
    cursor: pointer;
}

.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);
}

.overlay-plus {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(128, 36, 50, 0.3);
    /* Maroon Transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay-plus i {
    color: white;
    font-size: 1.5rem;
}

.gallery-item:hover .overlay-plus {
    opacity: 1;
}

/* Variasi Ukuran Grid */
.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item.wide {
    grid-column: span 2;
}

/* Animasi Reveal */
.gallery-item {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.17, 0.67, 0.83, 0.67);
}

.gallery-section.reveal .gallery-item {
    opacity: 1;
    transform: scale(1);
}

/* Memberikan delay bertahap untuk tiap item */
.gallery-section.reveal .gallery-item:nth-child(2) {
    transition-delay: 0.1s;
}

.gallery-section.reveal .gallery-item:nth-child(3) {
    transition-delay: 0.2s;
}

.gallery-section.reveal .gallery-item:nth-child(4) {
    transition-delay: 0.3s;
}

/* Responsive untuk Desktop */
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        gap: 20px;
    }
}

/* --- Dekorasi --- */
.gallery-decor.bottom-right {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    opacity: 0.2;
    transform: rotate(15deg);
    z-index: 1;
}

/* --- Animasi On-Scroll (Reveal) --- */
.gallery-item {
    opacity: 0;
    transform: scale(0.9);
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Delay staggered untuk setiap item */
.gallery-section.reveal .gallery-item:nth-child(1) {
    transition-delay: 0.1s;
    opacity: 1;
    transform: scale(1);
}

.gallery-section.reveal .gallery-item:nth-child(2) {
    transition-delay: 0.2s;
    opacity: 1;
    transform: scale(1);
}

.gallery-section.reveal .gallery-item:nth-child(3) {
    transition-delay: 0.3s;
    opacity: 1;
    transform: scale(1);
}

.gallery-section.reveal .gallery-item:nth-child(4) {
    transition-delay: 0.4s;
    opacity: 1;
    transform: scale(1);
}

.gallery-section.reveal .gallery-item:nth-child(5) {
    transition-delay: 0.5s;
    opacity: 1;
    transform: scale(1);
}

.gallery-section.reveal .gallery-item:nth-child(6) {
    transition-delay: 0.6s;
    opacity: 1;
    transform: scale(1);
}

/* --- Media Queries untuk Layout Grid yang Adaptif --- */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* Satu kolom untuk mobile sangat kecil */
        gap: 15px;
    }
}

/* gift/ */
/* --- Gift Section Styling --- */
.gift-section {
    padding: 100px 20px;
    background-color: #0a0a2e;
    /* Biru gelap pekat sesuai gambar */
    color: #ffffff;
    min-height: 50vh;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gift-container {
    max-width: 600px;
    margin: 0 auto;
    z-index: 2;
    position: relative;
}

.gift-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.gift-subtitle {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* --- Toggle Button --- */
.btn-toggle-gift {
    background-color: #e0f2ff;
    color: #0a0a2e;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    margin-bottom: 40px;
}

.btn-toggle-gift:hover {
    background-color: #ffffff;
    transform: translateY(-3px);
}

/* --- Gift Card Logic (Collapse) --- */
.gift-card-wrapper {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.gift-card-wrapper.open {
    max-height: 1500px;
    /* Nilai besar agar bisa menampung semua kartu */
    padding: 20px 0;
}

/* --- Bank Card Styling --- */
.bank-card {
    background: #ffffff;
    color: #333;
    min-height: 21vh;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    text-align: left;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-image: radial-gradient(circle at top right, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
}

.bank-logo img {
    height: 35px;
    float: right;
    margin-bottom: 20px;
}

.card-number {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 15px 0 5px;
}

.card-holder {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 15px;
}

.btn-copy {
    background: #f0f0f0;
    border: none;
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-copy:hover {
    background: #ddd;
}

/* Address Card Specific */
.address-card {
    text-align: center;
}

.gift-icon {
    font-size: 2rem;
    color: #0a0a2e;
    margin-bottom: 10px;
}

.address-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.address-detail p {
    margin: 5px 0;
    font-size: 0.9rem;
}

/* --- Dekorasi & Animasi On-Scroll --- */
.gift-decor-bird {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 150px;
    opacity: 0.3;
    z-index: 1;
}

.gift-section .gift-header {
    opacity: 0;
    transform: translateY(30px);
    transition: 1s ease;
}

.gift-section.reveal .gift-header {
    opacity: 1;
    transform: translateY(0);
}

/* rsvp/ */
/* --- RSVP Section Styling --- */
.rsvp-section {
    padding: 100px 20px;
    background-color: #f4f7f9;
    /* Latar belakang abu-abu sangat muda */
    position: relative;
    overflow: hidden;
}

.rsvp-container {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.rsvp-header {
    text-align: center;
    margin-bottom: 40px;
}

.rsvp-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #1a2a4e;
    margin-bottom: 10px;
}

.rsvp-subtitle {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* --- Form RSVP Styling --- */
.rsvp-form-wrapper {
    background: #ffffff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(26, 42, 78, 0.05);
    margin-bottom: 50px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 15px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fcfcfc;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a2a4e;
    background: #fff;
}

.btn-rsvp {
    width: 100%;
    padding: 15px;
    background: #1a2a4e;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    letter-spacing: 1px;
}

.btn-rsvp:hover {
    background: #bfa37e;
    /* Aksen Gold */
    transform: translateY(-3px);
}

/* --- Wishes List Styling --- */
.wishes-display {
    text-align: left;
}

.wishes-count {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #1a2a4e;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.wishes-box {
    max-height: 400px;
    overflow-y: auto;
    /* Scrollable list */
    padding-right: 10px;
}

/* Custom Scrollbar */
.wishes-box::-webkit-scrollbar {
    width: 5px;
}

.wishes-box::-webkit-scrollbar-thumb {
    background: #1a2a4e;
    border-radius: 10px;
}

.wish-item {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.wish-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.wish-name {
    font-weight: 700;
    color: #1a2a4e;
}

.wish-status {
    font-size: 0.75rem;
    background: #eef2f7;
    padding: 2px 10px;
    border-radius: 10px;
    color: #666;
}

.wish-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    font-style: italic;
}

/* --- Dekorasi & Animasi --- */
.rsvp-decor {
    position: absolute;
    opacity: 0.2;
    z-index: 1;
}

.flower-left {
    width: 250px;
    top: -50px;
    left: -150px;
    transform: rotate(-20deg);
}

.bird-right {
    width: 150px;
    bottom: 20px;
    right: -50px;
}

.rsvp-section .rsvp-form-wrapper {
    opacity: 0;
    transform: translateY(50px);
    transition: 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.rsvp-section.reveal .rsvp-form-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* closing/ */
/* --- Closing Section Styling --- */
.closing-section {
    padding: 100px 20px 60px;
    background-color: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.closing-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.closing-msg {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.closing-thanks {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #1a2a4e;
    margin-bottom: 40px;
}

/* Foto Penutup - Meniru gaya Opening agar menyatu dengan background */
.closing-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 500px;
    margin: 0 auto 40px;
    /* Efek memudar di bagian atas dan bawah */
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 20%,
            black 80%,
            transparent 100%);
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 20%,
            black 80%,
            transparent 100%);
}

.closing-photo {
    width: 100%;
    height: 100%;
    background-position: center;
    filter: brightness(1.02);
}

.closing-couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: #1a2a4e;
    margin-bottom: 5px;
}

.closing-hashtag {
    font-size: 1rem;
    color: #bfa37e;
    /* Aksen Gold */
    font-weight: 600;
    letter-spacing: 2px;
}

/* Dekorasi */
.closing-decor-bird {
    position: absolute;
    top: 50%;
    left: -30px;
    width: 120px;
    opacity: 0.15;
    transform: translateY(-50%) rotate(15deg);
}

/* --- Footer Styling --- */
.main-footer {
    padding: 30px 20px;
    background: #f9fbfd;
    text-align: center;
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid #eee;
}

.main-footer i {
    color: #e74c3c;
    /* Warna hati merah */
    margin: 0 3px;
}

/* --- Animasi On-Scroll (Reveal) --- */
.closing-section .closing-text-wrapper,
.closing-section .closing-photo-wrapper,
.closing-section .closing-identity {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.closing-section.reveal .closing-text-wrapper {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.closing-section.reveal .closing-photo-wrapper {
    transition-delay: 0.5s;
    opacity: 1;
    transform: translateY(0);
}

.closing-section.reveal .closing-identity {
    transition-delay: 0.8s;
    opacity: 1;
    transform: translateY(0);
}