@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

@keyframes slideInUpAccent {
    from {
        opacity: 0;
        transform: translateY(50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Mengatur delay agar elemen muncul bergantian */


/* Variasi delay untuk elemen berurutan (stagger effect) */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */


/* State dasar sebelum animasi */
.animate-hidden {
    opacity: 0;
    transform: translateY(40px);
    /* Muncul dari bawah */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

/* State saat elemen masuk ke viewport */
.animate-show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Animasi Pesan Penutup (Fade In saja) --- */


/* --- Animasi Thank You (Expand Letter Spacing) --- */
.thank-you-text.animate-hidden {
    opacity: 0;
    letter-spacing: 10px;
    transform: scale(1.1);
    transition: all 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.thank-you-text.animate-show {
    opacity: 1;
    letter-spacing: -2px;
    /* Kembali ke gaya rapat sesuai gambar */
    transform: scale(1);
}

/* --- Animasi Foto Closing (Zoom Out ke Frame) --- */
.closing-photo.animate-hidden {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s ease-out;
}

.closing-photo.animate-show {
    opacity: 1;
    transform: scale(1);
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;
    /* Mencegah scroll horizontal seluruh halaman */
    margin: 0;
    padding: 0;
    width: 100%;
}

.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Reset & Base Font */
body,
html {

    font-family: 'Serif', 'Georgia', serif;
    color: #6d5d4b;
    background-color: #ffffff;

}

.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;
    /*background: url('images-2.jpg') no-repeat center center;*/
    /*background-size: cover;*/
    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;
    color: var(--text-main);
    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-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: #000000;
    --text-main: #000000;
    --text-secondary: #757575;
    --dark-text: #2C2C2C;
    --accent-line: #e0e0e0;
    --serif-playfair: 'Playfair Display', serif;
    --sans-outfit: 'Outfit', sans-serif;
}

.first-screen {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-color);
    overflow: hidden;
    color: var(--text-main);
    text-align: center;
    font-family: 'serif';
    /* Gunakan font serif pilihan Anda */
}

.content-wrapper {
    padding: 20px;
    max-width: 400px;
    width: 100%;
}

.profile-frame {
    margin: 0 auto 30px;
    width: 250px;
    height: 250px;
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Sesuai nuansa gambar */
}

.couple-initials {
    font-size: 2rem;
    letter-spacing: 0.3em;
    font-weight: 400;
    margin-bottom: 20px;
}

.divider {
    width: 60px;
    height: 1px;
    background-color: var(--text-main);
    margin: 0 auto 40px;
}

.invite-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* Update atau Tambahkan CSS berikut */

/* Container Utama Inisial */
.initials-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 60px;
    position: relative;
    width: 100%;
    max-width: 300px;
    /* Membatasi lebar agar tetap proporsional di tengah */
    margin-left: auto;
    margin-right: auto;
}

.initial-top,
.initial-bottom,
.initial-ampersand {
    font-family: 'serif';
    display: block;
}

/* N di Kanan */
.initial-top {
    font-size: 8rem;
    font-weight: 300;
    align-self: flex-start;
    line-height: 0.7;
    margin-left: 10%;
    /* Memberi sedikit ruang dari tepi */
}

/* & di Tengah */
.initial-ampersand {
    font-style: italic;
    font-size: 3rem;
    color: #999;
    align-self: center;
    /* Tetap di tengah */
    margin: -10px 0;
    /* Menumpuk sedikit agar lebih artistik */
    z-index: 2;
}

/* A di Kiri */
.initial-bottom {
    font-size: 8rem;
    font-weight: 300;
    align-self: flex-end;
    line-height: 0.7;
    margin-right: 10%;
    /* Memberi sedikit ruang dari tepi */
}

/* Responsive Scaling */
@media (max-width: 480px) {

    .initial-top,
    .initial-bottom {
        font-size: 6.5rem;
    }

    .initial-ampersand {
        font-size: 2.2rem;
    }
}

/* Mempercantik divider agar lebih proporsional dengan teks besar */
.divider {
    width: 40px;
    height: 1px;
    background-color: var(--text-main);
    margin: 0 auto 50px;
}

/* Guest Name sedikit lebih halus */
.guest-name {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 50px;
}

/* Penyesuaian Delay Animasi agar lebih mulus */
.delay-1 {
    animation-delay: 0.4s;
}

.delay-2 {
    animation-delay: 0.8s;
}

.delay-3 {
    animation-delay: 1.2s;
}

/* Responsive untuk layar kecil agar inisial tidak pecah */
@media (max-width: 480px) {

    .initial-top,
    .initial-bottom {
        font-size: 6rem;
    }
}

.guest-name {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 50px;
}

.btn-open {
    background: none;
    border: 1px solid var(--accent-line);
    padding: 15px 35px;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn-open:hover {
    background-color: var(--text-main);
    color: white;
}

/* --- Animasi --- */

.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1.2s ease forwards;
}

.animate-stretch {
    transform: scaleX(0);
    animation: stretchLine 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes stretchLine {
    to {
        transform: scaleX(1);
    }
}

/* opening  */
.opening-section {
    padding: 80px 20px;
    background-color: #ffffff;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.opening-container {
    max-width: 500px;
    width: 100%;
}

/* Photo Styling */
.main-photo-wrapper {
    width: 80%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 50px;
    background-color: #f9f9f9;
    /*justify-self: center;*/
}

.main-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 2s ease;
}

/* Jika ingin gambar zoom out sedikit saat reveal */
.reveal .main-photo {
    transform: scale(1.05);
}

/* Typography */
.sub-title {
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: #757575;
    margin-bottom: 20px;
}

.couple-full-name {
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: var(--text-main);
    margin-bottom: 30px;
}

.ampersand {
    display: block;
    font-family: 'serif';
    font-style: italic;
    font-size: 1.5rem;
    margin: 5px 0;
    color: #999;
}

.line-separator {
    width: 40px;
    height: 1px;
    background-color: #1a1a1a;
    margin: 0 auto 30px;
}

.date-wrapper {
    font-family: 'sans-serif';
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    line-height: 2;
}

/* --- Scroll Animation Logic --- */

/* State Awal: Tersembunyi */
.obs-element {
    opacity: 0;
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fade-up {
    transform: translateY(30px);
}

.scale-left {
    transform: scaleX(0);
    transform-origin: center;
}

/* State Akhir: Saat di-Reveal oleh Observer */
.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.reveal .scale-left {
    opacity: 1;
    transform: scaleX(1);
}

/* Staggered Delay */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

.delay-4 {
    transition-delay: 0.8s;
}

/* quotes  */
.quotes-section {
    padding: 30px 30px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 50vh;
}

.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: 0.8rem;
    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;
}

/* --- Animation State (Sesuai Logic Sebelumnya) --- */

.quotes-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.quotes-section.reveal .scale-left {
    opacity: 1;
    transform: scaleX(1);
}

/* Memastikan delay bekerja pada elemen di dalam section ini */
.quotes-section .delay-1 {
    transition-delay: 0.3s;
}

.quotes-section .delay-2 {
    transition-delay: 0.6s;
}

.quotes-section .delay-3 {
    transition-delay: 0.9s;
}

/* couple  */
.couple-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.couple-container {
    max-width: 800px;
    /* Sedikit lebih lebar untuk side-by-side jika di desktop */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.couple-item {
    text-align: center;
}

.couple-photo-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 30px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: grayscale(100%);  */
    transition: transform 1.5s ease;
}

.reveal .couple-photo {
    transform: scale(1.1);
}

.couple-name {
    font-family: 'serif';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-main);
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.couple-details {
    margin-bottom: 20px;
}

.child-of {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.parents-name {
    font-size: 0.95rem;
    color: #1a1a1a;
    font-weight: 500;
}

.ig-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #1a1a1a;
    text-decoration: none;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 3px;
    letter-spacing: 0.1em;
}

.couple-divider {
    font-family: 'serif';
    font-style: italic;
    font-size: 2rem;
    color: #d1d1d1;
    text-align: center;
    margin: 20px 0;
}

/* --- Animation State (Observer Triggered) --- */

.couple-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Delays */
.couple-section .delay-1 {
    transition-delay: 0.2s;
}

.couple-section .delay-2 {
    transition-delay: 0.4s;
}

.couple-section .delay-3 {
    transition-delay: 0.6s;
}

/* Desktop Adjustment */
@media (min-width: 768px) {
    .couple-container {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }

    .couple-item {
        flex: 1;
    }
}

/* --- Dekorasi Tambahan --- */

.couple-section {
    position: relative;
    overflow: hidden;
}

/* Lingkaran abstrak di background */
.abstract-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 1px solid var(--accent);
    opacity: 0.1;
    top: 20%;
    left: -100px;
    pointer-events: none;
    z-index: 0;
}

/* Label ala galeri seni */
.gallery-label {
    position: absolute;
    top: -20px;
    left: 20px;
    font-family: var(--sans-outfit);
    font-size: 0.65rem;
    letter-spacing: 3px;
    color: var(--accent);
    background: var(--bg-color);
    padding: 5px 10px;
    z-index: 2;
}

.bride .gallery-label {
    left: auto;
    right: 20px;
}

/* Garis aksen vertikal di samping foto */
.accent-line {
    position: absolute;
    bottom: -30px;
    left: -20px;
    width: 1px;
    height: 100px;
    background: var(--accent);
    opacity: 0.5;
}

/* Animasi tambahan untuk dekorasi */
.couple-section.reveal .abstract-circle {
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Menyesuaikan Wrapper untuk menampung dekorasi */
.couple-img-wrapper {
    position: relative;
    /* Penting untuk gallery-label */
}

/* Tambahkan sedikit noise/tekstur pada frame putih */
.couple-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/pinstriped-suit.png');
    opacity: 0.03;
    pointer-events: none;
}

/* 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;
    -webkit-text-stroke: 1px #ffffff91;
    color:var(--text-main) ;
}

.divider-gold {
    width: 40px;
    height: 2px;
    background: var(--accent);
    margin: 15px auto;
}

.full-date {
    font-family: var(--sans-outfit);
    letter-spacing: 5px;
    -webkit-text-stroke: 1px #ffffff91;
    font-weight: 500;
    color:var(--text-main) ;

}

/* 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 {
    min-height:65vh;
    padding: 100px 20px;
    background-color: #ffffff;
    text-align: center;
}

.event-main-title {
    font-size: 0.8rem;
    letter-spacing: 0.5em;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.event-divider-main {
    width: 40px;
    height: 1px;
    background-color: #1a1a1a;
    margin: 0 auto 60px;
}

.event-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 700px;
    margin: 0 auto;
}

.event-card {
    padding: 20px;
}

.event-type {
    font-family: 'serif';
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
}

.event-date {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 15px;
}

.event-date .day {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #757575;
}

.event-date .date {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a1a1a;
}

.event-time {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: #444;
    margin-bottom: 25px;
}

.event-line {
    width: 20px;
    height: 1px;
    background-color: #d1d1d1;
    margin: 0 auto 25px;
}

.venue-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.venue-address {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #757575;
    margin-bottom: 30px;
}

.btn-maps {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid #1a1a1a;
    text-decoration: none;
    color: #1a1a1a;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    transition: all 0.3s ease;
}

.btn-maps:hover {
    background-color: #1a1a1a;
    color: #fff;
}

/* --- Animation State --- */

.event-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.event-section.reveal .scale-left {
    opacity: 1;
    transform: scaleX(1);
}

/* Desktop Adjustment */
@media (min-width: 768px) {
    .event-grid {
        flex-direction: column;
        justify-content: space-around;
        align-items: flex-start;
    }

    .event-card {
        flex: 1;
    }
}

/* story  */
.story-section {
    padding: 100px 20px;
    background-color: #ffffff;
    text-align: center;
}

.story-container {
    max-width: 600px;
    margin: 0 auto;
}

.story-main-title {
    font-size: 0.8rem;
    letter-spacing: 0.5em;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.story-divider-main {
    width: 40px;
    height: 1px;
    background-color: #1a1a1a;
    margin: 0 auto 60px;
}

.story-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

.story-item {
    max-width: 450px;
}

.story-year {
    display: block;
    font-family: 'serif';
    font-style: italic;
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 10px;
}

.story-title {
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.story-text {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #555;
    font-family: 'serif';
}

/* Photo Styling */
.story-photo-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    margin: 20px 0;
}

.story-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 2s ease;
}

.reveal .story-photo {
    transform: scale(1.05);
}

/* --- Animation State --- */

.story-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.story-section.reveal .scale-left {
    opacity: 1;
    transform: scaleX(1);
}

/* Specific Delays for Story items */
.story-section .delay-1 {
    transition-delay: 0.2s;
}

.story-section .delay-2 {
    transition-delay: 0.4s;
}

.story-section .delay-3 {
    transition-delay: 0.6s;
}

.story-section .delay-4 {
    transition-delay: 0.8s;
}

.story-section .delay-5 {
    transition-delay: 1s;
}

/* gift  */
.gift-section {
    padding: 120px 20px;
    background-color: var(--bg-color);
    text-align: center;
}

.gift-header {
    max-width: 600px;
    margin: 0 auto 60px;
}

.gift-subtitle {
    font-family: var(--sans-outfit);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.gift-title {
    font-family: var(--serif-playfair);
    font-size: 3rem;
    margin-bottom: 20px;
}

.gift-desc {
    font-family: var(--sans-outfit);
    font-size: 0.9rem;
    line-height: 1.8;
    color: #777;
}

/* Gift Cards Layout */
.gift-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.gift-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid rgba(212, 163, 115, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.02);
    position: relative;
    transition: all 0.4s ease;
}

.gift-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.gift-card.full-width {
    grid-column: span 2;
}

.card-brand {
    font-family: var(--sans-outfit);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 20px;
}

.account-number {
    font-family: var(--serif-playfair);
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 10px;
}

.account-name {
    font-family: var(--sans-outfit);
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 30px;
}

.address-text {
    font-family: var(--serif-playfair);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Button Copy Styling */
.btn-copy {
    background: var(--bg-color);
    border: none;
    padding: 10px 25px;
    font-family: var(--sans-outfit);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-copy:hover {
    background: var(--accent);
    color: white;
}

/* --- Animasi --- */
.gift-section .reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gift-section.reveal .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.gift-section.reveal .gift-card:nth-child(1) {
    transition-delay: 0.4s;
}

.gift-section.reveal .gift-card:nth-child(2) {
    transition-delay: 0.6s;
}

.gift-section.reveal .gift-card:nth-child(3) {
    transition-delay: 0.8s;
}

/* Responsive */
@media (max-width: 768px) {
    .gift-container {
        grid-template-columns: 1fr;
    }

    .gift-card.full-width {
        grid-column: span 1;
    }

    .account-number {
        font-size: 1.5rem;
    }
}

/* gallery  */
.gallery-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.gallery-container {
    max-width: 900px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-title {
    font-size: 0.8rem;
    letter-spacing: 0.5em;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.gallery-divider {
    width: 30px;
    height: 1px;
    background-color: #1a1a1a;
    margin: 0 auto;
}

/* Grid System */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 kolom di mobile */
    gap: 15px;
}

.gallery-item {
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: grayscale(100%); */
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    display: block;
}

/* Hover Effect */
.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

/* --- Layout Improvisasi --- */
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 kolom di desktop */
        gap: 20px;
    }

    .span-row-2 {
        grid-row: span 2;
        /* Membuat foto tertentu lebih tinggi/besar */
    }
}

/* --- Animation State --- */
.gallery-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

.gallery-section.reveal .scale-left {
    opacity: 1;
    transform: scaleX(1);
}

.rsvp-section {
    padding: 120px 20px;
    background-color: var(--bg-color);
    position: relative;
}

.rsvp-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.rsvp-subtitle {
    font-family: var(--sans-outfit);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.75rem;
    color: var(--accent);
    margin-bottom: 10px;
}

.rsvp-title {
    font-family: var(--serif-playfair);
    font-size: 3rem;
    margin-bottom: 15px;
}

/* Grid System */
.rsvp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

/* Form Styling */
.rsvp-form-wrapper {
    background: #fff;
    padding: 50px 40px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(212, 163, 115, 0.1);
}

.input-group {
    margin-bottom: 25px;
    text-align: left;
}

.input-group label {
    display: block;
    font-family: var(--sans-outfit);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    color: var(--accent);
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #f0f0f0;
    background: #fafafa;
    font-family: var(--sans-outfit);
    font-size: 0.9rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
}

.btn-send {
    width: 100%;
    background: var(--accent);
    color: white;
    border: none;
    padding: 15px;
    font-family: var(--sans-outfit);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-send:hover {
    background: var(--dark-text);
}

/* Wishes List Styling */
.wishes-container {
    max-height: 600px;
    overflow-y: auto;
    padding-right: 15px;
    /* Custom scrollbar */
}

.wishes-container::-webkit-scrollbar {
    width: 3px;
}

.wishes-container::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 10px;
}

.wish-card {
    background: #fff;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 2px;
    border-left: 3px solid var(--accent);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.02);
}

.wish-name {
    font-family: var(--serif-playfair);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.wish-status {
    font-family: var(--sans-outfit);
    font-size: 0.65rem;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 50px;
    margin-bottom: 15px;
    display: inline-block;
}

.wish-status.hadir {
    background: #E8F5E9;
    color: #2E7D32;
}

.wish-status.tidak_hadir {
    background: #FFEBEE;
    color: #C62828;
}

.wish-text {
    font-family: var(--sans-outfit);
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.wish-time {
    font-family: var(--sans-outfit);
    font-size: 0.7rem;
    color: #999;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .rsvp-grid {
        grid-template-columns: 1fr;
    }

    .rsvp-title {
        font-size: 2.2rem;
    }
}

/* --- Animation on Scroll --- */
.rsvp-section .reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.rsvp-section.reveal .reveal-item {
    opacity: 1;
    transform: translateY(0);
}

.rsvp-section.reveal .rsvp-form-wrapper {
    transition-delay: 0.4s;
}

.rsvp-section.reveal .wishes-wrapper {
    transition-delay: 0.7s;
}


/* closing  */
.closing-section {
    padding: 120px 20px 40px;
    /* Padding bawah lebih kecil karena ada footer */
    background-color: #ffffff;
    text-align: center;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.closing-container {
    max-width: 500px;
    margin: 0 auto;
    flex-grow: 1;
}

/* Foto Penutup */
.closing-photo-frame {
    width: 250px;
    height: 350px;
    margin: 0 auto 50px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.closing-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 3s ease;
}

.reveal .closing-photo {
    transform: scale(1.1);
}

/* Typography */
.closing-thank-you {
    font-family: 'serif';
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
}

.closing-regards {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 15px;
}

.closing-couple-name {
    font-family: 'serif';
    font-size: 1.2rem;
    letter-spacing: 0.3em;
    font-weight: 400;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.hashtag-wrapper {
    margin-top: 20px;
}

.hashtag {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: #1a1a1a;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 10px 20px;
    display: inline-block;
}

/* --- Footer Styling --- */
.footer-simple {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid #f9f9f9;
}

.footer-simple p {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: #bbb;
    text-transform: uppercase;
}

.footer-simple i {
    color: #d1d1d1;
    /* Warna hati yang subtle */
    margin: 0 3px;
    font-size: 0.6rem;
}

/* --- Animation State --- */
.closing-section.reveal .fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Delays */
.closing-section .delay-1 {
    transition-delay: 0.3s;
}

.closing-section .delay-2 {
    transition-delay: 0.6s;
}

.closing-section .delay-3 {
    transition-delay: 0.9s;
}

.closing-section .delay-4 {
    transition-delay: 1.2s;
}