@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: "Georgia", "Times New Roman", serif !important;
    color: var(--javanese-gold);
    font-weight: 500;
}

.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="light"] .btn-transparent {
    background-color: rgba(var(--bs-light-rgb), 0.5) !important;
    backdrop-filter: blur(0.5rem);
}

.loading-page {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1056;
}

html[data-bs-theme="light"] .color-theme-svg {
    color: var(--javanese-ivory);
    background-color: var(--javanese-ivory);
}

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

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

.bg-cover-home {
    width: 100%;
    height: 100%;
    object-fit: cover;
    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;
}

/* Javanese Theme Enhancements */
.img-center-crop {
    border: 3px solid var(--javanese-gold) !important;
    box-shadow: 0 8px 25px rgba(75, 46, 43, 0.2) !important;
}

/* Background image for home section - mobile */
#home {
    position: relative;
}

#home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(75, 46, 43, 0.75) 0%, rgba(47, 79, 62, 0.75) 100%),
                url('../../cover_bg.png') center center / cover no-repeat;
    z-index: -1;
}

/* Background for desktop sticky section */
.sticky-top .bg-white-black::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(75, 46, 43, 0.75) 0%, rgba(47, 79, 62, 0.75) 100%),
                url('../../cover_bg.png') center center / cover no-repeat fixed;
    z-index: -1;
}

/* Main content background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../../light_main_bg.png') center center / cover no-repeat fixed;
    z-index: -2;
    opacity: 0.5;
}

.bg-theme-auto {
    border: 1px solid rgba(201, 162, 77, 0.2) !important;
    box-shadow: 0 8px 25px rgba(75, 46, 43, 0.15) !important;
}

.shadow {
    box-shadow: 0 8px 25px rgba(75, 46, 43, 0.2) !important;
}

.border-light {
    border-color: var(--javanese-gold) !important;
}

.border-secondary {
    border-color: rgba(201, 162, 77, 0.3) !important;
}

/* Add scroll snap for sections */
section {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Enhanced typography with Javanese theme */
h1, h2, h3, h4, h5, h6 {
    color: var(--javanese-deep-brown);
    text-shadow: 0 1px 3px rgba(75, 46, 43, 0.1);
}

/* Gold accent for important text */
.text-gold {
    color: var(--javanese-gold) !important;
}

/* Enhanced button styling */
.btn-outline-auto {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
}

.btn-outline-auto:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(201, 162, 77, 0.35) !important;
}

/* Enhanced card styling with Javanese theme */
.rounded-4, .rounded-5 {
    box-shadow: 0 8px 25px rgba(75, 46, 43, 0.15) !important;
}

.bg-theme-auto.rounded-4,
.bg-theme-auto.rounded-5 {
    border: 1px solid rgba(201, 162, 77, 0.25) !important;
}

/* Enhanced text colors */
.text-secondary {
    color: rgba(75, 46, 43, 0.7) !important;
}

/* Progress bar styling */
.progress-bar {
    background-color: var(--javanese-gold) !important;
}

.progress {
    background-color: rgba(201, 162, 77, 0.2) !important;
}

/* Enhanced border colors */
.border-light {
    border-color: var(--javanese-gold) !important;
    opacity: 0.8 !important;
}