/* RESET AMAN */
*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif;
}

:root {
    --pink: #889ea8;
    --pink-muted: #4a6774;
    --pink-light: #abd8ec;
    --pink-hover: #54a0c3;
    --white: #fff;
    --grey: #ccc;
    --light-grey: #d4d4d4;
    --dark-grey: #999;
    --dark: #151515;
    --black: #000;
    --vh: 100vh;
}

@supports (height: 100vh) {
    :root {
        --vh: 100svh;
    }
}




/* ======================
   LOADING SCREEN
====================== */

#loading-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, #111, #000);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease, visibility 1s ease;
}

#loading-screen.hide {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    width: 120px;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loader-text {
    font-family: "Playfair Display SC", serif;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.loader-bar {
    width: 220px;
    height: 10px;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(to right, var(--pink), var(--pink-muted));
    border-radius: 20px;
    animation: loadBar 2.5s ease forwards;
}

@keyframes loadBar {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7;}
    50% { transform: scale(1.05); opacity: 1;}
    100% { transform: scale(1); opacity: 0.7;}
}



/* bg */
.bg-jawa{
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -10;
    pointer-events: none;
    /* overlay gelap */
    filter: brightness(0.7) contrast(1.1);
}



    /* JANGAN set height di body */
    body.locked {
    overflow: hidden !important;
}

body.unlocked {
    overflow-y: auto;
}

#app {
    position: relative;
    z-index: 1;
    min-height: var(--vh);
    overflow-x: hidden;
}

.huruf-sambung {
    font-family: 'Sacramento', cursive !important;
}

/* font wedding */
.font1 {
    font-family: "Great Vibes", serif;
    font-weight: 500;
    font-style: normal;

}



.font2 {
    font-family: "Playfair Display SC", serif;
    font-weight: 100 !important;
    font-style: normal;
    letter-spacing: 1px;
}


.btn-pink {
    font-family: sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    display: inline-block;
    padding: 10px 28px;
    border-radius: 4px;
    transition: 0.5s;
    color: var(--white);
    background: var(--pink);
}

.btn-pink:hover {
    background: var(--pink-hover);
    color: var(--white);
}

.border-pink {
    border-radius: 15px;
    border: 2px solid var(--pink);
}


/* efek blur */
.card-acara,
.section-title {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    border-radius: 12px;
}
 /* lovestoy */
.section-titlekiri {
    position: relative;
    display: inline-block;
    padding: 6px 24px;
}


.section-titlekiri::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 30px;
    z-index: 0;
}

/* teks di atas blur */
.section-titlekiri h1 {
    position: relative;
    z-index: 2;
}

/* footer */
.card-acara,
.section-titlebening {
    background: transparent;
}

.sambutan {
    color: var(--white);
}



/* =====================
NAVBAR MOBILE
===================== */
.nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: var(--pink);
    display: flex;
    z-index: 10;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.4s ease;
}

.nav.show {
    transform: translateY(0);
    opacity: 1;
}


.nav li {
    flex: 1;
}

.nav li a {
    color: var(--light-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 18px;
}

.nav li a:hover {
    color: var(--white);
}

/* MUSIC BUTTON */
.nav .nav-music {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--black);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
}

.nav li a {
    text-decoration: none;
}

.nav li a.nav-item-music {
    font-size: 28px;
    position: relative;
    top: -35px;
}


.rotate {
    animation: rotateAnimation 5s linear infinite;
}

@keyframes rotateAnimation {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* hero section */
#hero-section h1 {
    font-size: 10px;
    text-shadow:
        0 3px 8px rgba(0,0,0,0.5),
        0 0 12px rgba(0, 0, 0, 0.35);
}

#hero-section h4 {
    text-shadow:
        0 2px 5px rgba(0,0,0,0.5);
}

#hero-section .cd-number {
    text-shadow:
        0 2px 6px rgba(0,0,0,0.6);
}

#hero-section .cd-label {
    text-shadow:
        0 1px 3px rgba(0,0,0,0.5);
}



#hero-section::before {
    transform: translateY(-5px) scale(1.1);
    content: "";
    position: absolute;
    inset: 0;
    background:
            linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.8) 60%,
            rgba(0, 0, 0, 1) 100%
        ), url('assets/images/hero.jpeg');
    background-position: center;
    background-size: cover;
    z-index: -5;
}


#hero-section {
    width: 100%;
    min-height: var(--vh);
    position: fixed !important;
    z-index: 999;
    overflow: hidden!important;
    transition: opacity 1s ease, transform 1s ease;
}


#hero-section .container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#hero-section .btn-get-started {
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    display: inline-block;
    transition: 0.5s;
    background: var(--pink);
    color: var(--white);
    font-size: 12px;
    padding: 10px 20px;
}

#hero-section .btn-get-started:hover {
    color: var(--pink-hover);
    background: var(--white);
}

#hero-section .btn-get-started,
#hero-section .btn-get-started * {
    text-shadow: none !important;
}


#hero-section h4:first-child {
    font-size: 12px;
    max-width: 90%;
    margin: 0 auto 6px;
}


    #hero-section h4 {
        font-size: 13px;
        line-height: 1.4;
    }

    #hero-section h1 {
        font-size: 25px;   
        line-height: 1.1;
        margin: 8px 0;
    }

    #hero-section .huruf-sambung {
        letter-spacing: 1px;
    }

    .hero-content{
    display: flex;
    flex-direction: column;
    min-height: var(--vh);
}

/* Judul di atas */
.hero-title{
    margin-top: 10vh;
    text-align: center;
}

/* Sambutan + tombol di bawah */
.hero-bottom{
    margin-top: auto;
    margin-bottom: 10vh;
    text-align: center;
}

/* Shadow teks agar kebaca di foto */
.hero-title h1,
.sambutan,
.btn-get-started{
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}

/* Perjelas sambutan */
.sambutan{
    color: #fff;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Rapatkan semua teks di hero */
.hero-title h1{
    margin-top: 0 !important;
    line-height: 1.05;   /* jarak antar baris lebih mepet */
    font-size: 10px;
}

/* Jarak kecil antara "the wedding of" dan nama */
.hero-title .font1{
    font-size: 10px;
    margin-bottom: 0 !important;
    letter-spacing: 1px;
}

.hero-title .font2{
    font-size: 10px;
}

/* Rapatkan sambutan */
.sambutan p{
    margin: 2px 0;
}

.sambutan hr{
    margin: 6px auto;
    width: 60%;
    opacity: 0.7;
}

.hero-hide {
    opacity: 0;
    transform: scale(1.05);
    pointer-events: none;
}










/* pembuka-section */
#pembuka-section{
    display: flex;
    justify-content: center;
    position: relative;
    height: 100vh !important;
    width: 100vw;
    min-height: var(--vh);   /* full layar */
    overflow: hidden;
    padding: 0 !important;
    z-index: -12;
}

.bg-opening {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    /* overlay gelap */
    filter: brightness(0.7) contrast(1.1);
}

.overlay-pembuka {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.8) 90%,
        #fff 100%
    );
}

.pembuka-title{
    margin-top: 10vh;
    text-align: center;
}

/* Sambutan + tombol di bawah */
.pembuka-bottom{
    margin-top: auto;
    margin-bottom: 10vh;
    text-align: center;
}

/* Shadow teks agar kebaca di foto */
.pembuka-title h1,
.sambutan,
.btn-get-started{
    text-shadow: 0 3px 10px rgba(0,0,0,0.6);
}


/* Rapatkan semua teks di pembuka */
.pembuka-title h1{
    margin-top: 0 !important;
    line-height: 1.05;   /* jarak antar baris lebih mepet */
    font-size: 10px;
}

/* Jarak kecil antara "the wedding of" dan nama */
.pembuka-title .font1{
    font-size: 50px;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    letter-spacing: 1px;
}

.pembuka-title .font2{
    font-size: 15px;
    font-weight: 1px;
}



/* ==============================
   AUTO SLIDER DI PEMBUKA
============================== */

.auto-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 8;
    touch-action: pan-y; /* BIAR SWIPE X JALAN */
    cursor: grab;
}

.auto-slider:active {
    cursor: grabbing;
}

.auto-slider-track {
    display: flex;
    width: max-content;
    gap: 8px;
    will-change: transform;
}


/* pause kalau disentuh / hover */
.auto-slider:hover .auto-slider-track {
    animation-play-state: paused;
}

.auto-slider img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,.5);
}




/* ==============================
   OPENING SECTION PANJANG
============================== */

#opening-section {
    position: relative;
    height: 200vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
}

/* =====================
   TEKS ATAS
===================== */

.opening-text {
    position: sticky;
    top: 12vh;
    text-align: center;
    max-width: 420px;
    padding: 20px;
    z-index: 5;
}

.bismillah {
    font-family: 'Amiri', serif;
    font-size: 28px;
    color: black;
    margin-bottom: 20px;
}

.quote {
    font-size: 14px;
    line-height: 1.2;
    color: #333;
}

.quote span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.7;
}

/* =====================
   ROUNDED PILL
===================== */

.opening-pill {
    position: sticky;
    top: 30vh;
    width: 90%;
    max-width: 420px;
    height: 160vh;
    background: var(--pink);
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.85);
    box-shadow:
        0 8px 20px rgba(0,0,0,0.18),
        0 20px 60px rgba(0,0,0,0.28),
        inset 0 1px 2px rgba(255,255,255,0.35);
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.6));
    display: flex;
    justify-content: center;
    align-items: center;
}

/* =====================
   ISI VERTIKAL
===================== */

.couple-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
    padding: 60px 20px;
}

/* ITEM */
.couple-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.couple-item img {
    width: 180px;
    height: 250px;
    object-fit: cover;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(0,0,0,.5);
}

.couple-item .nama {
    margin-top: 20px;
    font-size: 32px;
    color: white;
}

/* label Putra / Putri dari */
.ortu-label {
    margin-top: 5px;
    font-weight: 700;   /* TEBAL */
    font-size: 13px;
    letter-spacing: 0px;
}

/* nama orang tua */
.ortu-nama {
    margin-top: -30px;
    font-weight: 100;   /* TIPIS & ELEGAN */
    font-size: 13px;
    line-height: 1.2;
    opacity: 0.9;
}


/* PEMISAH */
.divider {
    margin-top: -20px;
    margin-bottom: -20px;
    font-size: 44px;
    opacity: 0.6;
}

/* IG */
.ig-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #fff;
    text-decoration: none;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(4px);
}





/* pembuka section2 */
#pembuka-section2 {
    position: relative;
    height: 70vh;
    width: 100vw;
    background: url('assets/images/date.jpeg') center / cover no-repeat;
    overflow: hidden;
    padding: 10px;
}

/* OVERLAY HITAM */
#pembuka-section2 .overlay-dark {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.65)
    );
    z-index: 1;
}

/* CONTENT */
#pembuka-section2 .pembuka-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CARD */
#pembuka-section2 .pembuka-card {
    width: 100%;
    max-width: 420px;
    padding: 30px 20px;
    text-align: center;
    color: white;
}

/* JUDUL */
.count-title {
    font-size: 28px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

/* COUNTDOWN */
.countdown {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.cd-box {
    min-width: 80px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
}

.cd-number {
    font-size: 18px;
    font-weight: 700;
    display: block;
}

.cd-label {
    font-size: 11px;
    opacity: 0.8;
}

.btn-tgl {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1.2px solid white;
    background: transparent;
    color: white;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 6px 16px rgba(0,0,0,.3);
}

.btn-tgl:hover {
    background: white;
    color: black;
}


/* QUOTE ISLAMI */
.quote-islami {
    margin-top: 10px;
}

.quote-islami .arab {
    font-family: 'Amiri', serif;
    font-size: 20px;
    margin-bottom: 10px;
}

.quote-islami .quote {
    color: white;
    font-size: 13px;
    line-height: 1.2;
    opacity: 0.9;
}

.quote-islami span {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    opacity: 0.75;
}


.text-pink {
    color: var(--pink);
}

#content-section {
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--pink-light);
}

::-webkit-scrollbar-thumb {
    background: var(--pink);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pink-hover);
}




/* section-acara */
.acara-section {
    position: relative;
    width: 100%;
    min-height: var(--vh);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: white;
}

.acara-pill {
    position: sticky;
    top: 10vh;
    width: 90%;
    max-width: 420px;
    height: 100vh;

    background-image: url("assets/images/acara.jpeg") !important;
    background-size: cover;          /* 🔥 WAJIB */
    background-position: center;     /* 🔥 WAJIB */
    background-repeat: no-repeat;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,.6));
    border-radius: 999px;
    border: 2px solid rgba(255,255,255,0.85);

    box-shadow:
        0 8px 20px rgba(0,0,0,0.18),
        0 20px 60px rgba(0,0,0,0.28),
        inset 0 1px 2px rgba(255,255,255,0.35);

    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden; /* 🔥 PENTING biar bg nurut pill */
}

.acara-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55),
        rgba(0,0,0,0.65)
    );
    z-index: -1;
}


/* SECTION */
.acara-section {
    position: relative;
    min-height: 120vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

/* PILL BESAR */
.acara-pill {
    position: sticky;
    top: 8vh;
    width: 90%;
    max-width: 420px;
    height: 100vh;

    background: url("assets/images/acara.png") center / cover no-repeat;
    border-radius: 999px;
    overflow: hidden;

    border: 2px solid rgba(255,255,255,0.9);

    box-shadow:
        0 10px 25px rgba(0,0,0,0.2),
        0 30px 70px rgba(0,0,0,0.35);
}

/* OVERLAY GELAP */
.acara-pill::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.65)
    );
    z-index: 0;
}

/* ISI */
.acara-content {
    position: relative;
    z-index: 1;
    height: 100%;
    padding: 60px 20px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    color: white;
}

/* BLOK ACARA */
.acara-blok {
    padding: 20px 10px;
}

/* JUDUL */
.acara-title {
    font-family: "Playfair Display SC", serif;
    font-size: 22px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* TANGGAL & JAM */
.acara-date {
    font-weight: 600;
    font-size: 14px;
}

.acara-time {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 14px;
}

/* LOKASI */
.acara-lokasi {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 14px;
}

/* BUTTON */
.btn-acara {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: white;
    color: #333;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 6px 16px rgba(0,0,0,.3);
}

.btn-acara:hover {
    background: var(--pink);
    color: white;
}


.icon-map {
    display: flex;
    justify-content: center;
    margin: 6px auto 8px;
}

.icon-map svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: rgba(255,255,255,0.9);
    stroke-width: 1.6;
}






/* ================================
   LOVE STORY TIMELINE (MOBILE FIRST)
================================ */

.timeline {
    list-style: none;
    padding: 20px 0;
    position: relative;
    max-width: 100%;
}


.timeline {
    position: relative;
}

/* garis vertikal */
.timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 45px;                /* sejajar dengan tengah foto */
    width: 3px;
    background: linear-gradient(
        to bottom,
        var(--pink),
        var(--pink-light),
        var(--pink)
    );
    border-radius: 10px;
    opacity: 0.7;
}




/* Item */
/* container tiap item */
.timeline > li {
    position: relative;
    display: flex;
    gap: 14px;
    margin-bottom: 40px;
    align-items: flex-start;
}

/* foto */
.timeline > li > .timeline-badge {
    width: 90px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--pink);
    box-shadow: 0 8px 20px rgba(249, 134, 3, 0.4);
}

/* panel card */
.timeline > li > .timeline-panel {
    background: white;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: 0 8px 20px rgba(0,0,0,.05);
    width: 100%;
}

/* Judul */
.timeline-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
}

/* Tanggal */
.timeline-date {
    display: block;
    font-size: 11px;
    color: var(--pink);
    margin-bottom: 8px;
}

/* Isi */
.timeline-body p {
    font-size: 12px;
    line-height: 1.6;
}

/* Hapus arrow desktop */
.timeline > li > .timeline-panel::before,
.timeline > li > .timeline-panel::after {
    display: none;
}



/* ======================
   MINI GALLERY PREVIEW
====================== */
.gallery-section {
    display: flex;
    text-align: center;
}

/* ===== MASONRY 2–3 KOLOM ===== */
#gallery-section {
    padding: 40px 20px;
    background: var(--pink);
}

/* container */
.gallery-grid {
    column-count: 3;
    column-gap: 12px;
}

/* tiap item */
.gallery-grid a {
    display: inline-block;
    width: 100%;
    margin-bottom: 2px;
    break-inside: avoid;
}

/* gambar */
.gallery-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* mobile */
@media (max-width: 768px) {
    .gallery-grid {
        column-count: 2;
        column-gap: 10px;
    }
}


.top-gift-wrap {
    display: flex;
    justify-content: center;
    width: 100vw;
    height: 10vh;
    position: absolute;
    z-index: 2;
    margin-top: -18vh;
    left: 15vw;
}

.top-gift {
    width: 100vw;
    height: 30vh;
    background: url("assets/images/wayang-kipas.png") center/contain no-repeat;
        filter:
        drop-shadow(0 8px 12px rgba(0,0,0,0.35))
        drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}








/* gift section */
.gift-section {
    display: flex;
    text-align: center;
}

.credit-card {
    background-color: var(--dark-grey);
    background-size: cover;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    padding: 20px;
    width: 300px;
    color: var(--white);
    position: absolute;
}

.card-logo {
    width: 75px;
    position: absolute;
    top: 15px;
    right: 15px;
}

.card-container {
    display: flex;
    align-items: center;
    margin-top: 50px;
}

.card-sim {
    width: 50px;
    margin-right: 10px;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 22px;
    text-decoration: none;
}

.card-name {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    text-align: left;
    margin-top: 10px;
}

.copy-button {
    font-family: 'Courier New', monospace;
    position: absolute;
    text-decoration: none;
    top: 5px;
    left: 15px;
    background-color: var(--white);
    color: var(--black);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.copy-button:hover {
    background: var(--pink);
    color: white;
}

.btn-kirim {
    font-weight: bold;
    color: var(--white);
    background: var(--pink);
}

.btn-kirim:hover {
    background: var(--pink-hover);
    color: var(--white);
}


.ucapan-box {
    margin-top: 50px;
    background: rgba(255,255,255,0.9);
    padding: 20px;
    border-radius: 16px;
}

.ucapan-box input,
.ucapan-box textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.ucapan-item {
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}


/* ucapan */
#listUcapan {
    margin-top: 50px;
  max-height: 360px;
  overflow-y: auto; 
    padding-right: 6px;
}

/* biar scrollbar ga jelek */
#listUcapan::-webkit-scrollbar {
  width: 6px;
}

#listUcapan::-webkit-scrollbar-thumb {
  background: var(--pink);    /* gold */
  border-radius: 10px;
}

#listUcapan::-webkit-scrollbar-track {
  background: transparent;
}

#btnKirim:disabled {
    background: var(--dark-grey);
    opacity: 0.4;
    cursor: not-allowed;
}





/* penutup section */
#penutup-section {
    position: relative;
    min-height: var(--vh);
    color: var(--white);
    display: flex;
    align-items: center;
}

#penutup-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    /* background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.8) 50%,
            rgba(0, 0, 0, 1) 100%
        ),
        url('assets/images/gallery7.jpeg'); */
    background-position: center;
    background-size: cover;
    z-index: -1;
}



/* footer */
.footer {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer .social {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
    box-shadow: 0 8px 18px rgba(0,0,0,0.4);
}

/* WhatsApp */
.footer .wa {
    background: #25D366;
}

/* Instagram */
.footer .ig {
    background: radial-gradient(circle at 30% 30%,
        #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}

/* TikTok */
.footer .tt {
    background: #000;
}

/* Hover effect */
.footer .social:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.6);
}


.ttd img {
    max-width: 150px;
    opacity: 0.9;
    filter: drop-shadow(0 5px 15px rgba(255,255,255,0.3));
}




/* mode ipad */
@media (min-width: 767px) and (max-width: 1024px) {

    /* =====================
       GLOBAL
    ===================== */
    body {
        background: #050505;
    }

    section,
    main,
    .nav {
        margin-left: auto;
        margin-right: auto;
    }

    /* =====================
       HERO (FIXED)
    ===================== */
    #hero-section {
        left: 50%;
        transform: translateX(-50%);
    }

    /* =====================
       VIDEO BACKGROUND
       (tetap full layar)
    ===================== */
    .video-bg {
        width: 100vw;
        height: 100vh;
        left: 0;
        transform: none;
    }

    /* =====================
       PEMBUKA SECTION
       (BENDERA & BOUNTY)
    ===================== */
    #pembuka-section {
        margin: 0 auto;
    }

    .bendera img {
        width: 1600px; /* cinematic desktop */
    }


#pembuka-section2 .pembuka-card {
    width: 100%;
    border-radius: 24px;
    padding: 30px 25px;
    text-align: center;
}


    /* =====================
       SECTION KONTEN
    ===================== */
    .pembuka-section2,
    .acara-section,
    .opening-section,
    .lokasi-section,
    .love-story-section,
    .gallery-section,
    .gift-section,
    .rsvp-section {
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    /* =====================
       NAVBAR MOBILE
    ===================== */
    .nav {
        transform: translateY(100%);
        border-radius: 18px 18px 0 0;
    }

    .nav.show {
        transform: translateY(0);
    }



#pembuka-section2 .pembuka-card {
    width: 80%;
    height: 80%;
    max-width: 400px;
    border-radius: 24px;
    padding: 30px 25px;
    text-align: center;
}
/* content wrapper */
#pembuka-section2 .pembuka-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}


/* gambar jawa di atas */
#pembuka-section2 .jawa {
    width: 100%;
    display: flex;
    justify-content: center;
}

#pembuka-section2 .jawa img {
    max-width: 160px;
    width: 100%;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,.6));
    border-radius: 20%;
}

/* tanggal */
#pembuka-section2 h4 {
    font-size: 24px;
    line-height: 1.4;
    margin: 6px 0;
}

/* countdown */
#pembuka-section2 .countdown {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 20px;
}

#pembuka-section2 .cd-box {
    min-width: 60px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
}

#pembuka-section2 .cd-number {
    font-size: 28px;
    font-weight: bold;
}

#pembuka-section2 .cd-label {
    font-size: 21px;
    letter-spacing: 1px;
    opacity: 0.8;
}


.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}



.countdown {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 12px 0;
    color: var(--black);
}

.cd-box {
    min-width: 56px;
    padding: 6px 8px;
    border-radius: 10px;
    text-align: center;
    color: var(--black);
    font-size: 11px;
    backdrop-filter: blur(2px);
}

.cd-number {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.1;
    display: block;
}

.cd-label {
    font-size: 15px;
}





    /* paksa layout acara jadi vertikal */
    #acara-section .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* semua kolom full width */
    #acara-section [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* jarak antar card */
    #acara-section .card-acara {
        margin-bottom: 20px;
    }



    /* gift section tetap normal */
    #gift-section {
        margin: 0 auto;
        text-align: center;
    }

    /* JANGAN flex section */
    #gift-section.gift-section {
        display: block;
    }

    /* pastikan collapse tetap bootstrap */
    #gift-section .collapse {
        width: 100%;
    }

    /* CREDIT CARD DI TENGAH */
    #gift-section .credit-card {
        width: 300px;
    }

}












/* =========================================
   DESKTOP MODE
   FORCE MOBILE VIEW PER SECTION (AMAN)
========================================= */
@media (min-width: 992px) {

    /* =====================
       GLOBAL
    ===================== */
    body {
        background: #050505;
    }

    section,
    main,
    .nav {
        max-width: 430px;
        margin-left: auto;
        margin-right: auto;
    }

    /* =====================
       HERO (FIXED)
    ===================== */
    #hero-section {
        width: 430px;
        left: 50%;
        transform: translateX(-50%);
    }

    /* =====================
       VIDEO BACKGROUND
       (tetap full layar)
    ===================== */
    .video-bg {
        width: 100vw;
        height: 100vh;
        left: 0;
        transform: none;
    }

    /* =====================
       PEMBUKA SECTION
       (BENDERA & BOUNTY)
    ===================== */
    #pembuka-section {
        width: 430px;
        margin: 0 auto;
    }




#pembuka-section2 .pembuka-card {
    width: 80%;
    height: 50%;
    max-width: 280px;
    border-radius: 24px;
    padding: 30px 25px;
    text-align: center;
}




    /* =====================
       OPENING SECTION
       (COUPLE DIAGONAL)
    ===================== */
    .cd-pria,
    .cd-wanita {
        left: 10px;
        right: 10px;
    }

    /* =====================
       SECTION KONTEN
    ===================== */
    .acara-section,
    .lokasi-section,
    .love-story-section,
    .gallery-section,
    .gift-section,
    .rsvp-section,
    .penutup-section {
        width: 430px;
        margin-left: auto;
        margin-right: auto;
    }

    /* =====================
       NAVBAR MOBILE
    ===================== */
    .nav {
        width: 430px;
        transform: translateY(100%);
        border-radius: 18px 18px 0 0;
    }

    .nav.show {
        transform: translateY(0);
    }


    /* paksa layout acara jadi vertikal */
    #acara-section .row {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    /* semua kolom full width */
    #acara-section [class*="col-"] {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* jarak antar card */
    #acara-section .card-acara {
        margin-bottom: 20px;
    }




.top-gift-wrap {
    display: flex;
    justify-content: center;
    width: 50vw;
    height: 10vh;
    position: absolute;
    z-index: 2;
    margin-top: -20%;
    left: 0%;
}

.top-gift {
    width: 50vw;
    height: 30vh;
    background: url("assets/images/nyapa.png") center/contain no-repeat;
        filter:
        drop-shadow(0 8px 12px rgba(0,0,0,0.35))
        drop-shadow(0 20px 30px rgba(0,0,0,0.25));
}





    /* gift section tetap normal */
    #gift-section {
        width: 430px;
        margin: 0 auto;
        text-align: center;
    }

    /* JANGAN flex section */
    #gift-section.gift-section {
        display: block;
    }

    /* pastikan collapse tetap bootstrap */
    #gift-section .collapse {
        width: 100%;
    }

    /* CREDIT CARD DI TENGAH */
    #gift-section .credit-card {
        right: 40%;
        width: 320px;
    }

}