:root {
    --primary-red: #e63946;
    /* Sporty Red */
    --dark-red: #b91c1c;
    /* Darker Red */
    --bg-dark: #111111;
    /* Carbon Black */
    --bg-grey: #1a1a1a;
    /* Dark Grey */
    --text-light: #f1f1f1;
    --text-gray: #a0a0a0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Utility Classes */
.text-red {
    color: var(--primary-red) !important;
}

.bg-red {
    background-color: var(--primary-red) !important;
    color: white;
}

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

.section-padding {
    padding: 100px 0;
}

/* Buttons */
.btn-auto {
    background-color: var(--primary-red);
    color: white;
    padding: 12px 35px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    /* Slanted Edge */
    transition: all 0.3s ease;
}

.btn-auto:hover {
    background-color: white;
    color: var(--primary-red);
    transform: translateX(5px);
}

.btn-outline-auto {
    background: transparent;
    color: white;
    border: 2px solid var(--primary-red);
    padding: 10px 30px;
    font-family: 'Exo 2', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    transition: 0.3s;
}

.btn-outline-auto:hover {
    background: var(--primary-red);
    color: white;
}

/* Navbar */
.navbar {
    background-color: rgba(0, 0, 0, 0.95);
    border-bottom: 2px solid var(--primary-red);
    padding: 15px 0;
}

.navbar-brand {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white !important;
    font-style: italic;
}

.navbar-brand span {
    color: var(--primary-red);
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px;
    font-family: 'Exo 2', sans-serif;
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=1966&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-title {
    font-size: 4.5rem;
    font-style: italic;
    text-shadow: 2px 2px 0 var(--primary-red);
    margin-bottom: 20px;
}

/* Search Filter */
.search-wrapper {
    background: var(--primary-red);
    padding: 30px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.form-select,
.form-control {
    border: none;
    border-radius: 0;
    padding: 12px;
    background: white;
    color: #333;
    font-weight: 500;
}

/* Inventory Cards */
.car-card {
    background: var(--bg-grey);
    border: 1px solid #333;
    transition: 0.3s;
    overflow: hidden;
    height: 100%;
}

.car-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-5px);
}

.car-img-wrap {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.car-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.car-card:hover .car-img-wrap img {
    transform: scale(1.1);
}

.price-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-red);
    color: white;
    padding: 8px 15px;
    font-weight: 700;
    font-family: 'Exo 2', sans-serif;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
}

.car-specs {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 10px 0;
    margin: 15px 0;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.car-specs span i {
    color: var(--primary-red);
    margin-right: 5px;
}

/* Services */
.service-box {
    background: var(--bg-grey);
    padding: 40px 20px;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.service-box:hover {
    border-bottom-color: var(--primary-red);
    background: #222;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

/* Banner */
.trade-banner {
    background: linear-gradient(rgba(230, 57, 70, 0.9), rgba(230, 57, 70, 0.9)), url('https://images.unsplash.com/photo-1562519819-016930ada31b?q=80&w=1470&auto=format&fit=crop');
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
    color: white;
}

/* Test Drive Form */
.form-dark .form-control,
.form-dark .form-select {
    background-color: #222;
    border: 1px solid #333;
    color: white;
}

.form-dark .form-control:focus {
    border-color: var(--primary-red);
    box-shadow: none;
}

/* Footer */
footer {
    background-color: black;
    padding: 60px 0 20px;
    border-top: 4px solid var(--primary-red);
}

footer a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
}

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

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 3rem;
    }

    .search-wrapper {
        margin-top: 0;
    }
}