@import "tailwindcss";

* {
    /* margin: 0; */
    /* padding: 0; */
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-style: normal;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: none;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Almarai', sans-serif;
}

.almarai-light {
    font-family: "Almarai", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.almarai-regular {
    font-family: "Almarai", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.almarai-bold {
    font-family: "Almarai", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.almarai-extrabold {
    font-family: "Almarai", sans-serif;
    font-weight: 800;
    font-style: normal;
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slideDown {
    animation: slideDown 0.4s ease-out;
}

button {
    cursor: pointer;
}

i {
    margin-left: 0.25rem;
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
}

#logoCarousel img {
    transition: all 0.5s ease;
}

#logoCarousel img.scale-125 {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
}

/* Background with dark overlay for header */
.header-bg {
    position: relative;
    background-size: cover;
    background-position: center center;
    filter: brightness(0.4) saturate(1.2);
    height: 280px;
}

.header-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8));
    pointer-events: none;
}

.header-content {
    position: relative;
    z-index: 1;
}

/* Car model section background */
.model-header-bg {
    position: relative;
    background-size: cover;
    background-position: center center;
    border-radius: 1rem;
    overflow: hidden;
    min-height: 120px;
    color: white;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.7));
}

.model-header-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.model-header-content {
    position: relative;
    padding: 1.5rem 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* Item card overlay */
.item-card {
    background: rgba(255 255 255 / 0.9);
    backdrop-filter: saturate(180%) blur(10px);
    border-radius: 0.75rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.item-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* Buttons */
.btn-primary {
    background-color: #0f766e;
    color: white;
    font-weight: 600;
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #115e59;
}

.toggle-arrow {
    transition: transform 0.3s ease;
}

.toggle-arrow.open {
    transform: rotate(90deg);
}

.rotate-90 {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.7s ease-in-out;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}