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

body {
    margin: 0;
    background: #e3e3e3;
    color: #444;
}

.hero{
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:flex-start; /* tulisan ke atas */
    text-align:center;
    padding-top:120px; /* jarak dari atas */

    background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url("foto/foto4.jpeg");
    background-size:cover;
    background-position:center;
}

.judul p{
    font-family: "Coustard", serif;
    color:white;
    letter-spacing:4px;
    font-size:20px;
    margin-bottom: 25px;
}

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

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

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

.firman h2{
    font-family: "Dancing Script", cursive;
    margin-bottom:15px;
}

.firman p{
    max-width:600px;
    margin:auto;
    line-height:1.6;
}

/* CARD MEMPELAI */

.card{
    text-align:center;
    background:rgb(239, 239, 239);
    padding:30px 20px;
    margin:30px auto;
    width:300px;
    border-radius:10px;
    box-shadow:10px 20px 15px rgba(0, 0, 0, 0.1);
}

/* FOTO MEMPELAI */

.foto-mempelai-pria{
    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:50px;
    margin-bottom:15px;
    border:4px solid #f0e6e0;
    transform: scale(1.2);
}

.foto-mempelai-wanita{
    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:50px;
    margin-bottom:15px;
    border:4px solid #f0e6e0;
    transform: scale(1.2);
}

.card h2{
    font-family: "Dancing Script", cursive;
    margin-top:10px;
}

.card a{
    display:inline-block;
    margin-top:10px;
    text-decoration:none;
    color:#b76e79;
}

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

/* CARD ACARA */

.card-acara{
    background:white;
    padding:30px;
    border-radius:12px;
    max-width:500px;
    margin:0 auto 30px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

/* CARD MAP */

.card-map{
    background:white;
    padding:30px;
    border-radius:12px;
    max-width:500px;
    margin:auto;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

.title{
    font-family: "Dancing Script", cursive;
    font-size:32px;
    margin-bottom:20px;
}

.event{
    margin-bottom:20px;
}

.event h3{
    margin-bottom:5px;
}

.event p{
    line-height:1.6;
}

.map-container iframe{
    width:100%;
    height:250px;
    border:none;
    border-radius:10px;
}

.btn-location{
    display:inline-block;
    margin-top:15px;
    padding:10px 20px;
    background: linear-gradient(135deg, #797572, #39342f);
    color:white;
    text-decoration:none;
    border-radius:8px;
}

/* SECTION */

.gallery-section{
    padding:70px 20px;
    background:#f5f5f5;

    margin:0 10px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
}

/* JUDUL */

.gallery-title{
    text-align:center;
    font-family:"Dancing Script", cursive;
    font-size:36px;
    margin-bottom:35px;
}

/* GRID */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    grid-auto-rows:180px;
    gap:18px;
    grid-auto-flow:dense;
}

/* FOTO */

.gallery-grid img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:18px;
    transition:0.3s;
}

/* FOTO BESAR */

.wide{
    grid-column:span 2;
}

/* FOTO TINGGI */

.tall{
    grid-row:span 2;
}

/* HOVER */

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

/* SECTION PEMBUNGKUS */
.ucapan-section{
    padding:70px 20px;
    background:#f5f5f5;
}

/* CONTAINER */
.ucapan-container{
    max-width:500px;
    margin:auto;
    background:white;
    padding:35px;
    border-radius:15px;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

/* JUDUL */
.judul{
    text-align:center;
    margin-bottom:30px;
    font-size:30px;
    font-family: "Dancing Script", cursive;
    color:#444;
}

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

/* INPUT */
.form-box input,
.form-box select,
.form-box textarea{
    width:100%;
    padding:12px 14px;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:14px;
    outline:none;
    transition:0.3s;
}

/* FOCUS */
.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus{
    border-color:#c8a97e;
}

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

/* BUTTON */
.form-box button{
    padding:12px;
    border:none;
    border-radius:8px;
    background: linear-gradient(135deg, #797572, #39342f);
    color:white;
    font-size:15px;
    cursor:pointer;
    transition:0.3s;
}

/* HOVER BUTTON */
.form-box button:hover{
    background:#4e4741;
}

/* SECTION */
.penutup-section{
    padding:70px 20px;
    background:#f5f5f5;
}

/* PEMBUNGKUS */
.penutup-container{
    max-width:500px;
    margin:auto;
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,0.08);
    text-align:center;
}

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

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

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

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

/* NAMA */
.nama{
    font-family:"Dancing Script", cursive;
    font-size:32px;
    color:#333;
}

/* =========================
   RESPONSIVE HP
   (LAYOUT TETAP SAMA)
========================= */

@media (max-width:768px){

/* BODY */
body{
    overflow-x:hidden;
}

/* HERO */
.hero{
    padding-top:100px;
}

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

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

.judul h3{
    margin-top:440px;
}

/* FIRMAN */
.firman{
    padding:35px 18px;
}

.firman p{
    font-size:15px;
}

/* CARD MEMPELAI */
.card{
    width:90%;
}

/* FOTO MEMPELAI */
.foto-mempelai-pria,
.foto-mempelai-wanita{
    width:150px;
    height:150px;
}

/* ACARA */
.card-acara,
.card-map{
    max-width:95%;
}

/* MAP */
.map-container iframe{
    height:230px;
}

/* GALERI (TETAP 3 KOLOM) */
.gallery-grid{
    grid-template-columns:repeat(3,1fr);
    grid-auto-rows:140px;
    gap:12px;
}

/* UCAPAN */
.ucapan-container{
    max-width:95%;
}

/* PENUTUP */
.penutup-container{
    max-width:95%;
}

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

}

/* =========================
   HP KECIL
========================= */

@media (max-width:480px){

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

.gallery-grid{
    grid-auto-rows:120px;
}

.title{
    font-size:28px;
}

.gallery-title{
    font-size:30px;
}

}