* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    background: #E9F1E9;
    color: #000;

    font-family:
        Georgia,
        "Times New Roman",
        serif;
}

.font-script {
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-style: normal;
}


/* =================================
   COVER
================================= */

.cover {

    position: fixed;

    inset: 0;

    z-index: 9999;

    width: 100%;
    height: 100vh;

    overflow: hidden;

    transition:
        transform 1s ease,
        opacity 1s ease;
}


.cover-bg {

    position: relative;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.cover-content {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 30px;

    z-index: 2;
}


.kepada {

    font-size: 16px;

    margin-bottom: 10px;
}


#namaTamu {

    font-size: 28px;

    margin-bottom: 30px;
}


#openInvitation {

    border: none;

    padding: 14px 28px;

    border-radius: 50px;

    background: #608E60;

    color: #E9F1E9;

    cursor: pointer;

    font-size: 14px;

    transition: 0.3s;
}


#openInvitation:hover {

    transform: scale(1.05);

}


/* =================================
   COVER DIBUKA
================================= */

.cover.open {

    transform: translateY(-100%);

    opacity: 0;

    pointer-events: none;
}



/* =================================
   INVITATION
================================= */

.invitation {

    width: 100%;

    max-width: 700px;

    margin: auto;

    background: #E9F1E9;
}



/* =================================
   SECTION
================================= */

.invite-section {

    position: relative;

    width: 100%;

    overflow: hidden;
}


/* PNG */

.section-bg {

    display: block;

    width: 100%;

    height: auto;

    position: relative;

    z-index: 1;
}


/* TEXT DI ATAS PNG */

.section-content {

    position: absolute;

    inset: 0;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 12%;
}


/* POSISI TEXT PER ASET */

.aset-2 .section-content {
    padding-top: 30%;
}

.aset-3 .section-content {
    padding-top: 30%;
}


/* =================================
   TYPOGRAPHY
================================= */

.section-content h1 {

    font-size: clamp(55px, 8vw, 70px);

    margin: 15px 0;
}


.section-content h2 {

    font-size: clamp(25px, 6vw, 45px);

    margin-bottom: 25px;
}


.section-content h3 {

    margin: 15px 0;
}


.section-content p {

    max-width: 500px;

    line-height: 1.7;

    margin: 8px auto;
}


.arabic {

    direction: rtl;

    font-size: 25px;

    line-height: 2.2;

    margin: 25px 0 !important;
}



/* =================================
   COUNTDOWN
================================= */

.countdown {

    display: flex;

    gap: 10px;

    margin-top: 25px;
}


.countdown div {

    min-width: 60px;

    padding: 10px;

    background: #608E60;

    color: #fff;

    border-radius: 10px;

    backdrop-filter: blur(5px);
}


.countdown strong {

    display: block;

    font-size: 22px;
}


.countdown span {

    font-size: 11px;
}



/* =================================
   MEMPELAI
================================= */

.mempelai {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    width: 100%;
}


.pengantin {

    max-width: 200px;
}


.pengantin h3 {

    font-size: 28px;
}


.ampersand {

    font-size: 35px;
}



/* =================================
   EVENT
================================= */

.event {

    margin: 15px 0;

    padding: 15px 25px;

    background: rgba(96,142,96,0.25);

    border-radius: 15px;

    width: 100%;
}


/* =========================
   GOOGLE MAPS
========================= */

.map-section {

    position: relative;

    width: 100%;

    padding: 70px 20px;

    background: #f5f1e8;

    color: #333;

    text-align: center;
}


.map-content {

    max-width: 600px;

    margin: auto;
}


.map-content h2 {

    margin-bottom: 10px;

    font-size: 32px;
}


.map-content p {

    margin-bottom: 25px;
}


.map-container {

    width: 100%;

    overflow: hidden;

    border-radius: 15px;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,0.15);
}


.map-container iframe {

    display: block;

    width: 100%;

    height: 400px;
}


.map-button {

    display: inline-block;

    margin-top: 20px;

    padding: 12px 25px;

    background: #333;

    color: white;

    text-decoration: none;

    border-radius: 30px;

    transition: 0.3s;
}


.map-button:hover {

    transform: scale(1.05);

}


/* =================================
   REKENING
================================= */

.rekening {

    width: 100%;

    max-width: 350px;

    margin: 15px 0;

    padding: 20px;

    background: rgba(96,142,96,0.25);

    border-radius: 15px;
}


.rekening strong {

    display: block;

    font-size: 20px;

    letter-spacing: 2px;

    margin: 10px 0;
}


.rekening button {

    border: none;

    padding: 10px 18px;

    border-radius: 30px;

    cursor: pointer;
}



/* =================================
   SCROLL REVEAL
================================= */

.reveal {

    opacity: 0;

    transform: translateY(80px);

    transition:

        opacity 1s ease,

        transform 1s ease;
}


.reveal.show {

    opacity: 1;

    transform: translateY(0);
}



/* =================================
   MOBILE
================================= */

@media (max-width: 600px) {

    .mempelai {

        flex-direction: column;

        gap: 5px;
    }


    .pengantin h3 {

        font-size: 24px;
    }


    .section-content {

        padding: 10%;
    }


    .section-content p {

        font-size: 13px;

        line-height: 1.5;
    }


    .arabic {

        font-size: 19px;

        line-height: 2;
    }


    .countdown div {

        min-width: 50px;

        padding: 8px 5px;
    }


    .countdown strong {

        font-size: 18px;
    }

}


.music-button {

    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 50px;
    height: 50px;

    border: none;

    border-radius: 50%;

    background: rgba(0, 0, 0, 0.7);

    color: white;

    font-size: 20px;

    cursor: pointer;

    z-index: 10000;

    box-shadow:
        0 5px 15px
        rgba(0, 0, 0, 0.3);

    transition: 0.3s;
}


.music-button:hover {

    transform: scale(1.1);

}