/* =====================================================
   BOB'S DEMO MOTORS - MAIN STYLESHEET
   A bold, professional automotive dealership theme
   ===================================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Bold Automotive Theme */
    --primary: #E63946;
    --primary-dark: #C1121F;
    --primary-light: #FF6B6B;
    
    /* Secondary Colors */
    --secondary: #1D3557;
    --secondary-dark: #0D1B2A;
    --secondary-light: #457B9D;
    
    /* Accent Colors */
    --accent: #F4A261;
    --accent-dark: #E76F51;
    
    /* Neutrals */
    --dark: #0D1B2A;
    --gray-900: #1a1a2e;
    --gray-800: #2d2d44;
    --gray-700: #3d3d5c;
    --gray-600: #6c757d;
    --gray-500: #adb5bd;
    --gray-400: #ced4da;
    --gray-300: #dee2e6;
    --gray-200: #e9ecef;
    --gray-100: #f8f9fa;
    --white: #ffffff;
    
    /* Functional Colors */
    --success: #2A9D8F;
    --warning: #E9C46A;
    --danger: #E63946;
    --info: #457B9D;
    
    /* Typography */
    --font-display: 'Archivo Black', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-padding: 15px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.16);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.2);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--secondary-dark);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
#mainNav {
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    padding: 15px 0;
    transition: all var(--transition-base);
    box-shadow: none;
}

#mainNav.scrolled {
    padding: 10px 0;
    background: var(--secondary-dark);
    box-shadow: var(--shadow-lg);
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white) !important;
}

.brand-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.25rem;
    transition: transform var(--transition-base);
}

.navbar-brand:hover .brand-icon {
    transform: scale(1.05);
}

.brand-text {
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500;
    color: rgba(255,255,255,0.85) !important;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--white) !important;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-cta .btn {
    border-radius: var(--radius-md);
    font-weight: 500;
}

/* Phone Button in Nav */
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-phone:hover {
    background: var(--primary-dark);
    color: var(--white) !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.btn-phone i {
    font-size: 0.85rem;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, var(--secondary-light) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(230, 57, 70, 0.6);
    border-radius: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    margin-bottom: 20px;
}

.title-line {
    display: block;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.title-accent {
    display: block;
    font-size: clamp(3rem, 8vw, 5rem);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

/* Quick Search Widget */
.quick-search-widget {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: end;
}

.search-field {
    text-align: left;
}

.search-field label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.search-field .form-control {
    height: 50px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-size: 1rem;
    padding: 0 15px;
    transition: all var(--transition-fast);
    background: var(--white);
}

.search-field .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.btn-search {
    width: 100%;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-search:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

.quick-links {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-300);
    font-size: 0.9rem;
    color: var(--gray-600);
}

.quick-links span {
    margin-right: 10px;
}

.quick-links a {
    display: inline-block;
    padding: 4px 12px;
    margin: 4px;
    background: var(--gray-100);
    border-radius: 20px;
    color: var(--gray-700);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.quick-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    z-index: 10;
    animation: bounce 2s infinite;
}

.hero-scroll-indicator i {
    display: block;
    margin-top: 8px;
    font-size: 1.25rem;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 20px auto 0;
}

.section-header.light h2 {
    color: var(--white);
}

.section-header.light p {
    color: rgba(255,255,255,0.8);
}

.view-all-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--primary);
}

.view-all-link i {
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.view-all-link:hover i {
    transform: translateX(5px);
}

/* =====================================================
   CATEGORY SECTION
   ===================================================== */
.category-section {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    transition: all var(--transition-base);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    transform: scale(1.1);
}

.category-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary-dark);
}

.category-count {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* =====================================================
   FEATURED SECTION
   ===================================================== */
.featured-section {
    padding: var(--section-padding) 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Vehicle Card */
.vehicle-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.vehicle-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--gray-200);
}

.vehicle-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.vehicle-card:hover .vehicle-card-image img {
    transform: scale(1.08);
}

.vehicle-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.badge-featured {
    background: var(--primary);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-new {
    background: var(--success);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-price-drop {
    background: var(--accent);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.vehicle-favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--gray-500);
}

.vehicle-favorite:hover,
.vehicle-favorite.active {
    background: var(--primary);
    color: var(--white);
}

.vehicle-card-body {
    padding: 20px;
}

.vehicle-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--secondary-dark);
    line-height: 1.3;
}

.vehicle-title a {
    color: inherit;
}

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

.vehicle-subtitle {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 15px;
}

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-200);
}

.spec-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--gray-700);
}

.spec-item i {
    margin-right: 6px;
    color: var(--gray-500);
    width: 16px;
}

.vehicle-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vehicle-price {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--primary);
}

.vehicle-price .price-label {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vehicle-monthly {
    text-align: right;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.vehicle-monthly strong {
    display: block;
    font-size: 1rem;
    color: var(--secondary);
}

.vehicle-card-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--gray-200);
}

.vehicle-card-footer a {
    padding: 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    transition: all var(--transition-fast);
}

.vehicle-card-footer a:first-child {
    border-right: 1px solid var(--gray-200);
}

.vehicle-card-footer a:hover {
    background: var(--primary);
    color: var(--white);
}

/* =====================================================
   WHY US SECTION
   ===================================================== */
.why-us-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 100%);
    position: relative;
}

.why-us-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    text-align: center;
    transition: all var(--transition-base);
}

.benefit-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.benefit-card h3 {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.benefit-card p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    margin: 0;
}

/* =====================================================
   RECENT SECTION
   ===================================================== */
.recent-section {
    padding: var(--section-padding) 0;
    background: var(--gray-100);
    position: relative;
}

.recent-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
}

.recent-slider::-webkit-scrollbar {
    display: none;
}

.recent-slider .vehicle-card {
    flex: 0 0 calc(25% - 19px);
    scroll-snap-align: start;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--secondary);
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    color: var(--secondary);
}

.slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* =====================================================
   TESTIMONIALS SECTION
   ===================================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
}

.rating-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.rating-summary .stars {
    color: var(--accent);
    font-size: 1.25rem;
}

.rating-summary span {
    color: var(--gray-600);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    position: relative;
    margin-bottom: 20px;
}

.quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 3rem;
    color: var(--gray-200);
    line-height: 1;
}

.testimonial-content p {
    padding-top: 30px;
    font-style: italic;
    color: var(--gray-700);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: var(--secondary-dark);
    font-weight: 700;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--gray-600);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-text h2 {
    font-size: 2.25rem;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-text p {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.cta-buttons .btn {
    padding: 15px 35px;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--primary);
    border: none;
}

.cta-buttons .btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.cta-buttons .btn-outline-light {
    border-width: 2px;
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--secondary-dark) !important;
    color: var(--white);
    padding: 60px 0 0;
}

/* Ensure all footer text is visible */
.footer,
.footer p,
.footer li,
.footer span,
.footer a {
    color: rgba(255,255,255,0.7);
}

.footer h5 {
    color: var(--white) !important;
}

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

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

.footer-main {
    padding: 60px 0 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--white);
}

.footer-brand .brand-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    background: var(--primary);
    color: var(--white);
}

.footer-brand .brand-text {
    color: var(--white);
}

.footer-about {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-main h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    transition: color var(--transition-fast);
}

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

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    width: 16px;
    flex-shrink: 0;
}

.footer-contact li span {
    color: rgba(255,255,255,0.7) !important;
}

.footer-contact a,
.footer-contact li a {
    color: rgba(255,255,255,0.7) !important;
}

.footer-contact a:hover,
.footer-contact li a:hover {
    color: var(--primary) !important;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-hours {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7) !important;
    font-size: 0.95rem;
}

.footer-hours li span:first-child {
    font-weight: 600;
    color: rgba(255,255,255,0.9) !important;
}

.footer-hours li span:last-child {
    color: rgba(255,255,255,0.7) !important;
}

.footer h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--white) !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
    margin-left: 20px;
}

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

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */
@media (max-width: 1200px) {
    .featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .recent-slider .vehicle-card {
        flex: 0 0 calc(33.333% - 17px);
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--secondary-dark);
        padding: 20px;
        margin-top: 15px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-link {
        padding: 12px 16px !important;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .btn-phone {
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }
    
    .search-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recent-slider .vehicle-card {
        flex: 0 0 calc(50% - 13px);
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .brand-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        margin-right: 8px;
    }
    
    .navbar-toggler {
        padding: 8px 12px;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: var(--radius-sm);
    }
    
    .navbar-toggler-icon {
        color: white;
    }
    
    .hero-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .search-widget {
        padding: 20px;
        margin: 0 10px;
    }
    
    .search-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .search-btn-field {
        margin-top: 10px;
    }
    
    .quick-links {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .quick-links a {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .recent-slider {
        padding: 0 10px;
    }
    
    .recent-slider .vehicle-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .vehicle-card-body {
        padding: 15px;
    }
    
    .vehicle-title {
        font-size: 1rem;
    }
    
    .vehicle-specs {
        gap: 8px;
    }
    
    .spec-item {
        font-size: 0.75rem;
    }
    
    .vehicle-price {
        font-size: 1.2rem;
    }
    
    .vehicle-card-footer {
        padding: 12px 15px;
    }
    
    .vehicle-card-footer a {
        font-size: 0.8rem;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-brand {
        margin-bottom: 15px;
    }
    
    .footer h5 {
        margin-top: 25px;
    }
}

@media (max-width: 575px) {
    .hero-title {
        font-size: 1.5rem;
    }
    
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .category-card {
        padding: 15px 10px;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .category-card h3 {
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}
