:root {
    --main-red: #c1121f;
    --dark-bg: #050505;
    --soft-dark: #111;
    --light-bg: #f7f7f7;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #222;
}

.hidden{
    display:none!important;
}

.back-to-top {
    position: fixed;
    bottom: 50%;
    right: 0px;
    display: none;
    z-index: 99999999;
}

.top-bar {
    background: #000;
    color: #fff;
    font-size: 0.9rem;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.navbar {
    background: var(--soft-dark);
}

.fas {
    color: var(--soft-dark);    
}

.site-logo {
    max-height: 90px;
}

.navbar .nav-link {
    color: #fff;
    font-weight: 500;
    margin-left: 14px;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--main-red);
}

.btn-red {
    background: var(--main-red);
    color: #fff;
    border: none;
    font-weight: 600;
}

.btn-red:hover {
    background: #b51218;
    color: #fff;
}

.btn-outline-red {
    border: 2px solid var(--main-red);
    color: #fff;
    font-weight: 600;
}

.btn-outline-red:hover {
    background: var(--main-red);
    color: #fff;
}

.hero-section {
    font-size: clamp(1rem, 3vw, 2rem);
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.6rem);
    font-weight: 600;
}

.red-text {
    color: var(--main-red);
}

.search-box {
    margin-top: -60px;
    position: relative;
    z-index: 5;
}

.section-title {
    font-weight: 600;
}

#resent_vehicles .card {
    background-color: #eee;
    color: black;
    font-weight: bold;
    border: 2px solid var(--main-red);
}

#resent_vehicles .card-text {
    white-space:nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 0px;
}

#resent_vehicles .card-header {
    min-height: 180px; 
    background-size: cover;
}

#resent_vehicles a {
    text-decoration: none;
}

.vehicle-card:hover {
    transform: translateY(-4px);
}

.vehicle-price {
    color: var(--main-red);
    font-weight: 800;
    font-size: 1.35rem;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--main-red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.cta-section {
    background:
        linear-gradient(rgba(0,0,0,.60), rgba(0,0,0,.60)),
        url("../images/cta-car.jpg") center/cover no-repeat;
    color: #fff;
}

footer {
    background: #050505;
    color: #bbb;
}

footer a {
    color: #fff;
    text-decoration: none;
}

.fr {
    display: none;
}

body.lang-fr .en {
    display: none;
}

body.lang-fr .fr {
    display: inline;
}

body.lang-fr .fr.block {
    display: block;
}

.top-bar {
    background: #000;
    color: #fff;
    font-size: 0.9rem;
    position: relative;
    z-index: 1050;
}

.top-bar a {
    color: #fff;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--main-red);
}

.hours-menu {
    background: #050505;
    color: #fff;
    min-width: 280px;
    border-top: 3px solid var(--main-red);
    border-radius: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    font-size: 0.85rem;
    margin-top: 4px;
    box-shadow: 0 15px 35px rgba(0,0,0,.45);
}

.hours-menu hr {
    border-color: #555;
}

.top-hours-dropdown {
    position: relative;
}

.top-hours-dropdown .dropdown-menu {
    z-index: 2000;
}

footer {
    padding-top: 45px;
}

footer .row {
    align-items: flex-start;
}

.footer-logo {
    max-height: 90px;
    margin-bottom: 18px;
}

footer h3,
footer h4,
footer h5 {
    margin-bottom: 14px;
}

footer p {
    margin-bottom: 10px;
}

footer hr {
    margin-top: 35px;
    margin-bottom: 18px;
}

footer .quick-links p {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .hours-menu {
        min-width: 280px;
        max-width: calc(100vw - 20px);
    }
}

/* Tablets */
@media (max-width: 991px) {

    .hero {
        min-height: 500px;
    }

    .hero h1 {
        font-size: 3rem;
    }
}

/* Phones */
@media (max-width: 767px) {

    .hero {
        min-height: 450px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .site-logo {
        max-height: 55px;
    }

    .navbar-brand {
        margin-right: 0;
    }

    .search-box {
        margin-top: 0;
    }
}

/* Small phones */
@media (max-width: 575px) {

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 10px;
    }
}