/* --- 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-color: #0a0e14;
    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 */
/* Google Fonts: Playfair Display untuk kesan Royal & Cinzel untuk aksen klasik */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;600&display=swap');

:root {
    --bg-deep: #0f141e;
    /* Charcoal Navy */
    --gold-primary: #d4af37;
    /* Metallic Gold */
    --gold-light: #f1d592;
    --text-white: #ffffff;
}

.first-screen {
    position: relative;
    height: 100vh;
    width: 100%;
    background-color: var(--bg-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-white);
    text-align: center;
}

/* Background Image dengan efek Ken Burns (Zoom Pelan) */
.bg-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    animation: kenBurns 20s infinite alternate;
}

.luxury-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(15, 20, 30, 0.4) 0%, rgba(15, 20, 30, 0.9) 100%);
}

/* Dekorasi Ornamen Ramai */
.decor-ornament {
    position: absolute;
    width: 250px;
    height: 250px;

    filter: brightness(0) saturate(100%) invert(84%) sepia(29%) saturate(893%) hue-rotate(353deg) brightness(91%) contrast(84%);
    /* Gold Filter */
    z-index: 5;
    opacity: 0.6;
}

.top-left {
    top: 8px;
    left: 8px;
    background: url('../images/decor-top.webp') no-repeat center/contain;
    transform: rotate(0deg);
}

.bottom-right {
    bottom: 8px;
    right: 8px;
    background: url('../images/decor-bottom.webp') no-repeat center / contain;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    padding: 30px;
}

.top-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 5px;
    font-size: 0.8rem;
    color: var(--gold-light);
}

.couple-names {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    margin: 20px 0;
    background: linear-gradient(to right, var(--gold-primary), var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Divider Emas */
.gold-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.gold-divider::before,
.gold-divider::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(to right, transparent, var(--gold-primary));
}

.gold-divider::after {
    background: linear-gradient(to left, transparent, var(--gold-primary));
}

.diamond {
    width: 10px;
    height: 10px;
    background-color: var(--gold-primary);
    transform: rotate(45deg);
}

/* Guest Card */
.guest-card {
    margin-bottom: 50px;
}

.guest-card p {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.guest-name {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--text-white);
    padding: 10px 0;
}

.guest-border {
    width: 150px;
    height: 2px;
    background: var(--gold-primary);
    margin: 0 auto;
}

/* Royal Button */
.btn-open-royal {
    position: relative;
    background: transparent;
    border: 1px solid var(--gold-primary);
    padding: 18px 40px;
    color: var(--gold-light);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-open-royal:hover {
    color: var(--bg-deep);
    background: var(--gold-primary);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

.btn-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.15);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* 1. Animasi untuk Kontainer Konten Utama */
.content-wrapper {
    position: relative;
    z-index: 10;
    padding: 30px;
    /* Memicu animasi masuk untuk seluruh wrapper */
    animation: royalFadeUp 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

/* 2. Efek Zoom pada Judul Atas */
.reveal-zoom {
    animation: royalZoomIn 1.2s ease-out forwards;
    opacity: 0;
}

/* 3. Staggered Delay untuk elemen di dalamnya agar muncul bergantian */
.couple-names {
    opacity: 0;
    animation: royalFadeUp 1s ease-out 0.5s forwards;
    /* delay 0.5s */
}

.gold-divider {
    opacity: 0;
    animation: royalFadeIn 1s ease-out 0.8s forwards;
    /* delay 0.8s */
}

.guest-card {
    opacity: 0;
    animation: royalFadeUp 1s ease-out 1.2s forwards;
    /* delay 1.2s */
}

.btn-open-royal {
    opacity: 0;
    animation: royalFadeUp 1s ease-out 1.5s forwards;
    /* delay 1.5s */
}

/* 4. Animasi Ornamen agar muncul dari sudut */
.top-left {
    opacity: 0;
    animation: slideFromTopLeft 1.5s ease-out forwards;
}

.bottom-right {
    opacity: 0;
    animation: slideFromBottomRight 1.5s ease-out forwards;
}

/* --- KEYFRAMES --- */

@keyframes royalFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes royalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes royalZoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideFromTopLeft {
    from {
        opacity: 0;
        transform: translate(-50px, -50px);
    }

    to {
        opacity: 0.6;
        /* Sesuai opacity ornamen Anda */
        transform: translate(0, 0);
    }
}

@keyframes slideFromBottomRight {
    from {
        opacity: 0;
        transform: translate(50px, 50px);
    }

    to {
        opacity: 0.6;
        transform: translate(0, 0);
    }
}

/* Responsif */
@media (max-width: 768px) {
    .couple-names {
        font-size: 2.8rem;
    }

    .decor-ornament {
        width: 200px;
        height: 200px;
    }
}

/* Animasi Sederhana */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .couple-names {
        font-size: 3rem;
    }

    .guest-name {
        font-size: 1.5rem;
    }
}

@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;
    padding: 50px 20px;
    background-color: #0a0e14;
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
    height: 100vh;
}

/* Update Dekorasi Ornamen dengan asset baru */
.royal-ornament-top {
    width: 280px;
    /* Ukuran sedikit diperbesar agar detail daun terlihat */
    margin: 0px auto -150px;
    /* Margin negatif untuk mendekatkan ke atas */
    opacity: 0.9;
    transition: all 1.5s ease-out;
}

.royal-ornament-top img {
    width: 100%;
    height: auto;
    /* Filter opsional jika ingin menyesuaikan tone emasnya */
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

/* Animasi reveal khusus untuk ornamen dari atas */
.reveal-down {
    opacity: 0;
    transform: translateY(-50px);
}



.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.reveal-down.show {
    opacity: 1;
    transform: translateY(0);
}

.greeting-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Royal Frame */
.royal-frame-container {
    position: relative;
    width: 300px;
    height: 400px;
    margin: 0 auto 50px;
    padding: 20px;
}

.frame-border {
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-primary);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.opening-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(30%) contrast(110%);
    /* Memberikan kesan vintage luxury */
}

/* Sudut Bingkai (Corner Ornaments) */
.corner {
    position: absolute;
    width: 50px;
    height: 50px;
    border: 4px solid var(--gold-light);
    z-index: 3;
}

.c-top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.c-top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.c-bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.c-bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Tipografi Nama */
.opening-names-royal h2 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin: 30px 0;
    letter-spacing: 3px;
    background: linear-gradient(to bottom, #f1d592, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ampersand-classic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2.5rem;
    -webkit-text-fill-color: var(--gold-light);
}

/* Tanggal Ala Royal Invitation */
.royal-date-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.date-line {
    width: 40px;
    height: 1px;
    background: var(--gold-primary);
}

.date-content {
    display: flex;
    flex-direction: column;
    font-family: 'Cinzel', serif;
}

.date-content .month {
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--gold-light);
}

.date-content .day {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    margin: 5px 0;
}

.date-content .year {
    font-size: 1rem;
    letter-spacing: 5px;
}

.location-preview {
    margin-top: 30px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* 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);
}

/* quotes section  */
.quotes-section {
    padding: 0 20px;
    background-color: #0a0e14;
    position: relative;
    min-height: 70vh;
    text-align: center;
    color: var(--text-white);
}

/* Dekorasi Ornamen Simetris */
.quotes-ornament {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.quotes-ornament img {
    width: 170px;
    opacity: 0.8;
}

.ornament-left {
    transform: scaleX(-1);
    /* Memutar gambar agar simetris di kiri */
}

/* Typography & Content */
.quotes-title {
    margin-top: -50px;
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold-light);
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.gold-line-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
    margin: 0 auto 40px;
}

.quotes-text-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    padding: 0 20px;
}

.quotes-main-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.3rem;
    line-height: 1.8;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.quotes-author {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--gold-primary);
    font-weight: 600;
}

/* Royal Seal Decor */
.quotes-ornament-bottom {
    margin-top: 60px;
}

.royal-seal {
    width: 100px;
    height: 100px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.royal-seal::before {
    content: '';
    position: absolute;
    width: 75px;
    height: 75px;
    border: 1px dashed var(--gold-light);
    border-radius: 50%;
    opacity: 0.3;
}

.seal-icon {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    .quotes-main-text {
        font-size: 1.1rem;
    }

    .quotes-title {
        font-size: 1.5rem;
    }
}

/* --- SECTION BRIDE & GROOM --- */
.couple-section {
    padding: 50px 20px;
    background-color: #0a0e14;
    color: var(--text-white);
    text-align: center;
}

.couple-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
}

/* Photo Container & Frame */
.couple-photo-container {
    position: relative;
    width: 260px;
    height: 360px;
    margin-bottom: 30px;
    padding: 15px;
}

.royal-frame {
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold-primary);
    padding: 8px;
    background-color: rgba(212, 175, 55, 0.05);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
}

/* Positioning Decor Asset */
.decor-corner {
    position: absolute;
    width: 120px;
    z-index: 3;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.top-left-decor {
    top: -10px;
    left: -10px;
    /* transform: rotate(0deg) scaleX(-1); */
}

.bottom-right-decor {
    bottom: -10px;
    right: -10px;
    /* transform: rotate(180deg) scaleX(-1); */
}

.top-right-decor {
    top: -10px;
    right: -10px;
    transform: rotate(90deg);
}

.bottom-left-decor {
    bottom: -10px;
    left: -10px;
    /* transform: rotate(180deg); */
}

/* Bio Text */
.full-name {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin: 15px 0 10px;
    letter-spacing: 2px;
}

.parent-info {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 20px;
}

.parent-info strong {
    color: var(--text-white);
    font-style: normal;
}

.ig-btn {
    display: inline-block;
    color: var(--gold-primary);
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    border: 1px solid var(--gold-primary);
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.ig-btn:hover {
    background: var(--gold-primary);
    color: #0a0e14;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* Inisial Divider */
.couple-initials {
    margin: 40px 0 80px;
}

.initial-text {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 15px;
}

.initial-line {
    width: 50px;
    height: 1px;
    background: var(--gold-primary);
    margin: 0 auto;
}

/* Responsive Desktop */
@media (min-width: 768px) {
    .couple-card {
        flex-direction: row;
        justify-content: center;
        gap: 40px;
    }

    .bride {
        flex-direction: row-reverse;
    }

    .couple-card.groom .couple-bio {
        text-align: left;
    }

    .couple-card.bride .couple-bio {
        text-align: right;
    }
}

/* --- SECTION SAVE THE DATE --- */
.save-the-date {
    padding: 100px 20px;
    background-color: #0a0e14;
    color: var(--text-white);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
}

.title-decor {
    width: 150px;
    margin: 10px auto -31px;
    filter: brightness(0.9);
}

/* Royal Timer Styling */
.royal-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
}

.timer-box {
    background: linear-gradient(145deg, #161b22, #0a0e14);
    border: 2px solid var(--gold-primary);
    width: 80px;
    height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.timer-box span {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold-light);
    font-weight: 700;
}

.timer-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.timer-divider {
    font-size: 2rem;
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
}

/* Address & Button */
.address-box {
    margin-bottom: 40px;
    font-family: 'Playfair Display', serif;
}

.address-box i {
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.address-box p {
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.address-box span {
    color: var(--gold-light);
    letter-spacing: 2px;
}

/* Royal Remind Button */
.btn-royal-remind {
    position: relative;
    display: inline-block;
    padding: 15px 35px;
    color: #0a0e14;
    background: var(--gold-primary);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 5px;
    overflow: hidden;
    transition: 0.3s;
}

.btn-royal-remind:hover {
    transform: scale(1.05);
    background: var(--gold-light);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.btn-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: rotateGlow 5s infinite linear;
}

/* Dekorasi Ornament */
.decor-save {
    position: absolute;
    width: 210px;
    opacity: 0.5;
    z-index: 1;
}

.bottom-left {
    bottom: -20px;
    left: -48px;
    /* transform: rotate(90deg) scaleX(-1); */
}

.bottom-right {
    /* bottom: 0px;
    right: -31px; */
    /* transform: rotate(180deg) scaleX(-1); */
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Mobile Adjustment */
@media (max-width: 480px) {
    .timer-box {
        width: 65px;
        height: 75px;
    }

    .timer-box span {
        font-size: 1.4rem;
    }
}

/* --- SECTION EVENT (AKAD & RESEPSI) --- */
.event-section {
    position: relative;
    padding: 120px 20px;
    background-color: #0a0e14;
    overflow: hidden;
    color: var(--text-white);
    text-align: center;
}

/* Positioning Pillar Decoration */
.pillar-decoration {
    position: absolute;
    top: 0;
    bottom: 0;
    /* width: 250px; */
    z-index: 1;
    pointer-events: none;
    /* Agar tidak menghalangi klik pada kartu */
    opacity: 0.8;
}

.pillar-left {
    left: -50px;
}

.pillar-right {
    right: -50px;
}

.pillar-decoration img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* Header Styling */
.event-header {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.event-decor-top {
    width: 183px;
    margin-bottom: 20px;
    /* transform: rotate(180deg); */
}

.section-subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--gold-light);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 15px auto 0;
}

/* Royal Event Cards */
.event-cards-royal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.royal-card {
    background: linear-gradient(145deg, #161b22, #0a0e14);
    width: 100%;
    max-width: 380px;
    padding: 10px;
    border: 1px solid var(--gold-primary);
    border-radius: 0;
    /* Bentuk tegas kotak khas royal */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-inner-border {
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px 30px;
    position: relative;
    height: 100%;
}

.corner-decor {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 80px;
    opacity: 0.7;
}

.event-icon-gold {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
}

.event-type {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    letter-spacing: 3px;
    color: var(--gold-light);
    margin-bottom: 30px;
}

.event-detail-list {
    text-align: left;
    margin-bottom: 40px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.5;
}

.detail-item i {
    color: var(--gold-primary);
    margin-top: 3px;
    font-size: 1.1rem;
}

.btn-royal-maps {
    display: block;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    text-decoration: none;
    padding: 12px;
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.btn-royal-maps:hover {
    background: var(--gold-primary);
    color: #0a0e14;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Tablet & Mobile Adjustments */
@media (max-width: 1024px) {
    .pillar-decoration {
        /* width: 150px; */
        opacity: 0.4;
    }

    .pillar-left {
        /* left: -30px; */
    }

    .pillar-right {
        right: -30px;
    }
}

@media (max-width: 480px) {
    .pillar-decoration {
        display: none;
    }

    /* Sembunyikan pilar di mobile agar tidak sempit */
    .royal-card {
        max-width: 320px;
    }
}

/* --- SECTION LOVE STORY (POLAROID STYLE) --- */
.story-section {
    padding: 100px 20px;
    background-color: #0a0e14;
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
}

.royal-divider-gold {
    width: 120px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--gold-primary), transparent);
    margin: 20px auto 50px;
}

/* Story Grid Layout */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.story-box,
.story-box-wide {
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 30px;
    position: relative;
    transition: 0.3s;
}

.story-box:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.story-year {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 10px;
}

.story-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--gold-light);
    margin-bottom: 15px;
}

.story-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    line-height: 1.8;
    color: #ccc;
}

/* Main Photo Frame */
.photo-royal-frame {
    position: relative;
    width: 280px;
    height: 380px;
    margin: 0 auto;
    border: 1px solid var(--gold-primary);
    padding: 15px;
}

.photo-royal-frame img:not(.photo-decor) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(20%) contrast(1.1);
}

.photo-decor {
    position: absolute;
    width: 100px;
    z-index: 2;
}

.decor-tl {
    top: -15px;
    left: -15px;
    /* transform: scaleX(-1); */
}

.decor-br {
    bottom: -15px;
    right: -15px;
    transform: rotate(180deg) scaleX(-1);
}

/* Responsive Desktop */
@media (min-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr 1fr;
    }

    .story-main-photo {
        grid-column: span 2;
        margin-bottom: 20px;
    }

    .story-card-wide {
        grid-column: span 2;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* 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 {
    padding: 100px 20px;
    background-color: #0a0e14;
    color: var(--text-white);
    text-align: center;
}

/* Gallery Grid Layout */
.gallery-royal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.gallery-royal-item {
    position: relative;
    overflow: hidden;
}

.royal-img-frame {
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px;
    background: #161b22;
    transition: all 0.4s ease;
}

.royal-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) sepia(20%);
    transition: 0.5s ease;
}

/* Hover Overlay */
.img-overlay-gold {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 20, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s ease;
    z-index: 2;
}

.img-overlay-gold i {
    color: var(--gold-primary);
    font-size: 2rem;
    transform: scale(0.5);
    transition: 0.4s ease;
}

.gallery-royal-item:hover .royal-img-frame {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.gallery-royal-item:hover .img-overlay-gold {
    opacity: 1;
}

.gallery-royal-item:hover .img-overlay-gold i {
    transform: scale(1);
}

.gallery-royal-item:hover img {
    filter: brightness(1) sepia(0%);
    transform: scale(1.05);
}

/* Grid Variations */
.gallery-royal-item.horizontal {
    grid-column: span 2;
}

/* Lightbox Customization */
.fslightbox-container {
    background-color: rgba(10, 14, 20, 0.95) !important;
}

/* Responsive Desktop */
@media (min-width: 768px) {
    .gallery-royal-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .gallery-royal-item.horizontal {
        grid-column: span 1;
        grid-row: span 2;
        /* Menjadi potret tinggi di desktop agar dinamis */
    }
}

/* --- SECTION WEDDING GIFT --- */
.gift-section {
    padding: 100px 20px;
    background-color: #0a0e14;
    color: var(--text-white);
    text-align: center;
    position: relative;
}

.section-desc {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.gift-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

/* Royal Gift Card Styling */
.royal-gift-card {
    width: 100%;
    max-width: 350px;
    background: linear-gradient(145deg, #161b22, #0a0e14);
    border: 1px solid var(--gold-primary);
    padding: 10px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-inner {
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.card-decor {
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 80px;
    opacity: 0.5;
    transform: rotate(90deg) scaleX(-1);
}

.bank-brand img {
    height: 35px;
    margin-bottom: 25px;
    filter: brightness(1.2);
}

.gift-icon-top {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.account-details {
    margin-bottom: 30px;
}

.acc-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-light);
    display: block;
    margin-bottom: 5px;
}

.acc-number {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 5px;
}

.acc-holder {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #888;
}

/* Copy Button Royal */
.btn-royal-copy {
    background: transparent;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    padding: 10px 25px;
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-royal-copy:hover {
    background: var(--gold-primary);
    color: #0a0e14;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* Feedback Tersalin */
.btn-royal-copy.copied {
    background: #d4af37;
    color: #0a0e14;
}

/* --- SECTION RSVP --- */

.rsvp-section {
    padding: 100px 20px;
    background-color: #0a0e14;
    color: var(--text-white);
    text-align: center;
}

.rsvp-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Form Styling */
.royal-rsvp-form {
    background: linear-gradient(145deg, #161b22, #0a0e14);
    border: 1px solid var(--gold-primary);
    padding: 50px 30px;
    position: relative;
    overflow: hidden;
}

.form-decor-top {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100px;
    opacity: 0.6;
}

.form-group-royal {
    margin-bottom: 25px;
    text-align: left;
}

.form-group-royal label {
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    color: var(--gold-light);
    display: block;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.form-group-royal input,
.form-group-royal select,
.form-group-royal textarea {
    width: 100%;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 12px;
    color: rgb(146, 146, 146);
    font-family: 'Poppins', sans-serif;
    border-radius: 0;
    transition: 0.3s;
}

.form-group-royal input:focus,
.form-group-royal textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.05);
}

.btn-royal-submit {
    width: 100%;
    background: var(--gold-primary);
    border: none;
    padding: 15px;
    color: #0a0e14;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.btn-royal-submit:hover {
    background: var(--gold-light);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Guestbook List */
.guestbook-scroll {
    max-height: 550px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar Styling */
.guestbook-scroll::-webkit-scrollbar {
    width: 4px;
}

.guestbook-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.guestbook-scroll::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
}

.royal-msg-card {
    background: rgba(22, 27, 34, 0.8);
    border-left: 3px solid var(--gold-primary);
    padding: 20px;
    margin-bottom: 20px;
    text-align: left;
}

.msg-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.guest-name {
    font-family: 'Playfair Display', serif;
    color: var(--gold-light);
    font-size: 1.1rem;
}

.attendance-tag {
    font-size: 0.7rem;
    font-family: 'Poppins', sans-serif;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guest-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.6;
}

.msg-time {
    font-size: 0.7rem;
    color: #666;
    display: block;
    margin-top: 10px;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .rsvp-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}

.closing-section {
    position: relative;
    padding: 120px 20px;
    background-color: #0a0e14;
    color: var(--text-white);
    text-align: center;
    overflow: hidden;
}

/* Dekorasi Pilar Sisi (Lebih Kecil dari Event Section) */
.closing-decor-left,
.closing-decor-right {
    position: absolute;
    bottom: 0;
    width: 180px;
    opacity: 0.5;
    z-index: 1;
}

.closing-decor-left {
    left: -40px;
}

.closing-decor-right {
    right: -40px;
}

.closing-decor-left img,
.closing-decor-right img {
    width: 100%;
    height: auto;
}

/* Frame Foto Besar */
.closing-img-container {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.royal-frame-large {
    position: relative;
    width: 320px;
    height: 420px;
    margin: 0 auto;
    border: 2px solid var(--gold-primary);
    padding: 15px;
}

.closing-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.1);
}

.closing-decor {
    position: absolute;
    width: 100px;
    z-index: 3;
}

.decor-tl {
    top: -20px;
    left: -20px;
    /* transform: scaleX(-1); */
}

.decor-tr {
    top: -20px;
    right: -20px;
}

/* Text & Names */
.closing-message {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.closing-couple-names {
    margin-bottom: 40px;
}

.closing-couple-names h2 {
    font-family: 'Cinzel', serif;
    font-size: 3.5rem;
    display: inline-block;
    background: linear-gradient(to bottom, var(--gold-light), var(--gold-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 15px;
}

.ampersand-gold {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 3rem;
    color: var(--gold-light);
}

.royal-hashtag {
    display: inline-block;
    padding: 10px 30px;
    border-top: 1px solid var(--gold-primary);
    border-bottom: 1px solid var(--gold-primary);
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 3px;
    color: var(--gold-light);
}

/* Footer Credit */
.footer-credit {
    padding: 50px 20px;
    background-color: #05070a;
    text-align: center;
    color: #666;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-credit p {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.footer-credit i {
    color: #d43f3a;
    margin: 0 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .closing-couple-names h2 {
        font-size: 2.5rem;
    }


}