/* Mengatur delay agar elemen muncul bergantian */


/* Variasi delay untuk elemen berurutan (stagger effect) */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */


/* State dasar sebelum animasi */
.animate-hidden {
    opacity: 0;
    transform: translateY(40px);
    /* Muncul dari bawah */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

/* State saat elemen masuk ke viewport */
.animate-show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Animasi Pesan Penutup (Fade In saja) --- */


/* --- Animasi Thank You (Expand Letter Spacing) --- */
.thank-you-text.animate-hidden {
    opacity: 0;
    letter-spacing: 10px;
    transform: scale(1.1);
    transition: all 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.thank-you-text.animate-show {
    opacity: 1;
    letter-spacing: -2px;
    /* Kembali ke gaya rapat sesuai gambar */
    transform: scale(1);
}

/* --- Animasi Foto Closing (Zoom Out ke Frame) --- */
.closing-photo.animate-hidden {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s ease-out;
}

.closing-photo.animate-show {
    opacity: 1;
    transform: scale(1);
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;
    /* Mencegah scroll horizontal seluruh halaman */
    margin: 0;
    padding: 0;
    width: 100%;
}

.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Reset & Base Font */
body,
html {

    font-family: 'Serif', 'Georgia', serif;
    color: #6d5d4b;
    background-color: #1a2a33;

}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
    /* Mencegah seluruh halaman scroll */
}

/* Class khusus untuk nama pengantin */

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
.left-section {
    flex: 1.4;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    position: relative;
    /* Memberikan efek transisi halus saat halaman terbuka */
    animation: fadeInBackground 2s ease-out;
}

/* Overlay: Mengubah dari Hitam ke Cokelat Terracotta Gelap agar lebih hangat */
.left-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient dari warm-dark ke transparent */
    background: linear-gradient(to top, rgba(44, 44, 44, 0.7) 0%, rgba(44, 44, 44, 0) 60%);
    z-index: 1;
}

/* Tekstur Kertas (Optional: agar senada dengan right section) */
.left-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.left-content {
    position: relative;
    z-index: 2;
    color: #F2EDE4;
    /* Off-white hangat agar tidak terlalu kontras */
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

.left-content h2 {
    font-family: var(--sans-outfit);
    /* Konsisten dengan right section */
    font-weight: 300;
    letter-spacing: 6px;
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    opacity: 0.9;
}

.bride-name-cursive {
    font-family: var(--serif-playfair);
    /* Mengganti cursive dengan Serif khas galeri */
    font-size: 4rem;
    margin: 15px 0;
    font-weight: 400;
    font-style: italic;
    /* Memberikan kesan elegan tanpa terlihat "childish" */
    line-height: 1.1;
}

.wedding-date {
    font-family: var(--sans-outfit);
    letter-spacing: 4px;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-top: 1px solid rgba(242, 237, 228, 0.3);
    border-bottom: 1px solid rgba(242, 237, 228, 0.3);
    display: inline-block;
    padding: 8px 20px;
    margin-top: 10px;
}

/* Animasi Internal */
@keyframes fadeInBackground {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }
}


/* Ukuran font diperbesar agar Beau Rivage terlihat jelas */

/* --- BAGIAN Kanan (SCROLLABLE) --- */
.right-section {
    flex: 1;
    overflow-y: auto;
    background-image: url('../images/bg-utama-baru.png');
    background-size: cover;
    background-position: center;
    /* background-color: #1a2a33; */
    overflow-x: hidden;
    scroll-behavior: smooth;
}


.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.0); */
}

/* first  */
:root {
    --bg-color: #ffffff;
    --bg-warm: #fffdfa;
    --accent: #B88E8D;
    --text-main: #757575;
    --text-secondary: #757575;
    --dark-text: #2C2C2C;
    --accent-line: #e0e0e0;
    --serif-playfair: 'Playfair Display', serif;
    --sans-outfit: 'Outfit', sans-serif;
}

/* Styling Section Utama */
.first-screen {
    position: fixed;
    /* Berubah jadi fixed agar menempel di layar */
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-image: url('../images/bg-image.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 1.2s ease-out;
    z-index: 100;
    /* Pastikan paling atas */
}

/* State ketika tombol diklik */
.first-screen.zoom-out {
    transform: scale(3);
    /* Zoom lebih besar agar transisi lebih dramatis */
    opacity: 0;
    pointer-events: none;
}

.opening-section {
    z-index: 1;
}

/* Hilangkan scroll default saat masih di sampul agar transisi mulus */
body.locked {
    overflow: hidden;
}

/* Kontainer di dalam bingkai */
.overlay-content {
    text-align: center;
    z-index: 2;
    margin-top: 20px;
    /* Menyesuaikan posisi teks di dalam frame */
}

/* Nama Tamu */
.to-text {
    font-family: 'Serif', serif;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.guest-name {
    display: block;
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
}

/* Inisial Nama */
.initials {
    font-family: "Italianno", cursive;
    font-size: 8rem;
    /* Sedikit diperbesar untuk kesan mewah */
    color: #444;
    margin: 10px 0;
    font-weight: 400;
    font-style: italic;
    display: inline-block;
    line-height: 1;
}

/* Huruf Pertama (Lebih Tinggi) */
.first-letter {
    position: relative;
    top: -25px;
    /* Nilai negatif lebih besar agar lebih mepet/bertumpuk */
    margin-left: -40px;
    z-index: 2;
}

/* Huruf Kedua (A) */
.second-letter {
    position: relative;
    top: 25px;
    /* Nilai negatif lebih besar */
    margin-left: -40px;
    z-index: 1;
}

/* Responsif Mobile */
@media (max-width: 480px) {
    .initials {
        font-size: 7rem;
    }

    .first-letter {
        top: -15px;
        margin-left: -40px;
    }

    .second-letter {
        top: 15px;
        margin-left: -40px;
    }
}

/* Animasi Panah Bergerak */


.arrow-bounce {
    display: inline-block;
    animation: bounce 2s infinite;
    text-decoration: none;
    cursor: pointer;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Animasi Muncul (Fade In Up) saat dimuat */
.animate-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1.2s ease forwards;
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Styling Opening Section */
.opening-section {
    position: relative;
    min-height: 100vh;
    width: 100%;
    z-index: 1;
    display: none;
    /* Sembunyikan dulu agar tidak mengganggu scroll */
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.opening-section.show {
    display: flex;
    opacity: 1;
}

/* Pastikan body tidak bisa di-scroll saat sampul masih aktif */
body.locked {
    overflow: hidden;
    height: 100vh;
}

.opening-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.3);
    /* Putih dengan opasitas 40% */
    z-index: 1;
    /* Di atas background, di bawah konten */
}

/* Kontainer Utama dengan Transparansi Putih */
.opening-container {
    position: relative;
    /* Wajib agar z-index berfungsi */
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    /* Sedikit lebih tebal di area teks */
    padding: 15px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    /* Memberikan efek kaca/frosted glass */
}

/* Bingkai Garis Tipis (Inner Border) */
.inner-border {
    border: 1px solid #555;
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.the-wedding-of {
    font-family: 'Inria Serif', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.couple-names {
    margin-bottom: 40px;
}

.name-script {
    font-family: 'Italianno', cursive;
    margin: 0;
    line-height: 1.1;
    font-weight: 400;
    font-style: normal;
    color: #69562E;
    font-size: 500%;
}

.and-text {
    font-family: 'Inria Serif', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #555;
    display: block;
    margin: 5px 0;
}

.wedding-date {
    margin-bottom: 30px;
}

.wedding-date .day {
    font-family: 'Inria Serif', serif;
    font-size: 1.3rem;
    color: #444;
}

.wedding-date .full-date {
    font-family: 'Inria Serif', serif;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
}

.hashtag {
    font-family: 'Playfair', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #666;
    margin-top: 20px;
}

/* --- Animasi On Scroll (Revealer) --- */
.opening-section.show .fade-up {
    opacity: 0;
    transform: translateY(40px);
    /* Tambahkan delay 1.5s di sini */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition-delay: 1.5s;
}

/* State Awal: Sembunyi */
.opening-section .fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* State Akhir: Saat Class .reveal ditambahkan oleh Observer */
.opening-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Responsif Mobile */
@media (max-width: 380px) {
    .name-script {
        font-size: 3.5rem;
    }

    .inner-border {
        padding: 40px 15px;
    }
}

/* quotes  */
.quotes-section {
    padding: 30px 30px;
    background-color: #ffffff9e;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 80vh;
}

.quotes-container {
    max-width: 600px;
    width: 100%;
}

.quotes-title {
    font-size: 0.8rem;
    letter-spacing: 0.5em;
    color: #1a1a1a;
    font-weight: 500;
    margin-bottom: 25px;
}

.quotes-divider {
    width: 30px;
    height: 1px;
    background-color: #d1d1d1;
    margin: 0 auto 40px;
}

.quotes-text {
    font-family: 'serif';
    /* Gunakan serif untuk kesan puitis */
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.quotes-source {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: #999;
    text-transform: uppercase;
}

/* --- Efek Transisi Dasar untuk Elemen di Dalam Quotes --- */
.quotes-section .obs-element {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 1. Animasi Fade Up (Untuk Judul, Teks, dan Source) */
.quotes-section .fade-up {
    transform: translateY(30px);
}

/* 2. Animasi Scale Left (Khusus untuk Divider) */
.quotes-section .scale-left {
    transform: scaleX(0);
    transform-origin: center;
    /* Garis memanjang dari tengah ke samping */
}

/* --- State Setelah Reveal Dipicu (Saat Scroll Sampai ke Section) --- */

.quotes-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.quotes-section.reveal .scale-left {
    opacity: 1;
    transform: scaleX(1);
}

/* --- Delay untuk Efek Muncul Berurutan --- */
.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

.delay-3 {
    transition-delay: 0.9s;
}

/* --- Animation State (Sesuai Logic Sebelumnya) --- */


/* couple  */
.couple-section {
    padding: 100px 20px;
    /* background-image: url('bg-utama-baru.png'); */
    background-size: cover;
    background-position: center;
    text-align: center;
}

.couple-wrapper {
    max-width: 500px;
    margin: 0 auto;
    background: rgb(255 255 255 / 61%);
    /* Warna krem pudar sesuai gambar */
    border-radius: 250px 250px 20px 20px;
    /* Bentuk Arch (Busur) */
    padding: 60px 30px;
    backdrop-filter: blur(8px);
}

.couple-card {
    margin-bottom: 60px;
}

.title-label {
    font-family: 'Italianno', cursive;
    font-size: 3rem;
    color: #333;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Container Foto & Frame */
.photo-frame {
    position: relative;
    width: 220px;
    height: 300px;
    margin: 0 auto 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.frame-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    /* Agar tidak mengganggu klik */
}

.photo-container {
    width: 75%;
    /* Menyesuaikan lubang di tengah frame-new.png */
    height: 70%;
    overflow: hidden;
    clip-path: ellipse(50% 50% at 50% 50%);
    /* Memotong foto jadi oval */
    z-index: 1;
}

.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Detail */
.son-of {
    font-family: 'Inria Serif', serif;
    font-style: italic;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 5px;
}

.parents-name {
    font-family: 'Inria Serif', serif;
    font-weight: bold;
    font-size: 0.95rem;
    color: #222;
    line-height: 1.4;
    margin-bottom: 20px;
}

.full-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #8e734b;
    /* Warna Gold kecokelatan */
    margin-bottom: 15px;
    line-height: 1.2;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #555;
    text-decoration: none;
    font-family: 'Inria Serif', serif;
    font-size: 0.9rem;
}

.and-divider {
    font-family: 'Italianno', cursive;
    font-size: 2.5rem;
    margin: 40px 0;
    color: #444;
}

/* --- Animasi On Scroll --- */
.couple-section .fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s ease-out;
}

.couple-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.4s !important;
}

/* Responsif Mobile */
@media (max-width: 480px) {
    .full-name {
        font-size: 1.2rem;
    }

    .couple-wrapper {
        border-radius: 180px;
        padding: 40px 20px;
    }
}

/* save date  */
.save-the-date {
    padding: 120px 20px;
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.std-wrapper {
    width: 300px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

/* Background Text June */
.bg-month-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--serif-playfair);
    font-size: 15rem;
    font-weight: 900;
    color: var(--accent);
    opacity: 0.03;
    z-index: 0;
    pointer-events: none;
}

.std-top {
    font-family: var(--sans-outfit);
    text-transform: uppercase;
    letter-spacing: 6px;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 40px;
}

/* Calendar Styling */
.calendar-display {
    background: #fff;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.02);
    margin-bottom: 40px;
    border: 1px solid rgba(212, 163, 115, 0.1);
    position: relative;
    z-index: 1;
}

.month-year {
    font-family: var(--serif-playfair);
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    font-family: var(--sans-outfit);
    font-size: 0.8rem;
}

.calendar-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
}

/* Lingkaran pada Tanggal Pernikahan */
.calendar-grid span.marked {
    background-color: var(--accent);
    color: white;
    border-radius: 50%;
    font-weight: bold;
    position: relative;
    animation: pulseDate 2s infinite;
}

@keyframes pulseDate {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(212, 163, 115, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 163, 115, 0);
    }
}

/* Info Detail di Bawah Kalender */
.day-name {
    font-family: var(--serif-playfair);
    font-size: 2rem;
    font-style: italic;
}

.divider-gold {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 15px auto;
}

.full-date {
    font-family: var(--sans-outfit);
    letter-spacing: 5px;
    font-weight: 500;
}

/* Scroll Hint Decor */
.std-decor {
    margin-top: 60px;
}

.line-long {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    margin: 0 auto 20px;
}

.scroll-hint {
    font-family: var(--sans-outfit);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
}

/* --- Animasi --- */
.save-the-date .reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.save-the-date.reveal .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.save-the-date.reveal .bg-month-text {
    transition-delay: 0.2s;
}

.save-the-date.reveal .std-top {
    transition-delay: 0.4s;
}

.save-the-date.reveal .calendar-display {
    transition-delay: 0.6s;
}

.save-the-date.reveal .std-info {
    transition-delay: 0.8s;
}

.save-the-date.reveal .std-decor {
    transition-delay: 1s;
}

/* event  */
.event-section {
    padding: 80px 20px;
    /* background-image: url('bg-utama-baru.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed; */
    display: flex;
    justify-content: center;
    position: relative;
}

.event-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.event-wrapper {
    position: relative;
    z-index: 2;
    max-width: 500px;
    width: 100%;
    background: rgb(255 255 255 / 60%);
    /* Warna krem halus sesuai gambar */
    border-radius: 250px 250px 20px 20px;
    padding: 80px 30px 60px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.event-main-title {
    font-family: 'Italianno', cursive;
    font-size: 3.5rem;
    color: #7a6a43;
    margin-bottom: 10px;
}

.event-date-top {
    font-family: 'Inria Serif', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #4a3e20;
    margin-bottom: 30px;
}

/* Countdown Style */
.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #7a6a43;
    padding: 15px 10px;
    margin-bottom: 40px;
}

.countdown-item {
    flex: 1;
}

.countdown-item .number {
    display: block;
    font-family: 'Italianno', cursive;
    font-size: 2rem;
    color: #333;
}

.countdown-item .label {
    font-family: 'Inria Serif', serif;
    font-size: 0.8rem;
    font-style: italic;
    color: #555;
}

.countdown-divider {
    width: 1px;
    height: 40px;
    background-color: #7a6a43;
    margin: 0 10px;
}

/* Event Card Style */
.event-card {
    background: #fff;
    border: 1px solid #ccc;
    padding: 30px 20px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.event-title {
    font-family: 'Inria Serif', serif;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 10px;
}

.line-divider {
    width: 80%;
    height: 1px;
    background: #eee;
    margin: 0 auto 20px;
}

.event-time {
    font-family: 'Inria Serif', serif;
    font-size: 1.4rem;
    color: #444;
    margin-bottom: 15px;
}

.event-venue {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #222;
    margin-bottom: 10px;
    line-height: 1.3;
}

.event-address {
    font-family: 'Inria Serif', serif;
    font-style: italic;
    font-size: 1rem;
    color: #666;
    margin-bottom: 25px;
}

.maps-button {
    display: inline-block;
    padding: 10px 30px;
    background-color: #6a5a33;
    /* Warna olive/gold gelap */
    color: #fff;
    text-decoration: none;
    font-family: 'Inria Serif', serif;
    border-radius: 20px;
    transition: background 0.3s;
}

.maps-button:hover {
    background-color: #4a3e20;
}

/* Animasi On Scroll */
.event-section .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.event-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

.delay-3 {
    transition-delay: 0.9s;
}

/* Responsif Mobile */
@media (max-width: 480px) {
    .event-wrapper {
        border-radius: 180px 180px 20px 20px;
        padding: 60px 20px 40px;
    }

    .event-main-title {
        font-size: 2.8rem;
    }

    .event-time {
        font-size: 1.2rem;
    }
}

/* story  */
.story-section {
    padding: 80px 20px;
    /* background-image: url('bg-utama-baru.png');
            background-size: cover;
            background-position: center;
            background-attachment: fixed; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Overlay pudar agar senada */
.story-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.story-wrapper {
    position: relative;
    z-index: 2;
    max-width: 500px;
    width: 100%;
    background: rgba(255, 255, 255, 0.7);
    /* Putih transparan */
    border-radius: 250px 250px 20px 20px;
    /* Bentuk Arch sesuai gambar */
    padding: 80px 40px 60px;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #7a6a43;
    /* Warna emas gelap */
    margin-bottom: 40px;
    font-weight: 700;
}

.story-content {
    font-family: 'Inria Serif', serif;
    color: #444;
    line-height: 1.8;
    text-align: justify;
    /* Sesuai dengan layout gambar */
    font-size: 1.05rem;
}

.story-part {
    margin-bottom: 30px;
}

.story-part p {
    margin: 0;
}

/* Judul per bagian cerita */
.story-subtitle-part {
    font-family: 'Playfair', serif;
    font-size: 1.4rem;
    color: #7a6a43;
    /* Senada dengan judul utama Love Story */
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    display: block;
    text-align: center;
    /* Bisa diganti 'left' jika ingin sejajar kiri */
}

/* Penyesuaian jarak antar bagian agar tidak terlalu rapat */
.story-part {
    margin-bottom: 45px;
}

.story-part p {
    text-align: justify;
    line-height: 1.8;
}

/* Responsif untuk layar kecil */
@media (max-width: 480px) {
    .story-subtitle-part {
        font-size: 1.2rem;
    }
}

/* Styling untuk Foto Story tunggal */
.story-photo-container {
    margin-top: 40px;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border: 5px solid #fff;
}

.story-photo {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.story-photo:hover {
    transform: scale(1.05);
}

/* --- Animasi On Scroll (Reveal System) --- */
.story-section .fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.story-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay untuk tiap bagian cerita */
.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

.delay-3 {
    transition-delay: 0.9s;
}

/* Responsif Mobile */
@media (max-width: 480px) {
    .story-wrapper {
        border-radius: 180px 180px 20px 20px;
        padding: 60px 25px 40px;
    }

    .story-title {
        font-size: 2.5rem;
    }

    .story-content {
        font-size: 0.95rem;
    }
}

/* gift  */
.gift-section {
    padding: 80px 20px;
    background: rgb(255 255 255 / 60%);
    display: flex;
    justify-content: center;
    position: relative;
}

.gift-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
}

.gift-wrapper {
    position: relative;
    z-index: 2;
    max-width: 480px;
    width: 100%;
    background: rgb(255 255 255 / 60%);
    /* Krem pudar transparan */
    border-radius: 250px 250px 30px 30px;
    padding: 80px 30px 60px;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gift-title {
    font-family: 'Italianno', cursive;
    font-size: 3.5rem;
    color: #7a6a43;
    margin-bottom: 10px;
}

.gift-subtitle {
    font-family: 'Inria Serif', serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
}

.gift-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(122, 106, 67, 0.2);
    transition: transform 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-5px);
}

.bank-icon {
    font-size: 1.8rem;
    color: #7a6a43;
    margin-bottom: 10px;
}

.bank-name {
    font-family: 'Inria Serif', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 10px;
}

.account-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #4a3e20;
    margin-bottom: 5px;
}

.account-holder {
    font-family: 'Inria Serif', serif;
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.full-address {
    font-family: 'Inria Serif', serif;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
    margin-bottom: 20px;
    padding: 0 10px;
}

.copy-btn {
    background: #7a6a43;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Inria Serif', serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.3s;
}

.copy-btn:hover {
    background: #4a3e20;
}

/* Animasi On Scroll */
.gift-section .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.gift-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

.delay-3 {
    transition-delay: 0.9s;
}

/* Responsif Mobile */
@media (max-width: 480px) {
    .gift-wrapper {
        border-radius: 180px 180px 20px 20px;
        padding: 60px 20px 40px;
    }

    .gift-title {
        font-size: 2.8rem;
    }

    .account-number {
        font-size: 1.3rem;
    }
}

/* gallery  */
.gallery-section {
    padding: 60px 0;
    /* background-image: url('bg-utama-baru.png');
    background-size: cover;
    background-position: center; */
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.gallery-container {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.gallery-title {
    font-family: 'Italianno', cursive;
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    /* Ukuran font dinamis */
    color: #7a6a43;
    margin-bottom: 5px;
}

.gallery-subtitle {
    font-family: 'Inria Serif', serif;
    font-style: italic;
    color: #555;
    margin-bottom: 30px;
    padding: 0 20px;
}

/* Slider CSS menggunakan Scroll Snap */
.gallery-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 10%;
    /* Memberikan ruang agar foto tidak mepet saat snap */
    gap: 15px;
    padding: 10px 0 30px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    /* Geseran halus di iOS */
}

.gallery-slider::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 280px;
    /* Lebar default desktop */
    scroll-snap-align: center;
    padding: 0 5px;
}

.image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    border: 6px solid #fff;
    /* Border sedikit lebih tipis agar tidak makan tempat */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 4px;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scroll-hint {
    font-family: 'Inria Serif', serif;
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 10px;
    opacity: 0.8;
}

/* --- Animasi On Scroll --- */
.gallery-section .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

.gallery-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Media Query Khusus untuk Mobile agar tidak terpotong */
@media (max-width: 480px) {
    .gallery-item {
        flex: 0 0 80vw;
        /* Menggunakan 80% lebar layar */
    }

    .image-wrapper {
        height: 65vh;
        /* Tinggi mengikuti proporsi layar HP */
    }

    .gallery-slider {
        scroll-padding: 0 10vw;
        /* Memastikan snapping tepat di tengah layar */
    }
}

/* Ikon Play untuk Video di Galeri */
.video-wrapper {
    background-color: #000;
    /* Memberikan dasar hitam jika thumbnail belum dimuat */
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(122, 106, 67, 0.8);
    /* Warna emas tema kamu */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.video-wrapper:hover .play-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(122, 106, 67, 1);
}

/* Penyesuaian agar fslightbox video terlihat pas di mobile */
.fslightbox-container iframe {
    border-radius: 10px;
}

/* --- Animasi On Scroll --- */
.gallery-section .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.gallery-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

/* Responsif Mobile */
@media (max-width: 480px) {
    .gallery-item {
        flex: 0 0 250px;
    }

    .image-wrapper {
        height: 220px;
    }

    .gallery-title {
        font-size: 2.8rem;
    }
}

.rsvp-section {
    padding: 80px 20px;
    /* background-image: url('bg-utama-baru.png');
    background-size: cover;
    background-position: center; */
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    position: relative;
}

.rsvp-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.rsvp-wrapper {
    position: relative;
    z-index: 2;
    max-width: 450px;
    width: 100%;
    background: rgb(255 255 255 / 60%);
    /* Warna krem sesuai image_d3cd4b.png */
    border-radius: 250px 250px 30px 30px;
    padding: 80px 30px 60px;
    text-align: center;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.rsvp-title {
    font-family: 'Italianno', cursive;
    font-size: 3.5rem;
    color: #4a3e20;
    margin-bottom: 40px;
}

/* Form Styles */
.input-group,
.input-group-row,
.input-group-card {
    margin-bottom: 15px;
}

.rsvp-input-text {
    width: 100%;
    padding: 15px 25px;
    border-radius: 50px;
    border: none;
    background: #e3ddd3;
    /* Input background pudar */
    font-family: 'Inria Serif', serif;
    font-weight: bold;
    color: #333;
    outline: none;
}

.input-group-row {
    background: #e3ddd3;
    padding: 10px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rsvp-select-small {
    padding: 5px 10px;
    border: 1px solid #555;
    background: #fff;
    font-family: 'Inria Serif', serif;
}

.input-group-card {
    background: #e3ddd3;
    padding: 25px;
    border-radius: 50px;
    text-align: left;
}

.label-block {
    font-family: 'Inria Serif', serif;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
    text-align: center;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 10px;
}

.radio-label {
    font-family: 'Inria Serif', serif;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rsvp-textarea {
    width: 100%;
    height: 120px;
    border-radius: 10px;
    border: 1px solid #555;
    padding: 15px;
    font-family: 'Inria Serif', serif;
    resize: none;
    outline: none;
}

.btn-container {
    text-align: right;
    margin-top: 15px;
}

.rsvp-submit-btn {
    background: #f1f1f1;
    border: 2px solid #000;
    padding: 8px 30px;
    border-radius: 12px;
    font-family: 'Inria Serif', serif;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.rsvp-submit-btn:hover {
    background: #000;
    color: #fff;
}

/* Wishes List */
.line-divider {
    width: 60%;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 40px auto 20px;
}

.wishes-hint {
    font-family: 'Inria Serif', serif;
    font-weight: bold;
    margin-bottom: 20px;
}

.wishes-container {
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
    padding: 10px;
}

.wish-item {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 10px;
}

.wish-name {
    font-weight: bold;
    font-family: 'Inria Serif', serif;
    font-size: 0.9rem;
    color: #4a3e20;
}

.wish-text {
    font-family: 'Inria Serif', serif;
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Animasi On Scroll */
.rsvp-section .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.rsvp-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}


/* closing  */
.closing-section {
    padding: 100px 20px 60px;
    /* background-image: url('bg-utama-baru.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; */
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Overlay pudar agar senada dengan section awal */
.closing-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 1;
}

.closing-wrapper {
    position: relative;
    z-index: 2;
    max-width: 480px;
    width: 100%;
    background: rgb(255 255 255 / 60%);
    /* Krem pudar transparan */
    border-radius: 250px 250px 20px 20px;
    /* Bentuk Arch konsisten */
    padding: 100px 30px 60px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.05);
}

.closing-content {
    margin-bottom: 50px;
}

.closing-text {
    font-family: 'Inria Serif', serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.closing-thank-you {
    font-family: 'Inria Serif', serif;
    font-style: italic;
    font-weight: 600;
    color: #333;
}

.closing-initials {
    margin-bottom: 60px;
}

.final-names {
    font-family: 'Italianno', cursive;
    font-size: 3.5rem;
    color: #7a6a43;
    margin-bottom: 10px;
}

.divider-line {
    width: 50px;
    height: 1px;
    background: #7a6a43;
    margin: 15px auto;
}

.final-date {
    font-family: 'Playfair', serif;
    font-size: 1.1rem;
    letter-spacing: 4px;
    color: #666;
}

.footer-credit {
    margin-top: 40px;
}

.footer-credit p {
    font-family: 'Inria Serif', serif;
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 1px;
    line-height: 1.6;
}

/* --- Animasi On Scroll (Revealer) --- */
.closing-section .fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.closing-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

.delay-3 {
    transition-delay: 0.9s;
}

/* Responsif Mobile */
@media (max-width: 480px) {
    .closing-wrapper {
        border-radius: 180px 180px 20px 20px;
        padding: 80px 25px 40px;
    }

    .final-names {
        font-size: 2.8rem;
    }

    .closing-text {
        font-size: 0.9rem;
    }
}

/* Styling Foto Penutup */
.final-photo-container {
    width: 100%;
    max-width: 300px;
    /* Ukuran foto agar proporsional di dalam arch */
    margin: 0 auto 40px;
    border-radius: 150px 150px 10px 10px;
    /* Menyesuaikan bentuk kubah */
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.final-photo {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(20%);
    /* Memberikan kesan vintage/warm yang lembut */
    transition: transform 0.5s ease;
}

.final-photo:hover {
    transform: scale(1.05);
}

/* Penyesuaian Delay Animasi */
.delay-1 {
    transition-delay: 0.3s;
}

.delay-2 {
    transition-delay: 0.6s;
}

.delay-3 {
    transition-delay: 0.9s;
}

/* Import Google Fonts (Tambahkan di bagian head HTML) */