@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Animasi Pohon Melambai (Swaying) */
@keyframes sway {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(2deg);
    }

    /* Goyang sedikit ke kanan */
    100% {
        transform: rotate(0deg);
    }
}

/* Animasi Masuk Pohon Kanan 2 (Rotasi 346deg) */
@keyframes slideInTreeRight2 {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(346deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(346deg);
    }
}

/* Animasi Masuk Pohon Kanan 3 (Rotasi -15deg) */
@keyframes slideInTreeRight3 {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(-15deg);
    }

    to {
        opacity: 1;
        transform: translateX(0) rotate(-15deg);
    }
}

@keyframes slideInFlower3 {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animasi Sway (Goyang) tetap menggunakan variabel agar fleksibel */
@keyframes swayMirror {
    0% {
        transform: rotate(var(--rotasi-asal));
    }

    50% {
        transform: rotate(calc(var(--rotasi-asal) + 2deg));
    }

    100% {
        transform: rotate(var(--rotasi-asal));
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    color: #4a4a4a;
}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* --- BAGIAN KIRI (DESKTOP VIEW) --- */
.left-section {
    flex: 1.4;
    /* Ganti dengan foto prewedding utama yang senada dengan tema garden */
    background: url('../images/garden-left.webp') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}

/* Overlay Gradasi: Menggunakan nuansa Maroon Gelap ke Transparan */
.left-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
            rgba(74, 0, 0, 0.9) 0%,
            /* Dark Maroon */
            rgba(128, 0, 0, 0.4) 40%,
            /* Maroon */
            rgba(0, 0, 0, 0) 70%);
    z-index: 1;
}

.left-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    animation: fadeInUp 1.5s ease;
}

/* Dekorasi Ornamen Garden di Samping */
.left-decor {
    position: absolute;
    top: 50px;
    right: -20px;
    width: 250px;
    z-index: 2;
    opacity: 0.8;
    transform: rotate(15deg);
    pointer-events: none;
}

.left-garden-ornament {
    width: 100%;
    filter: drop-shadow(2px 4px 10px rgba(0, 0, 0, 0.3));
}

.left-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    letter-spacing: 6px;
    font-size: 0.9rem;
    margin-bottom: 0;
    text-transform: uppercase;
    color: var(--gold-text);
    /* Gunakan warna gold */
}

.bride-name-cursive {
    font-family: 'Great Vibes', cursive;
    /* Konsisten dengan mobile */
    font-size: 5.5rem;
    margin: 10px 0;
    font-weight: 400;
    color: white;
    text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.5);
}

/* Divider Baru: Line Gold dengan Icon */
.left-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.gold-line {
    width: 80px;
    height: 1px;
    background: var(--gold-gradient);
}

.gold-heart {
    color: var(--gold-text);
    font-size: 0.8rem;
}

.wedding-date {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 5px;
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsif: Tetap disembunyikan di mobile agar fokus ke undangan */
@media (max-width: 1024px) {
    .left-section {
        display: none;
    }
}

/* --- BAGIAN KANAN (SAMPUL ELEGAN) --- */
.right-section {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: url('../images/bg-sampul-garden.webp') no-repeat center center;
    background-size: cover;
    scroll-behavior: smooth;
}

.section {
    min-height: 100vh;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

:root {
    --maroon-solid: #800000;
    --maroon-transparent: rgba(128, 0, 0, 0.6);
    --gold-gradient: linear-gradient(135deg, #bf953f, #fcf6ba, #b38728, #fbf5b7, #aa771c);
    --gold-text: #d4af37;
    --white: #ffffff;
}

/* first/  */


.first-screen {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    color: var(--white);
    font-family: 'Playfair Display', serif;
}

/* Background Photo Setup */
.bg-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-sampul-garden.webp');
    /* Masukkan link foto pengantin */
    background-size: cover;
    background-position: center;
    z-index: 1;
    animation: waveFlow 6s ease-in-out infinite;

}

@keyframes waveFlow {

    0%,
    100% {
        transform: translateY(0) scale(1.02);
    }

    50% {
        transform: translateY(-15px) scale(1);
    }
}

/* Overlay Gradasi Maroon untuk Nuansa Garden yang Hangat */
.overlay-maroon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, transparent 50%, rgb(91 1 1 ) 100%);
    z-index: 2;
}

@keyframes floatAwan {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(20px);
    }

    100% {
        transform: translateX(0);
    }
}

.cloud {
    position: absolute;
    z-index: 2;
    /* Di atas background kastil, di bawah atau sejajar frame */
    pointer-events: none;
    /* Agar tidak menghalangi klik tombol */
    opacity: 0.8;
}

.awan-1 {
    width: 236px;
    top: 1%;
    opacity: 0.5;
    left: 0%;
    animation: floatAwan 6s ease-in-out infinite;
    top: -12px;
}

.awan-2 {
    width: 250px;
    top: 3%;
    opacity: 0.6;
    right: 5%;
    animation: floatAwan 8s ease-in-out infinite reverse;
}

.content {
    position: relative;
    z-index: 3;
    height: 78%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Meniru layout gambar: teks di atas, tombol di bawah */
    padding: 40px 20px;
}

/* Typography & Animations */
.the-wedding {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 4px;
    /* Gunakan font latin/script */
    font-size: 0.9rem;
    color: var(--maroon-solid);
    margin-bottom: 5px;
    opacity: 0;
    animation: fadeInDown 1.2s forwards;
}

.couple-names {
    font-family: 'Pinyon Script', cursive;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-text);
    text-transform: capitalize;
    text-shadow: 2px 2px 10px rgb(255 255 255 / 50%);
    opacity: 0;
    animation: fadeInDown 1.2s forwards 0.5s;
}

.recipient-label {
    font-size: 0.9rem;
    margin-bottom: 10px;
    font-weight: 300;
}

.guest-name {
    font-size: 1.4rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

/* Button "Buka Undangan" ala Gold */
.btn-open-invitation {
    background: var(--maroon-solid);
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1.2s forwards 1s;
}

.btn-open-invitation:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Animations Keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.top-content {
    position: relative;
    padding: 40px 20px;
    /* Menggunakan file shadow-white.webp sebagai background */
    background-image: url('../images/shadow-white.webp');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;

    /* Menambahkan sedikit transparansi agar tidak terlalu kaku putihnya */
    /* Anda bisa menyesuaikan opacity sesuai selera */
    opacity: 0.95;

    /* Memastikan animasi sinkron dengan teks di dalamnya */
    animation: fadeInDown 1.2s forwards;
    z-index: 4;
}

/* Karena .top-content sudah punya animasi, kita hapus animasi individual di teks 
   agar muncul bersamaan dengan background shadow-nya */
.the-wedding,
.couple-names {
    opacity: 1 !important;
    animation: none !important;
}

/* opening/ */
.opening-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    /* Fallback warna gelap */
}

/* Video Background Styling */
.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    /* width: auto; */
    /* height: auto; */
    z-index: 1;
    transform: translate(-50%, -50%);
    object-fit: fill;
}

.opening-container {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Teks sekarang benar-benar di tengah vertikal */
    align-items: center;
    height: 100%;
    width: 100%;
    gap: 30px;
    /* Jarak antara konten utama dan scroll indicator */
}

/* Shadow Decor Adopting shadow-white.webp */
.shadow-decor {
    background-image: url('../images/shadow-white.webp');
    background-size: 100% 100%;
    /* Menyesuaikan ukuran box */
    background-repeat: no-repeat;
    background-position: center;
    padding: 80px 40px;
    /* Padding diperbesar agar shadow terlihat luas */
    opacity: 0;
    animation: zoomIn 2s ease-out forwards;
    animation-delay: 5s;
    z-index: 4;
}

.opening-names {
    font-family: 'Playfair Display', serif;
    font-size: 2.3rem;
    letter-spacing: 5px;
    line-height: 1.5;
    color: var(--gold-text);
    text-shadow: 2px 2px 15px rgb(255 255 255 / 50%);
    margin: 30px 0;
}

.wedding-date-opening {
    font-size: 1.5rem;
    letter-spacing: 8px;
    font-weight: 300;
    border-top: 1px solid var(--gold-text);
    border-bottom: 1px solid var(--gold-text);
    display: inline-block;
    color: var(--maroon-solid);
    padding: 10px 20px;
}

.scroll-indicator {
    position: absolute;
    bottom: 125px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards;
    animation-delay: 6s;
}

.flower-garden-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    /* Area tumbuh bunga */
    z-index: 5;
    pointer-events: none;
}

.fg-item {
    position: absolute;
    bottom: -100px;
    opacity: 0;
    transition: none;
    /* Menggabungkan dua animasi: growFlower (sekali) dan sway (terus-menerus) */
    /* Kita gunakan transform-origin: bottom agar ayunan berpusat di bawah/akar */
    transform-origin: bottom center;
    animation: growFlower 2s ease forwards, sway 4s ease-in-out infinite alternate;
}

/* Penentuan Animasi Individual agar tidak mengayun bersamaan (staggered) */
.f1 {
    left: -36%;
    width: 95%;
    bottom: -5px;
    z-index: 7;
    animation-delay: 4.0s, 6.0s;
    animation-duration: 2s, 4s;
}

.f2 {
    left: -15%;
    width: 85%;
    bottom: -12px;
    z-index: 8;
    animation-delay: 4.2s, 6.2s;
    animation-duration: 2s, 4.5s;
}

.f3 {
    left: -3%;
    width: 75%;
    bottom: -15px;
    z-index: 9;
    animation-delay: 4.1s, 6.1s;
    animation-duration: 2s, 3.8s;
}

.f4 {
    left: 10%;
    width: 65%;
    bottom: 0px;
    z-index: 7;
    animation-delay: 4.4s, 6.4s;
    animation-duration: 2s, 5s;
}

.f5 {
    left: 20%;
    width: 65%;
    bottom: -8px;
    z-index: 11;
    animation-delay: 4.3s, 6.3s;
    animation-duration: 2s, 4.2s;
}

.f6 {
    left: 25%;
    width: 65%;
    bottom: -12px;
    z-index: 11;
    animation-delay: 4.5s, 6.5s;
    animation-duration: 2s, 4.7s;
}

.f7 {
    left: 33%;
    width: 65%;
    bottom: 0px;
    z-index: 10;
    animation-delay: 4.2s, 6.2s;
    animation-duration: 2s, 3.5s;
}

.f8 {
    left: 33%;
    width: 75%;
    bottom: -16px;
    z-index: 9;
    animation-delay: 4.6s, 6.6s;
    animation-duration: 2s, 4.1s;
}

.f9 {
    left: 30%;
    width: 85%;
    bottom: -12px;
    z-index: 8;
    animation-delay: 4.1s, 6.1s;
    animation-duration: 2s, 5.2s;
}

.f10 {
    left: 42%;
    width: 95%;
    bottom: -5px;
    z-index: 7;
    animation-delay: 4.3s, 6.3s;
    animation-duration: 2s, 3.9s;
}

/* Animasi Bunga Tumbuh (Tetap sama) */
@keyframes growFlower {
    0% {
        opacity: 0;
        transform: translateY(100px) scale(0.8) rotate(0deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

/* Animasi Mengayun (Sway) */
@keyframes sway {
    0% {
        transform: rotate(-5deg);
    }

    100% {
        transform: rotate(3deg);
    }
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid var(--gold-text);
    border-radius: 15px;
    position: relative;
}

.scrol-text {
    color: var(--gold-text);
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--gold-text);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scrollMouse 2s infinite;
}

/* Keyframes */
@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 15px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Class untuk Animasi On Scroll (Triggered by JS) */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.opening-sub {
    color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* quotes/ */
.quotes-section {
    min-height: 50vh;
    padding: 60px 20px;
    background-color: var(--maroon-solid);
    /* Ivory white agar maroon lebih menonjol */
    overflow: hidden;
}

.overlay-quotes {
  position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(255 255 255) 0%, #ffffffa8 50%, rgb(255 255 255 / 60%) 100%);
    z-index: 0;
}

.quotes-container {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Image Wrapper dengan Rounded Corners */
.quotes-image-wrapper {
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(128, 0, 0, 0.2);
    margin-bottom: -30px;
    /* Overlap sedikit dengan box teks di bawah */
    z-index: 2;
}

.quotes-img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05);
    transition: transform 2s ease;
}

/* Content Wrapper dengan Background Webp */
.quotes-content-wrapper {
    position: relative;
    width: 95%;
    padding: 60px 30px 40px;
    border-radius: 30px 30px;
    z-index: 1;
    overflow: hidden;
    text-align: center;
}

.bg-garden-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-sampul-garden.webp');
    background-size: cover;
    background-position: center;
    opacity: 1;
    /* Tipis-tipis agar teks tetap terbaca */
    z-index: -1;
}

.quotes-text-inner {
    position: relative;
}

.initials {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold-text);
    margin-bottom: 20px;
    font-weight: 700;

}

.ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: 1.8rem;
    color: #800000;
    /* Maroon */
}

.quote-verse {
    font-style: italic;
    color: #444;
    line-height: 1.3;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.quote-source {
    font-weight: 700;
    color: #800000;
    /* Maroon */
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* --- GLOBAL ANIMATION SYSTEM --- */

/* State Awal (Tersembunyi) */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    visibility: hidden;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(-50px);
}

.reveal-right {
    transform: translateX(50px);
}

/* State Akhir (Muncul) */
.active {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate(0, 0) !important;
}

/* --- CUSTOM DELAYS (Opsional per Section) --- */
#save-the-date .reveal-up:nth-child(1) {
    transition-delay: 0.2s;
}

#save-the-date .reveal-up:nth-child(2) {
    transition-delay: 0.4s;
}

/* couple/ */
.couple-section {
    position: relative;
    padding: 80px 20px;
    /* background-color: #fff; */
    overflow: hidden;
    text-align: center;
}

.card-couple {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 60px 30px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(212, 163, 115, 0.2);
    z-index: 5;
}

.couple-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-sampul-garden.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    /* Transparan agar konten tetap fokus */
    z-index: 1;
}

.couple-container {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.flower-top {
    width: 120px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transform-origin: bottom center;
    /* Animasi sway terus menerus */
    animation: sway 4s ease-in-out infinite alternate;
}


.title-married {
    font-family: 'Pinyon Script', cursive;
    font-size: 2rem;
    color: var(--maroon-solid);
    margin-bottom: 15px;
}

.intro-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 50px;
    padding: 0 10px;
}

/* Photo Frame Oval */
.photo-frame {
    position: relative;
    width: 200px;
    height: 280px;
    margin: 0 auto 20px;
    border: 3px solid var(--gold-text);
    border-radius: 100px;
    /* Bentuk Oval */
    overflow: visible;
    /* Biar bunga bisa keluar dari frame */
}

.mempelai-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 100px;
}

.flower-decor-photo {
    position: absolute;
    width: 100px;
    bottom: -10px;
    right: -20px;
    z-index: 3;
    transform-origin: bottom left;
    /* Ayunan berpusat di sudut kiri bawah bunga */
    animation: sway 3.5s ease-in-out infinite alternate-reverse;
    /* Kecepatan berbeda agar lebih dinamis */
}

/* Mempelai Detail */
.mempelai-name {
    font-family: 'Pinyon Script', cursive;
    font-size: 3rem;
    color: var(--maroon-solid);
    margin-bottom: 5px;
}

.full-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    /* letter-spacing: 2px; */
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.parent-info {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

.btn-instagram {
    display: inline-block;
    padding: 6px 15px;
    background: var(--gold-gradient);
    color: var(--maroon-solid);
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.separator-ampersand {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    color: var(--gold-text);
    margin: 40px 0;
}



.save-the-date {
    padding: 80px 20px;
    background-color: var(--maroon-solid);
    /* Warna hijau sage lembut sesuai referensi */
    text-align: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
}

/* Menggunakan bg-sampul-garden.webp sebagai overlay halus */
.save-the-date::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-sampul-garden.webp');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.std-container {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
}

.bouquet-img {
    width: 150px;
    margin-bottom: 20px;
}

.std-title {
    font-family: 'Pinyon Script', cursive;
    font-size: 2.5rem;
    color: #fff;
    /* Putih agar kontras dengan hijau */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

/* Kotak Countdown Putih */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}

.countdown-box {
    background: #ffffff;
    padding: 15px 5px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.countdown-box span {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--maroon-transparent);
    /* Warna hijau senada background */
    font-family: 'Playfair Display', serif;
}

.countdown-box p {
    font-size: 0.75rem;
    color: #000;
    margin-top: 5px;
}

.std-invitation-text {
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 35px;
    font-weight: 500;
}

/* Button Pill-Shaped White Gold */
.btn-save-calendar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--maroon-transparent);
    padding: 12px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.btn-save-calendar:hover {
    background: var(--gold-text);
    color: #fff;
    transform: translateY(-3px);
}


/* event/ */
.event-section {
    padding: 80px 20px;
    background-color: var(--maroon-solid);
    /* Ivory white */
}

.event-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    max-width: 300px;
    margin: 0 auto;
}

/* Card Styling dengan Bentuk Arch (Lengkungan) */
.event-card {
    position: relative;
    width: 100%;
    padding: 60px 30px;
    border-radius: 180px 180px;
    /* Membuat bentuk Arch atas */
    border: 3px solid var(--gold-text);
    overflow: hidden;
    text-align: center;
    background-color: white;
    box-shadow: 0 15px 35px rgba(128, 0, 0, 0.1);
}

/* Background Card Overlay */
.card-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-sampul-garden.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    /* Halus agar teks terbaca */
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

/* Typography Event */
.event-type {
    font-family: 'Pinyon Script', cursive;
    font-size: 2.8rem;
    color: var(--maroon-solid);
    margin-bottom: 25px;
}

.event-date-box {
    margin-bottom: 30px;
}

.day {
    font-weight: 700;
    letter-spacing: 3px;
    color: #333;
}

.date {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1;
    color: #000;
    margin: 5px 0;
}

.month-year {
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.time {
    font-size: 0.9rem;
    color: #555;
}

.location-box {
    margin-top: 20px;
    padding: 0 10px;
}

.gold-icon {
    font-size: 1.5rem;
    color: var(--gold-text);
    margin-bottom: 10px;
}

.venue-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.address {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
}

/* Button Google Map Gold Pill */
.btn-google-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-gradient);
    color: var(--maroon-solid);
    padding: 10px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.btn-google-maps:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(191, 149, 63, 0.4);
}

/* story/ */
.section-story {
    padding: 50px 20px;
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.story-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.story-header {
    margin-bottom: 50px;
}

.story-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--maroon-solid);
    margin: 10px 0;
}

.story-subtitle {
    font-size: 1rem;
    color: #666;
    font-style: italic;
}

/* Timeline Layout */
.story-timeline {
    position: relative;
    padding: 20px 0;
}

.story-item {
    margin-bottom: 40px;
    position: relative;
}

.story-date {
    background: var(--maroon-solid);
    color: var(--gold-text);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    border: 1px solid var(--gold-text);
}

.story-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.05);
    border-left: 5px solid var(--gold-text);
}

.story-box h3 {
    font-family: 'Playfair Display', serif;
    color: var(--maroon-solid);
    margin-bottom: 10px;
}

.story-box p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}

/* Photo Section Styling */
.story-photo-wrapper {
    position: relative;
    width: 100%;
    margin: 40px 0;
    padding: 15px;
}

.story-main-photo {
    width: 100%;
    border-radius: 15px;
    z-index: 2;
    position: relative;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.photo-frame-gold {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--gold-text);
    border-radius: 20px;
    transform: rotate(2deg);
    z-index: 1;
}

.flower-story-top {
    width: 100px;
}

.flower-story-bottom {
    width: 150px;
    margin-top: 30px;
}

/* galeri/ */
.gallery-section {
    padding: 80px 20px;
    background-color: var(--maroon-solid);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gallery-container {
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.gallery-subtitle {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 50px;
}

/* Video Styling */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 10px;
    background: var(--gold-gradient);
    /* Frame Emas */
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(128, 0, 0, 0.15);
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.flower-video-decor {
    position: absolute;
    width: 90px;
    top: -40px;
    right: -30px;
    z-index: 3;
}

/* Photo Grid Styling */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 kolom di mobile */
    grid-auto-rows: 150px;
    /* Tinggi dasar baris */
    gap: 12px;
    padding: 0 10px;
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    /* Lebih rounded sesuai gambar referensi */
    border: 2px solid var(--gold-text);
    display: block;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Variasi Ukuran Item */
.photo-item.tall {
    grid-row: span 2;
    /* Mengambil 2 baris (lebih tinggi) */
}

.photo-item.big {
    grid-row: span 2;
    grid-column: span 1;
}

.photo-item:hover img {
    transform: scale(1.1);
}

/* Styling Video Frame */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 8px;
    background: var(--gold-gradient);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
}

.flower-video-decor {
    position: absolute;
    width: 100px;
    top: -45px;
    right: -35px;
    z-index: 3;
}

.flower-gallery-bottom {
    width: 82px;
    margin-top: -130px;
    opacity: 0.9;
    margin-left: -38px;
}

/* Responsif untuk Tablet & Desktop */
@media (min-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 3 kolom di layar besar */
        grid-auto-rows: 200px;
        gap: 20px;
    }

    .photo-item.big {
        grid-column: span 2;
        /* Gambar utama jadi lebih lebar di desktop */
        grid-row: span 2;
    }
}

.gift-section {
    padding: 50px 20px;
    background-color: var(--maroon-solid);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gift-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.gift-title {
    font-family: 'Pinyon Script', cursive;
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.gift-subtitle {
    font-size: 0.95rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 50px;
    padding: 0 20px;
}

.gift-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.gift-card {
    background: #fff;
    border: 2px solid var(--gold-text);
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 320px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.1);
}

/* Background pola halus di dalam kartu */
.card-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bg-sampul-garden.webp');
    background-size: cover;
    opacity: 0.05;
    z-index: 1;
}

.bank-logo,
.gift-icon,
.account-info,
.btn-copy {
    position: relative;
    z-index: 2;
}

.gift-icon .gold-icon {
    font-size: 3rem;
    color: var(--gold-text);
    margin-bottom: 20px;
}

.account-info {
    margin: 20px 0;
}

.account-name {
    font-weight: 100;
    color: #333;
    font-weight: 100;
    margin-bottom: 13px;
    letter-spacing: 1px;
}

.account-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--maroon-solid);
    font-weight: 700;
}

.address-text {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

/* Button Copy Gold */
.btn-copy {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-gradient);
    border: none;
    color: var(--maroon-solid);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.85rem;
    cursor: pointer;
    margin: 0 auto;
    transition: 0.3s;
}

.btn-copy:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(191, 149, 63, 0.4);
}

.flower-gift-decor {
    width: 120px;
    margin-top: 50px;
}

/* rsvp/ */
.rsvp-section {
    padding: 80px 20px;
    background: transparent;
    /* Sesuai permintaan */
    position: relative;
    z-index: 2;
}

.rsvp-container {
    max-width: 600px;
    margin: 0 auto;
}

.rsvp-title {
    font-family: 'Great Vibes', cursive;
    font-size: 3.5rem;
    color: var(--maroon-solid);
    text-align: center;
}

.rsvp-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 40px;
    font-style: italic;
}

/* Form Styling */
.rsvp-form-wrapper {
    background: rgba(255, 255, 255, 0.8);
    /* Semi-transparan agar kontras */
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--gold-text);
    box-shadow: 0 10px 30px rgba(128, 0, 0, 0.1);
    margin-bottom: 50px;
}

.input-group {
    margin-bottom: 15px;
}

.rsvp-form-wrapper input,
.rsvp-form-wrapper select,
.rsvp-form-wrapper textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
}

.rsvp-form-wrapper input:focus,
.rsvp-form-wrapper textarea:focus {
    border-color: var(--maroon-solid);
}

.btn-rsvp {
    width: 100%;
    padding: 15px;
    background: var(--gold-gradient);
    border: none;
    border-radius: 50px;
    color: var(--maroon-solid);
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-rsvp:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(191, 149, 63, 0.4);
}

/* Wishes Display (Guest Book List) */
.wishes-display {
    background: rgba(128, 0, 0, 0.05);
    /* Maroon sangat tipis */
    border-radius: 20px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid rgba(191, 149, 63, 0.3);
}

.wish-item {
    background: white;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 15px;
    border-left: 4px solid var(--maroon-solid);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wish-name {
    font-weight: bold;
    color: var(--maroon-solid);
}

.wish-status {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: 20px;
}

.wish-status.hadir {
    background: #e8f5e9;
    color: #2e7d32;
}

.wish-status.tidak-hadir {
    background: #ffebee;
    color: #c62828;
}

.wish-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

.flower-rsvp-decor {
    width: 150px;
    display: block;
    margin: 40px auto 0;
}

/* Custom Scrollbar untuk Guest Book */
.wishes-display::-webkit-scrollbar {
    width: 5px;
}

.wishes-display::-webkit-scrollbar-track {
    background: transparent;
}

.wishes-display::-webkit-scrollbar-thumb {
    background: var(--gold-text);
    border-radius: 10px;
}

/* closing/ */
.closing-section {
    padding: 50px 20px 40px;
    background: linear-gradient(to bottom, #ffffff36 0%, #800000 57%);
    text-align: center;
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.closing-container {
    max-width: 600px;
    margin: 0 auto;
}

.closing-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #ffffff;
    margin-bottom: 20px;
    padding: 0 15px;
}

.closing-thank-you {
    font-family: 'Pinyon Script', cursive;
    font-size: 1.7rem;
    color: #fff;
    margin-bottom: 40px;
}

.couple-names-closing {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    letter-spacing: 5px;
    color: var(--gold-text);
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hashtag {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
    margin-bottom: 80px;
}

/* Footer Styling */
.main-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 20px;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.main-footer i {
    color: #ff4d4d;
    margin: 0 5px;
    animation: heartBeat 1.5s infinite;
}

.flower-closing-top {
    width: 120px;
    margin-bottom: 30px;
}

/* Animasi Heartbeat untuk Footer */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.3);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.3);
    }

    70% {
        transform: scale(1);
    }
}

/* Update class bunga untuk posisi bawah foto */
.flower-closing-bottom {
    width: 120px;
    margin: 20px auto 30px auto;
    /* Memberi ruang di atas dan bawah bunga */
    display: block;
    position: relative;
    z-index: 3;
}

/* Memastikan wrapper foto memiliki margin bawah yang pas */
.closing-photo-wrapper {
    position: relative;
    width: 250px;
    height: 350px;
    margin: 0 auto 50px;
    /* Ditambah sedikit agar tidak menabrak nama di bawah */
    z-index: 2;
}

.flower-closing-accent {
    position: absolute;
    width: 130px;
    /* Ukuran bisa disesuaikan */
    bottom: -25px;
    /* Menempel/Keluar sedikit dari bawah foto */
    right: -30px;
    /* Menempel/Keluar sedikit dari samping kanan foto */
    z-index: 3;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
}

/* Sisa CSS lainnya tetap sama sesuai kode Anda */
.closing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 125px 125px;
    border: 4px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}