/* RESET */
* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* BODY */
body.lock {
    overflow: hidden;
}

body {
    scroll-snap-type: y mandatory;
    background: #fdeff2;
}

/* BACKGROUND PARTIKEL */
#flowers {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at bottom, #fdeff2, #f7d7e8);
}

/* COVER */
.cover {
    position: fixed;
    inset: 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover.hide {
    display: none;
}

/* SLIDE */
.slide {
    display: none;
    min-height: 100vh;
    scroll-snap-align: start;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.slide.alt {
    background: rgba(255,255,255,0.25);
}

/* BOX */
.box {
    background: rgba(255,255,255,0.96);
    padding: 45px 30px;
    border-radius: 30px;
    max-width: 720px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,.15);
}

/* JUDUL */
h1 {
    color: #c59d5f;
    margin-bottom: 12px;
}

.gold {
    font-size: 26px;
    color: #d4af37;
    font-weight: bold;
    margin: 10px 0;
}

/* BUTTON */
button {
    padding: 16px 36px;
    border-radius: 35px;
    border: none;
    background: linear-gradient(to right, #d4af37, #f5c16c);
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* FOTO UTAMA */
.foto-utama img {
    width: 220px;          /* setengah dari 440px */
    height: 220px;
    border-radius: 50%;
    border: 8px solid #d4af37;
    margin-top: 25px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
}


/* =============================== */
/* GALERI FOTO MENYAMPING (BESAR)  */
/* =============================== */

.galeri {
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 15px;
}

.galeri img {
    width: 280px;      /* 2x dari 140px */
    height: 280px;
    border-radius: 22px;
    object-fit: cover;
    flex-shrink: 0;    /* PENTING: agar tidak turun ke bawah */
    box-shadow: 0 12px 28px rgba(0,0,0,.25);
}

/* Hilangkan scrollbar */
.galeri::-webkit-scrollbar {
    display: none;
}



/* =============================== */
/* COUNTDOWN                       */
/* =============================== */

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.time-box {
    background: #fff;
    padding: 15px 10px;
    border-radius: 18px;
    min-width: 85px;
    box-shadow: 0 8px 20px rgba(0,0,0,.1);
}

.time-box span {
    display: block;
    font-size: 28px;
    color: #d4af37;
    font-weight: bold;
}

/* =============================== */
/* MAP                             */
/* =============================== */

.map-box {
    margin-top: 20px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.map-box iframe {
    width: 100%;
    height: 260px;
    border: none;
}

/* =============================== */
/* FORM                            */
/* =============================== */

input,
select,
textarea {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 12px;
    border: 1px solid #ddd;
    font-size: 15px;
}

textarea {
    min-height: 90px;
}

form button {
    width: 100%;
    margin-top: 10px;
}

.doa {
    margin-top: 15px;
    font-style: italic;
}

/* =============================== */
/* TOMBOL MUSIK                    */
/* =============================== */

.music-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(to right, #d4af37, #f5c16c);
    color: white;
    font-size: 22px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    z-index: 99;
}

.music-btn.pause {
    background: #999;
}

/* =============================== */
/* RESPONSIVE                      */
/* =============================== */

@media (max-width: 600px) {
    .box {
        padding: 35px 20px;
    }

    .galeri-track img {
        height: 240px;
        flex: 0 0 95%;
        max-width: 95%;
    }
}

