@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: 'Sacramento', cursive !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;
    border-color: var(--luxury-line-strong) !important;
    box-shadow: 0 0 0 0.55rem var(--luxury-gold-soft), 0 18px 38px rgba(0, 0, 0, 0.24) !important;
}

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

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: rgb(255, 255, 255);
    background-color: transparent;
}

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

html[data-bs-theme="light"] .bg-light-dark {
    background-color: rgba(255, 250, 243, 0.78);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 40%);
}

html[data-bs-theme="dark"] .bg-light-dark {
    background-color: rgba(18, 13, 9, 0.64);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%);
}

html[data-bs-theme="light"] .bg-white-black {
    background-color: rgba(255, 249, 240, 0.9);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.55), transparent 45%);
}

html[data-bs-theme="dark"] .bg-white-black {
    background-color: rgba(26, 18, 13, 0.82);
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 45%);
}

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

.luxury-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.jawa-luxury main > section:not(#home) {
    padding-top: clamp(2rem, 4vh, 3.25rem) !important;
    padding-bottom: clamp(2.25rem, 4.5vh, 3.5rem) !important;
}

.jawa-luxury main > section {
    scroll-margin-top: 1.25rem;
}

.luxury-section>* {
    position: relative;
    z-index: 1;
}

.luxury-section::before,
.luxury-section::after {
    content: "";
    position: absolute;
    width: 7.25rem;
    height: 7.25rem;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.svg-wrapper {
    display: none !important;
}

.luxury-section::before {
    top: 0.85rem;
    left: 0.85rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d7b36a' stroke-width='2.4'%3E%3Cpath d='M60 8c7 20 16 29 37 37-21 8-30 17-37 37-7-20-16-29-37-37 21-8 30-17 37-37Z'/%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3Cpath d='M60 24c4 16 12 24 28 28-16 4-24 12-28 28-4-16-12-24-28-28 16-4 24-12 28-28Z'/%3E%3C/g%3E%3C/svg%3E");
}

.luxury-section::after {
    right: 0.85rem;
    bottom: 0.85rem;
    transform: rotate(180deg);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d7b36a' stroke-width='2.4'%3E%3Cpath d='M60 8c7 20 16 29 37 37-21 8-30 17-37 37-7-20-16-29-37-37 21-8 30-17 37-37Z'/%3E%3Ccircle cx='60' cy='60' r='12'/%3E%3Cpath d='M60 24c4 16 12 24 28 28-16 4-24 12-28 28-4-16-12-24-28-28 16-4 24-12 28-28Z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-frame::before {
    content: "";
    position: absolute;
    inset: 1.75rem;
    border-radius: 2.5rem;
    border: 1px solid var(--luxury-line);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    pointer-events: none;
    z-index: 1;
}

.hero-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(215, 179, 106, 0.16), transparent 30%),
        radial-gradient(circle at bottom left, rgba(94, 48, 39, 0.22), transparent 28%),
        linear-gradient(135deg, rgba(23, 57, 48, 0.2), transparent 40%);
    pointer-events: none;
}

.hero-intro-card,
.welcome-card {
    backdrop-filter: blur(0.55rem);
}

.welcome-card {
    width: min(92vw, 25rem);
    margin-inline: auto;
}

.hero-luxury::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18)),
        radial-gradient(circle at top right, rgba(215, 179, 106, 0.18), transparent 35%),
        radial-gradient(circle at bottom left, rgba(94, 48, 39, 0.18), transparent 32%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    padding-inline: 1rem;
}

.section-batik::selection,
.section-emerald::selection {
    background-color: var(--luxury-gold);
}

.section-batik {
    background-image:
        radial-gradient(circle at top, rgba(215, 179, 106, 0.06), transparent 30%),
        radial-gradient(circle at bottom left, rgba(94, 48, 39, 0.09), transparent 42%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.03), transparent 30%, rgba(0, 0, 0, 0.03));
}

.section-emerald {
    background-image:
        radial-gradient(circle at top, rgba(215, 179, 106, 0.05), transparent 30%),
        radial-gradient(circle at bottom right, rgba(23, 57, 48, 0.1), transparent 42%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 30%, rgba(0, 0, 0, 0.02));
}

.luxury-pill {
    border-color: var(--luxury-line-strong) !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 45%),
        linear-gradient(135deg, rgba(215, 179, 106, 0.08), rgba(23, 57, 48, 0.08));
}

#maps-iframe {
    filter: sepia(0.18) saturate(0.9) contrast(1.02);
}

#comment .form-control,
#comment .form-select {
    border-color: var(--luxury-line);
    background-color: rgba(255, 255, 255, 0.03);
}

html[data-bs-theme="light"] #comment .form-control,
html[data-bs-theme="light"] #comment .form-select {
    background-color: rgba(255, 255, 255, 0.6);
}

.font-esthetic,
.font-arabic {
    text-shadow: 0 2px 18px rgba(215, 179, 106, 0.08);
}

.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%;
    }

    .luxury-section::before,
    .luxury-section::after {
        width: 5.25rem;
        height: 5.25rem;
        opacity: 0.14;
    }

    .hero-frame::before {
        inset: 1rem;
        border-radius: 1.8rem;
    }
}

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;
}
