*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

:root{
    --sea-mist:#CAECEE;
    --deep-indigo:#343D8A;
    --white:#ffffff;
    --background:#F8FCFD;
}

body{
    margin:0;
    background:var(--background);
    color:var(--deep-indigo);
}

/* ================= HERO ================= */

.hero{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    text-align:center;
    padding-top:120px;

    background-image:
        linear-gradient(rgba(0,0,0,.45),rgba(0,0,0,.45)),
        url("foto/foto7.jpeg");

    background-size:cover;
    background-position:center;
}

.judul p{
    font-family:"Coustard", serif;
    color:#fff;
    letter-spacing:4px;
    font-size:20px;
    margin-bottom:20px;
    margin-top:-40px; /* Naik 40px */
}

.judul h2{
    font-family:"Dancing Script", cursive;
    color:#fff;
    font-size:36px;
    font-weight:500;
    letter-spacing:2px;
    margin-top:-10px;
}

.judul h3{
    color:#fff;
    font-family:"Pompiere", sans-serif;
    letter-spacing:4px;
    font-size:13px;
    margin-top:380px;
}

/* ================= FIRMAN ================= */

.firman{
    text-align:center;
    padding:40px 20px;
}

.firman h2{
    font-family:"Dancing Script", cursive;
    margin-bottom:15px;
    color:var(--deep-indigo);
}

.firman p{
    max-width:600px;
    margin:auto;
    line-height:1.6;
    color:var(--deep-indigo);
}

/* ================= MEMPELAI ================= */

.mempelai{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:stretch;
    flex-wrap:wrap;
    gap:30px;
    padding:30px 20px;
}

.card{

    flex:1 1 300px;
    max-width:340px;

    text-align:center;

    background:#fff;

    padding:30px 20px;

    border-radius:15px;

    border:3px solid var(--sea-mist);

    box-shadow:0 10px 25px rgba(52,61,138,.15);

    font-family: "Cormorant Upright", serif;

}

.card h2{
    color:var(--deep-indigo);
}

.card p,
.card a{
    color:var(--deep-indigo);
}

/* ================= FOTO ================= */

.frame-foto{
    width:150px;
    height:150px;
    margin:0 auto 15px;
    overflow:hidden;

    border:5px solid var(--sea-mist);

    border-radius:50%;
}

.foto-mempelai-pria{
    width:100%;
    height:160px;
    object-fit:cover;
    object-position:center;
    transition:.3s;
}

.foto-mempelai-wanita{
    width:100%;
    height:190px;
    object-fit:cover;
    object-position:center;
    transition:.3s;
}

.foto-mempelai-pria{
    transform:scale(1);
}

.foto-mempelai-wanita{
    transform:scale(.99);
}

/* ================= ACARA ================= */

.card-acara{

    background:#fff;

    max-width:370px;

    margin:40px auto;

    padding:35px 30px;

    border-radius:20px;

    border:3px solid var(--sea-mist);

    box-shadow:0 10px 30px rgba(52,61,138,.15);

    text-align:center;

}

.card-acara .title-acara{

    display:block;

    width:100%;

    margin:0 0 30px;

    text-align:center;

    font-family:"Dancing Script", cursive;

    font-size:42px;

    color:var(--deep-indigo);

}

.title-map{

    text-align:center;

    font-family:"Dancing Script", cursive;

    font-size:38px;

    color:var(--deep-indigo);

    margin-bottom:25px;

}

.event h3{
    font-size:24px;
    margin-bottom:10px;
    color:var(--deep-indigo);
}

.event p{
    line-height:1.8;
    color:var(--deep-indigo);
}

.divider{

    width:70px;

    height:2px;

    background:var(--sea-mist);

    margin:25px auto;

}

/* ================= MAP ================= */

.card-map{

    background:#fff;

    padding:30px;

    max-width:370px;

    width:100%;

    margin:40px auto;

    border-radius:20px;

    border:3px solid var(--sea-mist);

    box-shadow:0 10px 30px rgba(52,61,138,.15);

    text-align:center;

}

.title{

    font-family:"Dancing Script", cursive;

    font-size:38px;

    color:var(--deep-indigo);

    margin-bottom:25px;

}

.map-container{

    width:100%;

    height:280px;

    overflow:hidden;

    border-radius:15px;

    margin-bottom:20px;

}

.map-container iframe{

    width:100%;

    height:100%;

    border:0;

    display:block;

}

.btn-location{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:8px;

    padding:12px 28px;

    background:linear-gradient(135deg,#343D8A,#4B57BF);

    color:#fff;

    text-decoration:none;

    border-radius:12px;

    font-size:17px;

    font-weight:600;

    transition:.3s;

}

.btn-location:hover{

    transform:translateY(-3px);

    box-shadow:0 10px 20px rgba(52,61,138,.30);

}

/* ================= GALLERY ================= */

.gallery-section{

    padding:70px 20px;

    background:#F8FCFD;

    margin:0 10px;

    border-radius:15px;

    border:3px solid var(--sea-mist);

    box-shadow:0 10px 30px rgba(52,61,138,.15);

}

.gallery-title{

    text-align:center;

    font-family:"Dancing Script", cursive;

    font-size:36px;

    margin-bottom:35px;

    color:var(--deep-indigo);

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    grid-auto-rows:180px;

    gap:18px;

    grid-auto-flow:dense;

}

.gallery-grid img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:18px;

    border:3px solid var(--sea-mist);

    transition:.3s;

}

.gallery-grid img:hover{

    transform:scale(1.03);

}

/* =========================
   AMPLOP DIGITAL
========================= */


.amplop-section{
    padding:70px 20px;
    background:#F8FCFD;
}

.amplop-container{
    max-width:500px;
    margin:auto;
    background:#fff;
    padding:35px;
    border-radius:20px;
    border:3px solid #CAECEE;
    box-shadow:0 10px 30px rgba(52,61,138,.15);
    text-align:center;
}

.amplop-title{
    font-family:"Dancing Script", cursive;
    font-size:42px;
    color:#343D8A;
    margin-bottom:15px;
}

.amplop-text{
    color:#343D8A;
    line-height:1.8;
    margin:20px 0 30px;
}

.rekening-card{
    background:#fff;
    border:2px solid #CAECEE;
    border-radius:18px;
    padding:30px 20px;
}

.logo-bank{
    width:220px;
    max-width:100%;
    display:block;
    margin:0 auto 20px;
}

.rekening-card h3{
    color:#343D8A;
    font-size:18px;
    margin-bottom:20px;
}

.judul-rekening{
    font-size:18px;
    font-weight:600;
    color:#343D8A;
    margin-bottom:15px;
}

.nomor-rekening{
    margin-bottom:18px;
    user-select:all;
    -webkit-user-select:all;

    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    word-break:break-word;
}

#rekening{
    font-size:clamp(25px, 5vw, 28px);
    font-weight:700;
    color:#343D8A;
    letter-spacing:1px;
    line-height:1.4;
    text-align:center;
}
.nama-rekening{
    color:#343D8A;
    font-size:18px;
    font-weight:600;
    margin-bottom:25px;
    text-transform:uppercase;
}

.btn-copy{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    padding:10px 22px;

    background:linear-gradient(135deg,#343D8A,#5564C9);

    color:#fff;
    text-decoration:none;

    border:none;
    border-radius:40px;

    font-size:15px;
    font-weight:600;

    cursor:pointer;
    transition:.3s;
}

.btn-copy:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(52,61,138,.25);
}

/* =========================================
   GALLERY
========================================= */

.wide{
    grid-column:span 2;
}

.tall{
    grid-row:span 2;
}

.gallery-grid img{
    border:3px solid #CAECEE;
}

.gallery-grid img:hover{
    transform:scale(1.04);
}

/* =========================================
   UCAPAN
========================================= */

.ucapan-section{
    padding:70px 20px;
    background:#F8FCFD;
}

.ucapan-container{
    max-width:500px;
    margin:auto;
    background:#fff;
    padding:35px;
    border-radius:20px;
    border:3px solid #CAECEE;
    box-shadow:0 10px 30px rgba(52,61,138,.15);
}

.judul{
    text-align:center;
    margin-bottom:30px;
    font-size:34px;
    font-family:"Dancing Script", cursive;
    color:#343D8A;
}

.form-box{
    display:flex;
    flex-direction:column;
    gap:15px;
}

.form-box input,
.form-box select,
.form-box textarea{
    width:100%;
    padding:12px 14px;
    border:2px solid #CAECEE;
    border-radius:10px;
    font-size:14px;
    outline:none;
    transition:.3s;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus{
    border-color:#343D8A;
}

.form-box textarea{
    min-height:100px;
    resize:none;
}

.form-box button{
    padding:12px;
    border:none;
    border-radius:10px;
    background:linear-gradient(135deg,#343D8A,#5564C9);
    color:#fff;
    font-size:15px;
    cursor:pointer;
    transition:.3s;
}

.form-box button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(52,61,138,.25);
}

/* =========================================
   PENUTUP
========================================= */

.penutup-section{
    padding:70px 20px;
    background:#F8FCFD;
}

.penutup-container{
    max-width:500px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    border:3px solid #CAECEE;
    box-shadow:0 10px 30px rgba(52,61,138,.15);
    text-align:center;
}

.foto-penutup img{
    width:100%;
    height:300px;
    object-fit:cover;
}

.text-penutup{
    padding:30px 20px;
}

.hormat{
    color:#343D8A;
    font-size:16px;
    margin-bottom:5px;
}

.mengundang{
    color:#343D8A;
    font-size:14px;
    margin-bottom:15px;
}

.nama{
    font-family:"Dancing Script", cursive;
    font-size:32px;
    color:#343D8A;
}

/* =====================================================
   RESPONSIVE FINAL
   Mobile First (Default = HP)
===================================================== */


/* ==========================
   TABLET
========================== */
@media screen and (min-width:768px){

    .hero{
        padding-top:90px;
    }

    .judul p{
        font-size:22px;
    }

    .judul h2{
        font-size:54px;
    }

    .judul h3{
        font-size:18px;
        margin-top:400px;
    }

    .mempelai{
        display:flex;
        justify-content:center;
        flex-wrap:wrap;
        gap:35px;
    }

    .card{
        width:300px;
        margin:20px;
    }

    .frame-foto{
        width:180px;
        height:180px;
    }

    .card-acara,
    .card-map,
    .amplop-container,
    .ucapan-container,
    .penutup-container{
        width:90%;
        max-width:700px;
        padding:40px;
    }

    .gallery-section{
        width:90%;
        max-width:900px;
        margin:auto;
    }

    .gallery-grid{
        grid-template-columns:repeat(3,1fr);
        grid-auto-rows:220px;
        gap:15px;
    }

    .map-container{
        height:350px;
    }

    .foto-penutup img{
        height:400px;
    }

}


/* ==========================
   LAPTOP
========================== */
@media screen and (min-width:1024px){

    section{
        padding:70px 60px;
    }

    .hero{
        padding-top:80px;
    }

    .judul p{
        font-size:26px;
    }

    .judul h2{
        font-size:68px;
    }

    .judul h3{
        font-size:20px;
        margin-top:420px;
    }

    .mempelai{
        display:flex;
        justify-content:center;
        gap:40px;
        flex-wrap:wrap;
    }

    .card{
        width:320px;
    }

    .frame-foto{
        width:190px;
        height:190px;
    }

    .card-acara,
    .card-map,
    .amplop-container,
    .ucapan-container,
    .penutup-container{
        width:90%;
        max-width:900px;
        padding:45px;
    }

    .gallery-section{
        max-width:1200px;
        margin:auto;
    }

    .gallery-grid{
        grid-template-columns:repeat(4,1fr);
        grid-auto-rows:250px;
        gap:18px;
    }

    .map-container{
        height:430px;
    }

    .foto-penutup img{
        height:480px;
    }

}


/* ==========================
   DESKTOP BESAR
========================== */
@media screen and (min-width:1440px){

    .hero{
        padding-top:70px;
    }

    .judul p{
        font-size:30px;
    }

    .judul h2{
        font-size:82px;
    }

    .judul h3{
        font-size:24px;
        margin-top:450px;
    }

    .gallery-section{
        max-width:1350px;
    }

    .gallery-grid{
        grid-template-columns:repeat(4,1fr);
        grid-auto-rows:280px;
        gap:20px;
    }

    .card{
        width:340px;
    }

    .card-acara,
    .card-map,
    .amplop-container,
    .ucapan-container,
    .penutup-container{
        max-width:1000px;
    }

    .map-container{
        height:500px;
    }

    .foto-penutup img{
        height:550px;
    }

}