/* ===== ELITE AUTO GROUP - MAIN STYLESHEET ===== */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

:root {
  --primary: #0a0f1e;
  --secondary: #c8992a;
  --accent: #e8b84b;
  --white: #ffffff;
  --light: #f5f5f0;
  --gray: #8a8a8a;
  --border: #2a2f3e;
  --card-bg: #111827;
  --success: #22c55e;
  --danger: #ef4444;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.18);
  --transition: all 0.25s ease;
  --font-display: 'Bebas Neue', sans-serif;
  --font-condensed: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--primary); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); }

/* ===== UTILITY ===== */
.container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-gold { color: var(--secondary); }
.bg-dark { background: var(--primary); color: var(--white); }
.bg-light { background: var(--light); }
.hidden { display: none !important; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.grid { display: grid; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius); font-family: var(--font-condensed); font-size: 15px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--secondary); color: var(--white); }
.btn-primary:hover { background: var(--accent); color: var(--primary); transform: translateY(-1px); }
.btn-outline { border: 2px solid var(--secondary); color: var(--secondary); }
.btn-outline:hover { background: var(--secondary); color: var(--white); }
.btn-dark { background: var(--primary); color: var(--white); }
.btn-dark:hover { background: #1a2035; }
.btn-white { background: var(--white); color: var(--primary); }
.btn-white:hover { background: var(--light); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-full { width: 100%; justify-content: center; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-success { background: var(--success); color: var(--white); }

/* ===== SECTION TITLES ===== */
.section-label { font-family: var(--font-condensed); font-size: 13px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--secondary); margin-bottom: 10px; display: block; }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin-bottom: 16px; }
.section-subtitle { font-size: 16px; color: var(--gray); max-width: 520px; }

/* ===== TOPBAR ===== */
.topbar { background: var(--primary); color: var(--white); padding: 8px 0; border-bottom: 1px solid var(--border); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 24px; align-items: center; font-size: 13px; color: #aaa; }
.topbar-info a { color: #ccc; display: flex; align-items: center; gap: 6px; }
.topbar-info a:hover { color: var(--secondary); }
.topbar-right { display: flex; gap: 16px; align-items: center; font-size: 13px; }
.topbar-right a { color: #aaa; }
.topbar-right a:hover { color: var(--secondary); }

/* ===== HEADER / NAVBAR ===== */
.navbar { background: var(--white); padding: 0; position: sticky; top: 0; z-index: 999; box-shadow: 0 2px 16px rgba(0,0,0,0.10); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: var(--secondary); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.logo-icon svg { width: 28px; height: 28px; fill: white; }
.logo-text { display: flex; flex-direction: column; }
.logo-main { font-family: var(--font-display); font-size: 22px; line-height: 1; color: var(--primary); letter-spacing: 0.03em; }
.logo-sub { font-family: var(--font-condensed); font-size: 11px; color: var(--gray); letter-spacing: 0.12em; text-transform: uppercase; }
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link { font-family: var(--font-condensed); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary); padding: 8px 14px; border-radius: var(--radius); transition: var(--transition); white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--secondary); background: rgba(200,153,42,0.08); }
.nav-cta { margin-left: 12px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.hamburger span { width: 24px; height: 2px; background: var(--primary); display: block; transition: var(--transition); border-radius: 2px; }
.mobile-nav { display: none; background: var(--white); border-top: 1px solid #eee; padding: 16px; }
.mobile-nav .nav-link { display: block; padding: 12px 16px; border-bottom: 1px solid #f0f0f0; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; overflow: hidden; background: var(--primary); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0a0f1e 0%, #1a2035 50%, #0d1526 100%); }
.hero-bg::after { content: ''; 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.02'%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"); }
.hero-content { position: relative; z-index: 2; color: var(--white); padding: 60px 0; }
.hero-label { font-family: var(--font-condensed); font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--secondary); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.hero-label::before { content: ''; display: block; width: 36px; height: 2px; background: var(--secondary); }
.hero-title { font-family: var(--font-display); font-size: clamp(52px, 8vw, 96px); line-height: 0.95; margin-bottom: 24px; }
.hero-title .line-gold { color: var(--secondary); }
.hero-subtitle { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 460px; margin-bottom: 40px; font-weight: 300; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num { font-family: var(--font-display); font-size: 36px; color: var(--secondary); line-height: 1; }
.hero-stat-label { font-family: var(--font-condensed); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 4px; }
.hero-image-area { position: absolute; right: -40px; top: 0; bottom: 0; width: 55%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-image-area img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-image-area::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 200px; background: linear-gradient(to right, var(--primary), transparent); z-index: 1; }

/* ===== SEARCH BAR ===== */
.search-section { background: var(--white); padding: 0; margin-top: -1px; }
.search-bar-wrap { background: var(--secondary); padding: 24px; border-radius: 0 0 8px 8px; }
.search-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)) auto; gap: 12px; align-items: end; }
.search-field label { font-family: var(--font-condensed); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.8); margin-bottom: 6px; display: block; }
.search-field input, .search-field select { width: 100%; padding: 11px 14px; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); border-radius: var(--radius); color: white; font-size: 14px; outline: none; transition: var(--transition); }
.search-field input::placeholder { color: rgba(255,255,255,0.6); }
.search-field select option { background: var(--primary); color: white; }
.search-field input:focus, .search-field select:focus { background: rgba(255,255,255,0.25); border-color: white; }

/* ===== FEATURED VEHICLES ===== */
.vehicles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.vehicle-card { background: var(--white); border-radius: 10px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,0.08); border: 1px solid #eee; transition: var(--transition); }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.14); }
.vehicle-card-img { position: relative; height: 220px; overflow: hidden; background: var(--light); }
.vehicle-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.vehicle-card:hover .vehicle-card-img img { transform: scale(1.04); }
.vehicle-badge { position: absolute; top: 12px; left: 12px; background: var(--secondary); color: white; font-family: var(--font-condensed); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.vehicle-badge.new { background: var(--success); }
.vehicle-card-body { padding: 20px; }
.vehicle-card-year { font-family: var(--font-condensed); font-size: 12px; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.vehicle-card-title { font-family: var(--font-condensed); font-size: 20px; font-weight: 700; color: var(--primary); line-height: 1.2; margin-bottom: 8px; }
.vehicle-card-specs { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.vehicle-spec { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--gray); }
.vehicle-spec svg { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.6; }
.vehicle-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f0f0f0; padding-top: 16px; }
.vehicle-price { font-family: var(--font-display); font-size: 26px; color: var(--secondary); }
.vehicle-price span { font-size: 13px; font-family: var(--font-body); color: var(--gray); font-weight: 400; }

/* ===== PROMO BANNERS ===== */
.promo-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.promo-card { border-radius: 10px; overflow: hidden; position: relative; min-height: 220px; display: flex; align-items: flex-end; padding: 30px; color: white; }
.promo-card-bg { position: absolute; inset: 0; }
.promo-card-bg img { width: 100%; height: 100%; object-fit: cover; }
.promo-card-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%); }
.promo-card-content { position: relative; z-index: 1; }
.promo-card-label { font-family: var(--font-condensed); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--secondary); margin-bottom: 8px; display: block; }
.promo-card-title { font-family: var(--font-display); font-size: clamp(22px, 3vw, 32px); line-height: 1.1; margin-bottom: 12px; }
.promo-sm { min-height: 160px; }

/* ===== WHY CHOOSE US ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.feature-card { text-align: center; padding: 36px 24px; border-radius: 10px; background: var(--white); border: 1px solid #eee; transition: var(--transition); }
.feature-card:hover { border-color: var(--secondary); box-shadow: var(--shadow); }
.feature-icon { width: 64px; height: 64px; background: rgba(200,153,42,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.feature-icon svg { width: 30px; height: 30px; color: var(--secondary); }
.feature-title { font-family: var(--font-condensed); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.feature-text { font-size: 14px; color: var(--gray); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--card-bg); color: white; border-radius: 10px; padding: 28px; border: 1px solid var(--border); }
.stars { display: flex; gap: 4px; margin-bottom: 16px; }
.stars svg { width: 16px; height: 16px; fill: var(--secondary); }
.testimonial-text { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--secondary); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 18px; color: white; flex-shrink: 0; }
.author-name { font-family: var(--font-condensed); font-weight: 700; font-size: 15px; }
.author-location { font-size: 12px; color: rgba(255,255,255,0.5); }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%); padding: 80px 0; text-align: center; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 58px); color: white; margin-bottom: 16px; }
.cta-section p { font-size: 17px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }

/* ===== FOOTER ===== */
footer { background: var(--primary); color: white; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; margin-top: 16px; line-height: 1.7; max-width: 280px; }
.footer-title { font-family: var(--font-condensed); font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.55); font-size: 14px; }
.footer-links a:hover { color: var(--secondary); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255,255,255,0.55); font-size: 14px; margin-bottom: 12px; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; color: var(--secondary); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: var(--secondary); font-size: 13px; }
.social-links { display: flex; gap: 12px; }
.social-link { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-link:hover { border-color: var(--secondary); background: var(--secondary); }
.social-link svg { width: 16px; height: 16px; color: rgba(255,255,255,0.6); }
.social-link:hover svg { color: white; }

/* ===== PAGE HERO ===== */
.page-hero { background: var(--primary); padding: 60px 0; color: white; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(36px, 6vw, 64px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 16px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--font-condensed); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 20px; }
.breadcrumb a { color: var(--secondary); }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ===== INVENTORY PAGE ===== */
.inventory-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.filters-sidebar { background: var(--white); border: 1px solid #eee; border-radius: 10px; padding: 24px; position: sticky; top: 88px; }
.filter-title { font-family: var(--font-condensed); font-size: 16px; font-weight: 700; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; }
.filter-group { margin-bottom: 24px; border-bottom: 1px solid #f0f0f0; padding-bottom: 24px; }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.filter-group-label { font-family: var(--font-condensed); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 12px; display: block; }
.filter-group select, .filter-group input { width: 100%; padding: 10px 12px; border: 1px solid #e0e0e0; border-radius: var(--radius); font-size: 14px; outline: none; background: var(--white); transition: var(--transition); }
.filter-group select:focus, .filter-group input:focus { border-color: var(--secondary); }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.inventory-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.results-count { font-family: var(--font-condensed); font-size: 15px; color: var(--gray); }
.results-count strong { color: var(--primary); }
.sort-select { padding: 9px 14px; border: 1px solid #e0e0e0; border-radius: var(--radius); font-size: 14px; outline: none; background: white; }

/* ===== VEHICLE DETAIL ===== */
.vehicle-gallery { position: relative; }
.gallery-main { height: 460px; border-radius: 10px; overflow: hidden; background: var(--light); margin-bottom: 12px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.gallery-thumb { height: 80px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: var(--transition); background: var(--light); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--secondary); }
.vehicle-detail-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.vehicle-specs-table { background: var(--white); border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
.specs-row { display: grid; grid-template-columns: 1fr 1fr; }
.specs-cell { padding: 14px 18px; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.specs-cell:first-child { font-weight: 600; color: var(--gray); background: #fafafa; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-condensed); }
.specs-row:last-child .specs-cell { border-bottom: none; }
.contact-card { background: var(--white); border: 1px solid #eee; border-radius: 10px; padding: 28px; position: sticky; top: 88px; }
.contact-card-price { font-family: var(--font-display); font-size: 40px; color: var(--secondary); margin-bottom: 4px; }
.contact-card-sub { font-size: 13px; color: var(--gray); margin-bottom: 24px; }
.contact-form-field { margin-bottom: 14px; }
.contact-form-field label { font-family: var(--font-condensed); font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); display: block; margin-bottom: 6px; }
.contact-form-field input, .contact-form-field textarea, .contact-form-field select { width: 100%; padding: 11px 14px; border: 1px solid #e0e0e0; border-radius: var(--radius); font-size: 14px; outline: none; transition: var(--transition); }
.contact-form-field input:focus, .contact-form-field textarea:focus { border-color: var(--secondary); }
.contact-form-field textarea { height: 100px; resize: vertical; }

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 8px; background: var(--light); margin-bottom: 16px; }
.contact-info-icon { width: 44px; height: 44px; background: var(--secondary); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 22px; height: 22px; color: white; }
.contact-info-label { font-family: var(--font-condensed); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.contact-info-value { font-size: 15px; font-weight: 500; }
.map-embed { width: 100%; height: 300px; border-radius: 10px; border: 0; overflow: hidden; margin-top: 24px; background: var(--light); display: flex; align-items: center; justify-content: center; }

/* ===== TRACKING PAGE ===== */
.tracking-form-wrap { max-width: 560px; margin: 0 auto 48px; }
.tracking-form { display: flex; gap: 12px; }
.tracking-form input { flex: 1; padding: 14px 18px; border: 2px solid #e0e0e0; border-radius: var(--radius); font-size: 16px; outline: none; transition: var(--transition); }
.tracking-form input:focus { border-color: var(--secondary); }
.tracking-result { max-width: 720px; margin: 0 auto; }
.tracking-card { background: var(--white); border: 1px solid #eee; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); }
.tracking-header { background: var(--primary); color: white; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.tracking-num { font-family: var(--font-condensed); font-size: 13px; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; text-transform: uppercase; }
.tracking-num strong { color: var(--secondary); font-size: 18px; display: block; }
.tracking-status-badge { background: var(--success); color: white; padding: 6px 16px; border-radius: 20px; font-family: var(--font-condensed); font-size: 14px; font-weight: 600; letter-spacing: 0.06em; }
.tracking-status-badge.in-transit { background: #3b82f6; }
.tracking-status-badge.processing { background: var(--secondary); }
.tracking-status-badge.delivered { background: var(--success); }
.tracking-body { padding: 28px; }
.tracking-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; margin-bottom: 32px; }
.tracking-meta-item label { font-family: var(--font-condensed); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); display: block; margin-bottom: 4px; }
.tracking-meta-item span { font-size: 15px; font-weight: 600; }
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 2px; background: #e0e0e0; }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { position: absolute; left: -28px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #e0e0e0; border: 2px solid white; z-index: 1; }
.timeline-item.completed .timeline-dot { background: var(--success); }
.timeline-item.current .timeline-dot { background: var(--secondary); box-shadow: 0 0 0 4px rgba(200,153,42,0.2); }
.timeline-title { font-family: var(--font-condensed); font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.timeline-date { font-size: 13px; color: var(--gray); margin-bottom: 4px; }
.timeline-desc { font-size: 13px; color: var(--gray); }

/* ===== FINANCING PAGE ===== */
.financing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 48px; }
.financing-card { background: var(--white); border: 1px solid #eee; border-radius: 10px; padding: 28px; }
.financing-card.featured { border-color: var(--secondary); box-shadow: 0 0 0 2px rgba(200,153,42,0.15); }
.financing-card-icon { width: 52px; height: 52px; background: rgba(200,153,42,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.financing-card-icon svg { width: 26px; height: 26px; color: var(--secondary); }
.calc-wrap { background: var(--primary); color: white; border-radius: 12px; padding: 40px; max-width: 640px; margin: 0 auto; }
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; }
.calc-field label { font-family: var(--font-condensed); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); display: block; margin-bottom: 8px; }
.calc-field input, .calc-field select { width: 100%; padding: 12px 14px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); border-radius: var(--radius); color: white; font-size: 15px; outline: none; }
.calc-result { text-align: center; padding: 20px; background: rgba(255,255,255,0.05); border-radius: 8px; }
.calc-result-label { font-family: var(--font-condensed); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.calc-result-amount { font-family: var(--font-display); font-size: 48px; color: var(--secondary); }

/* ===== ABOUT PAGE ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img-stack { position: relative; }
.about-img-main { border-radius: 10px; overflow: hidden; height: 480px; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--secondary); color: white; padding: 20px; border-radius: 10px; text-align: center; }
.about-badge-num { font-family: var(--font-display); font-size: 48px; line-height: 1; }
.about-badge-label { font-family: var(--font-condensed); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-card { text-align: center; }
.team-avatar { width: 100px; height: 100px; border-radius: 50%; background: var(--secondary); margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 36px; color: white; }
.team-name { font-family: var(--font-condensed); font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.team-role { font-size: 13px; color: var(--gray); }

/* ===== ADMIN PANEL ===== */
.admin-body { background: #f0f2f5; min-height: 100vh; }
.admin-login { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--primary); }
.login-card { background: white; border-radius: 12px; padding: 48px 40px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-title { font-family: var(--font-display); font-size: 28px; color: var(--primary); margin-bottom: 6px; }
.login-sub { font-size: 14px; color: var(--gray); }
.admin-sidebar { width: 260px; background: var(--primary); min-height: 100vh; position: fixed; left: 0; top: 0; z-index: 100; display: flex; flex-direction: column; }
.admin-sidebar-logo { padding: 20px 24px; border-bottom: 1px solid var(--border); }
.admin-nav { padding: 16px 0; flex: 1; }
.admin-nav-item { display: flex; align-items: center; gap: 12px; padding: 12px 24px; color: rgba(255,255,255,0.6); font-family: var(--font-condensed); font-size: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: var(--transition); cursor: pointer; }
.admin-nav-item:hover, .admin-nav-item.active { color: white; background: rgba(255,255,255,0.06); border-left: 3px solid var(--secondary); padding-left: 21px; }
.admin-nav-item svg { width: 18px; height: 18px; flex-shrink: 0; }
.admin-main { margin-left: 260px; min-height: 100vh; }
.admin-topbar { background: white; padding: 0 32px; height: 64px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e8e8e8; position: sticky; top: 0; z-index: 50; }
.admin-topbar-title { font-family: var(--font-condensed); font-size: 18px; font-weight: 700; }
.admin-content { padding: 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 32px; }
.stat-card { background: white; border-radius: 10px; padding: 24px; border: 1px solid #e8e8e8; }
.stat-card-label { font-family: var(--font-condensed); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); margin-bottom: 8px; }
.stat-card-value { font-family: var(--font-display); font-size: 36px; color: var(--primary); }
.stat-card-sub { font-size: 13px; color: var(--gray); margin-top: 4px; }
.stat-card-icon { float: right; width: 44px; height: 44px; background: rgba(200,153,42,0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.stat-card-icon svg { width: 22px; height: 22px; color: var(--secondary); }
.admin-table { width: 100%; border-collapse: collapse; background: white; border-radius: 10px; overflow: hidden; }
.admin-table thead { background: #fafafa; }
.admin-table th { padding: 14px 18px; text-align: left; font-family: var(--font-condensed); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); border-bottom: 1px solid #e8e8e8; }
.admin-table td { padding: 14px 18px; font-size: 14px; border-bottom: 1px solid #f0f0f0; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafafa; }
.admin-panel { background: white; border-radius: 10px; border: 1px solid #e8e8e8; overflow: hidden; }
.admin-panel-header { padding: 20px 24px; border-bottom: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; }
.admin-panel-title { font-family: var(--font-condensed); font-size: 17px; font-weight: 700; }
.admin-panel-body { padding: 24px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label { font-family: var(--font-condensed); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); display: block; margin-bottom: 8px; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 11px 14px; border: 1px solid #e0e0e0; border-radius: var(--radius); font-size: 14px; outline: none; transition: var(--transition); background: white; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--secondary); }
.form-field textarea { height: 120px; resize: vertical; }
.form-full { grid-column: 1 / -1; }
.img-upload-area { border: 2px dashed #e0e0e0; border-radius: 8px; padding: 32px; text-align: center; cursor: pointer; transition: var(--transition); }
.img-upload-area:hover { border-color: var(--secondary); background: rgba(200,153,42,0.03); }
.img-preview-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; margin-top: 12px; }
.img-preview-item { position: relative; height: 90px; border-radius: 6px; overflow: hidden; }
.img-preview-item img { width: 100%; height: 100%; object-fit: cover; }
.img-preview-remove { position: absolute; top: 4px; right: 4px; background: rgba(0,0,0,0.7); color: white; border: none; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-family: var(--font-condensed); font-size: 12px; font-weight: 600; }
.badge-success { background: rgba(34,197,94,0.1); color: var(--success); }
.badge-warning { background: rgba(234,179,8,0.1); color: #ca8a04; }
.badge-info { background: rgba(59,130,246,0.1); color: #3b82f6; }
.badge-danger { background: rgba(239,68,68,0.1); color: var(--danger); }
.alert { padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-bottom: 16px; }
.alert-success { background: rgba(34,197,94,0.1); color: var(--success); border: 1px solid rgba(34,197,94,0.3); }
.alert-danger { background: rgba(239,68,68,0.1); color: var(--danger); border: 1px solid rgba(239,68,68,0.3); }
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal { background: white; border-radius: 12px; width: 100%; max-width: 680px; max-height: 90vh; overflow-y: auto; }
.modal-header { padding: 20px 24px; border-bottom: 1px solid #e8e8e8; display: flex; justify-content: space-between; align-items: center; }
.modal-title { font-family: var(--font-condensed); font-size: 18px; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; background: var(--light); display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; }
.modal-body { padding: 24px; }
.modal-footer { padding: 16px 24px; border-top: 1px solid #e8e8e8; display: flex; justify-content: flex-end; gap: 12px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .inventory-layout { grid-template-columns: 1fr; }
  .filters-sidebar { position: static; }
  .vehicle-detail-layout { grid-template-columns: 1fr; }
  .contact-card { position: static; }
  .admin-sidebar { width: 220px; }
  .admin-main { margin-left: 220px; }
}
@media (max-width: 900px) {
  .promo-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-image-area { display: none; }
  .hero-title { font-size: clamp(44px, 10vw, 72px); }
}
@media (max-width: 768px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: block; }
  .topbar-info { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .admin-main { margin-left: 0; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .gallery-main { height: 280px; }
  .calc-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .tracking-form { flex-direction: column; }
}
@media (max-width: 540px) {
  .section-pad { padding: 48px 0; }
  .vehicles-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-stats { gap: 24px; }
  .search-form { grid-template-columns: 1fr; }
}
