@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

@keyframes slideInUpAccent {
    from {
        opacity: 0;
        transform: translateY(50px) translateX(-50%);
    }

    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%);
    }
}

/* Mengatur delay agar elemen muncul bergantian */


/* Variasi delay untuk elemen berurutan (stagger effect) */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* --- Penerapan pada Elemen --- */

/* Delay berbeda untuk setiap daun agar lebih dinamis */


/* State dasar sebelum animasi */
.animate-hidden {
    opacity: 0;
    transform: translateY(40px);
    /* Muncul dari bawah */
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    visibility: hidden;
}

/* State saat elemen masuk ke viewport */
.animate-show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* --- Animasi Pesan Penutup (Fade In saja) --- */


/* --- Animasi Thank You (Expand Letter Spacing) --- */
.thank-you-text.animate-hidden {
    opacity: 0;
    letter-spacing: 10px;
    transform: scale(1.1);
    transition: all 1.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.thank-you-text.animate-show {
    opacity: 1;
    letter-spacing: -2px;
    /* Kembali ke gaya rapat sesuai gambar */
    transform: scale(1);
}

/* --- Animasi Foto Closing (Zoom Out ke Frame) --- */
.closing-photo.animate-hidden {
    opacity: 0;
    transform: scale(1.05);
    transition: all 1.5s ease-out;
}

.closing-photo.animate-show {
    opacity: 1;
    transform: scale(1);
}

/* Mengaktifkan scroll halus untuk seluruh halaman */
html {
    scroll-behavior: smooth;
}

/* --- CUSTOM SCROLLBAR --- */
/* Ukuran scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

/* Bagian jalur (track) scrollbar */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Bagian batang (thumb) scrollbar */
::-webkit-scrollbar-thumb {
    background: #8da1b9;
    /* Warna biru sesuai Save The Date Anda */
    border-radius: 10px;
}

/* Batang scrollbar saat diarahkan kursor (hover) */
::-webkit-scrollbar-thumb:hover {
    background: #343638;
    /* Warna gelap sesuai tema card Anda */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wrapper {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Reset & Base Font */


.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
    /* Mencegah seluruh halaman scroll */
}

/* Class khusus untuk nama pengantin */

/* --- BAGIAN KIRI (FIXED/STATIS) --- */
.left-section {
    flex: 1.4;
    background: url('images-2.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    position: relative;
    /* Memberikan efek transisi halus saat halaman terbuka */
    animation: fadeInBackground 2s ease-out;
}

/* Overlay: Mengubah dari Hitam ke Cokelat Terracotta Gelap agar lebih hangat */
.left-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient dari warm-dark ke transparent */
    background: linear-gradient(to top, rgba(44, 44, 44, 0.7) 0%, rgba(44, 44, 44, 0) 60%);
    z-index: 1;
}

/* Tekstur Kertas (Optional: agar senada dengan right section) */
.left-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/natural-paper.png');
    opacity: 0.1;
    z-index: 1;
    pointer-events: none;
}

.left-content {
    position: relative;
    z-index: 2;
    color: #F2EDE4;
    /* Off-white hangat agar tidak terlalu kontras */
    text-align: center;
    animation: fadeInUp 1.5s ease-out;
}

.left-content h2 {
    font-family: var(--sans-outfit);
    /* Konsisten dengan right section */
    font-weight: 300;
    letter-spacing: 6px;
    font-size: 0.85rem;
    margin-bottom: 5px;
    text-transform: uppercase;
    opacity: 0.9;
}

.bride-name-cursive {
    font-family: var(--serif-playfair);
    /* Mengganti cursive dengan Serif khas galeri */
    font-size: 4rem;
    margin: 15px 0;
    font-weight: 400;
    font-style: italic;
    /* Memberikan kesan elegan tanpa terlihat "childish" */
    line-height: 1.1;
}

.wedding-date {
    font-family: var(--sans-outfit);
    letter-spacing: 4px;
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    border-top: 1px solid rgba(242, 237, 228, 0.3);
    border-bottom: 1px solid rgba(242, 237, 228, 0.3);
    display: inline-block;
    padding: 8px 20px;
    margin-top: 10px;
}

/* Animasi Internal */
@keyframes fadeInBackground {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 1024px) {
    .left-section {
        display: none;
        /* Sembunyikan bagian kiri */
    }

    .right-section {
        flex: 1;
        width: 100%;
    }
}


/* Ukuran font diperbesar agar Beau Rivage terlihat jelas */

/* --- BAGIAN Kanan (SCROLLABLE) --- */
.right-section {
    flex: 1;
    overflow-y: auto;
    /* background-color: #1a2a33; */
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

:root {
    --primary-green: #1F5F38;
    --dark-green: #143E25;
    --gold-accent: #E5A93C;
    --gold-bright: #FDD872;
    --gold-hover: #C88D25;
    --palestine-red: #FF4D4D;
    /* Merah lebih terang agar kontras di latar gelap */
    --text-white: #FFFFFF;
    --text-light-cream: #E8EDE9;
}

/* Reset Box Sizing */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #121212;
}

/* Container First Screen */
.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    text-align: center;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.0); */
}

/* first  */


.first-screen {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--off-white);
    text-align: center;
    font-family: 'Serif', 'Segoe UI', serif;
    overflow: hidden;
    position: relative;
}


/* Background Layer Penuh (bg-yakesma) */
.bg-layer {
    position: absolute;
    inset: 0;
    background-image: url('../images/bg-yakesma.webp');
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Overlay halus untuk meredam kontras gambar background agar teks kontras */
.bg-dark-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 30, 18, 0.25) 0%,
            rgba(10, 30, 18, 0.45) 50%,
            rgba(8, 20, 12, 0.75) 100%);
    z-index: 2;
    pointer-events: none;
}

/* =========================================
   1. KARTU HEADER ATAS (Top Card)
   ========================================= */
.top-card-banner {
    position: relative;
    z-index: 3;
    width: 90%;
    margin-top: 20px;
    background: linear-gradient(165deg, rgba(31, 95, 56, 0.95) 0%, rgba(15, 48, 28, 0.98) 100%);
    border-radius: 28px;
    padding: 22px 18px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Logo Penyelenggara */
.organizer-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-bottom: 12px;
}

/* Badge Undangan */
.badge-undangan {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    color: #ffffff;
    padding: 4px 22px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Logo Event Utama */
.event-main-logo {
    width: 100%;
    max-width: 290px;
    height: auto;
    border-radius: 14px;
    background-color: #ffffff;
    padding: 8px 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* =========================================
   2. CONTENT SECTION (Tema, Tamu, Tombol)
   ========================================= */
.content-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 10px 24px 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Slogan / Tema Acara - Dibuat Kontras Terang */
.event-tagline {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-white);
    text-transform: uppercase;
    line-height: 1.5;
    letter-spacing: 1px;
    margin-bottom: 22px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
    text-align: left;
    margin-left: 8%;
}

.event-tagline span {
    color: var(--palestine-red);
    text-shadow: 0 2px 10px rgba(255, 77, 77, 0.4);
}

/* Container Tamu dengan Sedikit Backdrop Halus */
.guest-info {
    margin-bottom: 26px;
    background: rgba(0, 0, 0, 0.25);
    padding: 14px 24px;
    border-radius: 18px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 320px;
}

.guest-info .to-text {
    font-size: 0.85rem;
    color: var(--text-light-cream);
    margin-bottom: 6px;
    line-height: 1.4;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Nama Tamu Warna Emas Berkilau */
.guest-name {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gold-bright);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

/* Badge Status Tamu (VIP) */
.guest-status {
    display: inline-block;
    background-color: #ffffff;
    color: var(--dark-green);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 18px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* Tombol Open Invitation */
.open-btn {
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-hover));
    color: #ffffff;
    border: none;
    padding: 13px 40px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(229, 169, 60, 0.5);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.open-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 25px rgba(229, 169, 60, 0.7);
}

.open-btn:active {
    transform: translateY(1px);
}

/* =========================================
   ANIMASI ON-LOADING (Tetap Dipertahankan)
   ========================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-item {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.15s;
}

.delay-2 {
    animation-delay: 0.35s;
}

.delay-3 {
    animation-delay: 0.55s;
}

.delay-4 {
    animation-delay: 0.75s;
}

.content-wrapper {
    position: relative;
    z-index: 3;
    padding: 20px;
}

/* Animasi Entry */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper>* {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 1;
}

/* Decoration Layers */
.deco {
    opacity: 0.8;
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 2;
}

.deco-top-left {
    top: 0;
    left: 0;
}

.deco-top-right {
    top: 0;
    right: 0;
}

.deco-bottom-left {
    bottom: 0;
    left: 0;
}

.deco-bottom-right {
    bottom: 0;
    right: 0;
}

/* Content Wrapper */
.content-wrapper {
    position: relative;
    z-index: 3;
    padding: 20px;
}

/* Animasi Entry */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-wrapper>* {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

/* Container & Layout */
.main-content {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: var(--off-white);
    overflow: hidden;
}

.container {
    position: relative;
    z-index: 3;
    padding: 60px 30px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Typography */


/* 1. Intro Typography */
.event-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-accent), var(--gold-hover));
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 18px;
    border-radius: 20px;
    margin-bottom: 14px;
    box-shadow: 0 4px 12px rgba(229, 169, 60, 0.35);
}

.intro-text {
    font-size: 0.88rem;
    color: #E2ECE5;
    margin-bottom: 10px;
    line-height: 1.5;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.event-title {
    font-size: 1.65rem;
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: 1.5px;
    line-height: 1.2;
    margin-bottom: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.event-sub-tagline {
    font-size: 0.8rem;
    color: var(--gold-bright);
    font-style: italic;
    margin-bottom: 20px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
}

/* 2. Showcase Narasumber & Guest Stars */
.speakers-container {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 5px 0 22px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 22px;
    padding: 24px 12px 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.speakers-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--palestine-red);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 3px 16px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(228, 49, 43, 0.45);
    white-space: nowrap;
}

.speakers-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    display: block;
}

/* 3. Card Detail Jadwal & Lokasi */
.schedule-card {
    width: 100%;
    max-width: 380px;
    background: rgba(10, 32, 18, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 22px;
    padding: 22px 20px 18px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

.schedule-intro {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-bright);
    margin-bottom: 8px;
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-accent), var(--palestine-red));
    border-radius: 2px;
    margin: 8px auto 20px;
}

/* Info List Items */
.info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.icon-circle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(229, 169, 60, 0.25), rgba(200, 141, 37, 0.15));
    border: 1px solid rgba(229, 169, 60, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 1.15rem;
}

.icon-circle.yt-circle {
    background: rgba(228, 49, 43, 0.2);
    border-color: rgba(228, 49, 43, 0.4);
    color: var(--palestine-red);
    font-size: 0.95rem;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.72rem;
    color: #A0B3A6;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.info-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

/* Link Website */
.event-footer-link {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px dashed rgba(255, 255, 255, 0.15);
}

.event-footer-link a {
    color: var(--gold-bright);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.event-footer-link a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Styling Detail Alamat dan Gedung */
.info-item.location-item {
    align-items: flex-start;
}

.info-venue {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gold-bright, #FDD872);
    margin: 1px 0 3px;
    line-height: 1.3;
}

.info-address {
    font-size: 0.8rem;
    color: #D1DDD5;
    line-height: 1.45;
    margin-bottom: 8px;
    font-weight: 400;
}



.btn-map:hover {
    background: var(--gold-accent, #E5A93C);
    color: #143E25;
    border-color: var(--gold-accent, #E5A93C);
}

/* =========================================
   ANIMASI ONSCROLL (.show-animate)
   ========================================= */
.event-details>* {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Trigger ketika user melakukan scroll */
.event-details.show-animate>* {
    opacity: 1;
    transform: translateY(0);
}

.section-top-logos {
    width: 100%;
    max-width: 400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px 18px;
    margin-bottom: 6px;
}

.header-logo {
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.5));
}

/* Logo Berkah Bahagia di sisi kiri */
.logo-berkah {
    max-height: 48px;
    max-width: 110px;
}

/* Logo Yakesma White di sisi kanan */
.logo-yakesma {
    max-height: 38px;
    max-width: 135px;
}

/* =========================================
   STAGGER DELAY ANIMASI ONSCROLL
   ========================================= */
/* Urutan delay animasi saat .show-animate aktif */
.event-details.show-animate .section-top-logos {
    transition-delay: 0.1s;
}

.event-details.show-animate .intro-box {
    transition-delay: 0.25s;
}

.event-details.show-animate .speakers-container {
    transition-delay: 0.45s;
}

.event-details.show-animate .schedule-card {
    transition-delay: 0.65s;
}



.nav-icon {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.nav-label {
    font-size: 0.7rem;
    font-weight: bold;
}

/* Animasi Entry */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Navigasi juga kita trigger */
/* Update Bottom Nav CSS */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary-green);
    z-index: 999;
    /* Tambah padding bawah agar tidak terlalu mepet tepi HP */
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.4);
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.bottom-nav.show-animate {
    transform: translateY(0);
}

.nav-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style: none;
    padding: 0 15px;
    margin: 0;
    height: 90px;
    overflow-x: auto;
    scrollbar-width: none;
}

/* Tablet ke atas */
@media (min-width: 768px) {
    .nav-list {
        justify-content: center;
    }
}

.nav-item {
    flex: 0 0 85px;
    /* Kunci lebar tiap item agar seragam dan besar */
    margin-right: 10px;
    display: flex;
    justify-content: center;
    transition: all 0.4s ease;
}

.nav-item a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    opacity: 0.6;
    width: 100%;
    height: 100%;
}

.nav-icon {
    width: 32px;
    /* Diperbesar dari sebelumnya */
    height: 32px;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

.nav-label {
    font-size: 0.85rem;
    /* Teks lebih besar dan terbaca */
    font-weight: 600;
    white-space: nowrap;
}

/* TAMPILAN AKTIF (Sesuai Gambar 2) */
.nav-item.active {
    background-color: var(--burnt-orange);
    border-radius: 18px;
    height: 80%;
    /* Membuat kotak latar belakang oranye */
    transform: translateY(-5px);
    /* Sedikit melayang */
}

.nav-item.active a {
    opacity: 1;
    color: white;
    /* Teks putih di atas background oranye */
}

.nav-item.active .nav-icon {
    transform: scale(1.1);
    /* Ikon aktif sedikit membesar */
}

/* Ikon yang tidak aktif tetap muncul tapi redup */
.bottom-nav li:not(.active) .nav-icon {
    opacity: 0.5;
    font-size: 2.1rem;
}


.bottom-nav.show-animate {
    transform: translateY(0);
}

/* Layout khusus Maps */
/* =========================================
   SECTION MAPS / PETA LOKASI
   ========================================= */
.maps-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Header Area */
.maps-header {
    margin-bottom: 20px;
}

.section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 1px;
    margin-top: 6px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

/* Bingkai Peta Elegan Beraksen Emas */
.map-frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4/3;
    margin: 0 auto 20px;
    padding: 6px;
    background: linear-gradient(145deg, rgba(229, 169, 60, 0.65), rgba(20, 62, 37, 0.9));
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-inner {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #1a2c20;
}

.map-inner iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Kotak Informasi Alamat */
.address-info {
    width: 100%;
    max-width: 380px;
    background: rgba(10, 32, 18, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.4);
    margin-bottom: 24px;
}

.venue-icon {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.location-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-bright, #FDD872);
    margin-bottom: 6px;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
}

.location-detail {
    font-size: 0.84rem;
    color: #D1DDD5;
    line-height: 1.5;
    margin: 0;
}

/* Tombol Arahkan ke Google Maps */
.map-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-accent, #E5A93C), var(--gold-hover, #C88D25));
    color: #ffffff;
    text-decoration: none;
    padding: 13px 34px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(229, 169, 60, 0.45);
    transition: all 0.3s ease;
}

.map-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 26px rgba(229, 169, 60, 0.65);
    color: #ffffff;
}

.map-btn:active {
    transform: translateY(1px);
}

/* =========================================
   ANIMASI ONSCROLL (.show-animate)
   ========================================= */
.maps-details>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.maps-details.show-animate>* {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay */
.maps-details.show-animate .maps-header {
    transition-delay: 0.15s;
}

.maps-details.show-animate .map-frame {
    transition-delay: 0.35s;
}

.maps-details.show-animate .address-info {
    transition-delay: 0.55s;
}

.maps-details.show-animate .map-btn {
    transition-delay: 0.75s;
}

/* Pastikan tidak ada scrolling */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

.section-content {
    display: none;
    /* Sembunyikan semua konten main default */
    width: 100%;
    min-height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-y: auto;
    /* Jika konten lebih panjang dari layar HP */
}

.section-content.active {
    display: flex;
    /* Hanya yang aktif yang muncul */
}

.section,
.section-content {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Transisi Halus saat pindah menu */
.fade-in {
    animation: fadeInAnim 0.6s ease forwards;
}

@keyframes fadeInAnim {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sembunyikan label pada li yang tidak aktif */
.nav-item .nav-label {
    display: none;
}

.nav-item.active .nav-label {
    display: block;
}

/* Layout RSVP */
/* =========================================
   SECTION RSVP / KONFIRMASI KEHADIRAN
   ========================================= */
.rsvp-details {
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo Event di Atas RSVP */
.rsvp-icon-wrapper {
    width: 100%;
    max-width: 250px;
    margin-bottom: 12px;
}

.rsvp-logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    background-color: #ffffff;
    padding: 6px 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
}

.rsvp-header {
    margin-bottom: 15px;
}

/* =========================================
   COUNTDOWN TIMER STYLES
   ========================================= */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 15px 0 25px;
    width: 100%;
}

.timer-box {
    background: linear-gradient(165deg, rgba(31, 95, 56, 0.85) 0%, rgba(12, 38, 22, 0.95) 100%);
    width: 72px;
    padding: 12px 6px 10px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(229, 169, 60, 0.4);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.timer-num {
    color: var(--gold-bright, #FDD872);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.timer-label {
    color: #E2ECE5;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-top: 4px;
}

/* Teks Petunjuk RSVP */
.instruction-text {
    color: #E8EDE9;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 340px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Tombol Buka Modal RSVP */
.rsvp-main-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--gold-accent, #E5A93C), var(--gold-hover, #C88D25));
    color: #ffffff;
    border: none;
    padding: 13px 36px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(229, 169, 60, 0.5);
    transition: all 0.3s ease;
}

.rsvp-main-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 26px rgba(229, 169, 60, 0.7);
}

.rsvp-main-btn:active {
    transform: translateY(1px);
}

/* =========================================
   MODAL RSVP & FORM STYLES
   ========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    padding: 20px;
}

.modal-content {
    background: linear-gradient(165deg, #163e26 0%, #0d2718 100%);
    border: 1px solid rgba(229, 169, 60, 0.4);
    border-radius: 24px;
    width: 100%;
    max-width: 380px;
    padding: 24px 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    color: #ffffff;
    text-align: left;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-bright, #FDD872);
}

.close-modal {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}

.close-modal:hover {
    color: var(--palestine-red, #FF4D4D);
    transform: rotate(90deg);
}

/* Form Fields */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #D1DDD5;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.35);
    color: #181717;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold-bright, #FDD872);
}

.form-group select option {
    background: #143E25;
    color: #ffffff;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-accent, #E5A93C), var(--gold-hover, #C88D25));
    color: #ffffff;
    border: none;
    padding: 13px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(229, 169, 60, 0.4);
    transition: all 0.3s ease;
    margin-top: 6px;
}

.submit-btn:hover {
    box-shadow: 0 6px 20px rgba(229, 169, 60, 0.6);
    transform: translateY(-2px);
}

/* =========================================
   ANIMASI ONSCROLL (.show-animate)
   ========================================= */
.rsvp-details>* {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.rsvp-details.show-animate>* {
    opacity: 1;
    transform: translateY(0);
}

/* Delay Animasi Bertingkat */
.rsvp-details.show-animate .rsvp-icon-wrapper {
    transition-delay: 0.1s;
}

.rsvp-details.show-animate .rsvp-header {
    transition-delay: 0.25s;
}

.rsvp-details.show-animate .countdown-container {
    transition-delay: 0.45s;
}

.rsvp-details.show-animate .instruction-text {
    transition-delay: 0.65s;
}

.rsvp-details.show-animate .rsvp-main-btn {
    transition-delay: 0.85s;
}
/* Styling Kontrol Counter Jumlah Tamu */
.guest-counter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    padding: 6px 10px;
    max-width: 170px;
}

.guest-counter .btn-qty {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, var(--gold-accent, #E5A93C), var(--gold-hover, #C88D25));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.guest-counter .btn-qty:hover {
    transform: scale(1.08);
    background: var(--gold-bright, #FDD872);
    color: #143E25;
}

.guest-counter .btn-qty:active {
    transform: scale(0.95);
}

/* Input Nilai Angka */
.guest-counter input[type="number"] {
    width: 50px;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    padding: 0;
    outline: none;
    -moz-appearance: textfield;
}

.guest-counter input[type="number"]::-webkit-outer-spin-button,
.guest-counter input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: none;
    /* Sembunyi default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    /* Di atas segalanya */
}

/* Modal Box */
.modal-content {
    background-color: var(--off-white);
    width: 85%;
    max-width: 400px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--dark-forest);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--maroon);
}

/* Form Styles */
.form-group {
    text-align: left;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--dark-forest);
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    background-color: var(--dark-forest);
    color: var(--burnt-orange);
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

/* people/ */
/* Layout People */
.people-details {
    text-align: center;
    width: 100%;
    padding: 20px;
    z-index: 5;
}

/* Bingkai Foto Profil */
.profile-frame {
    width: 200px;
    height: 280px;
    /* Rasio portrait elegan */
    margin: 0 auto 25px;
    border: 4px solid var(--burnt-orange);
    border-radius: 100px 100px 20px 20px;
    /* Bentuk kubah/arch yang modern */
    padding: 8px;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 92px 92px 12px 12px;
}

/* Teks Deskripsi */
.person-name {
    font-family: 'Serif', serif;
    font-size: 1.6rem;
    color: var(--dark-forest);
    margin-bottom: 5px;
}

.divider-small {
    width: 50px;
    height: 3px;
    background: var(--burnt-orange);
    margin: 10px auto;
}

.person-role {
    font-weight: bold;
    color: var(--burnt-orange);
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.person-bio {
    color: var(--dark-forest);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 20px;
}

/* Animasi Entry */
.people-details>* {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.people-details.show-animate>* {
    opacity: 1;
    transform: scale(1);
}

.people-details.show-animate .profile-frame {
    transition-delay: 0.2s;
}

.people-details.show-animate .profile-desc {
    transition-delay: 0.4s;
}

/* Layout Thanks */
/* =========================================
   SECTION THANKS / PENUTUP
   ========================================= */
.thanks-details {
    text-align: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 30px 15px 50px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Kartu Teks Penutup (Glassmorphism Halus) */
.closing-card {
    background: rgba(10, 32, 18, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 22px 18px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    margin-bottom: 15px;
}

.closing-text .closing-lead {
    color: #FFFFFF;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.closing-text .closing-quote {
    color: var(--gold-bright, #FDD872);
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

/* Area Hormat Kami */
.regards-area {
    margin: 10px 0 20px;
    width: 100%;
}

.date-thanks {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--gold-accent, #E5A93C);
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.hormat-kami {
    font-size: 0.82rem;
    color: #D1DDD5;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.host-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.8px;
    line-height: 1.3;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.host-sub {
    font-size: 0.78rem;
    color: #A0B3A6;
    letter-spacing: 0.4px;
}

/* Logo Instansi di Footer */
.instansi-logo-wrapper {
    margin: 15px 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-footer {
    max-height: 42px;
    max-width: 170px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}

/* Credit Area */
.credit-area {
    margin-top: 15px;
    font-size: 0.75rem;
    color: #9EB0A4;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credit-area .made-with {
    font-size: 0.72rem;
    margin-bottom: 3px;
    opacity: 0.85;
}

.brand-footer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.88rem;
    color: var(--gold-bright, #FDD872);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

.music-info {
    opacity: 0.6;
    font-size: 0.68rem;
    color: #BAC7BF;
}

/* =========================================
   ANIMASI ONSCROLL (.show-animate)
   ========================================= */
.thanks-details>* {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.thanks-details.show-animate>* {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay */
.thanks-details.show-animate .closing-card {
    transition-delay: 0.2s;
}

.thanks-details.show-animate .divider {
    transition-delay: 0.35s;
}

.thanks-details.show-animate .regards-area {
    transition-delay: 0.5s;
}

.thanks-details.show-animate .instansi-logo-wrapper {
    transition-delay: 0.7s;
}

.thanks-details.show-animate .credit-area {
    transition-delay: 0.9s;
}

.dresscode-details {
    text-align: center;
    width: 100%;
    padding: 20px;
    z-index: 5;
}

.dresscode-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid var(--burnt-orange);
    margin-top: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.dresscode-icon {
    margin-bottom: 15px;
}

.dresscode-type {
    font-size: 1.2rem;
    color: var(--dark-forest);
    font-weight: 800;
}

.dresscode-text {
    font-size: 1.1rem;
    color: var(--dark-forest);
    margin: 15px 0;
    line-height: 1.6;
}

.dresscode-note {
    font-size: 0.85rem;
    color: var(--olive);
    font-style: italic;
    margin-top: 20px;
}

/* Animasi trigger untuk JS */
.dresscode-details>* {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s ease-out;
}

.dresscode-details.show-animate>* {
    opacity: 1;
    transform: translateY(0);
}

.qr-modal2 {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.qr-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.3s ease-in-out;
}

.qr-modal-content img.qr-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    margin-top: 10px;
}

.qr-modal-content hr {
    margin: 15px 0;
    border: none;
    border-top: 1px dashed #ccc;
}

.qr-info .label {
    color: #888;
    font-size: 14px;
    margin-bottom: 4px;
}

.qr-info .value {
    font-weight: bold;
    font-size: 16px;
    color: #222;
}

.qr-close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.qr-close:hover {
    color: #333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsif */
@media (max-width: 480px) {
    .qr-modal-content {
        margin-top: 30%;
        width: 85%;
        padding: 15px;
    }

    .qr-modal-content img.qr-image {
        width: 130px;
        height: 130px;
    }
}

.custom-modal {
    display: none;
    /* Ubah ke flex via JS untuk memunculkan */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    /* Menggunakan vh agar pasti setinggi layar */
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);

    /* Inti dari posisi tengah */
    display: none;
    align-items: center;
    /* Tengah Vertikal */
    justify-content: center;
    /* Tengah Horizontal */
    transition: all 0.3s ease;
}

/* Kotak Modal */
.modal-content-notifikasi {
    background-color: #fff;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    /* Limit lebar di desktop */
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    position: relative;
    animation: slideUp 0.4s ease-out;
    /* Animasi dari bawah ke tengah */
    overflow: hidden;
    margin: auto;
    /* Tambahan pengaman posisi tengah */
}

/* Animasi Muncul dari bawah lebih menarik untuk mobile */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header - Perbaikan Typo Class */
.modal-header-notifikasi {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.attention-badge {
    color: #e11d48;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-btn-notifikasi {
    color: #9ca3af;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-btn-notifikasi:hover {
    color: #111827;
}

/* Body Content */
.modal-body-notifikasi {
    padding: 30px 20px;
    text-align: center;
}

.message-text {
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

/* Footer & Tombol */
.modal-footer-notifikasi {
    padding: 15px 20px;
    background-color: #f9fafb;
}

.btn-confirm-notifikasi {
    background-color: #802432;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: all 0.2s;
}

.btn-confirm-notifikasi:hover {
    background-color: #be123c;
    transform: translateY(-1px);
}

/* =========================================
   SECTION RUNDOWN / SUSUNAN ACARA
   ========================================= */
.rundown-details {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rundown-header {
    margin-bottom: 20px;
    text-align: center;
}

.rundown-subtitle {
    font-size: 0.82rem;
    color: #D1DDD5;
    margin-top: 4px;
    font-style: italic;
    letter-spacing: 0.3px;
}

/* Timeline Wrapper */
.timeline-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 60vh;
    /* Agar bisa scroll vertikal nyaman di layar hp */
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(229, 169, 60, 0.4) transparent;
}

.timeline-container::-webkit-scrollbar {
    width: 4px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background-color: rgba(229, 169, 60, 0.4);
    border-radius: 4px;
}

/* Card Per Item Acara */
.timeline-item {
    background: rgba(10, 32, 18, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    transition: all 0.25s ease;
}

/* Item Khusus Penampilan / Sambutan Utama */
.timeline-item.highlight {
    border-color: rgba(229, 169, 60, 0.45);
    background: linear-gradient(145deg, rgba(16, 48, 28, 0.9) 0%, rgba(10, 30, 18, 0.95) 100%);
}

.timeline-item.highlight-red {
    border-color: rgba(228, 49, 43, 0.5);
    background: linear-gradient(145deg, rgba(45, 18, 18, 0.85) 0%, rgba(15, 30, 20, 0.95) 100%);
}

/* Waktu & Durasi (Kiri) */
.timeline-badge {
    min-width: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 6px 4px;
}

.timeline-time {
    font-size: 0.76rem;
    font-weight: 800;
    color: var(--gold-bright, #FDD872);
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.timeline-duration {
    font-size: 0.68rem;
    color: #BAC7BF;
    font-weight: 600;
    margin-top: 2px;
}

/* Isi Deskripsi Acara (Kanan) */
.timeline-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.timeline-role {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--gold-accent, #E5A93C);
    margin-bottom: 2px;
}

.timeline-role.role-red {
    color: var(--palestine-red, #FF4D4D);
}

.timeline-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.35;
    margin: 0;
}

.timeline-person {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold-bright, #FDD872);
    margin-top: 4px;
    line-height: 1.3;
}

.rundown-note {
    font-size: 0.72rem;
    color: #A0B3A6;
    margin-top: 14px;
    font-style: italic;
    text-align: center;
}

/* =========================================
   ANIMASI ONSCROLL (.show-animate)
   ========================================= */
.rundown-details>* {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.rundown-details.show-animate>* {
    opacity: 1;
    transform: translateY(0);
}

.rundown-details.show-animate .rundown-header {
    transition-delay: 0.15s;
}

.rundown-details.show-animate .timeline-container {
    transition-delay: 0.35s;
}

.rundown-details.show-animate .rundown-note {
    transition-delay: 0.55s;
}
.max-pax-note {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #BAC7BF;
    letter-spacing: 0.3px;
}

.max-pax-note span {
    color: var(--gold-bright, #FDD872);
    font-weight: 700;
}