﻿/**************************************
 ========== GLOBAL STYLES ==========
**************************************/
:root {
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --color-text: #111;
    --color-muted: #6a6a6a;
    --color-border: #e5e5e5;
    --color-soft: #f5f5f5;
    --color-accent: #111;
    --space-xs: 4px;
    --space-s: 8px;
    --space-m: 16px;
    --space-l: 24px;
    --space-xl: 32px;
    --border: #e5e5e5;
    --radius: 14px;
    --accent: #111;
    --accent-soft: #1976d2;
}


:root {
    --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    --color-text: #111;
    /*    --color-muted: #7a7a7a;*/
    --color-muted: #6f6f6f;
/*    --color-border: #ddd;*/
    --color-border: #111;
    
    --color-soft: #f7f7f7;
    --color-card: #fff;
    --color-accent: #111;
    --color-accent-bg: #e8f2ff;
    --color-accent-soft: #1976d2;
    --color-accent-soft-bg: #e8f2ff;
    --color-body-bg: #fafafa;
    --shadow-1: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-2: 0 16px 40px rgba(0, 0, 0, 0.14);
    --r-s: 10px;
    --r-m: 14px;
    --r-l: 16px;
    --pill: 999px;
    --space-xs: 4px;
    --space-s: 8px;
    --space-m: 16px;
    --space-l: 24px;
    --space-xl: 32px;
    --space-2xl: 40px;
    --space-3xl: 48px;
    /* huge */
    --space-4xl: 64px;
    --space-5xl: 96px;
    /* v3.2.2 fluid rules */
    --container: min(1500px, 92vw);
    --pad-page: clamp(14px, 2.2vw, 32px);
    --gap-hero: clamp(16px, 3vw, 32px);
    --h1: clamp(22px, 2.3vw, 30px);
    --h2: clamp(18px, 1.7vw, 20px);
    --h3: clamp(16px, 1.5vw, 18px);
    --p: clamp(13px, 1.05vw, 14px);
    --value: clamp(14px, 1.2vw, 15px);
    --border: #e6e6e6;
}

body {
}

* {
    font-family: var(--font-sans);
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;
    background-color: #fafafa;
    color: var(--text);
    line-height: 1.45;
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: 1500px !important;
    margin: 0 auto;
    padding: 0 var(--sp-l)
}



/**************************************
 ========== CAROUSEL STYLES ==========
**************************************/

/* Carousel image height */
.carousel .slider-img-height {
    height: 70vh;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .slider-img-height {
        height: 55vh;
    }
}

@media (max-width: 768px) {
    .carousel .slider-img-height {
        height: 45vh;
    }
}

@media (max-width: 576px) {
    .carousel .slider-img-height {
        height: 35vh;
    }
}

/* Caption positioning */
.carousel-caption {
    text-align: left;
    bottom: 1rem;
    left: 5%;
    right: 5%;
}

    /* Caption text and info-box */
    .carousel-caption .list-group {
        width: 100%;
        max-width: 300px;
    }

    .carousel-caption h3,
    .carousel-caption h5 {
        font-size: 1.2rem;
        font-weight: 600;
    }

    .carousel-caption a {
        font-size: 0.9rem;
    }

@media (max-width: 768px) {
    .carousel-caption .list-group {
        max-width: 100%;
        font-size: 0.85rem;
    }

    .carousel-caption h3,
    .carousel-caption h5 {
        font-size: 1rem;
    }

    .carousel-caption a.btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* Hide caption list on very small screens */
@media (max-width: 480px) {
    .carousel-caption .list-group {
        display: none;
    }

    .carousel-caption h3,
    .carousel-caption h5 {
        font-size: 0.9rem;
    }
}

/* Progress bar */
.progressbar {
    width: 0%;
    height: 3px;
    background-color: #007aff;
    transition: width .1s linear;
}

/* Carousel Indicators */
.carousel-indicators {
    margin-bottom: .5rem;
}

    .carousel-indicators button {
        width: 10px !important;
        height: 10px !important;
        border-radius: 50% !important;
        background-color: #fff;
        border: none !important;
        opacity: .5 !important;
        transition: opacity .3s, background-color .3s !important;
    }

    .carousel-indicators .active {
        opacity: 1 !important;
        background-color: #f9fcff !important;
    }

    .carousel-indicators button:hover {
        opacity: .8 !important;
    }


/**************************************
 ========== SWIPER BUTTONS ==========
**************************************/

.swiper-button-prev,
.swiper-button-next {
    color: #e0dede !important;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
    cursor: pointer;
}

    .swiper-button-prev:hover,
    .swiper-button-next:hover {
        color: #333;
    }

/* Featured vehicle alignment */
.featured-vehicle-container .swiper-button-prev,
.featured-vehicle-container .swiper-button-next {
    top: 60%;
}

/* Smaller device size */
@media (max-width: 768px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 400px) {
    .swiper-button-prev,
    .swiper-button-next {
        width: 25px;
        height: 25px;
    }
}


/**************************************
 ========== SINGLE IMAGE CARD ==========
**************************************/

.bannerSingleCard {
    position: relative;
    display: block;
    height: 100%;
}

    .bannerSingleCard .image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }

    .bannerSingleCard .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 0;
        width: 100%;
        background: rgba(0,0,0,0.5);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 5px;
        overflow: hidden;
        transition: .5s ease;
    }

    .bannerSingleCard:hover .overlay {
        height: 100%;
    }

.bannerCard1 .text {
    font-size: 20px;
    color: white;
    text-align: center;
    user-select: none;
}


/**************************************
 ========== NAVBAR DROPDOWN ==========
**************************************/

.dropdown-menu {
    max-height: calc(100vh - 600px);
    overflow-y: auto;
}

#my-dropdown {
    padding: .10rem .2rem !important;
    font-size: .7rem !important;
}

.my-dropdown-width {
    width: inherit !important;
}

/* Custom scrollbar */
select#my-dropdown::-webkit-scrollbar {
    width: 5px;
}

select#my-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

select#my-dropdown::-webkit-scrollbar-thumb {
    background: #888;
}

    select#my-dropdown::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


/**************************************
 ========== PRODUCT CARD ==========
**************************************/

.productCard1 .card-price {
    color: #3b3b3b;
    font-size: 1rem;
    font-weight: bold;
}

.card-content {
    height: 110px !important;
    padding: 1rem;
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.productCard1 .name {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}

.productCard1 .description {
    font-size: 14px;
    color: #707070;
    white-space: nowrap;
}

.productCard1 .button {
    background: #4070f4;
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: .3s;
}

    .productCard1 .button:hover {
        background: #265df2;
    }


/**************************************
 ========== PRODUCT PAGE INPUTS ==========
**************************************/

.font-f {
    font-family: "Poppins", sans-serif;
    font-size: 12px !important;
    padding: 2px;
}

.font-icon {
    font-family: "Poppins", sans-serif;
    font-size: 9px !important;
}

.form-control {
    padding: .50rem .75rem !important;
}

/* Floating label for input fields */
/*.text-reg-box {
    position: absolute;
    left: 0;
    top: 0;
    padding: 8px;
    background: #fff;
    opacity: .5;
    transition: .2s cubic-bezier(0.25,0.1,0.25,1);
    pointer-events: none;
}*/

/*input:focus + label,
input:not(:placeholder-shown) + label {
    opacity: 1;
    transform: scale(.75) translateY(-70%) translateX(-14px);
}*/

.scala-modal-box input,
.form-outline-input input,
.scala-modal-box textarea,
.ts-control {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    font-size: 13px;
}


#RegisterationForm label,
#LoginForm label
{
    font-size: 12px;
    color: var(--color-muted);
    display: block;
    margin-bottom: 6px;
}




/**************************************
 ========== NAVBAR (TOP & MAIN BAR) ==========
**************************************/

.top-bar {
    background: #535353;
    color: #fff;
    font-size: 14px;
}

.social-icon {
    color: #fff !important;
}

    .social-icon:hover {
        color: var(--color2--) !important;
    }

.main-bar {
    background: black;
    color: #fff;
    font-size: 14px;
}

    .main-bar a {
        color: black;
        text-decoration: none;
    }

        .main-bar a:hover {
            text-decoration: underline;
        }

.dropdown-item .fi {
    margin-right: 8px;
}

.main-bar .center-content,
.main-bar .left-content {
    display: flex;
    align-items: center;
}

.main-bar .center-content {
    justify-content: center;
}

.main-bar .right-content a {
    margin-left: 10px;
}

.max-h {
    max-height: 100vh;
}

@media (max-width: 768px) {
    .move-bottom {
        flex-direction: column;
    }

        .move-bottom .col-sm-7,
        .move-bottom .col-sm-5 {
            width: 100%;
            padding: 0;
        }
}

.w-75 {
    width: 75% !important;
}


/**************************************
 ========== LOADER ==========
**************************************/

.loader-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 6px solid lightgray;
    border-top: 6px solid #0d6efd;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}


/**************************************
 ========== MISC ==========
**************************************/

.fs-xsmall {
    font-size: x-small;
}




/**************************************
 ========== Buttons  ==========
**************************************/

.btn {
    margin-top: 12px;
/*    width: 100%;*/
    height: 42px;
    border: none;
    border-radius: 10px;
/*    background: #111;*/   
    color: #fff;
    cursor: pointer;
    font-size: 13px;
}

.btn-primary {
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

    .btn-primary:hover {
        background: #000 ;
        border-color: #000;
    }

    .btn-primary:active {
        background: #111 !important;
        border-color: #000 !important;
        transform: scale(0.98);
    }

    .btn-primary:focus {
        background: #111 !important;
        border-color: #000 !important;
        outline: 3px solid #111;
    }

.btn-second-primary {
    padding: 10px 22px ;
/*    border-radius: 999px;*/
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
    .btn-second-primary:hover {
        background: #000;
    }

.btn-ghost {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid #d0d0d0;
    background: #fff;
    color: #111;
    font-size: 14px;
    cursor: pointer;
}

    .btn-ghost:hover {
        background: #f5f5f5;
    }
