/* --- Definisi Animasi --- */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Animasi Pohon Melambai (Swaying) */
@keyframes sway {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(2deg);
    }

    /* Goyang sedikit ke kanan */
    100% {
        transform: rotate(0deg);
    }
}

/* Animasi Masuk Pohon Kanan 2 (Rotasi 346deg) */
@keyframes slideInTreeRight2 {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(346deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(346deg);
    }
}

/* Animasi Masuk Pohon Kanan 3 (Rotasi -15deg) */
@keyframes slideInTreeRight3 {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(-15deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(-15deg);
    }
}

@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: url('../images/bg-awal-pink.webp') no-repeat center center;
    background-size: cover;
    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-awal-pink.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-pink.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: #d6a678 !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 15px 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: #5b5b5b;
    margin-top: 8px;
}

/* Tombol Sesuai Foto 2 */
.btn-buka {
    margin-top: -30px;
    padding: 12px 40px;
    border: none;
    border-radius: 30px;
    background: linear-gradient(135deg, #ede3da, #d6a678);
    color: #656463;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 2;
    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: 1%;
    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 --- */
.altar-left {

    left: 106px;

    bottom: -50px;

    width: 225px;

    z-index: 15;

}

@media (max-width: 768px) {
    /* Perkecil teks utama agar muat di antara dekorasi */



    .flower-opening1 {

        width: 183px;

        left: -51px;

        /* Tarik lebih keluar agar tidak menumpuk di tengah */

        bottom: 0;

    }

    .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;

    }

}

.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 */

}

.flower-opening1 {

    left: -51px;

    bottom: -2px;

    width: 143px;

    z-index: 5;



    left: -51px;

    opacity: 0.8;

}

/* Merak: Bertengger di sisi kanan */
.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;
    ;
}

.opening-section {
    position: relative;
    min-height: 105vh;
    width: 100%;
    /* Gunakan background-pembukaan.png di sini */

    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.merak-right {
    right: -23px;
    bottom: -68px;
    width: 215px;
    z-index: 16;
}

.deco {
    position: absolute;
    pointer-events: none;
    height: auto;
    object-fit: contain;
    opacity: 0;
    /* Mulai dari tidak terlihat */
}

.deco {
    z-index: 3;
}

.opening-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    background-color: #fce4ec;
    /* Fallback warna pink muda */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* --- VIDEO BACKGROUND --- */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

/* --- FRAME PINK (Delay 7s) --- */
.frame-opening {
    position: absolute;
    width: 100%;
    height: 100%;
    align-self: anchor-center;
    top: 0;
    left: 0;
    object-fit: fill;
    /* Atau contain sesuai kebutuhan */
    z-index: 2;
    opacity: 0;
    pointer-events: none;
}

/* Trigger saat section mendapat class .reveal */
.opening-section.reveal .frame-opening {
    animation: fadeInFrame 1.5s ease-out forwards;
    animation-delay: 7s;
}

/* --- DEKORASI UMUM (Base Style) --- */
.deco {
    position: absolute;
    pointer-events: none;
    height: auto;
    object-fit: contain;
    opacity: 0;
    /* Mulai dari tidak terlihat */
}

/* --- ANIMASI POHON (Delay 4s) --- */
.opening-section.reveal .tree-left {
    animation: slideInFlower3 1.5s ease-out 4s forwards,
        sway 4s ease-in-out 5.5s infinite;
    transform-origin: bottom center;
}

.opening-section.reveal .tree-left2,
.opening-section.reveal .tree-left3 {
    animation: slideInFlower3 1.8s ease-out 4.3s forwards,
        sway 5s ease-in-out 6.1s infinite;
    transform-origin: bottom left;
}

.opening-section.reveal .tree-right2 {
    animation: slideInFlower3 1.8s ease-out 4.2s forwards,
        swayMirror 6s ease-in-out 6s infinite;
    transform-origin: bottom right;
}

.opening-section.reveal .tree-right3,
.opening-section.reveal .tree-right4 {
    animation: slideInTreeRight3 1.5s ease-out 4s forwards,
        swayMirror 4.5s ease-in-out 5.5s infinite;
    transform-origin: bottom center;
}

/* --- ELEMEN DEKORASI BAWAH (Delay bersamaan Teks) --- */
.opening-section.reveal .altar-left {
    /* Menggunakan keyframe fadeIn yang sudah kita buat sebelumnya */
    animation: fadeInScale 1.5s ease-in-out 8s forwards;
}

.opening-section.reveal .merak-right {
    animation: slideInUp 1.2s ease-in-out 8.2s forwards;
}

.opening-section.reveal .bunga-main {
    animation: slideInUp 1s ease 8.5s forwards;
    transform: translateX(-50%) translateY(100px);
    /* Base transform untuk center */
}

/* --- KONTEN TEKS (Delay 8.5s) --- */
/* Kontainer pembungkus Frame + Teks */
.frame-container-opening {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 90%;
    max-width: 450px;
    height: auto;
    z-index: 10;
}

.frame-opening {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    /* Menghindari distorsi gambar frame */
    object-fit: contain;
}

/* Memposisikan teks di tengah lubang frame */
.opening-content {
    position: absolute;
    color: #4a4a4a;
    /* top: 52%; */
    /* Sesuaikan sedikit (misal 52%) jika lubang frame agak ke bawah */
    /* left: 50%; */
    transform: translate(-50%, -50%);
    width: 85%;
    gap: 12px;
    z-index: 2;
    text-align: center;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Tipografi Nama */
.bride-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 0.95;
    margin: 10px 0;
    color: #d7a87c;
}

.ampersand-opening {
    display: block;
    font-size: 1.8rem;
    color: #d4a373;
    margin: 5px 0;
}

/* Animasi untuk class baru */
.opening-section.reveal .frame-opening {
    animation: fadeInFrame 1.8s ease-out forwards;
    animation-delay: 7s;
}

.opening-section.reveal .opening-content {
    animation: fadeInScale 2s ease forwards 8.5s;
}

/* Keyframes */
@keyframes fadeInFrame {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translate(-50%, -40%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .frame-container-opening {
        width: 88%;
        margin-top: -40px;
    }

    .bride-name {
        font-size: 2.5rem;
    }
}

.opening-section.reveal .opening-content {
    animation: fadeInScale 2s ease forwards 8.5s;
}

/* --- KEYFRAMES --- */
@keyframes fadeInFrame {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInTreeRight2 {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(var(--rotasi-asal, 0deg));
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(var(--rotasi-asal, 0deg));
    }
}

@keyframes slideInTreeRight3 {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animasi Goyang (Sway) */
@keyframes sway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

@keyframes swayMirror {

    0%,
    100% {
        transform: rotate(var(--rotasi-asal));
    }

    50% {
        transform: rotate(calc(var(--rotasi-asal) + 3deg));
    }
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {

    .tree-left {
        width: 200px;
        left: -80px;
    }

    .tree-right2 {
        width: 180px;
        right: -70px;
    }

    .frame-opening {
        object-fit: cover;
    }

    /* Di HP biasanya lebih bagus cover */
}



/* --- SECTION QUOTES RE-DESIGN --- */
/* --- SECTION QUOTES RE-DESIGN --- */
.quotes-section {
    min-height: 100vh;
    background: linear-gradient(180deg, #fce4ec 0%, #f3f4f1 100%);
    /* Gradasi Soft Pink ke Sage Grey */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px;
    text-align: center;
    color: #5d6d5a;
    /* Warna teks sage gelap agar elegan */
    position: relative;
    overflow: hidden;
}

/* Dekorasi Bunga Sudut */
.quotes-flower-decor {
    position: absolute;
    width: 280px;
    height: auto;
    z-index: 1;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.05));
    opacity: 0;
    transition: all 1.5s ease;
}

.corner-tl {
    top: -50px;
    left: -50px;
    transform: rotate(150deg);
}

.corner-br {
    bottom: -50px;
    right: -50px;
    transform: rotate(-30deg);
}

/* Kontainer Utama Teks */
.quotes-container {
    max-width: 700px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.4);
    padding: 60px 40px;
    border-radius: 100px 100px 0 0;
    /* Bentuk kubah elegan */
    border: 1px solid rgba(212, 163, 115, 0.3);
    backdrop-filter: blur(5px);
}

/* Header Initials */
.initials {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    letter-spacing: 8px;
    margin-bottom: 10px;
    color: #4a4a4a;
}

.initials .divider {
    color: #d4a373;
    font-weight: 300;
}

.quotes-title {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    color: #d4a373;
    margin-top: -10px;
}

/* Konten Quote */
.quote-wrapper {
    margin-top: 40px;
    position: relative;
}

.quote-icon {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: rgba(212, 163, 115, 0.2);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.quotes-section p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 2;
    font-weight: 400;
    margin-bottom: 20px;
}

.surah {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 30px;
    color: #d4a373;
}

/* --- REVEAL ANIMATION (Integrasi JS) --- */
.quotes-section.reveal .quotes-flower-decor {
    opacity: 0.8;
}

.quotes-section.reveal .corner-tl {
    transform: rotate(130deg);
}

.quotes-section.reveal .corner-br {
    transform: rotate(0deg);
}

.quotes-section .quotes-container {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out 0.3s;
}

.quotes-section.reveal .quotes-container {
    opacity: 1;
    transform: translateY(0);
}

/* Animasi Floating Petals */
.petal-decor {
    position: absolute;
    width: 15px;
    height: 15px;
    background: #f8bbd0;
    border-radius: 0 50% 0 50%;
    opacity: 0.3;
    animation: floatPetal 6s linear infinite;
}

.p1 {
    left: 10%;
    animation-delay: 0s;
}

.p2 {
    right: 15%;
    animation-delay: 3s;
}

@keyframes floatPetal {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .quotes-container {
        padding: 40px 25px;
        border-radius: 50px 50px 0 0;
    }

    .initials {
        font-size: 2.5rem;
    }

    .quotes-title {
        font-size: 2rem;
    }

    .quotes-section p {
        font-size: 0.9rem;
    }

    .quotes-flower-decor {
        width: 180px;
    }
}

/* --- SECTION BRIDE & GROOM --- */
/* --- COUPLE SECTION RE-DESIGN --- */
.couple-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    /* background: url('bg-awal-pink.webp') no-repeat center center;
            background-attachment: fixed;
            background-size: cover; */
    padding: 100px 20px;
    overflow: hidden;
}

/* Card Wrapper Putih Bersih */
.card-couple {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 60px 30px;
    border-radius: 50px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(212, 163, 115, 0.2);
    z-index: 5;
}

/* Icon & Title */
.merak-icon {
    width: 140px;
    margin-bottom: 25px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.1));
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: #d4a373;
    /* Warna emas tema */
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.intro-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 60px;
}

/* Frame & Photo */
.frame-wrapper {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 20px auto;
}

.frame-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    object-fit: contain;
}

.photo-inner {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid #d4a373;
    z-index: 2;
}

.photo-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mempelai Info */
.profile-name {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #d4a373;
    margin-bottom: 5px;
}

.full-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1rem;
    color: #333;
    letter-spacing: 1px;
}

.parents-info {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #777;
    margin: 10px 0 20px 0;
}

/* Button Instagram */


.btn-instagram:hover {
    background: #b08e4f;
    transform: translateY(-3px);
}

.ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: #d4a373;
    margin: 40px 0;
}

/* --- ANIMASI REVEAL (Staggered) --- */
.section-title,
.intro-text,
.mempelai,
.ampersand {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.2, 0.6, 0.3, 1);
}

.couple-section.reveal .section-title {
    transition-delay: 0.2s;
    opacity: 1;
    transform: translateY(0);
}

.couple-section.reveal .intro-text {
    transition-delay: 0.4s;
    opacity: 1;
    transform: translateY(0);
}

.couple-section.reveal .mempelai-left {
    transition-delay: 0.6s;
    opacity: 1;
    transform: translateY(0);
}

.couple-section.reveal .ampersand {
    transition-delay: 0.8s;
    opacity: 1;
    transform: translateY(0);
}

.couple-section.reveal .mempelai-right {
    transition-delay: 1s;
    opacity: 1;
    transform: translateY(0);
}

/* Decorative Trees */
.tree-left-bottom {
    position: absolute;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .card-couple {
        padding: 40px 20px;
        border-radius: 30px;
    }

    .frame-wrapper {
        width: 240px;
        height: 240px;
    }

    .photo-inner {
        width: 170px;
        height: 170px;
    }

    .profile-name {
        font-size: 2.8rem;
    }
}

/* --- SECTION SAVE THE DATE --- */
/* --- SAVE THE DATE RE-DESIGN --- */
/* --- SAVE THE DATE SECTION --- */
.save-the-date {
    min-height: 100vh;
    background: linear-gradient(180deg, #f3f4f1 0%, #fce4ec 100%);
    /* Perpaduan Sage & Soft Pink */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    color: #5d6d5a;
}

/* Dekorasi Bunga Sudut */
.std-flower-tl {
    top: -40px;
    left: -40px;
    width: 220px;
    transform: rotate(140deg);
    opacity: 0.7;
}

.std-flower-br {
    bottom: -40px;
    right: -40px;
    width: 220px;
    transform: rotate(-20deg);
    opacity: 0.7;
}

.std-main-container {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 163, 115, 0.2);
    padding: 60px 30px;
    border-radius: 40px;
    text-align: center;
    max-width: 550px;
    width: 100%;
    z-index: 5;
}

.std-title-script {
    font-family: 'Great Vibes', cursive;
    font-size: 3.8rem;
    color: #d4a373;
    /* Gold Theme */
    margin-bottom: 30px;
}

/* Info Tanggal */
.std-date-display {
    border-top: 1.5px solid #d4a373;
    border-bottom: 1.5px solid #d4a373;
    padding: 25px 0;
    margin-bottom: 40px;
}

.std-day-label {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1rem;
    color: #8da1b9;
    margin-bottom: 10px;
}

.std-flex-date {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.std-big-number {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: #4a4a4a;
}

.std-month-year {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.m-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
}

.y-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 3px;
}

/* Countdown Boxes (Glassmorphism) */
.std-countdown-grid {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.std-count-box {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.5);
    width: 70px;
    padding: 15px 5px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.std-count-box span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: bold;
    color: #d4a373;
}

.std-count-box label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #8da1b9;
}

.std-location-box {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Button Elegan */
.std-btn-calendar {
    background-color: #d4a373;
    /* Sage Dark */
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.4s ease;
    box-shadow: 0 5px 15px rgba(93, 109, 90, 0.3);
}

.std-btn-calendar:hover {
    background-color: #d4a373;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.4);
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .std-main-container {
        padding: 40px 20px;
        width: 90%;
    }

    .std-title-script {
        font-size: 3rem;
    }

    .std-big-number {
        font-size: 3.5rem;
    }

    .std-count-box {
        width: 60px;
    }
}

/* --- 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 --- */
.event-section {
    min-height: 100vh;
    /* background: url('bg-awal-pink.webp') no-repeat center center; */
    /* background-size: cover; */
    /* background-attachment: fixed; */
    padding: 100px 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* Dekorasi Floral Latar */
.event-flower-tl {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 250px;
    opacity: 0.6;
    z-index: 1;
}

/* Bentuk Kartu Arch */
.event-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 380px;
    padding: 60px 35px 160px;
    /* Padding bawah untuk ornamen merak */
    text-align: center;
    border-radius: 200px 200px 20px 20px;
    /* Bentuk Arch Atas */
    border: 2px solid #d4a373;
    /* Emas Lembut */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Ornamen Merak & Bunga di Bawah Kartu */
.event-card::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 180px;
    background: url('../images/merak-2.webp') no-repeat bottom center;
    background-size: contain;
    z-index: 1;
    pointer-events: none;
}

.event-card-inner {
    position: relative;
    z-index: 3;
}

.event-icon {
    width: 45px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(212, 163, 115, 0.3));
}

.event-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #d4a373;
    margin-bottom: 20px;
}

.event-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: #8da1b9;
    letter-spacing: 1px;
}

.event-date {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.3rem;
    margin: 10px 0;
    color: #4a4a4a;
}

.event-time {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #5d6d5a;
    margin-bottom: 25px;
}

/* Bagian Lokasi */
.event-location {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(212, 163, 115, 0.2);
}

.loc-icon {
    width: 20px;
    margin-bottom: 10px;
}

.loc-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #333;
    margin-bottom: 5px;
}

.loc-detail {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

/* Tombol Maps Elegant */
.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #d4a373;
    /* Sage Dark */
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(93, 109, 90, 0.3);
}

.btn-maps:hover {
    background: #d4a373;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 163, 115, 0.4);
}

/* Reveal Trigger */
.event-section.reveal .event-card {
    opacity: 1;
    transform: translateY(0);
}

/* Delay antar kartu */
.event-section.reveal .event-card:nth-child(2) {
    transition-delay: 0.3s;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .event-card {
        max-width: 320px;
        padding: 50px 25px 140px;
    }

    .event-title {
        font-size: 2.8rem;
    }
}

/* --- SECTION LOVE STORY --- */
/* --- STORY SECTION --- */
.story-section {
    padding: 100px 20px;
    background: linear-gradient(to bottom, #fce4ec 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.story-flower-top {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    opacity: 0.6;
    z-index: 1;
}

.story-container {
    max-width: 900px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Card Style */
.story-card {
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(212, 163, 115, 0.1);
    border: 1px solid rgba(212, 163, 115, 0.2);
    text-align: left;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.2, 0.6, 0.3, 1);
}

/* Mengatur selang-seling kartu (Z-Pattern) */
.story-card:nth-child(even) {
    flex-direction: row-reverse;
}

.story-img-wrapper {
    flex: 1;
    min-height: 250px;
    position: relative;
    overflow: hidden;
}

.story-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.story-card:hover .story-img-wrapper img {
    transform: scale(1.1);
}

.story-date-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #d4a373;
    color: white;
    padding: 5px 20px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
}

.story-card-content {
    flex: 1.2;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.story-card-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.story-card-content p {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
    color: #666;
    font-size: 0.95rem;
}

.story-step {
    margin-top: 20px;
    font-size: 0.8rem;
    color: #d4a373;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Animation Reveal */
.story-section.reveal .story-card {
    opacity: 1;
    transform: translateY(0);
}

.story-section.reveal .story-card:nth-child(2) {
    transition-delay: 0.3s;
}

.story-section.reveal .story-card:nth-child(3) {
    transition-delay: 0.6s;
}

/* Responsive Mobile */
@media (max-width: 768px) {

    .story-card,
    .story-card:nth-child(even) {
        flex-direction: column;
    }

    .story-img-wrapper {
        min-height: 200px;
    }

    .story-card-content {
        padding: 30px 20px;
    }

    .story-card-content h3 {
        font-size: 1.5rem;
    }
}

/* --- SECTION GALLERY --- */
.gallery-section {
    min-height: 100vh;
    background: url('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: #d4a373;
    margin-bottom: 40px;
}

/* Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 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 --- */
.gift-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #fce4ec 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #5d6d5a;
}

.gift-flower-tl {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 250px;
    opacity: 0.6;
    transform: rotate(150deg);
}

.gift-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
    color: #777;
}

.gift-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

/* Bank Card Style - Glassmorphism */
.bank-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 350px;
    border-radius: 25px;
    padding: 30px;
    border: 1px solid rgba(212, 163, 115, 0.3);
    box-shadow: 0 15px 35px rgba(212, 163, 115, 0.1);
    text-align: left;
    transition: all 0.4s ease;
    opacity: 0;
    /* Untuk reveal */
}

.bank-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.bank-logo {
    height: 25px;
    filter: grayscale(0.2);
}

.chip {
    width: 40px;
}

.account-number {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 2px;
    color: #4a4a4a;
    margin-bottom: 5px;
}

.account-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.btn-copy-gold {
    margin-top: 25px;
    padding: 10px 20px;
    background: #d4a373;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-copy-gold:hover {
    background: #5d6d5a;
    transform: translateY(-2px);
}

/* Address Card */
.address-card {
    background: white;
    max-width: 500px;
    margin: 60px auto 0;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #fce4ec;
    opacity: 0;
    /* Untuk reveal */
}

.gift-icon-container {
    font-size: 2.5rem;
    color: #d4a373;
    margin-bottom: 20px;
}

.address-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #4a4a4a;
    margin-bottom: 15px;
}

.address-details {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.address-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-action {
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-sage {
    background: #f3f4f1;
    color: #5d6d5a;
    border: 1px solid #5d6d5a;
}

.btn-gold {
    background: #d4a373;
    color: white;
    border: 1px solid #d4a373;
}

.btn-action:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* --- REVEAL LOGIC --- */
.gift-section.reveal .bank-card,
.gift-section.reveal .address-card {
    opacity: 1;
    transform: translate(0) scale(1);
}

.gift-section.reveal .bank-card:nth-child(1) {
    transition: all 1s ease-out 0.3s;
    transform: translateX(-30px);
    /* Initial state for animation */
}

/* Re-fix initial states for reveal */
.bank-card:nth-child(1) {
    transform: translateX(-30px);
}

.bank-card:nth-child(2) {
    transform: translateX(30px);
}

.address-card {
    transform: translateY(30px);
}

.gift-section.reveal .bank-card:nth-child(1),
.gift-section.reveal .bank-card:nth-child(2),
.gift-section.reveal .address-card {
    transform: translate(0) scale(1);
}

/* --- SECTION RSVP & WISHES --- */
/* --- RSVP & WISH SECTION --- */
.rsvp-section {
    padding: 100px 20px;
    /* background: url('bg-awal-pink.webp') no-repeat center center;
            background-size: cover;
            background-attachment: fixed; */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
}

/* Dekorasi Bunga Sudut */
.rsvp-flower-tl {
    position: absolute;
    top: -40px;
    left: -40px;
    width: 250px;
    opacity: 0.5;
    z-index: 1;
}

/* Judul Great Vibes Gold */
.title-gold {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #d4a373;
    /* Gold accent */
    margin-bottom: 10px;
    text-align: center;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.6;
}

/* Container RSVP & Wishes (Glassmorphism) */
.rsvp-container,
.wishes-container {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    width: 100%;
    max-width: 500px;
    padding: 50px 30px;
    border-radius: 60px 20px 60px 20px;
    /* Bentuk organik */
    border: 1px solid rgba(212, 163, 115, 0.3);
    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: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #5d6d5a;
    /* Sage Green */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rsvp-form input,
.rsvp-form select,
.rsvp-form textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid rgba(212, 163, 115, 0.4);
    border-radius: 15px;
    background: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    transition: 0.3s;
}

.rsvp-form input:focus {
    outline: none;
    border-color: #d4a373;
    box-shadow: 0 0 10px rgba(212, 163, 115, 0.1);
}

/* Tombol Aksi Sage */
.btn-gold-action {
    width: 100%;
    padding: 16px;
    background: #d4a373;
    /* Sage Green Dark */
    color: white;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.4s;
}

.btn-gold-action:hover {
    background: #d4a373;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 163, 115, 0.3);
}

/* Wishes Display */
.wishes-display {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    margin-top: 20px;
}

.wish-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #d4a373;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.wish-header strong {
    font-family: 'Playfair Display', serif;
    color: #4a4a4a;
    font-size: 1rem;
}

.wishes-decor {

    position: absolute;

    bottom: -30px;

    right: -20px;

    width: 120px;

    opacity: 0.7;

    z-index: 1;

}

.attendance-tag {
    font-size: 0.65rem;
    background: #f3f4f1;
    color: #5d6d5a;
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: bold;
}

.wish-card p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
}

.wish-time {
    font-size: 0.7rem;
    color: #aaa;
    display: block;
    margin-top: 10px;
}

/* Scrollbar Style */
.wishes-display::-webkit-scrollbar {
    width: 4px;
}

.wishes-display::-webkit-scrollbar-thumb {
    background: #d4a373;
    border-radius: 10px;
}

@media (max-width: 768px) {

    .rsvp-container,
    .wishes-container {
        padding: 40px 20px;
    }

    .title-gold {
        font-size: 2.8rem;
    }
}

/* --- SECTION PENUTUP --- */
/* ================================
   CLOSING SECTION
================================ */
.closing-section {
    min-height: 100vh;
    background: linear-gradient(to bottom, #ffffff 0%, #f3f4f1 100%);
    padding: 100px 20px;
    text-align: center;
    color: #4a4a4a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* ================================
   DEKORASI BUNGA
================================ */
.closing-flower-tl {
    position: absolute;
    top: -60px;
    left: -60px;
    width: 250px;
    opacity: 0.6;
    transform: rotate(140deg);
}

.closing-flower-br {
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 250px;
    opacity: 0.6;
    transform: rotate(-20deg);
}

/* ================================
   FOTO PASANGAN
================================ */
.closing-photo {
    width: 280px;
    height: 400px;
    border-radius: 140px 140px 0 0;
    border: 3px solid #d4a373;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 15px 35px rgba(212, 163, 115, 0.2);

    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.closing-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================
   TEKS & KONTEN
================================ */
.closing-text {
    max-width: 550px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 35px;
    font-style: italic;
    color: #666;

    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.hashtag {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 25px;
    color: #d4a373;
    text-transform: uppercase;
    font-size: 0.8rem;

    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.closing-names {
    font-family: 'Great Vibes', cursive;
    font-size: 3.8rem;
    margin-bottom: 45px;
    color: #d4a373;
    text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);

    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

/* ================================
   SOCIAL ICON
================================ */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
    justify-self: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 1px solid #d4a373;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a373;
    text-decoration: none;
    transition: 0.4s ease;
    font-size: 1.2rem;
}

.social-icon:hover {
    background: #d4a373;
    color: #fff;
    transform: translateY(-5px);
}

/* ================================
   FOOTER
================================ */
.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8da1b9;

    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

/* ================================
   REVEAL ANIMATION
================================ */
.closing-section.reveal .closing-photo {
    opacity: 1;
    transform: translateY(0);
}

.closing-section.reveal .closing-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.closing-section.reveal .hashtag {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.closing-section.reveal .closing-names {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.closing-section.reveal .social-links {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.2s;
}

.closing-section.reveal .footer-logo {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.5s;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .closing-photo {
        width: 220px;
        height: 320px;
    }

    .closing-names {
        font-size: 3rem;
    }

    .closing-text {
        font-size: 0.9rem;
    }
}

/* ================================
   BUTTON IG
================================ */
.btn-instagram {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 10px;
    background-color: #d4a373;
    color: white;
    border-radius: 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);
}

.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;
}