body {
    font-family: 'Josefin Sans', sans-serif !important;
    background-color: #0f0f0f;
    color: #ffffff;
    margin: 0;
    padding: 0;
}

.font-esthetic {
    font-family: 'Sacramento', cursive !important;
}

.font-arabic {
    font-family: 'Noto Naskh Arabic', serif !important;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero--cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 0;
}

.hero--cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero--cover>* {
    position: relative;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.flower {
    position: absolute;
    z-index: 1;
    width: 250px;
    max-width: 45vw;
    pointer-events: none;

    animation: float 6s ease-in-out infinite alternate;
}

.flower-top-left {
    top: -15px;
    left: -15px;
    animation-duration: 5s;
}

.flower-bottom-left {
    bottom: -15px;
    left: -15px;
    animation-duration: 6.5s;
}

.flower-top-right {
    top: -15px;
    right: -15px;
    animation-duration: 7s;
}

.flower-bottom-right {
    bottom: -15px;
    right: -15px;
    animation-duration: 6s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-10px) rotate(5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.cover-mempelai {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 20px;
    border: 3px solid #ffffff;
    box-shadow: 0 0 5px rgb(65, 65, 65);
    cursor: pointer;
    transition: transform .3s ease;
}

@media (max-width: 768px) {
    .flower {
        width: 150px;
    }
}


/* Home */
.hero--image {
    padding: 40px 15px;
}

.hero--image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 0;
}

.hero--image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

.hero--image>* {
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.divider {
    width: 80px;
    height: 3px;
    background: #caa44d;
    margin: 0 auto 40px;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 2;
}

.mouse-animation {
    width: 1.5rem;
    height: 2.5rem;
    position: relative;
}

.mouse-animation>.scroll-animation {
    width: 0.25rem;
    height: 0.625rem;
    position: absolute;
    top: 0.4rem;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1rem;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 0;
        transform: translate(-50%, 0);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, 1rem);
    }
}

.invitation-mempelai,
.mempelai {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 20px;
    border: 3px solid #ffffff;
    box-shadow: 0 0 5px rgb(65, 65, 65);
    cursor: pointer;
    transition: transform .3s ease;
}

.mempelai:hover {
    transform: scale(1.05);
}

.bg-theme-transfer {
    background-color: #343A40;
}

.count-box {
    background: #1f1f1f;
    border-radius: 12px;
    padding: 10px 14px;
    min-width: 70px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, .4);
}

.count-box span {
    font-size: 1.4rem;
    font-weight: 600;
    display: block;
}

.count-box small {
    font-size: .75rem;
    opacity: .8;
}

@keyframes love {
    50% {
        transform: translateY(1rem);
    }
}

.animate-love {
    animation: love 5s ease-in-out infinite;
}

/* backdrop modal lebih gelap */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.85);
}

/* tombol download */
.clean-download {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    z-index: 10;
}

.clean-download:hover {
    background: rgba(0, 0, 0, 0.75);
    transform: scale(1.1);
}

/* animasi zoom ringan */
.modal.fade .modal-dialog {
    transform: scale(0.9);
    transition: transform .25s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

.img-gal {
    width: 100%;
    height: auto;
    object-fit: cover;
}