/*
    Style Name: custom.css
    Description:
    - Any additional styles for front-end
    - Styles in this file do not affect page builder
    - Should be used for small changes
    Author: Tomasz R
    Version: 1.0.0
    Last Edited: [Date]
    Edited By: [Editor's Name]
*/
@import url("/css/core.css");

/* Navigation*/
.sticky-top {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

.container-top {
    max-width: 1980px;
    width: 100%;
    margin: 0 auto;
}

.brand-logo {
    width: 250px !important;
}
@media (max-width: 500px) {
    .brand-logo {
        width: 180px !important;
    }
}

nav .text-nav,
nav .text-secondary {
    color: var(--light);
    transition: color 0.2s ease, background-color 0.2s ease, border-left-color 0.2s ease;
}

nav .nav-item:hover > .nav-link {
    background-color: var(--dark);
    color: var(--secondary);
}

nav .dropdown-menu,  .used-dropdown {
    background-color: var(--dark);
    min-width: 300px;
    padding: 0;
    border: none;
}

nav .dropdown-menu .nav-link, .used-dropdown .dropdown-item {
    color: var(--white);
    border-left: 6px solid transparent;
    transition: color 0.2s ease, font-weight 0.2s ease, border-left-color 0.2s ease;
}

nav .dropdown-menu .nav-link:hover, .used-dropdown .dropdown-item:hover{
    border-left-color: var(--secondary);
    font-weight: bold;
    color: var(--secondary);
    background-color: transparent;
}

.nav-link:focus,
.nav-link:hover {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.dropdown-menu {
    border-radius: 0;
    padding: 0;
    min-width: 13rem;
}

.nav-item.dropend .dropdown-menu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0;
}

.navbar .dropend .dropdown-menu {
    left: 100%;
    top: 0;
}

.nav-tabs .nav-link {
    color: var(--black);
}
@media (max-width: 991.98px) {
    .dropend > .dropdown-toggle::after {
        display: none !important;
    }
}


/* Footer */
footer ul li a {
    color: var(--white);
    transition: color 0.2s ease, font-weight 0.2s ease;
}

footer ul li a:hover {
    color: var(--secondary);
    font-weight: bold;
}

/* Cards */
.card {
    width: 100%;
    border-radius: 0;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.card .w-75 {
    /*border-bottom: 4px solid var(--secondary);*/
}
.card-title {
    font-weight: bold;
    text-align: center;
}
.home-text {
    font-family: var(--heading-font);
    border-bottom: 4px solid var(--secondary);
}

.brand-card {
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border: 1px solid var(--grey);
    object-fit: contain;
    padding: 10px;
}



/* Custom Headings */
.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1.5rem;
    width: 50%;
    height: 6px;
    background-color: var(--secondary);
}
.section-title-alt {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.section-title-alt::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -.25rem;
    width: 80px;
    height: 6px;
    background-color: var(--secondary);
}

.section-main {
    position: relative;
    display: inline-block;
    text-align: center;
    margin-bottom: 20px;
}

.section-main::after {
    content: "";
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background-color: var(--secondary);
}

/* Hero Image */
.hero-container {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    min-height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.banner-container {
    position: relative;
    overflow: hidden;
    height: 250px;
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
}
.banner-container .banner-title {
    white-space: normal;
}

@media (min-width: 1051px) {
    .banner-container .banner-title, .blog-title {
        font-size: 8rem !important;
    }
}
@media (max-width: 1200px) {
    .banner-container {
        height: 275px;
    }
}
@media (max-width: 1050px) {
    .banner-container .banner-title, .blog-title {
        font-size: 5rem !important;
    }
}
@media (max-width: 700px) {
    .banner-container .banner-title, .blog-title {
        font-size: 4rem !important;
    }
}
@media (max-width: 500px) {
    .banner-container .banner-title, .blog-title {
        font-size: 3rem !important;
    }
}
@media (max-width: 400px) {
    .banner-container .banner-title, .blog-title {
        font-size: 2.5rem !important;
    }

}


.banner-overlay {
    /*background-color: rgba(0, 0, 0, 0.25);*/
    background: linear-gradient(360deg, rgba(0, 0, 0, 0.77) 0%, rgba(102, 102, 102, 0) 100%);
    z-index: 1;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
@media (max-width: 400px) {
    .banner-container .banner-title {
        font-size: 2rem !important;
    }
}
.border-left {
    border-left: 8px solid var(--secondary);
}
@media (max-width: 767.98px) {
    .hero-container, .border-left {
        border-left: none !important;
    }
}

/* Accordion */
#nav-accordion {
    margin-top: 0;
}
@media (max-width: 767.98px) {
    #nav-accordion {
        margin-top: -20px;
    }
}

@media (max-width: 767.98px) {
    #nav-accordion .accordion-button::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }
}

#nav-accordion .accordion-item {
    background-color: var(--grey);
    border: none;
    border-radius: 0;
}
@media (max-width: 767.98px) {
    #nav-accordion .accordion-item {
        background-color: var(--dark);
        color: white;
    }
}

#nav-accordion .accordion-button {
    font-size: 2rem;
    background-color: transparent;
}
@media (max-width: 767.98px) {
    #nav-accordion .accordion-button {
        font-size: 1rem;
        color: var(--white);
    }
}

#nav-accordion .accordion-button:not(.collapsed) {
    color: var(--dark);
    background-color: transparent;
    box-shadow: none;
}
@media (max-width: 767.98px) {
    #nav-accordion .accordion-button:not(.collapsed) {
        color: var(--secondary);
    }
}

#nav-accordion .accordion-button:not(.collapsed)::after {
    display: none;
}

#nav-accordion a {
    color: var(--dark);
}
@media (max-width: 767.98px) {
    #nav-accordion a {
        color: var(--white);
    }
}
/* Slick Slider */
.slick-dots li button:before {
    font-size: 12px;
}

.used-featured .slick-center .card {
    transform: scale(1);
    transition: transform 0.3s ease;
    z-index: 2;
}

.used-featured .slick-slide {
    transform: scale(0.75);
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.used-featured .slick-center {
    transform: scale(1);
    opacity: 1;
    z-index: 3;
}

.used-featured {
   margin: 30px;
}

/* Modals */
.modal-content {
    background-color: var(--grey);
    border-radius: 0;
}

/* Slider */
.irs--round .irs-bar {
    background-color: var(--primary);
}

.irs--round .irs-from,.irs--round .irs-to,.irs--round .irs-single {
    background-color: var(--primary);
    color: var(--secondary);
}

.irs--round .irs-handle {
    border: 4px solid var(--primary);
    background-color: var(--primary);;
}