
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Animasi Pohon Melambai (Swaying) */
@keyframes sway {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(2deg);
    }

    /* Goyang sedikit ke kanan */
    100% {
        transform: rotate(0deg);
    }
}

/* Animasi Masuk Pohon Kanan 2 (Rotasi 346deg) */
@keyframes slideInTreeRight2 {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(346deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(346deg);
    }
}

/* Animasi Masuk Pohon Kanan 3 (Rotasi -15deg) */
@keyframes slideInTreeRight3 {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(-15deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(-15deg);
    }
}

@keyframes slideInFlower3 {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animasi Sway (Goyang) tetap menggunakan variabel agar fleksibel */
@keyframes swayMirror {
    0% {
        transform: rotate(var(--rotasi-asal));
    }

    50% {
        transform: rotate(calc(var(--rotasi-asal) + 2deg));
    }

    100% {
        transform: rotate(var(--rotasi-asal));
    }
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    color: #4a4a4a;
}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* --- BAGIAN KIRI (FOTO PASANGAN) --- */
.left-section {
    flex: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Posisi teks di bawah sesuai foto 2 */
    padding: 60px;
    position: relative;
}

/* Overlay halus agar teks terbaca */
.left-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%);
    z-index: 1;
}

.left-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.left-content h2 {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    letter-spacing: 4px;
    font-size: 1rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.bride-name-cursive {
    font-family: 'Great Vibes', cursive;
    font-size: 4.5rem;
    margin: 10px 0;
    font-weight: 400;
}

.wedding-date {
    letter-spacing: 3px;
    font-weight: bold;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* --- BAGIAN KANAN (SAMPUL ELEGAN) --- */
.right-section {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #f4f4f4;
    scroll-behavior: smooth;
}

.section {
    min-height: 100vh;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

/* Background utama sisi kanan menggunakan bg-pembukaan.webp */
.first-screen {
    background: url('../images/bg-pembukaan.webp') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* --- DEFINISI ANIMASI --- */

/* Animasi untuk Bingkai (Muncul dengan skala kecil ke besar) */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animasi untuk Teks (Muncul dari bawah ke atas) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- STYLING CONTAINER --- */

.frame-container {
    position: relative;
    width: 90%;
    max-width: 500px;
    min-height: 80vh;
    background: url('../images/frame.webp') no-repeat center center;
    background-size: contain;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px;
    box-sizing: border-box;

    /* Animasi BINGKAI: muncul pertama kali */
    opacity: 0;
    animation: fadeInScale 1.5s ease forwards;
    animation-delay: 0.5s;
}

.bride-name {
    color: #b08e4f;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Pengaturan Teks di dalam Frame */
.frame-container h2 {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: #5d5d5d;
    margin-bottom: 10px;
}

/* --- STYLING TEKS (Efek Bergantian) --- */

.frame-container h2,
.frame-container .bride-name-gold,
.frame-container p,
.frame-container .invitation-to {
    opacity: 0;
    /* Sembunyikan awal untuk animasi */
    animation: fadeInUp 1s ease forwards;
}

/* Pengaturan Delay agar teks muncul bergantian setelah bingkai */
.frame-container h2 {
    animation-delay: 1.5s;
    /* Muncul setelah bingkai selesai sedikit */
}

.frame-container .bride-name-gold {
    animation-delay: 1.8s;
    font-family: 'Cinzel', serif;
    color: #b08e4f !important;
    font-size: 2.5rem;
    font-weight: 700;
  margin: 0 0 10px 0;
    line-height: 1.2;
}

.frame-container p {
    animation-delay: 2.1s;
}

.frame-container .invitation-to {
    animation-delay: 2.4s;
    margin-top: 20px;
    font-size: 0.9rem;
    color: #666;
}

.guest-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
    margin-top: 8px;
}

/* Tombol Sesuai Foto 2 */
.btn-buka {
    margin-top: -30px;
    padding: 12px 40px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #d4af37, #b08e4f);
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 10;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(176, 142, 79, 0.3);
    transition: all 0.3s ease;
}

.btn-buka:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(176, 142, 79, 0.5);
    filter: brightness(1.1);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .left-section {
        display: none;
    }

    .frame-container {
        max-width: 100%;
        padding: 40px;
        min-height: 70vh;
    }

    .bride-name-gold {
        font-size: 2rem;
    }
}

/* --- ANIMASI AWAN MELAYANG --- */
@keyframes floatAwan {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(20px);
    }

    100% {
        transform: translateX(0);
    }
}

.cloud {
    position: absolute;
    z-index: 2;
    /* Di atas background kastil, di bawah atau sejajar frame */
    pointer-events: none;
    /* Agar tidak menghalangi klik tombol */
    opacity: 0.8;
}

.awan-1 {
    width: 200px;
    /* Sesuaikan ukuran */
    top: 7%;
    opacity: 0.5;
    left: 5%;
    animation: floatAwan 6s ease-in-out infinite;
}

.awan-2 {
    width: 250px;
    top: 3%;
    opacity: 0.6;
    right: 5%;
    animation: floatAwan 8s ease-in-out infinite reverse;
}

/* Memastikan container memiliki posisi relatif */
.first-screen {
    position: relative;
    overflow: hidden;
    /* Agar awan tidak keluar dari area section */
}

/* Container Utama Section Pembuka */
.opening-section {
    position: relative;
    min-height: 105vh;
    width: 100%;
    /* Gunakan background-pembukaan.png di sini */
    background: url('../images/bg-isi.webp') no-repeat center center;
    background-size: cover;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Base Style untuk setiap elemen dekorasi */
.deco {
    position: absolute;
    pointer-events: none;
    /* Menjaga proporsi elemen 384x436 px */
    width: 384px;
    height: auto;
    object-fit: contain;
}

/* --- Penempatan Spesifik Elemen --- */

/* Gate: Paling atas membingkai teks */
.gate-top {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 900px;
    /* z-index: 20; */
}

/* Pohon: Sebagai Latar Samping */
.tree-left {
    left: -179px;
    bottom: -48px;
    width: 316px;
    z-index: 1;

    opacity: 0.8;
}

.tree-right2 {
    --rotasi-asal: 346deg;
    right: -165px;
    bottom: -53px;
    width: 343px;
    z-index: 5;
    /* opacity: 0; */
    /* Mulai dari tidak terlihat */
    transform-origin: bottom right;

    /* Jalankan animasi masuk khusus, lalu sambung ke animasi goyang */
    animation: slideInTreeRight2 1.8s ease-out 0.2s forwards,
        swayMirror 6s ease-in-out 2s infinite;
}

.tree-right3 {
    --rotasi-asal: -15deg;
    right: -184px;
    bottom: 9px;
    width: 203px;
    z-index: 5;
    /* opacity: 0; */
    transform-origin: bottom center;

    animation: slideInTreeRight3 1.5s linear forwards,
        swayMirror 4.5s ease-in-out 1.5s infinite;
}

.flower-opening2 {

    width: 175px;
    right: 20px;
    bottom: -101px;
    z-index: 4;
    /* opacity: 0; */
    transform-origin: bottom center;
    animation: slideInFlower3 1.5s linear forwards, sway 4s ease-in-out 1.5s infinite;
}

.flower-opening4 {
    --rotasi-asal: -15deg;
    width: 165px;
    right: -101px;
    bottom: -25px;
    z-index: 4;
    /* opacity: 0; */
    transform-origin: bottom center;

    animation: slideInTreeRight3 1.5s linear forwards,
        swayMirror 4.5s ease-in-out 1.5s infinite;
}

.flower-opening3 {
    /* --rotasi-asal: -15deg; */
    right: 100px;
    bottom: -103px;
    width: 151px;

    z-index: 4;
    /* opacity: 0; */
    transform-origin: bottom center;

    animation: slideInFlower3 1.5s linear forwards,
        sway 4s ease-in-out 1.5s infinite;
    ;
}


.tree-right4 {
    --rotasi-asal: -15deg;
    right: -286px;
    bottom: 75px;
    width: 271px;
    z-index: 4;
    /* opacity: 0; */
    transform-origin: bottom center;

    animation: slideInTreeRight3 1.5s linear forwards,
        swayMirror 4.5s ease-in-out 1.5s infinite;
}

.tree-left2 {
    bottom: -37px;
    width: 230px;
    z-index: 5;
    left: -21px;
    /* filter: grayscale(100%); */
}

.tree-left3 {
    bottom: -37px;
    width: 210px;
    z-index: 5;
    left: -21px;
    /* filter: grayscale(100%); */
}

/* Altar: Pojok Kiri Bawah */
.altar-left {
    left: 106px;
    bottom: -50px;
    width: 225px;
    z-index: 15;
}

/* Merak: Bertengger di sisi kanan */
.merak-right {
    right: -23px;
    bottom: -68px;
    width: 215px;
    z-index: 16;
}

/* Bunga: Sebagai "Lantai" Depan */
.bunga-main {
    bottom: -27px;
    /* left: 50%; */
    transform: translateX(-50%);
    width: 154px;
    z-index: 25;
    /* filter: grayscale(100%); */
    /* Paling depan */
}

/* Konten Teks Tengah */
.opening-content {
    top: -120px;
    position: relative;
    z-index: 10;
    text-align: center;
    color: #000000;
    /* Warna gelap vintage sesuai gambar */
}

/* --- Responsive untuk HP --- */
/* --- Responsive untuk HP --- */
@media (max-width: 768px) {

    /* Perkecil teks utama agar muat di antara dekorasi */
    .opening-content {
        top: -140px;
        /* Naikkan teks sedikit lebih tinggi agar tidak tertutup altar/bunga */
    }

    .opening-content h1 {
        font-size: 3.8rem !important
            /* Perkecil nama pengantin */
    }

    .flower-opening1 {
        width: 183px;
        left: -51px;
        /* Tarik lebih keluar agar tidak menumpuk di tengah */
        bottom: 0;
    }

    /* Atur ulang semua elemen dekorasi agar membingkai layar HP dengan pas */

    .tree-left {
        width: 250px;
        left: -100px;
        /* Tarik lebih keluar agar tidak menumpuk di tengah */
        bottom: 0;
    }

    .tree-right2 {
        width: 220px;
        right: -90px;
        bottom: 0;
    }

    .tree-right3 {
        width: 260px;
        right: -110px;
        bottom: 100px;
        /* Naikkan posisi pohon atas agar asimetris */
    }

    .tree-right4 {
        width: 260px;
        right: -110px;
        bottom: 100px;
        /* Naikkan posisi pohon atas agar asimetris */
    }

    .flower-opening2 {
        width: 195px;
        right: 45px;
        bottom: -81px;
        /* Naikkan posisi pohon atas agar asimetris */
    }

    .flower-opening4 {
        width: 195px;
        right: -101px;
        bottom: -25px;
        /* Naikkan posisi pohon atas agar asimetris */
    }

    .flower-opening3 {
        width: 191px;
        right: -1px;
        bottom: -83px;
        /* Naikkan posisi pohon atas agar asimetris */
    }

    .tree-left2 {
        width: 180px;
        left: -40px;
        bottom: -20px;
    }

    .tree-left3 {
        width: 180px;
        left: -40px;
        bottom: -20px;
    }

    /* Altar: Sesuaikan ukurannya agar tetap terlihat di pojok kiri */
    .altar-left {
        width: 255px;
        left: -20px;
        bottom: -30px;
        z-index: 15;
    }

    /* Merak: Tarik ke pojok kanan bawah */
    .merak-right {
        width: 195px;
        right: -10px;
        bottom: -40px;
        z-index: 16;
    }

    /* Bunga: Sebagai penutup lantai tengah */
    .bunga-main {
        width: 120px;
        bottom: -10px;
        /* left: 50%; */
        transform: translateX(-50%);
        z-index: 25;
    }

    /* Jika Gate diaktifkan nanti */
    .gate-top {
        width: 150%;
        /* Buat lebih besar agar melengkung sempurna di layar sempit */
        top: -10px;
    }
}

/* Container untuk daun-daun agar tidak mengganggu elemen lain */
.leaf-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 12;
    /* Di atas teks, di bawah gate */
    overflow: hidden;
}

/* Base style untuk setiap helai daun */
.leaf {
    position: absolute;
    top: -50px;
    width: 20px;
    height: 20px;
    background: url('../images/tree-2.png') no-repeat center center;
    /* Mengambil aset bunga/daun kecil Anda */
    background-size: contain;
    opacity: 0.6;
    animation: fall linear infinite, swayLeaf ease-in-out infinite;
}

/* Animasi jatuh dari atas ke bawah */
@keyframes fall {
    0% {
        top: -50px;
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        top: 110vh;
        opacity: 0;
    }
}

/* Animasi melambai ke kiri dan kanan saat jatuh */
@keyframes swayLeaf {
    0% {
        transform: translateX(0) rotate(0deg);
    }

    50% {
        transform: translateX(50px) rotate(45deg);
    }

    100% {
        transform: translateX(0) rotate(90deg);
    }
}

/* Pohon-pohon muncul perlahan dari samping dengan EASE-OUT */
.tree-left {
    animation: slideInLeft 1.5s ease-out forwards;
}

.tree-left2 {
    animation: slideInLeft 1.8s ease-out 0.3s forwards;
    opacity: 0;
    /* Mulai dari transparan */
}

.tree-left3 {
    animation: slideInLeft 1.8s ease-out 0.3s forwards;
    opacity: 0;
    /* Mulai dari transparan */
}


/* Altar & Merak muncul dari bawah dengan EASE-IN-OUT */
.altar-left {
    animation: slideInUp 1.2s ease-in-out 0.5s forwards;
    opacity: 0;
}

.merak-right {
    animation: slideInUp 1.2s ease-in-out 0.7s forwards;
    opacity: 0;
}

/* Bunga di tengah bawah muncul dengan EASE */
.bunga-main {
    /* Tetap menjaga transform tengahnya */
    animation: slideInUp 1s ease 1s forwards;
    opacity: 0;
    transform: translateX(-50%) translateY(100px);
    /* Awal gerakan */
}

/* Gate (Jika aktif) muncul dari atas */
.gate-top {
    animation: slideInDown 1.5s ease-out forwards;
}

/* Konten Teks muncul dengan EFEK ZOOM (Scale) agar fokus */
.opening-content {
    animation: fadeInScale 2s ease 1.2s forwards;
    opacity: 0;
}

.flower-opening1 {
    left: -51px;
    bottom: -2px;
    width: 143px;
    z-index: 5;

    left: -51px;
    opacity: 0.8;
}


.flower-opening1 {
    /* Animasi 1: Slide masuk | Animasi 2: Melambai (berulang selamanya) */
    animation: slideInUp 1.5s ease-out forwards,
        sway 4s ease-in-out 1.5s infinite;
    transform-origin: bottom center;
    /* Titik tumpu gerakan di bawah */
}


/* Pohon Sisi Kiri */
.tree-left {
    /* Animasi 1: Slide masuk | Animasi 2: Melambai (berulang selamanya) */
    animation: slideInLeft 1.5s ease-out forwards,
        sway 4s ease-in-out 1.5s infinite;
    transform-origin: bottom center;
    /* Titik tumpu gerakan di bawah */
}

.tree-left2 {
    animation: slideInLeft 1.8s ease-out 0.3s forwards,
        sway 5s ease-in-out 2.1s infinite;
    transform-origin: bottom left;
    opacity: 0;
    /* filter: grayscale(100%); */
}

.tree-left3 {
    animation: slideInLeft 1.8s ease-out 0.3s forwards,
        sway 5s ease-in-out 2.1s infinite;
    transform-origin: bottom left;
    opacity: 0;
    /* filter: grayscale(100%); */
}



/* --- SECTION QUOTES RE-DESIGN --- */
.quotes-section {
    min-height: 80vh;
    background-color: #94a191;
    /* Warna hijau sage sesuai gambar referensi */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    /* Agar bunga yang keluar batas tidak membuat scrollbar */
}

/* Dekorasi Bunga flower-7.png */
.quotes-flower-decor {
    position: absolute;
    top: 30px;
    left: -43px;
    width: 250px;
    height: auto;
    transform: rotate(130deg);
    z-index: 1;
}

.quotes-header {
    animation: slideInUp 1.5s ease-out forwards,
        sway 4s ease-in-out 1.5s infinite;
    z-index: 2;
    margin-bottom: 40px;
}

.quotes-header .initials {
    font-family: 'Cinzel', serif;
    /* Font elegan formal */
    font-size: 5rem;
    margin: 0;
    letter-spacing: 10px;
    font-weight: 400;
}

.quotes-header .quotes-title {
    font-family: 'Great Vibes', cursive;
    /* Font sambung elegan */
    font-size: 3.5rem;
    margin: -10px 0 0 0;
    font-weight: 400;
}

.quotes-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.quotes-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: normal;
    /* Mengubah dari italic ke normal sesuai foto 2 */
    font-weight: 300;
    margin-bottom: 30px;
}

.quotes-section .surah {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    margin-top: 20px;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .quotes-header .initials {
        font-size: 3.5rem;
    }

    .quotes-header .quotes-title {
        font-size: 2.5rem;
    }

    .quotes-section p {
        font-size: 0.95rem;
    }

    .quotes-flower-decor {
        width: 180px;
    }
}

/* --- SECTION BRIDE & GROOM --- */
/* --- SECTION BRIDE & GROOM --- */
/* Berikan delay agar muncul bergantian */
.couple-section.reveal .section-title {
    transition-delay: 0.2s;
}

.couple-section.reveal .intro-text {
    transition-delay: 0.4s;
}

.couple-section.reveal .mempelai-left {
    transition-delay: 0.6s;
}

.couple-section.reveal .ampersand {
    transition-delay: 0.8s;
}

.couple-section.reveal .mempelai-right {
    transition-delay: 1.0s;
}

/* 3. Perbaikan Posisi Konten */
.couple-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    background: url('../images/bg-isi.webp') no-repeat center center;
    background-attachment: fixed;
    background-size: cover;
    overflow: hidden;
}

/* Pastikan konten di atas overlay */
.top-icon,
.section-title,
.intro-text,
.mempelai {
    position: relative;
    z-index: 5;
}

/* Overlay Putih bersih sesuai foto kedua */
.couple-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(255, 255, 255, 0.85); */
    /* Lebih terang agar bersih */
    z-index: -1;
}

/* Icon Merak di bagian atas */
.merak-icon {
    width: 180px;
    height: auto;
    margin-bottom: 20px;
}

/* Judul dengan font elegan (Cinzel atau serif) */
.section-title {
    font-family: 'Cinzel', serif;
    /* Atau font serif elegan lainnya */
    font-size: 1.5rem;
    color: #b08e4f;
    /* Warna emas gelap */
    margin-bottom: 20px;
    text-transform: uppercase;
}

.intro-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    max-width: 600px;
    margin-bottom: 50px;
    line-height: 1.8;
    color: #555;
}

/* Kontainer Frame Couple */
/* Kontainer Frame Couple - Pastikan ukuran cukup untuk bingkai */
.frame-wrapper {
    position: relative;
    width: 320px;
    /* Diperbesar sedikit agar bingkai terlihat jelas */
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px auto;
}

/* Bingkai Ornamen (frame-couple.png) */
.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    /* Berada paling depan melapis foto */
    pointer-events: none;
    object-fit: contain;
    /* Agar bingkai tidak terdistorsi */
}

/* Area Foto di dalam frame */
.photo-inner {
    width: 230px;
    height: 230px;
    border-radius: 50%;
    overflow: hidden;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 19px;

    /* border hijau */
    border: 4px solid #726741;
    /* bisa ganti warna & ketebalan */
}


.photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Foto tetap proporsional meskipun dipotong bulat */
}

/* Jarak antar mempelai */

.profile-name {
    font-family: 'Great Vibes', cursive;
    font-size: 3.2rem;
    color: #b08e4f;
    margin-bottom: 5px;
}

.full-name {
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.parents-info {
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
    line-height: 1.5;
}

.ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #b08e4f;
    margin: 30px 0;
}

/* Dekorasi Pohon di pojok */
.tree-left-bottom {
    position: absolute;
    bottom: -97px;
    left: -50px;
    width: 250px;
    opacity: 0.6;
    z-index: -1;
}

/* Animasi Reveal */
.section-title,
.intro-text,
.mempelai-left,
.mempelai-right,
.ampersand {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.couple-section.reveal .section-title,
.couple-section.reveal .intro-text,
.couple-section.reveal .mempelai-left,
.couple-section.reveal .mempelai-right,
.couple-section.reveal .ampersand {
    opacity: 1;
    transform: translateY(0);
}

/* --- SECTION SAVE THE DATE --- */
.save-the-date {
    min-height: 80vh;
    background-color: #94a191;
    /* Warna biru sesuai gambar */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.save-the-date h2 {
    font-family: "Beau Rivage", cursive;
    font-size: 4rem;
    margin-bottom: 30px;
}

.date-info {
    border-top: 1px solid rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px 0;
    margin-bottom: 40px;
    width: 100%;
    max-width: 400px;
}

.date-info h3 {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.big-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.big-date .day {
    font-size: 4rem;
    font-weight: bold;
}

.big-date .month-year {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.2;
}

/* Countdown Boxes */
.countdown-container {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.countdown-box {
    background: white;
    color: #1a2a33;
    width: 60px;
    padding: 15px 5px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.countdown-box span {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
}

.countdown-box label {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #8da1b9;
}

.location-text {
    font-size: 1rem;
    max-width: 300px;
    margin-bottom: 30px;
    line-height: 1.5;
}

.btn-remind {
    background-color: #1a2a33;
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-remind:hover {
    background-color: #2c3e50;
    transform: scale(1.05);
}

/* --- ANIMASI SAVE THE DATE --- */
.save-the-date h2,
.date-info,
.location-text,
.btn-remind {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

/* Kotak Countdown muncul dengan efek skala (zoom) */
.countdown-box {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Class pemicu saat di-scroll */
.save-the-date.reveal h2,
.save-the-date.reveal .date-info,
.save-the-date.reveal .location-text,
.save-the-date.reveal .btn-remind {
    opacity: 1;
    transform: translateY(0);
}

.save-the-date.reveal .countdown-box {
    opacity: 1;
    transform: scale(1);
}

/* Delay bertahap untuk kotak countdown agar muncul bergantian */
.save-the-date.reveal .countdown-box:nth-child(1) {
    transition-delay: 0.4s;
}

.save-the-date.reveal .countdown-box:nth-child(2) {
    transition-delay: 0.6s;
}

.save-the-date.reveal .countdown-box:nth-child(3) {
    transition-delay: 0.8s;
}

.save-the-date.reveal .countdown-box:nth-child(4) {
    transition-delay: 1.0s;
}

.save-the-date.reveal .btn-remind {
    transition-delay: 1.2s;
}

/* --- SECTION AKAD & RESEPSI --- */
/* --- SECTION EVENT --- */
.event-section {
    min-height: 100vh;
    background: url('../images/bg-isi.webp') no-repeat center center;
    background-size: cover;
    padding: 80px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    /* Jarak antar kartu */
}

/* Bentuk Kartu Arch (Lengkungan di atas) */
.event-card {
    background-color: rgba(255, 255, 255, 0.85);
    /* Semi transparan agar bg-isi terlihat halus */
    width: 100%;
    max-width: 400px;
    padding: 50px 30px 180px;
    /* Padding bawah besar untuk ruang ornamen merak/bunga */
    text-align: center;
    color: #4a4a4a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 200px 200px 200px 200px;
    /* Bentuk Arch sesuai referensi */
    border: 3px solid #b08e4f;
    /* Border emas tipis */
    outline: 8px solid rgba(176, 142, 79, 0.2);
    /* Border luar halus */
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

/* Ornamen di bagian bawah kartu (Merak & Bunga) */
.event-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 180px;
    background: url('../images/merak-2.webp') no-repeat bottom center;
    /* Bisa diganti flower-7 atau merak */
    background-size: contain;
    z-index: 1;
}

.event-icon {
    width: 40px;
    margin-bottom: 10px;
    filter: sepia(1) saturate(2) hue-rotate(10deg);
    /* Membuat warna emas */
}

.event-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: #b08e4f;
    margin: 10px 0;
}

.event-card h4 {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.event-card .date {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 15px 0;
    color: #333;
}

.event-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #555;
}

/* Tombol Maps Emas */
.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #d4af37, #b08e4f);
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
    position: relative;
    z-index: 2;
    /* Di atas ornamen */
}

.btn-maps:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(176, 142, 79, 0.4);
}

/* Reveal Animation */
.event-section.reveal .event-card {
    opacity: 1;
    transform: translateY(0);
}

/* --- SECTION LOVE STORY --- */
.story-section {
    min-height: 100vh;
    background-color: #94a191;
    /* Marun sesuai gambar */
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    /* background-image: url('../images/bg-isi.webp'); */
    align-items: center;
    color: white;
}

.story-section h2 {
    font-family: "Beau Rivage", cursive;
    font-size: 3.5rem;
    margin-bottom: 40px;
}

/* Container untuk kartu cerita */
.story-card {
    width: 100%;
    max-width: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    /* Menjaga bentuk kotak proporsional */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* Efek gradient gelap di bawah agar teks putih terbaca */
.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgb(190 201 195) 20%, rgba(0, 0, 0, 0) 70%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    text-align: center;
}

.story-overlay h3 {
    font-family: "Beau Rivage", cursive;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

/* Wrapper teks agar bisa scroll jika terlalu panjang */
.story-text {
    font-size: 0.95rem;
    line-height: 1.6;
    max-height: 150px;
    /* Batas tinggi teks */
    overflow-y: auto;
    /* Muncul scrollbar internal jika teks panjang */
    padding-right: 5px;
}

/* Styling scrollbar tipis agar tetap cantik */
.story-text::-webkit-scrollbar {
    width: 4px;
}

.story-text::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

/* --- ANIMASI STORY SECTION --- */
.story-section h2 {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 1s ease-out;
}

.story-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
    will-change: transform, opacity;
}

/* Class pemicu saat di-scroll */
.story-section.reveal h2 {
    opacity: 1;
    transform: translateY(0);
}

.story-section.reveal .story-card {
    opacity: 1;
    transform: translateY(0);
}

/* Improvisasi Delay: Kartu muncul bergantian (staggered) */
.story-section.reveal .story-card:nth-child(2) {
    transition-delay: 0.2s;
}

.story-section.reveal .story-card:nth-child(3) {
    transition-delay: 0.5s;
}

.story-section.reveal .story-card:nth-child(4) {
    transition-delay: 0.8s;
}

/* Efek Hover untuk interaktivitas */
.story-card:hover {
    transform: scale(1.02) !important;
    transition: transform 0.3s ease-in-out;
}

/* --- SECTION GALLERY --- */
.gallery-section {
    min-height: 100vh;
    background: url('../images/bg-pembukaan.png') no-repeat center center;
    background-size: cover;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

/* Overlay putih agar background tidak terlalu kontras */
.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.gallery-content {
    position: relative;
    z-index: 2;
}

.gallery-section h2 {
    font-family: "Beau Rivage", cursive;
    font-size: 3.5rem;
    color: #4a4a4a;
    margin-bottom: 40px;
}

/* Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 2 kolom di HP */
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-item {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.03);
}

/* Membuat beberapa gambar lebih besar (Span) */
.gallery-item.large {
    grid-column: span 2;
    /* Mengambil 2 kolom penuh */
    height: 250px;
}

.gallery-item.tall {
    grid-row: span 2;
    /* Mengambil 2 baris ke bawah */
    height: 100%;
}

/* Desktop View */
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 3 kolom di Desktop */
    }

    .gallery-item.large {
        grid-column: span 1;
        /* Di desktop kembali normal atau sesuaikan */
    }
}

/* Styling Overlay Lightbox */
.lightbox-overlay {
    display: none;
    /* Sembunyi secara default */
    position: fixed;
    z-index: 9999;
    /* Paling depan */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

.lightbox-overlay img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease;
    /* Efek animasi saat muncul */
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* --- ANIMASI GALLERY --- */
.gallery-section h2 {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1s ease-out;
}

.gallery-item {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}

/* Class pemicu saat di-scroll */
.gallery-section.reveal h2 {
    opacity: 1;
    transform: translateY(0);
}

.gallery-section.reveal .gallery-item {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Improvisasi Delay: Foto muncul secara bergantian */
.gallery-section.reveal .gallery-item:nth-child(1) {
    transition-delay: 0.1s;
}

.gallery-section.reveal .gallery-item:nth-child(2) {
    transition-delay: 0.3s;
}

.gallery-section.reveal .gallery-item:nth-child(3) {
    transition-delay: 0.5s;
}

.gallery-section.reveal .gallery-item:nth-child(4) {
    transition-delay: 0.2s;
}

.gallery-section.reveal .gallery-item:nth-child(5) {
    transition-delay: 0.4s;
}

.gallery-section.reveal .gallery-item:nth-child(6) {
    transition-delay: 0.6s;
}

/* --- SECTION WEDDING GIFT --- */
.gift-section {
    padding: 80px 20px;
    background-color: #94a191;
    text-align: center;
    /* background-image: url('../images/bg-isi.webp'); */
    background-size: cover;
    color: #fff;
    background-attachment: fixed;
    background-position: center;
}

.gift-section h2 {
    font-family: "Beau Rivage", cursive;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.gift-intro {
    font-size: 0.9rem;
    max-width: 500px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Container Kartu Bank */
.bank-card {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    padding: 25px;
    margin: 0 auto 20px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-align: left;
    color: #665317;
    font-weight: 600;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.bank-logo {
    height: 30px;
    float: right;
}

.chip {
    width: 45px;
    margin-bottom: 20px;
}

.account-number {
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Courier New', Courier, monospace;
}

.account-name {
    font-size: 1rem;
    text-transform: uppercase;
}

.btn-copy {
    display: block;
    width: fit-content;
    margin: 15px auto 0;
    padding: 8px 20px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-copy:hover {
    background: #f0f0f0;
}

/* Alamat Pengiriman */
.address-card {
    background: white;
    width: 100%;
    max-width: 450px;
    margin: 50px auto 0;
    color: #665317;

    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.gift-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #d4af37;
}

.address-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.address-details {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.address-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.btn-action {
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    border: 1px solid #343638;
}

.btn-outline {
    color: #343638;
    background: white;
}

.btn-dark {
    color: white;
    background: #343638;
}

/* --- ANIMASI GIFT SECTION --- */
.gift-section h2,
.gift-intro {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 1s ease-out;
}

/* Kartu bank muncul dari kiri dan kanan secara selang-seling */
.bank-card {
    opacity: 0;
    transition: all 1s ease-out;
}

.bank-card:nth-of-type(1) {
    transform: translateX(-50px);
}

.bank-card:nth-of-type(2) {
    transform: translateX(50px);
}

/* Kartu alamat muncul dengan efek zoom kecil */
.address-card {
    opacity: 0;
    transform: scale(0.9) translateY(30px);
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Class pemicu saat di-scroll */
.gift-section.reveal h2,
.gift-section.reveal .gift-intro {
    opacity: 1;
    transform: translateY(0);
}

.gift-section.reveal .bank-card {
    opacity: 1;
    transform: translateX(0);
}

.gift-section.reveal .address-card {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Delay staggered agar kartu muncul bergantian */
.gift-section.reveal .bank-card:nth-of-type(1) {
    transition-delay: 0.3s;
}

.gift-section.reveal .bank-card:nth-of-type(2) {
    transition-delay: 0.8s;
}

.gift-section.reveal .address-card {
    transition-delay: 1.0s;
}

/* --- SECTION RSVP & WISHES --- */
.rsvp-section {
    padding: 100px 20px;
    background: url('../images/bg-isi.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: relative;
}

/* Judul Emas */
.title-gold {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #b08e4f;
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

/* Kotak RSVP & Wishes */
.rsvp-container,
.wishes-container {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 500px;
    padding: 50px 35px;
    border-radius: 50px 15px 50px 15px;
    /* Bentuk organik asimetris */
    border: 2px solid #b08e4f;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 2;
}

/* Form Styling */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: #4a4a4a;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d4af37;
    border-radius: 10px;
    background: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #333;
}

/* Tombol Aksi */
.btn-gold-action {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #d4af37, #b08e4f);
    color: white;
    border: none;
    border-radius: 30px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.btn-gold-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(176, 142, 79, 0.3);
}

/* Wishes Display */
.wishes-display {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 15px;
}

.wish-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 5px solid #b08e4f;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.wish-card strong {
    font-family: 'Cinzel', serif;
    color: #4a4a4a;
    font-size: 0.9rem;
}

.wish-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #555;
    margin: 10px 0;
    line-height: 1.6;
}

.wish-time {
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Dekorasi Tambahan */
.wishes-decor {
    position: absolute;
    bottom: -30px;
    right: -20px;
    width: 120px;
    opacity: 0.7;
    z-index: 1;
}

/* Scrollbar Style */
.wishes-display::-webkit-scrollbar {
    width: 4px;
}

.wishes-display::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 10px;
}

/* --- SECTION PENUTUP --- */
/* --- ANIMASI CLOSING SECTION --- */
.closing-photo {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.closing-text,
.hashtag,
.closing-names,
.social-links,
.footer-logo {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

/* Class pemicu saat di-scroll */
.closing-section.reveal .closing-photo {
    opacity: 1;
    transform: scale(1);
}

.closing-section.reveal .closing-text,
.closing-section.reveal .hashtag,
.closing-section.reveal .closing-names,
.closing-section.reveal .social-links,
.closing-section.reveal .footer-logo {
    opacity: 1;
    transform: translateY(0);
}

/* Delay staggered untuk urutan kemunculan teks */
.closing-section.reveal .closing-text {
    transition-delay: 0.5s;
}

.closing-section.reveal .hashtag {
    transition-delay: 0.8s;
}

.closing-section.reveal .closing-names {
    transition-delay: 1.1s;
}

.closing-section.reveal .social-links {
    transition-delay: 1.4s;
}

.closing-section.reveal .footer-logo {
    transition-delay: 1.7s;
}

.closing-section {
    min-height: 100vh;
    background: linear-gradient(to top, rgb(190 201 195 / 81%) 20%, rgba(0, 0, 0, 0) 70%), url('../images/bg-isi.webp') no-repeat center center;
    background-size: cover;
    padding: 80px 20px;
    text-align: center;
    color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Bingkai Foto Oval Penutup */
.closing-photo {
    width: 260px;
    height: 380px;
    border-radius: 130px;
    border: 4px solid #b08e4f;
    overflow: hidden;
    margin-bottom: 40px;
}

.closing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closing-text {
    max-width: 500px;
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    padding: 0 10px;
}

.hashtag {
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #cfab3a;
}

.closing-names {
    font-family: "Beau Rivage", cursive;
    font-size: 3.5rem;
    margin-bottom: 40px;
}

/* Tombol Sosial Media */
.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-decoration: none;
    transition: 0.3s;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: white;
    color: #333;
}

.footer-logo {
    opacity: 0.6;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Keadaan awal elemen sebelum scroll sampai ke posisi */
.quotes-section .quotes-ornament,
.quotes-section .quotes-image-container,
.quotes-section .quotes-content {
    opacity: 0;
    filter: blur(5px);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Ornamen atas muncul dari atas */
.quotes-section .ornament-up {
    transform: translateY(-30px);
}

/* Ornamen bawah muncul dari bawah */
.quotes-section .ornament-down {
    transform: translateY(30px);
}

/* Foto muncul dengan efek scale (zoom) */
.quotes-section .quotes-image {
    transform: scale(0.9);
    transition: transform 1.5s ease-out;
}

/* Teks konten muncul dari bawah */
.quotes-section .quotes-content {
    transform: translateY(40px);
}

/* Class aktif saat scroll sampai (akan dipicu via JS) */
.quotes-section.reveal .quotes-ornament,
.quotes-section.reveal .quotes-image-container,
.quotes-section.reveal .quotes-content {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
}

.quotes-section.reveal .quotes-image {
    transform: scale(1);
}

/* Tambahan: Animasi bernapas/mengambang untuk ornamen setelah muncul */
@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.quotes-section.reveal .quotes-ornament {
    animation: float 4s ease-in-out infinite;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 10px;
    background-color: #94a191;
    color: white;
    border-radius: 22px 22px 22px 22px;
    text-decoration: none;
    margin-top: 15px;
    font-size: 1.2rem;
    transition: 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-instagram:hover {
    background-color: #000;
    transform: translateY(-3px);
    color: #fff;
}

/* Memastikan ikon tetap di tengah */
.btn-instagram i {
    line-height: 0;
}

.card-couple {
    background-color: #FFFFFFEB;
    border-style: solid;
    padding: 20px 20px 20px 20px;
    border-width: 1px 1px 1px 1px;
    border-color: #A7945E;
    margin: 10% 10% 10% 10%;
    border-radius: 10px 10px 10px 10px;
}