@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Cormorant+Garamond:ital,wght@0,300;1,300&display=swap');

/* --- Definisi Animasi --- */
/* Slide dari Pojok untuk Daun */
/* --- 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%);
    }
}

@keyframes slideInUpAccent {
    from {
        opacity: 0;
        transform: translateY(50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Mengatur delay agar elemen muncul bergantian */


/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */

.couple-photo-container {
    /* Gabungkan slideDown (masuk) dan floatAnim (mengambang) */
    animation:
        slideInDown 1.5s cubic-bezier(0.22, 1, 0.36, 1) backwards,
        floatAnim 4s ease-in-out infinite 1.5s;
    /* float dimulai setelah slide selesai */
}

.content-wrapper .sub-title,
.content-wrapper .couple-names,
.content-wrapper .guest-info,
.content-wrapper .btn-open {
    animation: slideInUp 1s cubic-bezier(0.22, 1, 0.36, 1) backwards;
}

/* Staggered delay untuk teks agar muncul bergantian */
.sub-title {
    animation-delay: 0.8s;
}

.couple-names {
    animation-delay: 1s;
}

.guest-info {
    animation-delay: 1.2s;
}

.btn-open {
    animation-delay: 1.4s;
}



/* 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%;
}

body.locked {
    overflow: hidden !important;
    touch-action: none;
    /* Cegah scroll di mobile */
    position: fixed;
    /* Kunci posisi di beberapa browser mobile */
    width: 100%;
}

/* First Screen sebagai Overlay Fixed */
.first-screen {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    /* Pastikan di atas segalanya */
    background-color: #210404;
    /* Maroon sesuai tema */
    transition: transform 1.6s cubic-bezier(0.7, 0, 0.3, 1),
        opacity 1.6s ease;
    will-change: transform, opacity;
}

/* Animasi Tirai Terangkat */
.first-screen.fade-out {
    transform: translateY(-100%);
    opacity: 0.8;
    /* Sedikit transparan saat terangkat agar halus */
    pointer-events: none;
}

/* Opening Section State Awal */
.opening-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

.opening-section.visible {
    opacity: 1;
    transform: translateY(0);
}
.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 {
    color: #4a5d4e;
    flex: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px;
    position: relative;
}

.left-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, #f5f1eb30 70%, #fdfaf7 100%);
    z-index: 1;
}

.left-content {
    position: relative;
    bottom: -363px;
    z-index: 2;
}

.left-content h2 {
    font-weight: 300;
    letter-spacing: 3px;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.left-content h1 {
    font-size: 5rem;
}

/* Ukuran font diperbesar agar Beau Rivage terlihat jelas */

/* --- BAGIAN Kanan (SCROLLABLE) --- */
.right-section {
    flex: 1;
    overflow-y: auto;
    background-color: #f1f0ea;
    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); */
}

/* Tampilan Pertama di Kanan (Mobile View lookalike) */

/* Palette Warna: 
   - Hijau Utama: #4A5D4E (Sage Dark)
   - Hijau Muda: #86A789
   - Putih Bersih: #FFFFFF
   - Background: #F7F8F6 (Off White)
*/

.first-screen {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #F7F8F6;
    font-family: 'Playfair Display', serif;
}

/* Background Utama */
.bg-container {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Dekorasi Sudut */
.flower-decoration {
    position: absolute;
    z-index: 11;
    width: 140px;
    pointer-events: none;
}

.flower-decoration.top-right {
    top: -15px;
    right: -15px;
    transform: rotate(180deg);
}

.flower-decoration.bottom-left {
    bottom: -15px;
    left: -15px;
}

.flower-decoration img {
    width: 100%;
}

/* Photo Container & Accent */
.photo-container {
    position: relative;
    /* Menjadi acuan untuk flower-accent */
    display: inline-block;
    margin-bottom: 40px;
}

.couple-photo-frame {
    width: 190px;
    height: 260px;
    border: 6px solid #fff;
    border-radius: 100px 100px 10px 10px;
    box-shadow: 0 10px 25px rgba(74, 93, 78, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.couple-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bunga di bawah-tengah foto */
.flower-accent {
    position: absolute;
    bottom: -99px;
    /* Menjorok ke bawah frame */
    /* left: 50%; */
    transform: translateX(-50%);
    width: 180px;
    /* Sedikit lebih lebar dari foto agar cantik */
    z-index: 4;
    /* Di atas frame foto */
    pointer-events: none;
}

.flower-accent img {
    width: 100%;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

/* Content Wrapper & Text */
.content-wrapper {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 40px 40px 0 0;
    width: 85%;
    max-width: 420px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sub-title {
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: #4A5D4E;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.couple-names {
    font-size: 2.3rem;
    color: #2D3A30;
    margin: 0 0 30px 0;
    font-weight: 700;
}

.couple-names span {
    display: block;
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 300;
    color: #86A789;
}

/* Info Tamu */
.guest-box {
    background: rgba(255, 255, 255, 0.8);
    padding: 15px;
    border-radius: 20px;
    margin-bottom: 25px;
    border: 1px solid #E8EDE9;
}

.guest-box p {
    font-size: 0.75rem;
    color: #777;
    margin: 0;
}

.guest-name {
    font-size: 1.2rem;
    color: #4A5D4E;
    margin: 5px 0 0;
    font-weight: 600;
}

/* Button */
.btn-open-invitation {
    background-color: #4A5D4E;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(74, 93, 78, 0.3);
}

.btn-open-invitation:hover {
    background-color: #38463B;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }
}

/* Import Google Fonts (Tambahkan di bagian head HTML) */

/* --- 1. RESET & BASE --- */
.opening-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f0f4f1;
    overflow: hidden;
}

.bg-opening {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.bg-opening img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opening-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 400px;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- 2. ANIMATION SYSTEM --- */
/* Base state untuk elemen yang akan muncul */
.reveal {
    opacity: 0;
    animation-fill-mode: forwards !important;
}

.reveal.active {
    animation-duration: 1.2s;
    animation-timing-function: ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Hubungkan Class ke Keyframes */
.reveal-down.active {
    animation-name: slideInDown;
}

.reveal-up.active {
    animation-name: slideInUp;
}

.reveal-scale.active {
    animation-name: fadeInScale;
}

/* Delays */
.delay-1 {
    animation-delay: 0.3s;
}

.delay-2 {
    animation-delay: 0.6s;
}

.delay-3 {
    animation-delay: 0.9s;
}

.delay-4 {
    animation-delay: 1.2s;
}

/* --- 3. HEADER & TYPOGRAPHY --- */
.opening-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.the-wedding {
    font-family: 'Cormorant Garamond', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: #4A5D4E;
    margin: 0;
}

.line {
    height: 1px;
    width: 30px;
    background-color: #4A5D4E;
    opacity: 0.5;
}

.opening-names {
    color: #2D3A30;
    margin-top: 15px;
}

.first-name,
.last-name {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.ampersand-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 5px 0;
}

.ampersand {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.8rem;
    color: #86A789;
}

.amp-line {
    height: 1px;
    width: 50px;
    background: linear-gradient(to right, transparent, #86A789, transparent);
}

.date-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #4A5D4E;
    letter-spacing: 2px;
    margin-top: 20px;
    border-bottom: 1px solid rgba(74, 93, 78, 0.2);
    display: inline-block;
    padding-bottom: 5px;
}

/* --- 4. PHOTO & FLOWERS (The Core Fix) --- */
.photo-reveal-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.main-photo-frame {
    width: 220px;
    height: 320px;
    border-radius: 110px;
    /* Sesuai bentuk oval di gambar */
    border: 6px solid #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 5;
}

.opening-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flower-layer {
    position: absolute;
    z-index: 6;
    pointer-events: none;
    width: 180px;
}

/* Penempatan bunga relatif terhadap container */
.flower-layer.top {
    bottom: -75px;

    transform: translateX(-50%);
}

.flower-layer.bottom-2 {
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
}

/* Animasi Floating pada Gambar (Bukan pada Layernya) */
.flower-layer.active img {
    animation: floating 4s ease-in-out infinite 1.5s;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    width: 100%;
}

.flower-layer.bottom-center {
    position: absolute;
    bottom: -30px;
    /* Menggantung di bawah frame foto */
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    z-index: 6;
}

/* Bunga Pojok Kiri Bawah (Fixed di sudut layar) */
.flower-layer.corner-left {
    position: absolute;
    bottom: -133px;
    left: -102px;
    /* width: 200px; */
    z-index: 11;
    transform: rotate(-10deg);
}

/* Base img styling dalam layer bunga */
.flower-layer img {
    width: 100%;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.08));
}

/* Animasi Floating khusus untuk bunga yang sudah aktif */
.flower-layer.active img {
    animation: floating 4s ease-in-out infinite 1.5s;
}

/* Memastikan background overlay tidak menutupi bunga pojok */
.bg-overlay {
    z-index: 2;
}

/* --- SECTION QUOTES --- */
.quotes-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 60px 20px;
    background-color: #2c3d30;
    /* Fallback warna hijau botani */
}

/* Background Handling */
.quotes-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.quotes-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    /* Menjaga kontras dengan teks putih */
}

.quotes-container {
    position: relative;
    z-index: 10;
    max-width: 500px;
    text-align: center;
    color: #3f523c;
}

/* Ornamen Bunga Pojok */
.corner-flower {
    position: absolute;
    top: -40px;
    left: -84px;
    width: 200px;
    transform: rotate(-15deg);
    z-index: 11;
    opacity: 0.9;
}

.corner-flower img {
    width: 100%;
    filter: drop-shadow(5px 5px 15px rgba(0, 0, 0, 0.2));
}

/* Initial & Title Styling */
.quotes-header {
    margin-bottom: 40px;
}

.initials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 10px;
}

.initials .divider {
    width: 2px;
    height: 60px;
    background-color: #677564;
    opacity: 0.8;
}

.slogan {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 400;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.2);
}

/* Verse Content Styling */
.quotes-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.verse {
    font-family: 'Montserrat', sans-serif;
    /* Gunakan sans-serif agar ayat panjang enak dibaca */
    font-size: 0.95rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
    margin-bottom: 25px;
    font-weight: 300;
}

.source {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Responsive adjustment */
@media (max-width: 480px) {
    .initials {
        font-size: 3rem;
    }

    .initials .divider {
        height: 45px;
    }

    .slogan {
        font-size: 2rem;
    }

    .verse {
        font-size: 0.85rem;
    }
}

/* --- ANIMASI KHUSUS QUOTES --- */
.quotes-section .reveal {
    opacity: 0;
    animation-fill-mode: forwards;
}

/* Animasi khusus untuk container quotes (efek kaca muncul) */
@keyframes glassFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(5px);
        transform: translateY(0);
    }
}

.quotes-content.active {
    animation: glassFadeIn 1.5s ease-out forwards;
    animation-delay: 0.8s;
    /* Muncul setelah header selesai */
}

/* Animasi Floating untuk Bunga Pojok */
.corner-flower.active img {
    animation: floating 5s ease-in-out infinite 1.5s;
}

/* --- SECTION BRIDE & GROOM --- */
.couple-section {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    background-color: #ffffff;
    overflow: hidden;
}

/* Styling Instagram Link */
.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    padding: 8px 15px;
    background-color: rgba(74, 93, 78, 0.05);
    /* Hijau sangat transparan */
    color: #4A5D4E;
    text-decoration: none;
    font-size: 0.85rem;
    font-family: 'Montserrat', sans-serif;
    border-radius: 20px;
    border: 1px solid rgba(74, 93, 78, 0.2);
    transition: all 0.3s ease;
}

.social-link i {
    margin-right: 8px;
    font-size: 1rem;
}

.social-link:hover {
    background-color: #4A5D4E;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 93, 78, 0.2);
}

/* Penyesuaian jarak info agar seimbang */
.mempelai-info {
    padding: 0 10px;
}

.couple-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
    /* Sangat soft agar fokus ke foto */
}

.couple-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.couple-section .container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

/* Header Section */
.couple-intro {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #4A5D4E;
    margin-bottom: 10px;
}

.intro-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #666;
}

/* Flex Layout */
.couple-flex {
    display: flex;
    flex-direction: column;
    /* Mobile first */
    place-self: anchor-center;
    align-items: center;
    gap: 50px;
}

/* Card Styling */
.groom-card,
.bride-card {
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.photo-wrap {
    position: relative;
    margin-bottom: 25px;
    display: inline-block;
}

.photo-frame {
    width: 180px;
    height: 240px;
    border-radius: 90px 90px 10px 10px;
    /* Arch Style */
    overflow: hidden;
    border: 5px solid #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Bunga yang menyatu di frame */
.flower-decor {
    position: absolute;
    width: 140px;
    z-index: 6;
    pointer-events: none;
}

.groom-card .flower-decor {
    bottom: -41px;
    right: -40px;
    transform: rotate(312deg);
}

.bride-card .flower-decor {
    top: -20px;
    left: -44px;
    transform: rotate(137deg);
}

/* Info Text */
.mempelai-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #2D3A30;
    margin-bottom: 10px;
}

.parent-info {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.parent-info strong {
    color: #4A5D4E;
}

/* Divider & */
.couple-divider {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #86A789;
    font-style: italic;
}

/* Desktop Version */
@media (min-width: 768px) {

    .couple-divider {
        align-self: center;
        /* margin-top: -100px; */
    }
}

/* --- ANIMASI KHUSUS COUPLE SECTION --- */
.couple-section .reveal {
    opacity: 0;
}

/* Animasi Muncul dari Samping */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hubungkan dengan class reveal baru */
.reveal-left.active {
    animation: slideInLeft 1.2s ease-out forwards;
}

.reveal-right.active {
    animation: slideInRight 1.2s ease-out forwards;
}

/* Mengatur bunga agar tetap melayang di frame */
/* .flower-decor {
            animation: floating 4s ease-in-out infinite 2s;
        } */

/* Penempatan khusus bunga pojok di couple section */
.couple-section .flower-layer.bottom {
    position: absolute;
    bottom: -120px;
    right: -89px;
    width: 250px;
    opacity: 0.8;
    z-index: 12;
    transform: rotate(-15deg);
}

/* --- SECTION SAVE THE DATE --- */
.save-the-date {
    position: relative;
    width: 100%;
    min-height: 95vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background-color: #f7f9f7;
    overflow: hidden;
}

.std-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.5;
}

.std-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.std-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 500px;
    text-align: center;
}

/* Content Card Glassmorphism */
.std-content-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    padding: 50px 30px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(74, 93, 78, 0.1);
}

.std-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: #2D3A30;
    margin-bottom: 10px;
}

.std-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #4A5D4E;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Countdown Styling */
.countdown-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.timer-box {
    background: #4A5D4E;
    color: #ffffff;
    width: 70px;
    padding: 10px 0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 15px rgba(74, 93, 78, 0.2);
}

.timer-box .number {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.timer-box .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Date Info Styling */
.std-date-info {
    color: #2D3A30;
}

.std-date-info .day,
.std-date-info .time {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.date-circle {
    width: 120px;
    height: 120px;
    border: 2px solid #4A5D4E;
    border-radius: 50%;
    margin: 15px auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.date-circle::before {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border: 1px dashed #86A789;
    border-radius: 50%;
}

.date-num {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.month,
.year {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Flower Decorations */
.std-flower-top,
.std-flower-bottom {
    position: absolute;
    width: 200px;
    z-index: 11;
    pointer-events: none;
}

.std-flower-top {
    top: -60px;
    left: 20%;
    transform: translateX(-50%);
}

.std-flower-bottom {
    bottom: -86px;
    left: 20%;
    transform: translateX(-50%) rotate(180deg);
}

.std-flower-top img,
.std-flower-bottom img {
    width: 100%;
}

/* Button Remind Me */
.btn-remind {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 25px;
    padding: 10px 25px;
    background-color: transparent;
    color: #4A5D4E;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    border: 1.5px solid #4A5D4E;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-remind i {
    margin-right: 8px;
    font-size: 0.9rem;
}

.btn-remind:hover {
    background-color: #4A5D4E;
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(74, 93, 78, 0.2);
    transform: translateY(-2px);
}

/* --- ANIMASI KHUSUS SAVE THE DATE --- */
.save-the-date .reveal {
    opacity: 0;
}

/* Animasi khusus untuk timer-box agar muncul satu per satu (Staggered) */
.timer-box.reveal.active {
    animation: fadeInScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Efek berdenyut lembut pada lingkaran tanggal */
@keyframes pulseCircle {
    0% {
        transform: scale(1);
        border-color: #4A5D4E;
    }

    50% {
        transform: scale(1.05);
        border-color: #86A789;
    }

    100% {
        transform: scale(1);
        border-color: #4A5D4E;
    }
}

/* .date-circle.active {
            animation: pulseCircle 3s ease-in-out infinite;
        } */

/* Tetap pertahankan floating pada bunga STD */
.std-flower-top.active img,
.std-flower-bottom.active img {
    animation: floating 5s ease-in-out infinite 1.5s;
}

/* Staggered Delay khusus untuk kotak timer */
.timer-delay-1 {
    animation-delay: 0.8s !important;
}

.timer-delay-2 {
    animation-delay: 1.0s !important;
}

.timer-delay-3 {
    animation-delay: 1.2s !important;
}

.timer-delay-4 {
    animation-delay: 1.4s !important;
}

/* --- SECTION EVENT (AKAD & RESEPSI) --- */
.event-section {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    background-color: #ffffff;
    overflow: hidden;
}

.event-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.2;
}

.event-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-section .container {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
}

/* Header */
.event-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2D3A30;
    margin-bottom: 10px;
}

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: #4A5D4E;
}

/* Cards Wrapper */
.event-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* Card Individual */
.event-card {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 400px;
    padding: 50px 30px;
    border-radius: 150px 150px 20px 20px;
    /* Arch Style */
    box-shadow: 0 15px 40px rgba(74, 93, 78, 0.1);
    text-align: center;
    border: 1px solid rgba(134, 167, 137, 0.2);
}

.event-type {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #4A5D4E;
    margin-bottom: 30px;
    position: relative;
}

.event-type::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background: #86A789;
    margin: 10px auto 0;
}

/* Info Items */
.event-info-item {
    margin-bottom: 20px;
}

.event-info-item i {
    font-size: 1.2rem;
    color: #86A789;
    margin-bottom: 8px;
    display: block;
}

.event-info-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Button Maps */
.btn-maps {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    padding: 12px 25px;
    background-color: #4A5D4E;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(74, 93, 78, 0.3);
}

.btn-maps i {
    margin-right: 10px;
}

.btn-maps:hover {
    background-color: #38463B;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 93, 78, 0.5);
}

/* Flower Placement */
.event-flower {
    position: absolute;
    width: 150px;
    z-index: 5;
    pointer-events: none;
}

.event-flower.top {
    top: 204px;
    right: -40px;
}

.event-flower.bottom {
    bottom: 307px;
    left: -40px;
    transform: rotate(180deg);
}

/* Responsive */
@media (min-width: 768px) {
    .event-cards-wrapper {
        /* ---   flex-direction: row;
                justify-content: center;--- */
        gap: 30px;
    }
}

/* --- ANIMASI KHUSUS EVENT SECTION --- */
.event-section .reveal {
    opacity: 0;
}

/* Hover effect untuk kartu agar lebih interaktif */
.event-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(74, 93, 78, 0.15);
}



/* Staggered Delay untuk icon di dalam kartu */
.event-info-item.reveal.active {
    animation: slideInUp 0.8s ease-out forwards;
}

.info-delay-1 {
    animation-delay: 1.0s;
}

.info-delay-2 {
    animation-delay: 1.2s;
}

.info-delay-3 {
    animation-delay: 1.4s;
}

/* --- SECTION LOVE STORY (POLAROID STYLE) --- */
.story-section {
    position: relative;
    padding: 100px 20px;
    background-color: #ffffff;
    overflow: hidden;
}

.story-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
}

.story-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-section .container {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
}

.story-header {
    text-align: center;
    margin-bottom: 60px;
}

.story-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

/* Photo Side */
.story-sticky-photo {
    width: 100%;
    max-width: 300px;
}

.story-frame {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 150px 150px 20px 20px;
    /* Arch Style tetap konsisten */
    border: 6px solid #fff;
    box-shadow: 0 15px 35px rgba(74, 93, 78, 0.1);
    overflow: visible;
    /* Biar bunga bisa keluar frame sedikit */
}

.main-story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 144px 144px 14px 14px;
}

.flower-accent-frame {
    position: absolute;
    bottom: -118px;
    left: 9%;
    transform: translateX(-50%);
    width: 246px;
    z-index: 11;
}

.flower-accent-frame img {
    width: 100%;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

/* Timeline Text Side */
.story-timeline-text {
    width: 100%;
    max-width: 500px;
}

.story-phase-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 40px;
    border-left: 1px dashed #86A789;
}

.story-phase-item:last-child {
    margin-bottom: 0;
}

.phase-marker {
    position: absolute;
    left: -15px;
    top: 0;
    width: 30px;
    height: 30px;
    background: #4A5D4E;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.phase-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2D3A30;
    margin-bottom: 10px;
}

.phase-content p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
}

/* Desktop Responsiveness */
@media (min-width: 768px) {
    .story-wrapper {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 100px;
    }

    .story-sticky-photo {
        position: sticky;
        top: 50px;
    }
}

/* --- ANIMASI KHUSUS STORY SECTION --- */
.story-section .reveal {
    opacity: 0;
}

/* Garis putus-putus timeline yang memanjang saat aktif */
.story-phase-item {
    transition: all 1s ease;
}

/* Animasi khusus marker angka (01, 02, 03) */
.phase-marker.reveal.active {
    animation: fadeInScale 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Animasi Bunga di bawah foto story */
.flower-accent-frame.active img {
    animation: floating 5s ease-in-out infinite 1.5s;
}

/* Staggered delay untuk konten timeline */
.phase-delay-1 {
    animation-delay: 0.3s;
}

.phase-delay-2 {
    animation-delay: 0.5s;
}

.phase-delay-3 {
    animation-delay: 0.7s;
}

/* Desktop: Memperhalus pergerakan sticky photo */
@media (min-width: 768px) {
    .story-sticky-photo.reveal-left.active {
        animation: slideInLeft 1.5s ease-out forwards;
    }
}

/* --- SECTION GALLERY MODERN --- */
.gallery-section {
    position: relative;
    padding: 100px 20px;
    background-color: #fdfdfd;
    overflow: hidden;
}

.gallery-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.2;
}

.gallery-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-section .container {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Grid System */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 10px 25px rgba(74, 93, 78, 0.1);
    background: #eee;
    transition: transform 0.3s ease;
}

.gallery-item img:not(.flower-overlay-gallery) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item:hover {
    transform: scale(1.02);
    z-index: 11;
}

/* Style Variasi Frame */
.gallery-item.arch {
    border-radius: 100px 100px 10px 10px;
}

.gallery-item.arch-inverse {
    border-radius: 10px 10px 100px 100px;
}

.gallery-item.landscape {
    grid-column: span 2;
    height: 200px;
    border-radius: 15px;
}

.gallery-item.portrait {
    height: 300px;
    border-radius: 15px;
}

/* Flower Overlay on Image */
.flower-overlay-gallery {
    position: absolute;
    width: 120px;
    bottom: -20px;
    right: -20px;
    z-index: 12;
    pointer-events: none;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.1));
}

/* Desktop Responsiveness */
@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .gallery-item.landscape {
        grid-column: span 1;
        height: 350px;
    }

    .gallery-item.portrait {
        height: 450px;
    }

    .gallery-item.arch,
    .gallery-item.arch-inverse {
        height: 400px;
    }
}

/* Container Modal */
.gallery-modal {
    display: none;
    /* Tersembunyi secara default */
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(45, 58, 48, 0.95);
    /* Hijau tua sangat gelap */
    backdrop-filter: blur(8px);
}

/* Foto di Dalam Modal */
.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 800px;
    border-radius: 15px;
    border: 5px solid #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    animation: zoom 0.4s ease;
}

/* Tombol Close */
.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover {
    color: #86A789;
    transform: scale(1.2);
}

/* Animasi Zoom In */
@keyframes zoom {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Caption (Opsional) */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 20px 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

/* --- ANIMASI KHUSUS GALLERY --- */
.gallery-section .reveal {
    opacity: 0;
}

/* Animasi item gallery saat aktif */
.gallery-item.reveal.active {
    animation: fadeInScale 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Penambahan staggered delay untuk grid (agar muncul satu-satu) */
.g-delay-1 {
    animation-delay: 0.2s !important;
}

.g-delay-2 {
    animation-delay: 0.4s !important;
}

.g-delay-3 {
    animation-delay: 0.6s !important;
}

.g-delay-4 {
    animation-delay: 0.8s !important;
}

.g-delay-5 {
    animation-delay: 1.0s !important;
}

/* Animasi bunga dekorasi di gallery */
.flower-overlay-gallery.active {
    animation: floating 5s ease-in-out infinite 2s;
}

/* Memperhalus interaksi hover */
.gallery-item {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img:not(.flower-overlay-gallery) {
    transform: scale(1.1);
}

/* --- SECTION WEDDING GIFT --- */
.gift-section {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    background-color: #f7f9f7;
    overflow: hidden;
}

.gift-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
}

.gift-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gift-section .container {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.gift-header {
    text-align: center;
    margin-bottom: 50px;
}

.gift-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

/* Card Styling */
.gift-card {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(74, 93, 78, 0.1);
    border: 1px solid rgba(134, 167, 137, 0.1);
    transition: transform 0.3s ease;
}

.gift-card:hover {
    transform: translateY(-5px);
}

.gift-icon {
    font-size: 2.5rem;
    color: #86A789;
    margin-bottom: 15px;
}

.bank-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #2D3A30;
    margin-bottom: 20px;
}

/* Copy Box */
.account-number-box {
    background: #f0f4f1;
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.account-number-box span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #4A5D4E;
    letter-spacing: 1px;
}

.btn-copy {
    background: #4A5D4E;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: 0.3s;
}

.btn-copy:hover {
    background: #38463B;
}

.account-holder {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #666;
}

.address-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Responsive */
@media (min-width: 768px) {
    .gift-cards-wrapper {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- ANIMASI KHUSUS GIFT SECTION --- */
.gift-section .reveal {
    opacity: 0;
}

/* Kartu Gift muncul dengan efek Bounce */
.gift-card.reveal.active {
    animation: fadeInScale 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Staggered Delay untuk kartu-kartu */
.gift-delay-1 {
    animation-delay: 0.2s !important;
}

.gift-delay-2 {
    animation-delay: 0.4s !important;
}

.gift-delay-3 {
    animation-delay: 0.6s !important;
}

/* Animasi Icon melayang kecil */
.gift-icon i {
    display: inline-block;
    animation: floating 4s ease-in-out infinite;
}

/* Feedback saat berhasil menyalin */
.btn-copy.copied {
    background-color: #2D3A30 !important;
    transform: scale(0.9);
}

/* --- SECTION RSVP --- */
.rsvp-section {
    position: relative;
    width: 100%;
    padding: 100px 20px;
    background-color: #f8faf9;
    overflow: hidden;
}

.rsvp-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
}

.rsvp-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rsvp-section .container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.rsvp-header {
    text-align: center;
    margin-bottom: 50px;
}

/* Wishes Container */
.wishes-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    margin-bottom: 40px;
    border-radius: 15px;
    /* Custom Scrollbar */
}

.wishes-container::-webkit-scrollbar {
    width: 5px;
}

.wishes-container::-webkit-scrollbar-thumb {
    background: #86A789;
    border-radius: 10px;
}

.wish-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-left: 5px solid #4A5D4E;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.wish-name {
    font-family: 'Playfair Display', serif;
    color: #2D3A30;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.wish-location {
    font-size: 0.75rem;
    color: #86A789;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wish-text {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: #555;
    margin-top: 10px;
    line-height: 1.5;
}

/* Form Styling */
.rsvp-form-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(74, 93, 78, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    background: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #333;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #86A789;
    box-shadow: 0 0 0 3px rgba(134, 167, 137, 0.1);
}

.form-textarea {
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background-color: #4A5D4E;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #38463B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 93, 78, 0.3);
}

/* Flower Decor */
.rsvp-flower {
    position: absolute;
    width: 180px;
    bottom: -46px;
    right: -50px;
    opacity: 0.8;
}

.rsvp-flower img {
    width: 100%;
}

@media (max-width: 480px) {
    .rsvp-form-container {
        padding: 20px;
    }
}

/* --- ANIMASI KHUSUS RSVP --- */
.rsvp-section .reveal {
    opacity: 0;
}

/* Container Wrapper agar rapi di desktop */
@media (min-width: 768px) {
    .rsvp-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }
}

/* Animasi untuk kartu ucapan (Slide-In) */
.wish-card.reveal.active {
    animation: slideInLeft 1s ease-out forwards;
}

.wish-delay-1 {
    animation-delay: 0.3s;
}

.wish-delay-2 {
    animation-delay: 0.6s;
}

/* Animasi Bunga RSVP */
.rsvp-flower.active img {
    animation: floating 5s ease-in-out infinite 1.5s;
    transform-origin: bottom right;
}

/* Hover effect pada input form */
.form-input:hover {
    border-color: #86A789;
}

/* Animasi tombol saat loading (opsional jika nanti pakai JS) */
.btn-submit:active {
    transform: scale(0.95);
}

/* --- SECTION PENUTUP --- */
/* --- ANIMASI CLOSING SECTION --- */



/* --- SECTION CLOSING MODERN --- */
.closing-section {
    position: relative;
    width: 100%;
    padding: 80px 20px 40px;
    background-color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.closing-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
}

.closing-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.closing-section .container {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin: 0 auto;
}

/* Kalimat Penutup */
.closing-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.closing-regards {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    color: #4A5D4E;
    margin-bottom: 40px;
}

/* Foto Penutup */
.closing-photo-frame {
    width: 200px;
    height: 280px;
    margin: 0 auto 40px;
    border-radius: 100px 100px 20px 20px;
    /* Arch Style */
    border: 6px solid #fff;
    box-shadow: 0 15px 35px rgba(74, 93, 78, 0.15);
    overflow: hidden;
}

.closing-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Identitas Pasangan */
.couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2D3A30;
    margin-bottom: 10px;
}

.hashtag {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: #86A789;
    text-transform: uppercase;
    font-weight: 600;
}

/* Dekorasi Bunga */
.closing-flower-top {
    width: 200px;
    margin: 0 auto 30px;
}

.closing-flower-top img {
    width: 100%;
}

/* Footer Credit */
.footer-credit {
    margin-top: 80px;
    padding-top: 20px;
    border-top: 1px solid rgba(134, 167, 137, 0.2);
}

.footer-credit p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 1px;
}

.footer-credit i {
    color: #e74c3c;
    /* Warna hati merah */
    margin: 0 3px;
}

/* --- ANIMASI KHUSUS CLOSING --- */
.closing-section .reveal {
    opacity: 0;
}

/* Animasi khusus Foto Penutup (Zoom-In) */
.closing-photo-frame.reveal.active {
    animation: fadeInScale 1.2s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Identitas Pasangan muncul dengan slide up yang elegan */
.closing-identity.reveal.active {
    animation: slideInUp 1s ease-out forwards;
}

/* Bunga atas di closing melayang pelan */
.closing-flower-top.active img {
    animation: floating 6s ease-in-out infinite;
}

/* Footer Credit muncul paling terakhir */
.footer-credit.reveal.active {
    animation: fadeInScale 1s ease-out forwards;
    animation-delay: 1.5s;
}

/* Efek detak jantung pada icon heart di footer */
.footer-credit i {
    animation: heartBeat 1.5s infinite;
    display: inline-block;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.3);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}