@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: var(--title-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;
}

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: var(--bs-light);
}

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

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

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

html[data-bs-theme="light"] .bg-white-black {
    background-color: rgb(var(--bs-white-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;
    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;
}

.backend-card {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 2rem;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
    box-shadow: 0 1rem 2.5rem rgba(0,0,0,.08);
}

.backend-location-card {
    max-width: 42rem;
    margin: 0 auto;
}

.backend-location-frame {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
}

.backend-location-frame img {
    width: 100%;
    height: 100%;
    display: block;
}

.backend-gallery-card {
    padding: 1.5rem;
}

.backend-gallery-header {
    margin-bottom: 1.25rem;
}

.backend-gallery-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .35rem .8rem;
    margin-bottom: .4rem;
    border-radius: 999px;
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.05);
}

.backend-gallery-subtitle {
    max-width: 28rem;
    margin: 0 auto;
    font-size: .95rem;
    opacity: .85;
}

.backend-gallery-row + .backend-gallery-row {
    margin-top: 1rem;
}

.backend-gallery-row-label {
    display: inline-flex;
    padding: .45rem .9rem;
    margin-bottom: .9rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.04);
}

.backend-gallery-tile {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: 0 .85rem 2rem rgba(0,0,0,.12);
    cursor: pointer;
}

.backend-gallery-main-item .backend-gallery-tile {
    height: 100%;
    min-height: 21rem;
}

.backend-gallery-stack-item .backend-gallery-tile {
    min-height: 10rem;
}

.backend-gallery-tile img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.backend-gallery-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .9rem 1rem;
    color: #fff;
    background: linear-gradient(180deg, transparent, rgba(0,0,0,.68));
    font-size: .82rem;
    letter-spacing: .05em;
}

.backend-gallery-tile:hover img,
.backend-gallery-tile:focus img {
    transform: scale(1.04);
}

@media screen and (max-width: 576px) {
    .backend-card {
        border-radius: 1.75rem;
        padding: 1rem;
    }

    .backend-gallery-card {
        padding: 1rem;
    }

    .backend-gallery-main-item .backend-gallery-tile {
        min-height: 16rem;
    }

    .backend-gallery-stack-item .backend-gallery-tile {
        min-height: 7.75rem;
    }

    .backend-gallery-overlay {
        padding: .75rem .85rem;
        font-size: .72rem;
    }
}
