* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {

    font-family: 'Poppins', sans-serif;

    overflow-x: hidden;

}

#invitationContent {

    display: none;

}

/*====================================================
    OPENING HERO
=====================================================*/

.opening {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 90px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    background: url("../img/background.jpg") center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.opening::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(30, 10, 5, .45),
            rgba(20, 8, 5, .55));
    z-index: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .20);
    z-index: 2;
}

.opening .container {
    position: relative;
    z-index: 5;
}

.opening-content {
    max-width: 900px;
    margin: auto;
    text-align: center;
    color: #fff;
    animation: fadeUp 1.5s ease;
}


/*====================================================
ORNAMENT
=====================================================*/

.opening-ornament {
    width: 220px;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .4));
}


/*====================================================
TITLE
=====================================================*/

.opening-subtitle {
    display: block;
    font-family: "Cinzel", serif;
    font-size: 22px;
    letter-spacing: 6px;
    color: #F4D28A;
    margin-bottom: 20px;
}

.opening-name {
    font-family: "Cormorant Garamond", serif;
    font-size: 86px;
    font-weight: 600;
    color: #D9B25F;
    line-height: 1.05;
    text-shadow:
        0 3px 10px rgba(0, 0, 0, .4),
        0 8px 30px rgba(0, 0, 0, .45);
}

.opening-and {
    font-family: "Cormorant Garamond", serif;
    font-size: 62px;
    color: #fff;
    margin: 10px 0;
}


/*====================================================
DIVIDER
=====================================================*/

.opening-divider {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 35px auto;
}

.opening-divider span {
    width: 120px;
    height: 1px;
    background: #C9A14C;
}

.opening-divider i {
    color: #C9A14C;
    font-size: 15px;
}


/*====================================================
DATE
=====================================================*/

.opening-date {
    font-family: "Cinzel", serif;
    color: #FFF2CC;
    font-size: 30px;
    letter-spacing: 3px;
    margin-bottom: 25px;
}


/*====================================================
QUOTE
=====================================================*/

.opening-quote {
    width: 75%;
    margin: auto;
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    line-height: 1.8;
    color: #F6E7CC;
}


/*====================================================
GUEST
=====================================================*/

.guest-box {

    width: 430px;
    max-width: 95%;

    margin: 45px auto 35px;

    padding: 22px;

    background: rgba(255, 255, 255, .06);

    border: 1px solid rgba(212, 175, 55, .35);

    backdrop-filter: blur(10px);

    border-radius: 15px;

    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);

}

.guest-box small {

    display: block;

    font-size: 14px;

    letter-spacing: 3px;

    color: #EAC86A;

    margin-bottom: 12px;

    text-transform: uppercase;

}

.guest-box h4 {

    font-family: "Cormorant Garamond", serif;

    font-size: 34px;

    color: #fff;

    margin: 0;

}


/*====================================================
BUTTON
=====================================================*/

.btn-open {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 18px 45px;

    border: none;

    border-radius: 50px;

    background: linear-gradient(135deg, #7A4D00, #D4AF37, #A46C00);

    color: #fff;

    font-size: 18px;

    font-weight: 600;

    letter-spacing: 1px;

    transition: .35s;

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .35);

}

.btn-open:hover {

    transform: translateY(-5px);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, .45);

    background: linear-gradient(135deg, #A46C00, #E6C05A, #A46C00);

}


/*====================================================
ANIMATION
=====================================================*/

@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(40px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}


/*====================================================
RESPONSIVE TABLET
=====================================================*/

@media(max-width:991px) {

    .opening-name {

        font-size: 64px;

    }

    .opening-subtitle {

        font-size: 18px;

        letter-spacing: 4px;

    }

    .opening-date {

        font-size: 24px;

    }

    .opening-quote {

        width: 90%;
        font-size: 22px;

    }

}


/*====================================================
RESPONSIVE MOBILE
=====================================================*/

@media(max-width:768px) {

    .opening {

        min-height: 100vh;
        padding: 80px 0;

    }

    .opening-ornament {

        width: 120px;

    }

    .opening-subtitle {

        font-size: 14px;

        letter-spacing: 3px;

    }

    .opening-name {

        font-size: 42px;

    }

    .opening-and {

        font-size: 42px;

    }

    .opening-divider span {

        width: 60px;

    }

    .opening-date {

        font-size: 18px;

    }

    .opening-quote {

        width: 95%;

        font-size: 18px;

        line-height: 1.7;

    }

    .guest-box {

        padding: 16px;

    }

    .guest-box h4 {

        font-size: 24px;

    }

    .btn-open {

        width: 100%;

        justify-content: center;

        font-size: 16px;

        padding: 15px;

    }

}

.hero-light {
    position: absolute;
    left: 50%;
    top: 45%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(rgba(255, 221, 120, .45),
            rgba(255, 221, 120, .12),
            transparent 70%);
    filter: blur(20px);
    z-index: 2;
}

/*====================================

BISMILLAH

=====================================*/

.bismillah {

    position: relative;

    background-image: url("../img/bismillah-bg.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    padding: 120px 0;

}

/* isi berada di atas background */

.bismillah .container {

    position: relative;

    z-index: 2;

}

.section-title span {

    display: block;

    font-size: 38px;

    color: #B8860B;

    margin-bottom: 20px;

}

.section-title h2 {

    font-family: "Cinzel", serif;

    color: #5A2D0C;

    font-size: 42px;

    margin-bottom: 30px;

}

.bismillah p {

    color: #5A2D0C;

    font-size: 20px;

    line-height: 2;

}

/* Tablet */

@media (max-width:991px) {

    .bismillah {

        padding: 80px 0;

        background-size: cover;

    }

    .section-title span {

        font-size: 30px;

    }

    .section-title h2 {

        font-size: 34px;

    }

    .bismillah p {

        font-size: 18px;

    }

}

/* HP */

@media (max-width:768px) {

    .bismillah {

        padding: 60px 20px;

        background-size: cover;

        background-position: center;

    }

    .section-title span {

        font-size: 24px;

    }

    .section-title h2 {

        font-size: 26px;

        line-height: 1.5;

    }

    .bismillah p {

        font-size: 16px;

        line-height: 1.8;

    }

}


/*====================================

DETAIL ACARA

=====================================*/

.event-section {

    background: #3c0d12 url("../img/songket.png");

    background-size: cover;

    padding: 110px 0;

    color: #fff;
    width: 100%;

}

.section-heading {

    margin-bottom: 45px;

}

.section-heading h2 {

    font-family: "Cinzel", serif;

    color: #d9b25f;

    font-size: 34px;

    position: relative;

}

.section-heading h2::before,
.section-heading h2::after {

    content: "";

    position: absolute;

    top: 50%;

    width: 90px;

    height: 1px;

    background: #8d6730;

}

.section-heading h2::before {

    left: -110px;

}

.section-heading h2::after {

    right: -110px;

}

/*================*/

.event-wrapper {

    display: flex;

    justify-content: center;

    align-items: flex-start;

    gap: 35px;

}

.vertical-divider {

    width: 1px;

    min-height: 250px;

    background: #8d6730;

}

.event-item {

    flex: 1;

    text-align: center;

}

.ring-icon {

    font-size: 42px;

    color: #d9b25f;

    margin-bottom: 20px;

}

.event-item h3 {

    font-family: "Cinzel";

    color: #f6d37b;

    margin-bottom: 15px;

}

.event-item span {

    display: block;

    color: #fff;

    margin-bottom: 15px;

}

.event-item p {

    margin-bottom: 18px;

}

.event-item small {

    color: #d8c6ae;

    line-height: 1.8;

    display: block;

}

/*================*/

.btn-location {

    display: inline-block;

    border: 2px solid #d9b25f;

    color: #d9b25f;

    text-decoration: none;

    padding: 13px 38px;

    border-radius: 5px;

    transition: .35s;

}

.btn-location:hover {

    background: #d9b25f;

    color: #3c0d12;

}

/*================*/

.countdown-wrapper {

    display: flex;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;

    margin-bottom: 40px;

}

.count-card {

    width: 100px;

    height: 110px;

    border: 2px solid #b78d44;

    position: relative;

    text-align: center;

    display: flex;

    flex-direction: column;

    justify-content: center;

}

.count-card::before {

    content: "";

    position: absolute;

    inset: 5px;

    border: 1px solid rgba(217, 178, 95, .35);

}

.count-card h1 {

    color: #f8d77b;

    font-size: 42px;

    font-family: "Cinzel";

    margin: 0;

}

.count-card span {

    color: #fff;

}

/*================*/

.ayat-box {

    text-align: center;

    line-height: 2;

    color: #d7c3a4;

    margin-top: 30px;

}

.ayat-box h5 {

    color: #d9b25f;

    margin-top: 18px;

}

/* =========================
   RESPONSIVE TABLET
========================= */
@media (max-width: 992px) {

    .event-wrapper {
        gap: 20px;
    }

    .section-heading h2::before,
    .section-heading h2::after {
        width: 60px;
        left: -70px;
        right: -70px;
    }

    .count-card {
        width: 85px;
        height: 95px;
    }

    .count-card h1 {
        font-size: 34px;
    }
}

/* =========================
   RESPONSIVE MOBILE
========================= */
@media (max-width: 768px) {

    .event-section {
        padding: 70px 15px;
    }

    /* ubah layout jadi vertikal */
    .event-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    /* divider hilang di mobile */
    .vertical-divider {
        display: none;
    }

    .event-item {
        width: 100%;
        max-width: 420px;
    }

    /* heading garis hilang biar clean */
    .section-heading h2::before,
    .section-heading h2::after {
        display: none;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .countdown-wrapper {
        gap: 10px;
    }

    .count-card {
        width: 70px;
        height: 80px;
    }

    .count-card h1 {
        font-size: 28px;
    }

    .btn-location {
        padding: 10px 25px;
        font-size: 14px;
    }

    .ayat-box {
        font-size: 14px;
        line-height: 1.8;
    }
}

/* =========================
   EXTRA SMALL PHONE
========================= */
@media (max-width: 480px) {

    .count-card {
        width: 60px;
        height: 70px;
    }

    .count-card h1 {
        font-size: 24px;
    }

    .count-card span {
        font-size: 12px;
    }

    .section-heading h2 {
        font-size: 22px;
    }
}


/*====================================

MEMPELAI

=====================================*/

.couple-section {

    background: #f8f3eb;

    background-image: url("../img/bismillah-bg.png");

    background-size: cover;

    background-position: center;

    padding: 110px 0;

}

.couple-section h2 {

    font-family: "Cinzel", serif;

    color: #5b2a14;

    font-size: 42px;

}

.title-divider {

    width: 130px;

    height: 2px;

    background: #b8860b;

    margin: 18px auto 0;

}

.couple-card {

    padding: 20px;

}

.photo-frame {

    width: 260px;

    height: 260px;

    margin: auto;

    border-radius: 50%;

    padding: 8px;

    background: #d4af37;

    transition: .4s;

}

.photo-frame img {

    width: 100%;

    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    border: 5px solid #fff;

}

.photo-frame:hover {

    transform: scale(1.05);

}

.couple-card h3 {

    margin-top: 30px;

    font-family: "Cormorant Garamond", serif;

    font-size: 42px;

    color: #4c2412;

}

.couple-card span {

    display: block;

    color: #b8860b;

    margin: 10px 0 20px;

    font-weight: 600;

}

.couple-card p {

    line-height: 2;

    color: #5b4636;

}

.instagram {

    display: inline-block;

    margin-top: 20px;

    color: #b8860b;

    text-decoration: none;

}

.instagram:hover {

    color: #8c6500;

}

.center-ornament img {

    width: 170px;

    animation: float 4s ease-in-out infinite;

}

.quote {

    margin-top: 70px;

}

.quote p {

    font-size: 24px;

    font-family: "Cormorant Garamond", serif;

    color: #5b2a14;

    font-style: italic;

}

.quote span {

    color: #b8860b;

}

@keyframes float {

    0% {

        transform: translateY(0);

    }

    50% {

        transform: translateY(-10px);

    }

    100% {

        transform: translateY(0);

    }

}

/*====================================

PENUTUP

=====================================*/

.closing {

    position: relative;

    background: #3d0f11;

    background-image: url("../img/penutup.png");

    background-size: cover;

    background-position: center;

    overflow: hidden;

    padding: 120px 0 90px;

    color: white;

}

.overlay-closing {

    position: absolute;

    inset: 0;

    background: rgba(45, 8, 8, .25);

}

.closing .container {

    position: relative;

    z-index: 5;

}

.closing-text {

    font-size: 22px;

    line-height: 2;

    color: #f4e5c8;

    margin-bottom: 40px;

}

.closing h5 {

    color: #F5E5C8;

    font-family: "Cormorant Garamond";

    font-size: 32px;

    margin-bottom: 35px;

}

.love-divider {

    width: 70px;

    height: 70px;

    border: 2px solid #D4AF37;

    border-radius: 50%;

    display: flex;

    justify-content: center;

    align-items: center;

    margin: 0 auto 35px;

}

.love-divider i {

    color: #D4AF37;

    font-size: 28px;

}

.closing h1 {

    font-family: "Cormorant Garamond";

    color: #D4AF37;

    font-size: 70px;

    margin-bottom: 25px;

}

.gold-divider {

    width: 220px;

    height: 2px;

    background: #D4AF37;

    margin: 0 auto 25px;

}

.closing small {

    color: #d5c5a2;

    font-size: 16px;

    letter-spacing: 1px;

}

/* Rumah Gadang */

.rumah-kiri {

    position: absolute;

    bottom: 0;

    left: 0;

    width: 380px;

    z-index: 2;

}

.rumah-kanan {

    position: absolute;

    bottom: 0;

    right: 0;

    width: 380px;

    transform: scaleX(-1);

    z-index: 2;

}

/*=========================
Responsive
=========================*/

@media(max-width:991px) {

    .rumah-kiri,
    .rumah-kanan {

        width: 260px;

    }

    .closing h1 {

        font-size: 54px;

    }

    .closing h5 {

        font-size: 28px;

    }

    .closing-text {

        font-size: 19px;

    }

}

@media(max-width:768px) {

    .closing {

        padding: 90px 20px 180px;

    }

    .rumah-kiri,
    .rumah-kanan {

        width: 180px;

        opacity: .8;

    }

    .closing h1 {

        font-size: 42px;

    }

    .closing h5 {

        font-size: 22px;

    }

    .closing-text {

        font-size: 17px;

        line-height: 1.8;

    }

}


.music-player {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 60px;
    height: 60px;
    background: #b8860b;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .3);
    transition: .3s;
}

.music-player:hover {
    transform: scale(1.08);
}

.music-player i {
    font-size: 22px;
}

.music-player.pause {
    opacity: .6;
}

.music-player.playing {
    animation: spin 5s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}