:root {
    --primary-color: #007bff; /* Example primary color */
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --font-family: 'Montserrat', sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: #f4f4f9;
    color: #333;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.hero-section {
    background: linear-gradient(to right, #212529, #495057);
    padding: 60px 0;
    margin-bottom: 3rem;
}

.car-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.car-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.car-card .card-body {
    padding: 1.5rem;
}

.car-card .card-title a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    transition: color 0.2s ease;
}

.car-card .card-title a:hover {
    color: var(--primary-color);
}

.car-card .card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

footer {
    background-color: var(--dark-color);
    color: white;
}

/* Detail Page Styles */
.carousel-item img.detail-car-image {
    max-height: 550px;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

/* Thumbnail Gallery Styles */
.thumbnail-gallery {
    gap: 10px; /* space between thumbnails */
}

.gallery-thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s ease;
}

.gallery-thumbnail:hover {
    border-color: #ccc;
}

.gallery-thumbnail.active {
    border-color: var(--primary-color);
}