:root {
    --gold: #d4af37;
    --gold-light: #f4e4a6;
    --gold-dark: #b8941f;
    --dark: #111111;
    --darker: #0a0a0a;
    --light: #f8f9fa;
}

/* Typographie améliorée */
* {
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Structure globale */
html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    background-color: #f5f6f8;
    color: #333;
}

.main-content {
    flex: 1;
    padding-top: 30px;
}

/* Navbar améliorée */
.navbar {
    border-bottom: 3px solid var(--gold);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.02);
}

.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
    color: white !important;
}

.border-gold-light {
    border-color: var(--gold-light) !important;
}

/* Navigation links */
.nav-link {
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.nav-link i {
    color: var(--gold);
    margin-right: 8px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0;
    height: 3px;
    background-color: var(--gold);
    border-radius: 2px;
}

/* Dropdown amélioré */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 220px;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold);
    transform: translateX(5px);
}

.dropdown-header {
    font-size: 0.875rem;
    color: #666;
    padding: 0.75rem 1rem;
}

/* Offcanvas (Menu mobile latéral) */
.offcanvas-start {
    width: 300px;
    border-right: 3px solid var(--gold);
}

.offcanvas-header {
    background-color: var(--dark);
    color: white;
}

.offcanvas-body {
    background-color: white;
}

.list-group-item {
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
}

.list-group-item.active {
    background-color: rgba(212, 175, 55, 0.1);
    border-left-color: var(--gold);
    color: var(--gold);
    font-weight: 600;
}

.list-group-item:hover {
    background-color: rgba(212, 175, 55, 0.05);
    border-left-color: var(--gold-light);
}

/* Boutons améliorés */
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
    border-color: var(--gold);
    color: var(--gold);
    font-weight: 600;
}

.btn-outline-gold:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
}

/* Cartes véhicules améliorées */
.vehicle-card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

.vehicle-image {
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image {
    transform: scale(1.05);
}

.vehicle-card .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.vehicle-features .col-6 {
    border-right: 1px solid #eee;
}

.vehicle-features .col-6:last-child {
    border-right: none;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    border-radius: 0 0 30px 30px;
    overflow: hidden;
}

.hero-banner h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-image {
    height: 400px;
    background-position: center;
    background-size: cover;
}

/* Footer amélioré */
.footer {
    background-color: var(--dark);
    color: #ccc;
}

.bg-darker {
    background-color: var(--darker);
}

.footer h4, .footer h6 {
    color: var(--gold);
    font-weight: 700;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hover-gold:hover {
    color: var(--gold) !important;
}

.footer .social-links .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    border-top: 1px solid #333;
    font-size: 0.875rem;
}

/* Sections */
.section-header {
    padding-bottom: 1rem;
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
}

/* Badges */
.badge.bg-gold {
    background-color: var(--gold) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar-spacer {
        height: 80px;
    }
    
    .hero-banner h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        height: 300px;
    }
    
    .vehicle-card {
        margin-bottom: 1.5rem;
    }
    
    .offcanvas-start {
        width: 280px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        height: 40px;
    }
    
    .navbar-brand span {
        font-size: 1.1rem;
    }
    
    .hero-banner h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}

/* Animation pour les cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vehicle-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}


/* Ajoutez ces styles à la fin de votre fichier style.css */

/* Hero compact */
.compact-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.compact-hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.compact-hero .lead {
    font-size: 1.1rem;
    max-width: 600px;
}

.bg-dark-light {
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.border-gold-light {
    border-color: rgba(212, 175, 55, 0.3) !important;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

/* Boutons de filtre */
.btn-outline-dark.active {
    background-color: var(--dark);
    color: white;
    border-color: var(--dark);
}

/* CTA Section */
.bg-gold-light {
    background-color: rgba(212, 175, 55, 0.1);
}

/* Media Queries pour responsive */
@media (max-width: 992px) {
    .compact-hero {
        padding: 1.5rem 0;
    }
    
    .compact-hero h1 {
        font-size: 2rem;
    }
    
    .compact-hero .lead {
        font-size: 1rem;
    }
    
    .compact-hero .btn-lg {
        padding: 0.5rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .compact-hero h1 {
        font-size: 1.75rem;
    }
    
    .compact-hero .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .compact-hero .btn-lg {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .compact-hero {
        text-align: center;
    }
    
    .compact-hero h1 {
        font-size: 1.5rem;
    }
    
    .compact-hero .lead {
        font-size: 0.95rem;
    }
    
    .filters-section .btn-sm {
        font-size: 0.8rem;
        padding: 0.25rem 0.75rem;
    }
}

/* Animation pour stats */
@keyframes countUp {
    from {
        transform: translateY(10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.compact-hero .col-6 > div {
    animation: countUp 0.6s ease-out;
}

.compact-hero .col-6:nth-child(2) > div {
    animation-delay: 0.1s;
}

.compact-hero .col-6:nth-child(3) > div {
    animation-delay: 0.2s;
}

.compact-hero .col-6:nth-child(4) > div {
    animation-delay: 0.3s;
}