*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins', sans-serif;
    background:#f5efe5;
    color:#444;
    overflow-x:hidden;
}

/* ========================= */
/* LAYOUT UMUM */
/* ========================= */

.page{
    width:100%;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.card{
    width:100%;
    max-width:500px;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    /* background:#fff; */
}

/* ========================= */
/* COVER (HALAMAN DEPAN) */
/* ========================= */

.cover{
    background:
    linear-gradient(rgba(176,141,87,0.75), rgba(176,141,87,0.75)),
    url('https://images.unsplash.com/photo-1519741497674-611481863552?q=80&w=1200&auto=format&fit=crop');
    background-size:cover;
    background-position:center;
    color:white;
    text-align:center;
    padding:60px 25px;
}

/* ========================= */
/* HALAMAN ISI (PAKAI foto.png) */
/* ========================= */

.content{
    padding:35px 24px;
    background:
    linear-gradient(rgba(255, 255, 255, 0.459), rgba(255, 255, 255, 0.274)),
    url('foto.png');

    background-size:cover;
    background-position:center;
}

/* ========================= */
/* HALAMAN PENUTUP (PAKAI foto.png) */
/* ========================= */

.closing-page{
    background:
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(249, 243, 234, 0.562)),
    url('foto.png');

    background-size:cover;
    background-position:center;

    text-align:center;
    padding:50px 25px;
}

/* ========================= */
/* TEXT COVER */
/* ========================= */

.arabic{
    font-family:'Scheherazade New', serif;
    font-size:34px;
    line-height:1.7;
}

.cover h1{
    margin-top:25px;
    font-size:32px;
    letter-spacing:3px;
}

.subtitle{
    margin-top:15px;
    font-size:15px;
    line-height:1.8;
}

.couple-name{
     font-family:'Great Vibes', cursive;
    margin-top:45px;
    font-size:34px;
    font-weight:700;
    line-height:1.5;
}

.date{
    margin-top:25px;
    font-size:18px;
    letter-spacing:2px;
}

.button{
    display:inline-block;
    margin-top:45px;
    padding:14px 28px;
    border-radius:50px;
    background:white;
    color:#b08d57;
    text-decoration:none;
    font-weight:600;
}

/* ========================= */
/* ISI */
/* ========================= */

.quote{
    text-align:center;
    line-height:1.9;
    font-size:14px;
    font-style:italic;
    color:#666;
}

.section{
    margin-top:35px;
}

.section-title{
    text-align:center;
    color:#b08d57;
    font-size:24px;
    margin-bottom:25px;
}

.name{
    font-family:'Great Vibes', cursive;
    font-size:40px;
    color:#e9a237;
    text-align:center;
    font-weight:400;
    margin:10px 0;
}

.parent{
    text-align:center;
    margin-top:10px;
    line-height:1.8;
    color:#666;
    font-size:14px;
}

.and{
    text-align:center;
    margin:25px 0;
    font-size:28px;
    color:#b08d57;
}

.event-box{
    background:rgba(250,247,242,0.95);
    border-radius:20px;
    padding:20px;
    margin-bottom:20px;
}

.event-box h3{
    color:#b08d57;
    margin-bottom:15px;
}

.detail{
    margin-bottom:10px;
    line-height:1.8;
    font-size:14px;
}

.next-button{
    text-align:center;
    margin-top:30px;
}

/* ========================= */
/* PENUTUP */
/* ========================= */

.closing-page h2{
    color:#b08d57;
    margin-bottom:25px;
    font-size:30px;
}

.closing-text{
    line-height:2;
    font-size:15px;
}

.doa{
    margin:30px 0;
    color:#b08d57;
    font-style:italic;
    font-weight:500;
    line-height:2;
}

.family{
    margin-top:35px;
    font-weight:600;
    line-height:2;
}

.footer{
    margin-top:40px;
    font-size:13px;
    color:#888;
}
.invite-table{
    width:100%;
    border-collapse:collapse;
    text-align:left;
    font-size:14px;
    color:#444;
}

.invite-table td{
    padding:6px 10px;
}
.hidden-page{
    display:none;
}

/* ========================= */
/* MOBILE */
/* ========================= */

@media(max-width:480px){

    .cover h1{
        font-size:26px;
    }

    .couple-name{
        font-size:28px;
    }

    .name{
        font-size:24px;
    }

    .section-title{
        font-size:22px;
    }

}