@import url("common.css");
@import url("animation.css");

html {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.with-scrollbar {
    scrollbar-width: auto !important;
    -ms-overflow-style: auto !important;
}

.font-esthetic {
    font-family: "Ms Madi", cursive !important;
}

/* .font-esthetic {
    font-family: "Great Vibes", cursive !important;
} */

.font-isi{
    font-family: "Playfair Display", serif !important;
}

.font-iria{
    font-family: "Inria Serif", serif !important;
}

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

.img-center-crop {
    width: 13rem;
    height: 13rem;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

html[data-bs-theme="dark"] .btn-transparent {
    background-color: rgba(var(--bs-dark-rgb), 0.5) !important;
    backdrop-filter: blur(0.5rem);
}


/* .loading-page {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1056;
    background-image: url('../assets/images/bg_awal.jpg');
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent !important;
} */


.loading-page,
#welcome.loading-page {
    background-image: url('../assets/images/bg_pembuka_upscl1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #000 !important; 
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2000 !important;
}


html[data-bs-theme="dark"] .color-theme-svg {
    color: rgb(0, 0, 0);
    background-color: var(--bs-dark);
}


html[data-bs-theme="dark"] .bg-light-dark {
    background-color: rgb(var(--bs-dark-rgb));
}


html[data-bs-theme="dark"] .bg-white-black {
    background-color: rgb(var(--bs-black-rgb));
}

.bg-cover-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    mask-image: linear-gradient(0.5turn, transparent, black 40%, black 60%, transparent);
}

.width-loading {
    width: 25%;
}

.cursor-pointer {
    cursor: pointer;
}

@media screen and (max-width: 992px) {
    .width-loading {
        width: 50%;
    }
}

@media screen and (max-width: 576px) {
    .width-loading {
        width: 75%;
    }
}



svg {
    display: block;
    line-height: 0;
    shape-rendering: geometricPrecision;
    backface-visibility: hidden;
}

.svg-wrapper {
    overflow: hidden !important;
    transform: translateZ(0) !important;
}

.no-gap-bottom {
    margin-bottom: -0.75rem !important;
}

#welcome {
    background-image: url('../assets/images/bg_pembuka_upscl1.png');
    background-size:contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent !important;
    min-height: 100vh;
    height: 100vh;
}

#home,
#home > .position-relative,
.col-sm-7.col-md-6.col-lg-5.col-xl-4.col-xxl-3,
#root {
    background: transparent !important;
    box-shadow: none !important;
}

/* Background dasar untuk seluruh halaman */
body {
    background: url('../assets/images/bg_dasar2.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
    height: 100vh;
    width: 100vw;
    overflow-x: hidden;
    /* Untuk mengurangi glitch di beberapa browser mobile
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0); */
}

/* Hilangkan media query yang mengubah background-attachment menjadi scroll */
@media (max-width: 991.98px) {
    body {
        background-attachment: fixed !important;
    }
}

/* Section utama dengan background hitam transparan */
.bg-section-dark {
    background: rgba(0,0,0,0.6) !important;
    /* Bisa tambahkan backdrop-filter: blur(2px); jika ingin efek blur */
    /* backdrop-filter: blur(2px); */
}

.bg-section-darker {
    background: rgba(0,0,0,0.4) !important;
    /* Optional: efek blur */
    /* backdrop-filter: blur(2px); */
}

/* Section Home selalu penuh satu layar */
#home {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
#home > .position-relative {
    width: 100%;
}


.vh-100, [style*="height: 100vh"] {
    height: 100vh !important;
    min-height: 100vh !important;
}
@media (max-width: 767.98px) {
    .vh-100, [style*="height: 100vh"] {
        height: 100dvh !important;
        min-height: 100dvh !important;
    }
}

