/* ============================================
   🚗 CARS LISTING PAGE - PREMIUM REDESIGN
   Navy + Teal Theme (Matches Homepage)
   Professional UI/UX • Fast Performance
   ============================================ */

:root {
    /* === NAVY + TEAL COLOR SYSTEM === */
    /* Primary Navy Colors */
    --navy-primary: #0B132B;
    --navy-secondary: #1C2541;
    --navy-light: #3A506B;
    --navy-lighter: #5B7394;
    
    /* Teal Accent Colors */
    --teal-primary: #00B8A9;
    --teal-dark: #008E82;
    --teal-light: #26D9CC;
    --emerald: #10B981;
    
    /* Premium Accents */
    --gold: #F59E0B;
    --gold-light: #FBBF24;
    --amber: #FCD34D;
    
    /* Neutrals */
    --bg-light: #F9FAFB;
    --bg-lighter: #F3F4F6;
    --card-bg: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border-light: #E5E7EB;
    --border-lighter: #F3F4F6;
    
    /* Gradients */
    --hero-gradient: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-secondary) 50%, var(--navy-primary) 100%);
    --teal-gradient: linear-gradient(135deg, var(--teal-primary) 0%, var(--emerald) 100%);
    --gold-gradient: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    --card-gradient: linear-gradient(to bottom, rgba(255,255,255,0.9) 0%, rgba(255,255,255,1) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(11, 19, 43, 0.04);
    --shadow-md: 0 4px 16px rgba(11, 19, 43, 0.08);
    --shadow-lg: 0 8px 24px rgba(11, 19, 43, 0.12);
    --shadow-xl: 0 12px 32px rgba(11, 19, 43, 0.16);
    --shadow-teal: 0 8px 24px rgba(0, 184, 169, 0.25);
    --shadow-gold: 0 4px 16px rgba(245, 158, 11, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

/* Body - OVERRIDE app.css background with higher specificity */
body.cars-page,
body {
    background: transparent !important;
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Remove any background overrides */
html,
main {
    background: transparent !important;
}

/* Container should NOT have background */
.container {
    background: transparent !important;
}

/* EXCEPTION: Footer keeps its own design */
.premium-footer {
    background: linear-gradient(135deg, #0B132B 0%, #1C2541 50%, #0B132B 100%) !important;
}

.premium-footer .container {
    background: transparent !important;
}

/* ============================================
   🎨 HERO SECTION - NAVY GRADIENT
   Matches Homepage Style - DARK NAVY BACKGROUND
   ============================================ */

.cars-hero-section {
    background: var(--hero-gradient) !important;
    background-color: var(--navy-primary) !important;
    padding: 140px 0 100px;
    margin-bottom: -40px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

/* Animated Background Pattern - Same as Homepage */
.cars-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 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.05'%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");
    opacity: 0.4;
    animation: patternSlide 30s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes patternSlide {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    color: white !important;
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 184, 169, 0.2);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    border: 2px solid rgba(0, 184, 169, 0.3);
}

.hero-icon i {
    font-size: 36px;
    color: var(--teal-primary);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white !important;
    margin-bottom: 16px;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95) !important;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    line-height: 1.7;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Quick Search Bar */
.hero-search-bar {
    background: white !important;
    border-radius: var(--radius-xl);
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.search-input-wrapper {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
    z-index: 1;
}

.search-input-wrapper input,
.search-input-wrapper select {
    width: 100%;
    padding: 14px 16px 14px 44px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary) !important;
    transition: var(--transition-smooth);
    background: var(--bg-lighter) !important;
}

.search-input-wrapper input::placeholder {
    color: var(--text-light);
}

.search-input-wrapper input:focus,
.search-input-wrapper select:focus {
    outline: none;
    border-color: var(--teal-primary);
    background: white !important;
    box-shadow: 0 0 0 4px rgba(0, 184, 169, 0.1);
}

.btn-hero-search {
    padding: 14px 32px;
    background: var(--teal-gradient) !important;
    color: white !important;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 184, 169, 0.4);
}

.btn-hero-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 184, 169, 0.5);
}

.btn-hero-search i {
    margin-right: 8px;
}

/* Quick Filter Pills - Match Homepage Style */
.quick-filters {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.filter-pill {
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: white !important;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.filter-pill.active {
    background: var(--teal-primary) !important;
    border-color: var(--teal-primary) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 184, 169, 0.4);
}

/* ============================================
   MAIN CONTENT SECTION
   ============================================ */

.cars-listing-container {
    padding: 60px 0 80px;
    background: var(--bg-light) !important;
}

.cars-listing-container .container {
    background: transparent !important;
}

/* Ensure all child elements respect background */
.cars-listing-container * {
    box-sizing: border-box;
}

/* ============================================
   💎 PREMIUM FILTER SIDEBAR
   ============================================ */

.premium-filter-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 90px;
    margin-bottom: 32px;
    border: 1px solid var(--border-light);
    transition: var(--transition-smooth);
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}

/* Custom Scrollbar for Filter */
.premium-filter-card::-webkit-scrollbar {
    width: 6px;
}

.premium-filter-card::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 10px;
}

.premium-filter-card::-webkit-scrollbar-thumb {
    background: var(--teal-primary);
    border-radius: 10px;
}

.premium-filter-card::-webkit-scrollbar-thumb:hover {
    background: var(--teal-dark);
}

.premium-filter-card:hover {
    box-shadow: var(--shadow-lg);
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-lighter);
}

.filter-icon {
    width: 48px;
    height: 48px;
    background: var(--teal-gradient);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    box-shadow: var(--shadow-teal);
    flex-shrink: 0;
}

.filter-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

/* Filter Groups */
.filter-group {
    margin-bottom: 20px;
}

.filter-label {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 13px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-label i {
    color: var(--teal-primary);
    font-size: 14px;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    background: white;
    transition: var(--transition-smooth);
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 4px rgba(0, 184, 169, 0.1);
}

.filter-input::placeholder {
    color: var(--text-light);
}

/* Filter Count Badge */
.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    background: var(--teal-primary);
    color: white;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    margin-left: auto;
}

/* Filter Option with Count */
.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.filter-option label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    cursor: pointer;
}

/* Active Filters Display */
.active-filters {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid var(--border-lighter);
}

.active-filters-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-lighter);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 8px;
    margin-bottom: 8px;
}

.active-filter-tag i {
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.active-filter-tag i:hover {
    color: var(--teal-primary);
}

/* Filter Buttons */
.btn-filter-primary {
    width: 100%;
    padding: 12px;
    background: var(--teal-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    margin-bottom: 10px;
    box-shadow: var(--shadow-teal);
}

.btn-filter-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 184, 169, 0.35);
}

.btn-filter-primary i {
    margin-right: 8px;
}

.btn-filter-clear {
    width: 100%;
    padding: 10px;
    background: white;
    color: var(--text-secondary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

.btn-filter-clear:hover {
    border-color: var(--navy-primary);
    color: var(--navy-primary);
    background: var(--bg-lighter);
}

.btn-filter-clear i {
    margin-right: 6px;
}

/* ============================================
   🎯 RESULTS HEADER
   ============================================ */

.cars-grid-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
    background: transparent !important;
}

.cars-grid-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    margin: 0;
    letter-spacing: -0.5px;
}

.cars-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--navy-primary) !important;
    color: white !important;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
}

.cars-count-badge i {
    color: var(--teal-primary) !important;
}

/* Results Toolbar */
.results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
    padding: 20px 24px;
    background: white !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 250px;
}

.sort-label {
    font-weight: 600;
    color: var(--text-secondary) !important;
    font-size: 15px;
    white-space: nowrap;
}

.sort-select {
    padding: 12px 40px 12px 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary) !important;
    background: white !important;
    cursor: pointer;
    transition: var(--transition-smooth);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%234B5563' d='M8 12L3 6h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    min-width: 180px;
    box-shadow: var(--shadow-sm);
}

.sort-select:hover {
    border-color: var(--teal-primary);
    box-shadow: var(--shadow-md);
}

.sort-select:focus {
    outline: none;
    border-color: var(--teal-primary);
    box-shadow: 0 0 0 4px rgba(0, 184, 169, 0.1);
}

/* View Toggle */
.view-toggle {
    display: flex;
    gap: 4px;
    background: var(--bg-lighter) !important;
    padding: 4px;
    border-radius: var(--radius-md);
    margin-left: auto;
}

.view-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: var(--text-muted) !important;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.view-btn:hover {
    color: var(--text-primary) !important;
}

.view-btn.active {
    background: white !important;
    color: var(--teal-primary) !important;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   🚗 PREMIUM CAR CARDS
   Clean, Modern, Spacious Design
   ============================================ */

.premium-cars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.premium-car-card {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
}

.premium-car-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--teal-primary);
}

/* Car Image Section */
.car-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

/* Default car icon when no image */
.car-image-wrapper::after {
    content: '\f1b9';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 80px;
    color: var(--border-light);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.car-image-wrapper.no-image::after {
    opacity: 1;
}

.premium-car-card:hover .car-image {
    transform: scale(1.05);
}

/* Badge System */
.car-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    background: var(--navy-primary);
    color: white;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.car-badge.popular {
    background: var(--gold-gradient);
    box-shadow: var(--shadow-gold);
}

.car-badge.new {
    background: var(--teal-gradient);
    box-shadow: var(--shadow-teal);
}

.car-badge.deal {
    background: var(--emerald);
}

/* Rating Badge */
.car-rating {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.car-rating i {
    color: var(--gold);
    font-size: 12px;
}

/* Bookmark Icon */
.car-bookmark {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    opacity: 0;
}

.premium-car-card:hover .car-bookmark {
    opacity: 1;
}

.car-bookmark:hover {
    background: var(--teal-primary);
    color: white;
    transform: scale(1.1);
}

/* Card Content */
.car-content {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Price Row */
.car-price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal-primary);
    letter-spacing: -0.5px;
}

.price-period {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.price-original {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 8px;
}

/* Car Name */
.car-name {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 20px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

/* Car Specs Grid */
.car-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--bg-lighter);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.spec-item:hover {
    background: var(--bg-light);
}

.spec-icon {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal-primary);
    font-size: 14px;
    flex-shrink: 0;
}

/* Action Buttons */
.car-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-view-details {
    flex: 1;
    padding: 14px 12px;
    background: var(--teal-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: var(--shadow-teal);
    white-space: nowrap;
}

.btn-view-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 184, 169, 0.35);
    color: white;
}

.btn-book-now {
    flex: 1.5;
    padding: 14px 12px;
    background: var(--teal-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: var(--shadow-teal);
    white-space: nowrap;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 184, 169, 0.35);
    color: white;
}

.btn-view-secondary {
    flex: 1;
    padding: 14px 12px;
    background: white;
    color: var(--navy-primary);
    border: 2px solid var(--navy-primary);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-view-secondary:hover {
    background: var(--navy-primary);
    color: white;
}

/* ============================================
   📭 EMPTY STATE
   ============================================ */

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: var(--bg-lighter);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.empty-icon i {
    font-size: 56px;
    color: var(--text-light);
}

.empty-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.empty-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   📄 PREMIUM PAGINATION
   ============================================ */

.premium-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.page-link {
    min-width: 48px;
    height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.page-link:hover {
    border-color: var(--teal-primary);
    color: var(--teal-primary);
    background: rgba(0, 184, 169, 0.05);
}

.page-link.active {
    background: var(--teal-gradient);
    border-color: var(--teal-primary);
    color: white;
    box-shadow: var(--shadow-teal);
}

.page-link i {
    font-size: 14px;
}

/* ============================================
   📱 RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-search-bar {
        flex-direction: column;
    }
    
    .search-input-wrapper {
        min-width: 100%;
    }
    
    .btn-hero-search {
        width: 100%;
    }
    
    .premium-filter-card {
        position: relative;
        top: 0;
    }
    
    .premium-cars-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 24px;
    }
    
    .results-toolbar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .view-toggle {
        margin-left: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .cars-hero-section {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-icon {
        width: 64px;
        height: 64px;
    }
    
    .hero-icon i {
        font-size: 28px;
    }
    
    .quick-filters {
        gap: 8px;
    }
    
    .filter-pill {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .premium-filter-card {
        padding: 24px;
    }
    
    .filter-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .filter-title {
        font-size: 1.25rem;
    }
    
    .cars-grid-title {
        font-size: 1.5rem;
    }
    
    .premium-cars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .car-image-wrapper {
        height: 240px;
    }
    
    .car-content {
        padding: 20px;
    }
    
    .price-amount {
        font-size: 1.75rem;
    }
    
    .car-name {
        font-size: 1.25rem;
    }
    
    .car-specs-grid {
        grid-template-columns: 1fr;
    }
    
    .premium-pagination {
        flex-wrap: wrap;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-search-bar {
        padding: 8px;
    }
    
    .search-input-wrapper input,
    .search-input-wrapper select {
        padding: 12px 12px 12px 40px;
    }
    
    .btn-hero-search {
        padding: 12px 24px;
    }
    
    .cars-listing-container {
        padding: 40px 0 60px;
    }
    
    .car-actions {
        flex-direction: column;
    }
    
    .btn-book-now,
    .btn-view-details {
        width: 100%;
    }
}

/* ============================================
   🎭 ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.premium-car-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.premium-car-card:nth-child(1) { animation-delay: 0.1s; }
.premium-car-card:nth-child(2) { animation-delay: 0.2s; }
.premium-car-card:nth-child(3) { animation-delay: 0.3s; }
.premium-car-card:nth-child(4) { animation-delay: 0.4s; }
.premium-car-card:nth-child(5) { animation-delay: 0.5s; }
.premium-car-card:nth-child(6) { animation-delay: 0.6s; }

.premium-filter-card {
    animation: slideInRight 0.6s ease-out;
}

/* ============================================
   🎨 UTILITY CLASSES
   ============================================ */

.text-teal {
    color: var(--teal-primary) !important;
}

.text-navy {
    color: var(--navy-primary) !important;
}

.text-gold {
    color: var(--gold) !important;
}

.bg-teal {
    background: var(--teal-gradient) !important;
}

.bg-navy {
    background: var(--navy-primary) !important;
}

.shadow-teal {
    box-shadow: var(--shadow-teal) !important;
}

.shadow-xl {
    box-shadow: var(--shadow-xl) !important;
}

/* ============================================
   🔧 PRINT STYLES
   ============================================ */

@media print {
    .cars-hero-section,
    .premium-filter-card,
    .results-toolbar,
    .premium-pagination {
        display: none !important;
    }
    
    .premium-car-card {
        break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid var(--border-light) !important;
    }
}
