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


/* kode asli kamu mulai dari sini */
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #f7f4f2;
    color: #444;
}

.header {
    position: relative;
    text-align: center;
    background-image: url("foto/foto6.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    border-radius: 0;
    padding: 0;
}

.header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

.header h2,
.header p {
    position: relative;
    z-index: 2;
}

.header h2 {
    font-family: "Caveat", cursive;
    font-size: 42px;
    margin-bottom: 10px;
}

.header p {
    font-size: 16px;
    max-width: 340px;
    margin: auto;
}

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

.firman h2 {
    font-family: "Caveat", cursive;
    font-size: 30px;
}

.card {
    background: white;
    width: 75%;
    max-width: 360px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 3px 1px 6px rgba(0,0,0,0.4);
}

.card .line {
    width: 50%;
    height: 2px;
    margin: 10px auto;
    background: #ccc;
}

.card h3 {
    margin: 5px 0;
    color: #a97b50;
}

.card h2 {
    font-family: "Dancing Script", cursive;
    font-size: 30px;
    margin: 5px 0;
}

.card .ig {
    display: block;
    margin-top: 5px;
    color: #2b57ff;
    text-decoration: none;
}

.save-date {
    background: #a6836a;
    padding: 30px 20px;
    text-align: center;
    border-radius: 0 0 30px 30px;
}

.save-date .foto {
    width: 310px;
    height: 500px;
    max-width: 350px;
    border-radius: 15px;
}

.save-date h2 {
    font-family: "Caveat", cursive;
    font-size: 32px;
    margin-top: 15px;
    color: white;
}

.countdown {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.countdown div {
    padding: 10px;
    background: white;
    margin: 0 4px;
    border-radius: 10px;
    font-size: 11px;
}

.countdown span {
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.btn {
    margin-top: 10px;
    padding: 10px 20px;
    border: none;
    background:  #624831;
    color: white;
    border-radius: 8px;
    cursor: pointer;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 15px;
    font-size: 16px;
}

.countdown div {
    background: #ffffffc5;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
}

.countdown span {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.card-container {
    background: #ffffff;
    width: 80%;
    max-width: 380px;
    margin: 25px auto;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.line-love {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 10px 0 15px 0;
}

.line-love::before,
.line-love::after {
    content: "";
    flex: 1;
    height: 2px;
    background: #000000;
    margin: 0 10px;
}

.line-love span {
    font-size: 20px;
}

.title {
    font-family: "Caveat", cursive;
    font-size: 36px;
    margin-bottom: 15px;
}

.desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.map-box img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.btn-location {
    display: inline-block;
    margin-top: 15px;
    background: #555;
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.btn-location:hover {
    background: #333;
}

.location-card {
    background: #fff;
    padding: 18px;
    border-radius: 18px;
    border: 2px solid #e8d9c4;
    max-width: 480px;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #d9c7a5;
    margin-bottom: 18px;
}

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

.btn-location {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #7a5a3a, #a68163);
    color: #fff;
    padding: 12px 0;
    border-radius: 30px;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.btn-location:hover {
    opacity: 0.85;
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    transform: translateY(-2px);
}

.adab-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.adab-item {
    text-align: center;
    font-size: 12px;
    color: #654321;
}

.adab-item img {
    width: 45px;
    filter: sepia(60%) hue-rotate(330deg) saturate(80%);
    margin-bottom: 8px;
}

.undangan-container {
    width: 80%;
    margin: auto;
    border: 2px solid #654321;
    padding: 12px;
    background: white;
    border-radius: 6px;
    font-family: "Times New Roman", serif;
    text-align: center;
}

.judul {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.orangtua {
    font-size: 15px;
    margin-top: -4px;
}

.turut {
    font-size: 14px;
    margin-top: 6px;
    margin-bottom: 10px;
}

.dua-kolom {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.dua-kolom ul {
    list-style: none;
    padding: 0;
    width: 45%;
}

.dua-kolom li {
    margin-bottom: 6px;
    font-size: 14px;
}

.dua-kolom span {
    font-size: 12px;
}

.gallery {
    text-align: center;
    padding: 25px 15px;
}

.judul {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: -5px;
}

.gallery .judul {
    font-family: "Caveat", cursive;
    font-size: 40px;
}

.subjudul {
    font-size: 18px;
    color: #777;
    margin-bottom: 25px;
}

.gallery-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.gallery-row img {
    width: 100%;
    max-width: 175px;
    height: 240px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: .3s;
}

.gallery-row img:hover {
    transform: scale(1.03);
}

.container {
    width: 90%;
    max-width: 450px;
    margin: 40px auto;
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.judul {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #4a2f16;
}

.form-box {
    background: #ffffff;
    padding: 22px;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-sizing: border-box;
}

.form-box input,
.form-box select,
.form-box textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    font-size: 15px;
    outline: none;
    transition: 0.25s ease;
    background: #fff;
    box-sizing: border-box;
}

.form-box input:focus,
.form-box select:focus,
.form-box textarea:focus {
    border-color: #7a4b21;
    box-shadow: 0 0 8px rgba(122, 75, 33, 0.35);
}

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

.form-box button {
    background: #654321;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.25s ease;
}

.form-box button:hover {
    background: #57351d;
    transform: translateY(-2px);
}

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

.container .judul {
    font-family: "Caveat", cursive;
    font-size: 40px;
}

.text-top {
    font-size: 17px;
    line-height: 1.6;
    color: #3a2d2d;
    margin-bottom: 20px;
    padding: 0 15px;
}

.photo-box img {
    width: 100%;
    max-width: 430px;
    border-radius: 10px;
}

.text-bottom {
    margin-top: 20px;
    font-size: 14px;
    color: #3b2d2d;
}

.text-bottom h2 {
    font-family: "Caveat", cursive;
    margin: 5px 0 0;
    font-size: 32px;
    color: #2b1f1f;
    font-weight: bold;
}

#listUcapan {
    height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 10px;
}
