/* --- 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 */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

/* State akhir: elemen muncul ke posisi asli */
.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* Variasi delay untuk elemen berurutan (stagger effect) */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */


/* State dasar sebelum animasi */
.animate-hidden {
    opacity: 0;
    transform: translateY(40px);
    /* Muncul dari bawah */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

/* State saat elemen masuk ke viewport */
.animate-show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Animasi Pesan Penutup (Fade In saja) --- */


/* --- Animasi Thank You (Expand Letter Spacing) --- */
.thank-you-text.animate-hidden {
    opacity: 0;
    letter-spacing: 10px;
    transform: scale(1.1);
    transition: all 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.thank-you-text.animate-show {
    opacity: 1;
    letter-spacing: -2px;
    /* Kembali ke gaya rapat sesuai gambar */
    transform: scale(1);
}

/* --- Animasi Foto Closing (Zoom Out ke Frame) --- */
.closing-photo.animate-hidden {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s ease-out;
}

.closing-photo.animate-show {
    opacity: 1;
    transform: scale(1);
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    overflow-x: hidden;
    /* Mencegah scroll horizontal seluruh halaman */
    margin: 0;
    padding: 0;
    width: 100%;
}

.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Reset & Base Font */
body,
html {

    font-family: 'Serif', 'Georgia', serif;
    color: #6d5d4b;
    background-color: #1a2a33;

}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
    /* Mencegah seluruh halaman scroll */
}

/* Class khusus untuk nama pengantin */

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
.left-section {
    color: #c7ab65;
    flex: 1.4;
    background: url('images.jpeg') no-repeat center center;
    background-size: cover;
    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: radial-gradient(circle, rgba(15, 20, 30, 0.4) 0%, rgb(15 20 30 / 55%) 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: url('../images/blue-background.webp') no-repeat center center;
    background-size: cover;
    /* 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); */
}


/* Import Google Fonts */
/* Import Font yang mendukung kesan klasik dan oriental modern */
@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,wght@0,400;0,700;1,400&family=Montserrat:wght@300;400&family=Noto+Serif+TC:wght@300;500&display=swap');

:root {
    --cobalt-blue: #0047ab;
    --porcelain-white: #fefefe;
    --accent-blue: #5d8aa8;
    --text-dark: #1a1a1a;
}

.first-screen.chinoiserie-theme {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: #fefefe;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    text-align: center;
}

/* Background Photo sesuai Gambar */
.main-bg-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    z-index: 1;
}

.luxury-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 1) 100%);
    z-index: 2;
}

/* Frame Gerbang Chinoiserie */
.chinoiserie-gate-frame {
    position: absolute;
    top: 5%;
    width: 90%;
    height: 60%;
    z-index: 3;
    pointer-events: none;
}

.gate-border {
    width: 100%;
    height: 100%;
    border: 2px solid var(--cobalt-blue);
    border-bottom: none;
    /* Bentuk lengkungan gerbang atas */
    border-radius: 150px 150px 0 0;
    opacity: 0.6;
}

.gate-decor {
    position: absolute;
    width: 180px;
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.7);
}

.gate-decor.top-left {
    top: -20px;
    left: -30px;
}

.gate-decor.top-right {
    top: -20px;
    right: -30px;
    transform: scaleX(-1);
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 10;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.wedding-label {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    letter-spacing: 4px;
    color: #ffffff;
    margin-bottom: auto;
    font-weight: bold;
    text-shadow: 1px 2px 9px var(--cobalt-blue);
    padding-top: 20px;
}

/* Panel Kaca Buram (Frosted Glass) */
.glass-info-panel {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    width: 90%;
    padding: 40px 20px;
    margin-top: 35vh;
    /* Menyesuaikan posisi di tengah-bawah foto */
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 71, 171, 0.1);
}

.couple-names {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    color: var(--cobalt-blue);
    margin: 20px 0 5px;
}

.ampersand {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.8rem;
    font-style: italic;
    display: block;
    margin-bottom: 20px;
}

.date-badge {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid var(--cobalt-blue);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Button Open Styling sesuai Gambar */
.btn-open-chinoiserie {
    background: white;
    border: 2px solid var(--cobalt-blue);
    color: var(--cobalt-blue);
    padding: 12px 30px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 71, 171, 0.15);
    transition: 0.3s;
}

.btn-open-chinoiserie i {
    margin-right: 10px;
}

.btn-open-chinoiserie:hover {
    background: var(--cobalt-blue);
    color: white;
}

.guest-section {
    margin-top: 30px;
}

.guest-section p {
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.guest-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 480px) {
    .gate-decor {
        width: 120px;
    }

    .couple-names {
        font-size: 2.2rem;
    }

    .glass-info-panel {
        padding: 30px 15px;
    }
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }
}

/* 1. Animasi untuk Background Photo (Zoom In Pelan) */
.main-bg-photo {
    animation: kenBurnsFade 3s ease-out forwards;
}

/* 2. Animasi Panel Kaca (Muncul dari Bawah) */
.glass-info-panel {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpFade 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}

/* 3. Staggered Delay untuk Elemen di Dalam Panel */
.wedding-label {
    opacity: 0;
    animation: fadeInDown 1s ease-out 0.2s forwards;
}

.btn-open-chinoiserie {
    opacity: 0;
    animation: zoomInBounce 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1.2s forwards;
}

.couple-names {
    opacity: 0;
    animation: fadeInDown 1s ease-out 1.5s forwards;
}

.ampersand {
    opacity: 0;
    animation: fadeIn 1.2s ease-out 1.8s forwards;
}

.date-badge {
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
}

.guest-section {
    opacity: 0;
    animation: fadeInUp 1s ease-out 2.3s forwards;
}

/* --- KEYFRAMES --- */

@keyframes kenBurnsFade {
    0% {
        opacity: 0;
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes zoomInBounce {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Import Google Fonts (Tambahkan di bagian head HTML) */

/* --- 1. RESET & BASE --- */
.opening-section.chinoiserie-theme {
    position: relative;
    padding: 50px 20px;
    text-align: center;
    overflow: hidden;
    color: var(--cobalt-blue);
    height: 100vh;
}

/* Background dengan opacity */
.opening-section.chinoiserie-theme::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/blue-background.webp') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
    /* atur sesuai kebutuhan */
    z-index: 1;
}

/* Agar konten tetap di atas background */
.opening-section.chinoiserie-theme>* {
    position: relative;
    z-index: 2;
}

/* Pola latar belakang porselen tipis */
.bg-pattern-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/parian-marble.png');
    opacity: 0.4;
    pointer-events: none;
}

/* Ornamen Atas */
.opening-decor-top {
    display: flex;
    justify-content: center;
    /* gap: 30px; */
    margin-bottom: 40px;
}

.opening-decor-top img {
    width: 80px;
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.7);
}

.chino-leaf-left {
    transform: scaleX(-1);
}

.opening-label {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 1rem;
    margin-bottom: 30px;
}

/* Porcelain Frame Styling */
.porcelain-frame {
    position: relative;
    width: 280px;
    height: 380px;
    margin: 0 auto 40px;
    padding: 15px;
}

.inner-frame {
    width: 100%;
    height: 100%;
    /* Membuat bentuk octagon yang unik */
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    border: 3px solid var(--cobalt-blue);
    overflow: hidden;
    z-index: 2;
    position: relative;
}

.opening-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.02);
}

/* Aksen Garis Luar Frame */
.frame-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--accent-blue);
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    transform: scale(1.08);
    opacity: 0.5;
}

/* Tipografi Nama */
.opening-couple-names {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 30px;
}

.ampersand-blue {
    font-style: italic;
    color: var(--accent-blue);
    font-family: 'Noto Serif TC', serif;
}

/* Tanggal Box */
.chinoiserie-date-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.date-divider {
    width: 30px;
    height: 1px;
    background-color: var(--cobalt-blue);
}

.date-text {
    font-family: 'Montserrat', sans-serif;
}

.day-name {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.full-date {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.opening-location {
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .porcelain-frame {
        width: 240px;
        height: 320px;
    }

    .opening-couple-names {
        font-size: 2.5rem;
    }
}

/* Animasi Khusus Zoom */
.reveal-zoom {
    opacity: 0;
    transform: scale(0.8);
    transition: all 1.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-zoom.show {
    opacity: 1;
    transform: scale(1);
}

.reveal-down {
    opacity: 0;
    transform: translateY(-50px);
}



.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal-down.show {
    opacity: 1;
    transform: translateY(0);
}

/* quotes section  */
.quotes-section.chinoiserie-theme {
    padding: 50px 20px;
    background-color: #ffffff;
    position: relative;
    text-align: center;
    color: var(--cobalt-blue);
    min-height: 60vh;
}

/* Medallion Style Decoration */
.quotes-decoration {
    margin-bottom: 40px;
}

.chinoiserie-medallion {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border: 1px double var(--cobalt-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.chinoiserie-medallion img {
    width: 100%;
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.7);
}

/* Typography */
.quotes-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.8rem;
    letter-spacing: 2px;
    font-weight: 400;
    margin-bottom: 20px;
}

.chinoiserie-divider {
    width: 100px;
    height: 1px;
    background: var(--accent-blue);
    margin: 0 auto 40px;
    position: relative;
}

.chinoiserie-divider .dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--cobalt-blue);
    border-radius: 50%;
}

.main-quote {
    font-family: 'Noto Serif TC', serif;
    font-size: 1.2rem;
    line-height: 1.3;
    font-style: italic;
    color: #444;
    /* Abu-abu gelap agar kontras dengan ornamen biru */
    max-width: 700px;
    margin: 0 auto 20px;
}

.quote-subtext {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-blue);
}

/* Dekorasi Awan Tradisional (Cloud Pattern) */
.blue-cloud-pattern {
    width: 150px;
    height: 30px;
    margin: 50px auto 0;
    background-image: radial-gradient(circle at 20% 50%, var(--accent-blue) 8px, transparent 3px),
        radial-gradient(circle at 50% 50%, var(--accent-blue) 8px, transparent 3px),
        radial-gradient(circle at 80% 50%, var(--accent-blue) 8px, transparent 3px);
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
    .main-quote {
        font-size: 1.1rem;
        padding: 0 10px;
    }

    .quotes-title {
        font-size: 1.5rem;
    }
}

/* --- SECTION BRIDE & GROOM --- */
.couple-section.chinoiserie-theme {
    padding: 70px 20px;
    background-color: #fefefe;
    text-align: center;
    color: var(--cobalt-blue);
}

.couple-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Portrait Styling */
.porcelain-portrait {
    position: relative;
    padding: 15px;
}

.circle-frame {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 3px solid var(--cobalt-blue);
    padding: 8px;
    position: relative;
    z-index: 2;
    background: white;
}

.circle-frame::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px dashed var(--accent-blue);
    border-radius: 50%;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: brightness(1.02) contrast(1.05);
}

/* Floral Ornaments on Frame */
.frame-floral-decor {
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: url('https://cdn.pixabay.com/photo/2014/04/03/10/30/flower-310738_1280.png');
    background-size: contain;
    background-repeat: no-repeat;
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.7);
    z-index: 3;
    pointer-events: none;
}

.frame-floral-decor.top-left {
    top: -20px;
    left: -20px;
    transform: rotate(-15deg) scaleX(-1);
}

.frame-floral-decor.bottom-right {
    bottom: -20px;
    right: -20px;
    transform: rotate(15deg);
}

/* Typography & Info */
.person-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 2rem;
    margin: 25px 0 10px;
    font-weight: 400;
}

.parent-text {
    font-family: 'Noto Serif TC', serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

.social-link a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 0.8rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

/* Middle Divider */
.couple-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.blue-line {
    width: 1px;
    height: 50px;
    background-color: var(--accent-blue);
}

.and-symbol {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 2rem;
}

/* Desktop Layout */
@media (min-width: 768px) {
    /* .couple-flex {
                flex-direction: row;
                justify-content: space-around;
                align-items: flex-start;
            } */

    .couple-divider {
        padding-top: 100px;
    }
}

/* --- SECTION SAVE THE DATE --- */
.save-the-date.chinoiserie-theme {
    padding: 100px 20px;
    background-color: transparent;
    /* Porcelain White */
    color: var(--cobalt-blue);
    text-align: center;
    position: relative;
}

/* Header Styling */
.std-mini {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--accent-blue);
}

.std-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 4rem;
    line-height: 0.9;
    letter-spacing: 5px;
    margin: 10px 0 40px;
    font-weight: 700;
}

/* Date Layout Styling */
.std-day-name {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.date-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.date-line {
    width: 40px;
    height: 1px;
    background: var(--cobalt-blue);
    opacity: 0.5;
}

.date-number {
    font-family: 'Bodoni Moda', serif;
    font-size: 5rem;
    line-height: 1;
}

.date-month-year {
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 2px;
}

.date-month-year span {
    display: block;
    font-size: 1rem;
}

/* Countdown Units */
.std-countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.timer-unit {
    width: 75px;
    height: 90px;
    border: 1px solid var(--accent-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 71, 171, 0.03);
}

.timer-unit .count {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.8rem;
    font-weight: 700;
}

.timer-unit .label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 1px;
    margin-top: 5px;
}

/* Location & Button */
.std-location {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 40px;
}

.std-location .venue {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.std-location .city {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-chino-remind {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid var(--cobalt-blue);
    color: var(--cobalt-blue);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-chino-remind:hover {
    background: var(--cobalt-blue);
    color: white;
}

/* Responsive */
@media (max-width: 480px) {
    .std-title {
        font-size: 3rem;
    }

    .date-number {
        font-size: 4rem;
    }

    .timer-unit {
        width: 65px;
        height: 80px;
    }
}

/* --- SECTION EVENT (AKAD & RESEPSI) --- */
.event-section.chinoiserie-theme {
    position: relative;
    padding: 120px 20px;
    background-color: var(--porcelain-white);
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    overflow: hidden;
    text-align: center;
    color: var(--cobalt-blue);
}

/* Pilar Positioning */
.event-pillar {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 250px;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.pillar-l {
    left: -60px;
}

.pillar-r {
    right: -60px;
}

.event-pillar img {
    height: 100%;
    object-fit: contain;
}

/* Arch Card Styling dari Gambar Referensi */
.event-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    position: relative;
    z-index: 2;
}

.event-card-arch {
    background: white;
    width: 100%;
    max-width: 350px;
    padding: 10px;
    /* Bentuk Arch/Kubah dari Gambar */
    border-radius: 200px 200px;
    border: 1px solid var(--accent-blue);
    box-shadow: 0 15px 40px rgba(0, 71, 171, 0.05);
}

.arch-inner {
    border: 2px solid var(--cobalt-blue);
    border-radius: 190px 190px;
    padding: 50px 25px 40px;
    height: 100%;
    position: relative;
}

.chino-heart {
    font-size: 1.5rem;
    color: var(--cobalt-blue);
    margin-bottom: 20px;
}

.event-script-title {
    font-family: 'Bodoni Moda', serif;
    font-style: italic;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.opening-praise {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.event-date {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-time {
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.location-box i {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.location-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
}

.address {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

/* Button Google Maps */
.btn-chino-maps {
    display: inline-block;
    background-color: var(--cobalt-blue);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-chino-maps:hover {
    background-color: var(--accent-blue);
    transform: translateY(-3px);
}

/* Ilustrasi Bawah */
/* .arch-footer-img {
            margin-top: 40px;
        } */

.arch-footer-img img {
    width: 150px;
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .event-pillar {
        display: none;
    }

    .event-card-arch {
        max-width: 320px;
    }
}

/* --- SECTION LOVE STORY (POLAROID STYLE) --- */
.story-section.chinoiserie-theme {
    padding: 100px 20px;
    background-color: #ffffff;
    color: var(--cobalt-blue);
    text-align: center;
    position: relative;
}

.chinoiserie-divider-blue {
    width: 80px;
    height: 1px;
    background: var(--cobalt-blue);
    margin: 20px auto 60px;
    position: relative;
}

.chinoiserie-divider-blue::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: var(--cobalt-blue);
    border-radius: 50%;
}

/* Story Layout */
.story-layout {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

/* Porcelain Photo Frame */
.porcelain-photo-frame {
    position: relative;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    padding: 12px;
    border: 1px solid var(--accent-blue);
}

.story-main-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.05) contrast(1.02);
}

.chino-corner-decor {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.7);
    z-index: 2;
}

/* Story List Styling */
.story-content-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.story-item {
    display: flex;
    gap: 25px;
    position: relative;
}

.story-marker {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    position: relative;
}

.story-marker::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(0, 71, 171, 0.2);
}

.story-item:last-child .story-marker::after {
    display: none;
}

.story-part-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.4rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.story-text p {
    font-family: 'Noto Serif TC', serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
}

/* Desktop Responsive */
@media (min-width: 768px) {
    .story-layout {
        flex-direction: row;
        align-items: center;
        gap: 80px;
    }

    .story-image-wrapper {
        flex: 1;
    }

    .story-content-list {
        flex: 1;
    }
}

/* Custom Reveal Animations */
.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: 1.2s;
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: 1.2s;
}

.reveal-left.show,
.reveal-right.show {
    opacity: 1;
    transform: translateX(0);
}

/* --- SECTION GALLERY MODERN --- */
.gallery-section.chinoiserie-theme {
    padding: 100px 20px;
    background-color: #ffffff;
    text-align: center;
}

/* Grid Layout */
.gallery-porcelain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-item-porcelain {
    position: relative;
    overflow: hidden;
}

/* Frame Styling */
.porcelain-frame {
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-blue);
    padding: 10px;
    background: white;
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.porcelain-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(10%) contrast(1.05);
}

/* Variant Styles */
.gallery-item-porcelain.circle .porcelain-frame,
.gallery-item-porcelain.circle .porcelain-frame img {
    border-radius: 50%;
}

.gallery-item-porcelain.vertical {
    grid-row: span 2;
}

/* Hover Effect */
.overlay-blue {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 71, 171, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
}

.overlay-blue i {
    color: var(--cobalt-blue);
    font-size: 1.5rem;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item-porcelain:hover .porcelain-frame {
    border-color: var(--cobalt-blue);
    transform: translateY(-5px);
}

.gallery-item-porcelain:hover .overlay-blue {
    opacity: 1;
}

/* Responsive */
@media (min-width: 768px) {
    .gallery-porcelain-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 250px;
    }
}

/* --- SECTION WEDDING GIFT --- */
.gift-section.chinoiserie-theme {
    padding: 100px 20px;
    background-color: var(--porcelain-white);
    background-image: url('https://www.transparenttextures.com/patterns/paper-fibers.png');
    text-align: center;
    color: var(--cobalt-blue);
}

.section-desc {
    font-family: 'Noto Serif TC', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.gift-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Chinoiserie Card Design */
.chino-gift-card {
    width: 100%;
    max-width: 380px;
    background: #fff;
    border: 1px solid var(--accent-blue);
    padding: 10px;
    position: relative;
    transition: transform 0.3s ease;
}

.chino-gift-card:hover {
    transform: translateY(-5px);
}

.card-inner-decoration {
    border: 1px dashed var(--cobalt-blue);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card-flower-decor {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 90px;
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.7);
    opacity: 0.4;
}

.bank-logo {
    height: 30px;
    margin-bottom: 25px;
}

.gift-icon {
    font-size: 2.5rem;
    color: var(--cobalt-blue);
    margin-bottom: 15px;
}

.account-info {
    margin-bottom: 30px;
}

.account-info .label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-blue);
    display: block;
    margin-bottom: 10px;
}

.account-number {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.6rem;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.account-holder {
    font-family: 'Noto Serif TC', serif;
    font-style: italic;
    color: #666;
}

/* Button Styling */
.btn-copy-chino {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--cobalt-blue);
    color: var(--cobalt-blue);
    padding: 10px 25px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy-chino:hover {
    background: var(--cobalt-blue);
    color: white;
    box-shadow: 0 5px 15px rgba(0, 71, 171, 0.2);
}

/* Responsive Adjustment */
@media (max-width: 480px) {
    .account-number {
        font-size: 1.3rem;
    }
}

/* --- SECTION RSVP --- */

.rsvp-section.chinoiserie-theme {
    padding: 100px 20px;
    background-color: #fefefe;
    color: var(--cobalt-blue);
    text-align: center;
}

.rsvp-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 40px auto 0;
}

/* Form Styling */
.chino-rsvp-form {
    background: #fff;
    border: 1px solid var(--accent-blue);
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.form-corner-decor {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 80px;
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.7);
    opacity: 0.3;
}

.input-group-chino {
    margin-bottom: 25px;
}

.input-group-chino label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    color: var(--accent-blue);
}

.input-group-chino input,
.input-group-chino select,
.input-group-chino textarea {
    width: 100%;
    border: none;
    border-bottom: 1px solid rgba(0, 71, 171, 0.2);
    padding: 10px 0;
    font-family: 'Noto Serif TC', serif;
    background: transparent;
    color: var(--text-dark);
    transition: 0.3s;
}

.input-group-chino input:focus,
.input-group-chino textarea:focus {
    outline: none;
    border-bottom-color: var(--cobalt-blue);
}

.btn-submit-chino {
    width: 100%;
    background-color: var(--cobalt-blue);
    color: #fff;
    border: none;
    padding: 15px;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit-chino:hover {
    background-color: var(--accent-blue);
}

/* Wishes Display */
.wishes-scroll-area {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 15px;
    text-align: left;
}

/* Custom Scrollbar Blue */
.wishes-scroll-area::-webkit-scrollbar {
    width: 3px;
}

.wishes-scroll-area::-webkit-scrollbar-thumb {
    background: var(--cobalt-blue);
}

.wish-item-porcelain {
    background: #fff;
    border-left: 3px solid var(--accent-blue);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.wish-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.guest-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 1.1rem;
    color: var(--cobalt-blue);
}

.status-badge {
    font-size: 0.65rem;
    background: rgba(0, 71, 171, 0.05);
    padding: 3px 10px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
}

.wish-text {
    font-family: 'Noto Serif TC', serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
}

.wish-time {
    display: block;
    margin-top: 10px;
    font-size: 0.7rem;
    color: #999;
}

/* Desktop Adjustment */
@media (min-width: 768px) {
    .rsvp-grid-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

/* closing  */

.closing-section.chinoiserie-theme {
    padding: 120px 20px;
    /* background-color: #ffffff; */
    text-align: center;
    position: relative;
    overflow: hidden;
    color: var(--cobalt-blue);
}

.closing-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
    opacity: 0.03;
    pointer-events: none;
}

/* Porcelain Arch Frame */
.porcelain-arch-frame {
    position: relative;
    width: 260px;
    height: 380px;
    margin: 0 auto 50px;
    border: 1px solid var(--accent-blue);
    border-radius: 150px 150px ;
    padding: 10px;
}

.closing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 140px 140px;
    filter: sepia(10%) brightness(1.05);
}

.chino-closing-decor-top {
    position: absolute;
        bottom: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    filter: sepia(100%) hue-rotate(190deg) saturate(500%) brightness(0.7);
    z-index: 3;
}

/* Content Styling */
.closing-quote {
    font-family: 'Noto Serif TC', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
}

.closing-names {
    margin-bottom: 30px;
}

.closing-names .name {
    font-family: 'Bodoni Moda', serif;
    font-size: 3rem;
    display: inline-block;
    font-weight: 400;
}

.closing-names .and-symbol {
    font-family: 'Bodoni Moda', serif;
    font-size: 2.5rem;
    font-style: italic;
    margin: 0 10px;
    color: var(--accent-blue);
}

.chinoiserie-hashtag {
    display: inline-block;
    padding: 8px 25px;
    border: 1px dashed var(--accent-blue);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Footer Chinoiserie & Branding */
.footer-chinoiserie {
    padding: 20px 20px;
    background-color: #f8fafd;
    text-align: center;
    border-top: 1px solid rgba(0, 71, 171, 0.1);
}

.footer-logo .brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--cobalt-blue);
    letter-spacing: 2px;
}

.copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    color: #999;
    margin-top: 15px;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .closing-names .name {
        font-size: 2.2rem;
    }

    .porcelain-arch-frame {
        width: 220px;
        height: 320px;
    }
}