/* =========================
   RESET
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#FCFBF7;
    color:#4B587D;
    max-width:500px;
    margin:auto;
    overflow-x:hidden;
}

/* =========================
   GENERAL
========================= */

img{
    display:block;
    width:100%;
}

section{
    width:100%;
}

:root{

    --gold:#D8B84D;
    --gold-dark:#C5A331;

    --blue:#4A5A87;
    --blue-dark:#3F4F7B;

    --body:#FCFBF7;

}

/* =========================
   SECTION 1
========================= */

#cover{
    position:relative;
}

.header-image{
    width:100%;
    display:block;
}

.cover-button{
    position:absolute;
    bottom:10%;
    left:50%;
    transform:translateX(-50%);
    width:60%;
}

#openInvitation{

    width:100%;
    border:none;

    background:linear-gradient(
        180deg,
        #E5C85E,
        #D6B33F
    );

    color:#fff;
    font-weight:700;
    font-size:18px;

    padding:14px;

    border-radius:8px;

    cursor:pointer;

}

/* =========================
   BORDER 1
========================= */

.border-1{
    padding:20px 0;
}

.border-1 img{
    width:100%;
}

/* =========================
   SECTION 2
========================= */

#opening{
    text-align:center;
    padding:0 0 40px;
}

.section2-image{
    width:100%;
    margin-top:-160px;
    display:flex;
    justify-content:center;
}

.section2-image img{
    width:85%;
    display:block;
}

.bunga-wrapper{
    width:100%;
    margin-bottom:0;
    position:relative;
    top:170px;
}

.bunga-wrapper img{
    width:100%;
    display:block;
}

/* =========================
   SECTION 3
========================= */

#jadwal{
    margin-top:10px;
}

.jadwal-image{
    width:100%;
}

/* =========================
   SECTION 4
========================= */

#galeri{
    padding:40px 30px;
}

.slider{
    position:relative;
    overflow:hidden;
}

.slides{
    display:flex;
    transition:transform 0.5s ease;
}

.slide{
    min-width:100%;
    border-radius:4px;
    display:block;
}

.nav{

    position:absolute;
    top:50%;

    transform:translateY(-50%);

    width:38px;
    height:38px;

    border:none;
    border-radius:50%;

    background:rgba(255,255,255,.8);

    color:var(--gold);
    font-size:22px;

    cursor:pointer;

    z-index:100;
}

.prev{
    left:10px;
}

.next{
    right:10px;
}

.dots{

    display:flex;
    justify-content:center;
    gap:8px;

    margin-top:18px;
}

.dot{

    width:8px;
    height:8px;

    border-radius:50%;
    background:#ddd;
}

.dot.active{
    background:var(--gold);
}

/* =========================
   BORDER 2
========================= */

.border-2{
    padding-bottom:20px;
}

.border-2 img{
    width:100%;
}

/* =========================
   SECTION 5
========================= */

#ayat{

    text-align:center;

    padding:0 35px 50px;

    color:var(--blue);
}

#ayat p{

    font-size:14px;
    line-height:1.8;

    font-weight:600;

    margin-bottom:12px;
}

#ayat h4{

    margin-top:25px;

    font-size:18px;
    font-weight:700;
}

/* =========================
   SECTION 6
========================= */

#rekening{

    background:#fff;

    padding:40px 20px;
}

.rekening-card{

    background:linear-gradient(
        180deg,
        #DDBF56,
        #D2B143
    );

    color:white;

    padding:25px;

    border-radius:20px;

    text-align:center;
}

.rekening-card p{

    font-size:18px;
    line-height:1.5;

    margin-bottom:20px;
}

.bank-box,
.rekening-number{

    background:#fff;

    color:var(--blue);

    border-radius:6px;

    padding:10px;

    font-weight:700;

    margin-top:10px;
}

.rekening-number{
    margin-top:8px;
}

/* =========================
   SECTION 7
========================= */

#ucapan{

    padding:50px 20px;
    text-align:center;
}

#ucapan h2{

    color:var(--blue);

    font-size:24px;

    margin-bottom:20px;
}

.ucapan-card{

    border:2px solid #E0C668;

    border-radius:18px;

    padding:20px;
}

#nama,
#pesan{

    width:100%;

    border:1px solid #8A95B6;

    border-radius:6px;

    padding:12px;

    font-family:inherit;
    font-size:14px;

    margin-bottom:10px;
}

#pesan{
    height:90px;
    resize:none;
}

#kirim{

    width:100%;
}

#kirimUcapan{

    width:100%;

    background:var(--blue);

    color:white;

    border:none;

    border-radius:6px;

    padding:14px;

    font-weight:700;

    cursor:pointer;

    margin-bottom:18px;
}

.list-ucapan{

    max-height:250px;

    overflow-y:auto;

    text-align:left;

    padding-right:5px;
}

.item-ucapan{

    border-bottom:1px solid #e5d59a;

    padding:12px 0;

    font-size:14px;

    line-height:1.7;
}

.item-ucapan:last-child{
    border-bottom:none;
}

.thanks{

    margin-top:30px;

    color:#6E7690;

    font-size:17px;

    line-height:1.8;
}

/* =========================
   FOOTER
========================= */

#footer{
    margin-top:10px;
}

#footer img{
    width:100%;
    display:block;
}

/* =========================
   SCROLLBAR
========================= */

.list-ucapan::-webkit-scrollbar{
    width:6px;
}

.list-ucapan::-webkit-scrollbar-thumb{
    background:var(--gold);
    border-radius:10px;
}

/* =========================
   DESKTOP
========================= */

@media(min-width:768px){

    body{
        max-width:550px;
    }

    .nama-pria,
    .nama-wanita{
        font-size:48px;
    }

    #ucapan h2{
        font-size:28px;
    }

}