/********** Template CSS **********/
:root {
    --primary: #EB1616;
    --secondary: #24272F;
    --tertiary: #b7d0ec;
    --light: #4895d6;
    --lighter: #fff;
    --dark: #181C24;
    --darker: #000000;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.text-tertiary {
    color: var(--tertiary) !important;
}

.text-darker {
    color: var(--darker) !important;
}

.bg-tertiary {
    background-color: var(--tertiary) !important;
}

.bg-black {
    background-color: #000000 !important;
}

.section-header {
    color: var(--tertiary) !important;
    font-family: "Audiowide", monospace;
    text-align: right;
    font-weight: normal;
    text-wrap: nowrap;

    &.left {
        text-align: left;
    }
}

.intro {
    z-index: 3;
    margin-left: -12% !important;
    margin-top: 4% !important;
    width: 112% !important;
}

.intro-content {
    /*position: relative;*/
}

.intro-tow-truck {
    border-radius: 3px !important;
}

.index-footer {
    /*margin-top: -38% !important;*/
}

.callout {
    margin-top: 0;
    background-color: rgba(0, 0, 0, .45);
    z-index: 3;
}
.callout .row:hover {
    background-color: var(--tertiary) !important;
    color: var(--darker) !important;
    font-weight: lighter !important;
}

.callout-card {
    position: relative;
    min-width: 300px;
    min-height: 134px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.callout-card:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card-content {
    position: absolute;
    top: 26%;
    left: 25%;
    transform: translate(-25%, -25%);
    transition: color 0.3s;
    width: 100%;
    padding: 1.5rem 0 !important;
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
    /*color: var(--tertiary);*/
}

.callout-card:hover .card-content {
    color: var(--tertiary);
}

.callout-card:hover .card-title {
    color: var(--primary);
}
@media (min-width: 768px) {
    .callout {
        margin-left: -32% !important;
        margin-top: 4% !important;
        /*min-width: 135% !important;*/
    }
    .index-footer {
        margin-top: -60% !important;
    }
}
@media (min-width: 992px) {
    .index-footer {
        margin-top: -38% !important;
    }

    .callout {
        margin-left: -40% !important;
        margin-top: 4% !important;
        width: 145% !important;
        min-width: 140% !important;
    }

    .callout-card {
        min-height: 100px !important;
    }

    .card-title {
        width: 34% !important;
        text-align: right;
        text-transform: uppercase;
        text-wrap: nowrap;
        float: left;
    }

    .card-description {
        float: right;
        width: 60% !important;
        min-width: 58% !important;

        strong:hover {
            color: white !important;
        }
    }
}
@media (min-width: 1200px) {
    .index-footer {
        margin-top: -27% !important;
    }
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(52, 73, 94, 0.7);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s;
}

.callout-card:hover .background-overlay {
    opacity: 1;
}

.card-title {
    text-transform: uppercase;
    text-wrap: nowrap;
}

.card-description {
    /*float: right;*/
}

.section-feature {
    /*background: url(../img/page-services-refinish-dept.png) no-repeat right center;*/
    max-width: 500px;
}

.contact-btn-lg {
    background: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .65)),
    url(../img/request-a-quote.jpg) center center no-repeat;
    background-size: cover;
    border: 1px solid var(--tertiary);
    max-height: 110px;
}
.contact-btn-lg:hover {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)),
    url(../img/request-a-quote.jpg) center center no-repeat;
    background-size: cover;
    color: #ffffff !important;
    border: 1px solid #ffffff;
}

.inspection-station {
    max-height: 160px;
}

.btn.contact {
    i.fas {
        padding: 4px 0 4px 14px;
    }
    i.fas::before {
        content: "\f1b9";
        color: var(--bs-white) !important;
    }
}

.btn.contact:hover {
    i.fas::before {
        content: "";
        color: var(--bs-white) !important;
    }
    i.fas::after {
        content: "\f5e1";
        color: var(--bs-white) !important;
    }
}

.services {
    .list-group-item {
        border: none;
        background-color: transparent;
        color: var(--bs-white);
        font-weight: normal;
        padding: 4px 0 4px 20px;
    }
    .list-group-item:hover {
        background-color: var(--darker) !important;
    }
    .list-group-item i {
        margin-right: 0;
    }
    .list-group-item i::before {
        content: "\f1b9";
        color: var(--tertiary) !important;
    }

    .list-group-item i:hover {
        padding-right: 40px;
    }
    .list-group-item:hover i::before {
        content: "";
        color: var(--primary) !important;
    }
    .list-group-item:hover i::after {
        content: "\f5e1";
        color: var(--primary) !important;
    }

    ul {
        padding: 0;
        margin: 2rem 0 4rem 4rem;
        list-style-position: inside;
    }

    li {
        color: var(--tertiary) !important;
        padding: 4px;
    }

    li:hover {
        text-indent: 2rem;
        color: var(--bs-white) !important;
        text-emphasis: double-circle var(--primary) !important;
    }
}

/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn-primary,
.btn-primary:hover {
    color: #fff;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.navbar {
    background: url(../img/logo.png) top left no-repeat;
    background-size: auto 175%;
    background-position: 6% 35%;
    background-color: #3764b9;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 40px 0;
    color: var(--light);
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-collapse.show {
    background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .85));
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link,
    .navbar.shadow-sm .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 8px;
        border-top: 1px solid var(--light);
    }
}

@media (min-width: 992px) {
    .navbar.shadow-sm .navbar-nav .nav-link {
        padding: 20px 0;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    div.fb-page {
        height: 480px !important;
        width: 280px !important;
    }

    /*> span {*/
    /*    height: 480px !important;*/
    /*    width: 280px !important;*/
    /*}*/
    /*> iframe {*/
    /*    height: 480px !important;*/
    /*    width: 280px !important;*/
    /*}*/
}

div.fb-page {
    height: 360px;
    width: 240px;

    /*> span {*/
    /*    height: 360px;*/
    /*    width: 240px;*/
    /*}*/
    /*> iframe {*/
    /*    height: 360px;*/
    /*    width: 240px;*/
    /*}*/
}

/*** Header ***/
.page-header {
    background: linear-gradient(rgba(0, 0, 0, .45), rgba(0, 0, 0, .85)),
    url(../img/header-bg-building-front.png) center center no-repeat;
    height: 150px;
    min-height: 150px;
    background-size: cover;
}
.header-caption {
    background: rgba(0, 0, 0, .75);
    z-index: 1;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 50% !important;
    min-width: 50% !important;
}

.carousel-inner {
    /*background: url(../img/carousel-bg-race-car.png) center center no-repeat;*/
    background: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)),
    url(../img/carousel-bg-shop-front.png) center center no-repeat;
    background-size: cover;
    height: 300px;
    min-height: 300px;
}

.carousel-caption {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, .25);
    z-index: 1;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.carousel-caption > div {
    background: rgba(0, 0, 0, .45);
    height: 100%;
}

.carousel-item-2 {
    background: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .25)),
    url(../img/carousel-bg-store-front-sign-antiqued.png) center center no-repeat;
    background-size: cover;
}

.carousel-item-4 {
    background: linear-gradient(rgba(0, 0, 0, .25), rgba(0, 0, 0, .15)),
    url(../img/carousel-bg-race-car-blue.png) center center no-repeat;
    background-size: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

#header-carousel .carousel-item {
    height: 100%;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/*** Service ***/
.service-item .btn {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 50px;
    height: 50px;
    color: var(--primary);
    background: var(--dark);
    opacity: 0;
}
.service-item:hover .btn {
    right: 0;
    bottom: 0;
    opacity: 1;
}
.service-item .icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
    color: var(--primary);
}
.service-item .icon img {
    width: 32px;
    height: 32px;
}

/*** Team ***/
.team-item .team-img::before,
.team-item .team-img::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .85);
    transition: .5s;
}

.team-item .team-img::after {
    left: auto;
    right: 0;
}

.team-item:hover .team-img::before,
.team-item:hover .team-img::after {
    width: 50%;
}

.team-item .team-img .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
    z-index: 3;
    opacity: 0;
}

.team-item:hover .team-img .team-social {
    transition-delay: .3s;
    opacity: 1;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 3px;
    color: var(--primary);
    background: var(--dark);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 60px;
    height: 60px;
    margin: 0 5px;
    padding: 10px;
    background: var(--secondary);
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .1;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 1rem 2rem;
    font-size: 15px;
    background: var(--dark);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}
