/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-dark: #0a0e1a;
  --bg-surface: #131825;
  --bg-surface-hover: #1a2235;
  --bg-elevated: #1e2839;
  --gold: #c9a84c;
  --gold-light: #e0c878;
  --gold-dark: #a88c3a;
  --text-primary: #e8e8e8;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --border: #1e2a3a;
  --border-light: #2a3a4e;
  --green: #10b981;
  --red: #ef4444;
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s ease;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: 'Playfair Display', serif; font-weight: 700; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-dark { background: var(--bg-surface); }
.section-cta { background: var(--bg-surface); }
.section-features { background: var(--bg-dark); }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.section-title { font-size: 2rem; color: var(--text-primary); }
.section-link { color: var(--gold); font-weight: 600; font-size: 0.95rem; }
.section-link:hover { color: var(--gold-light); }
.main-content { min-height: calc(100vh - 200px); }

/* ========== BUTTONS ========== */
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-dark);
  padding: 12px 28px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  text-align: center;
}
.btn-gold:hover { background: var(--gold-light); color: var(--bg-dark); transform: translateY(-1px); }
.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold);
  padding: 12px 28px;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  text-align: center;
}
.btn-outline:hover { background: var(--gold); color: var(--bg-dark); }
.btn-full { width: 100%; display: block; }
.btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff; padding: 12px 20px; border-radius: var(--radius);
  font-weight: 600; transition: var(--transition); width: 100%; margin-bottom: 10px;
}
.btn-whatsapp:hover { background: #1da851; color: #fff; }
.btn-phone {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--bg-elevated); color: var(--gold); padding: 12px 20px; border-radius: var(--radius);
  font-weight: 600; transition: var(--transition); width: 100%; border: 1px solid var(--gold);
}
.btn-phone:hover { background: var(--gold); color: var(--bg-dark); }

/* ========== NAVBAR ========== */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(10, 14, 26, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.navbar { padding: 0; }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 800; color: var(--text-primary); }
.logo:hover .logo-text { color: var(--gold); }
.nav-menu { list-style: none; display: flex; gap: 8px; align-items: center; }
.nav-menu a { padding: 8px 16px; border-radius: var(--radius); color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); background: var(--bg-surface); }
.nav-admin { color: var(--gold) !important; border: 1px solid var(--gold) !important; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gold); border-radius: 2px; transition: var(--transition); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== FLASH ========== */
.flash { padding: 12px 20px; margin: 0; text-align: center; font-weight: 500; font-size: 0.9rem; }
.flash-success { background: rgba(16, 185, 129, 0.15); color: var(--green); border-bottom: 1px solid rgba(16, 185, 129, 0.3); }
.flash-error { background: rgba(239, 68, 68, 0.15); color: var(--red); border-bottom: 1px solid rgba(239, 68, 68, 0.3); }
.flash-info { background: rgba(201, 168, 76, 0.15); color: var(--gold); border-bottom: 1px solid rgba(201, 168, 76, 0.3); }

/* ========== HERO ========== */
.hero { position: relative; min-height: 520px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0a0e1a 0%, #131825 50%, #1a2235 100%); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at top right, rgba(201, 168, 76, 0.08), transparent 50%); }
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; padding: 60px 20px; }
.hero-title { font-size: 3rem; color: var(--text-primary); margin-bottom: 16px; }
.hero-title::after { content: ''; display: block; width: 60px; height: 3px; background: var(--gold); margin: 16px auto 0; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 32px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-search { display: flex; gap: 10px; max-width: 600px; margin: 0 auto; flex-wrap: wrap; }
.search-input { flex: 1; min-width: 200px; }
.search-field { width: 100%; padding: 14px 20px; background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius); color: var(--text-primary); font-size: 1rem; outline: none; transition: var(--transition); }
.search-field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1); }
.hero-quick-links { margin-top: 24px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.quick-link { padding: 6px 16px; background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: 20px; font-size: 0.85rem; color: var(--text-secondary); }
.quick-link:hover { border-color: var(--gold); color: var(--gold); }

/* ========== STATS ========== */
.stats-section { padding: 40px 0; background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { text-align: center; padding: 20px; }
.stat-number { display: block; font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 800; color: var(--gold); }
.stat-label { color: var(--text-secondary); font-size: 0.95rem; }

/* ========== CAR CARDS ========== */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.car-card { background: var(--bg-surface); border-radius: var(--radius-lg); overflow: hidden; transition: var(--transition); border: 1px solid var(--border); }
.car-card:hover { transform: translateY(-4px); border-color: var(--gold-dark); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.car-card-link { display: block; }
.car-card-image { position: relative; aspect-ratio: 4/3; background: var(--bg-dark); overflow: hidden; }
.car-card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.car-card:hover .car-card-image img { transform: scale(1.05); }
.car-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--bg-dark); }
.car-placeholder span { color: var(--text-muted); font-size: 0.9rem; }
.badge-featured, .badge-sold { position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; }
.badge-featured { background: var(--gold); color: var(--bg-dark); }
.badge-sold { background: var(--red); color: #fff; }
.car-card-body { padding: 18px; }
.car-card-title { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; color: var(--text-primary); }
.car-card-year { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 12px; }
.car-card-price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.price-naira { font-size: 1.25rem; font-weight: 700; color: var(--gold); }
.price-usd { font-size: 0.9rem; color: var(--text-muted); }
.car-card-meta { font-size: 0.8rem; color: var(--text-secondary); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.car-meta-dot { color: var(--border-light); }

/* ========== CAR DETAIL ========== */
.detail-hero { background: var(--bg-surface); padding: 20px 0; border-bottom: 1px solid var(--border); }
.breadcrumb { font-size: 0.85rem; color: var(--text-secondary); display: flex; gap: 8px; align-items: center; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--text-muted); }
.detail-section { padding: 40px 0; }
.detail-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: start; }
.detail-gallery { margin-bottom: 24px; }
.gallery-main { aspect-ratio: 16/10; background: var(--bg-surface); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.gallery-placeholder p { color: var(--text-muted); }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { width: 90px; height: 68px; object-fit: cover; border-radius: var(--radius); border: 2px solid transparent; cursor: pointer; transition: var(--transition); }
.thumb.active, .thumb:hover { border-color: var(--gold); }
.detail-header { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.detail-title { font-size: 1.8rem; color: var(--text-primary); }
.detail-subtitle { color: var(--text-secondary); font-size: 0.95rem; margin-top: 4px; }
.detail-price-box { text-align: right; }
.price-naira-large { display: block; font-size: 1.6rem; font-weight: 700; color: var(--gold); }
.price-usd-large { font-size: 1rem; color: var(--text-muted); }
.detail-description { margin-bottom: 24px; }
.detail-description h3, .detail-specs h3, .detail-features h3 { font-size: 1.2rem; margin-bottom: 12px; color: var(--text-primary); padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.detail-description p { color: var(--text-secondary); line-height: 1.8; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.specs-table td:nth-child(odd) { color: var(--text-muted); width: 20%; }
.features-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.feature-item { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--bg-surface); border-radius: var(--radius); border: 1px solid var(--border); font-size: 0.9rem; }
.detail-sidebar { position: sticky; top: 80px; }
.contact-box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.contact-box h3 { font-size: 1.2rem; margin-bottom: 8px; }
.contact-price { font-size: 1.3rem; font-weight: 700; color: var(--gold); margin-bottom: 16px; }
.contact-price span { font-size: 0.9rem; color: var(--text-muted); }
.contact-buttons { margin-bottom: 20px; }
.inquiry-form h4 { font-size: 1rem; margin-bottom: 12px; color: var(--text-primary); }
.form-group { margin-bottom: 12px; }
.form-control { width: 100%; padding: 10px 14px; background: var(--bg-dark); border: 1px solid var(--border-light); border-radius: var(--radius); color: var(--text-primary); font-size: 0.9rem; outline: none; transition: var(--transition); font-family: inherit; }
.form-control:focus { border-color: var(--gold); }
.form-control-sm { padding: 6px 10px; font-size: 0.8rem; }
.inquiry-msg { margin-top: 10px; font-size: 0.85rem; text-align: center; }
.inquiry-msg.success { color: var(--green); }
.inquiry-msg.error { color: var(--red); }
.car-meta-box { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.meta-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.85rem; }
.meta-row span:first-child { color: var(--text-muted); }
.status-available { color: var(--green); }
.status-sold { color: var(--red); }
.status-reserved { color: var(--gold); }

/* ========== CARS LISTING ========== */
.page-banner { background: var(--bg-surface); padding: 32px 0; border-bottom: 1px solid var(--border); }
.page-title { font-size: 2rem; color: var(--text-primary); }
.page-subtitle { color: var(--text-secondary); margin-top: 4px; }
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; }
.filter-sidebar { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; position: sticky; top: 80px; }
.filter-form .filter-group { margin-bottom: 14px; }
.filter-form label { display: block; font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 4px; font-weight: 500; }
.filter-input { width: 100%; padding: 8px 12px; background: var(--bg-dark); border: 1px solid var(--border-light); border-radius: var(--radius); color: var(--text-primary); font-size: 0.85rem; outline: none; }
.filter-input:focus { border-color: var(--gold); }
.filter-buttons { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.filter-buttons .btn-gold, .filter-buttons .btn-outline { padding: 10px; font-size: 0.85rem; }

/* ========== PAGINATION ========== */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.page-btn { padding: 8px 14px; background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius); color: var(--text-secondary); font-size: 0.85rem; cursor: pointer; transition: var(--transition); }
.page-btn:hover { border-color: var(--gold); color: var(--gold); }
.page-btn.active { background: var(--gold); color: var(--bg-dark); border-color: var(--gold); }
.page-dots { padding: 8px 6px; color: var(--text-muted); }

/* ========== EMPTY STATE ========== */
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 8px; }
.empty-state p { color: var(--text-secondary); margin-bottom: 20px; }

/* ========== FEATURES SECTION ========== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card { text-align: center; padding: 32px 20px; background: var(--bg-surface); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: var(--transition); }
.feature-card:hover { border-color: var(--gold-dark); transform: translateY(-4px); }
.feature-icon { display: flex; justify-content: center; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ========== CTA ========== */
.cta-box { text-align: center; padding: 48px 20px; background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-elevated) 100%); border-radius: var(--radius-lg); border: 1px solid var(--border-light); }
.cta-box h2 { font-size: 1.8rem; margin-bottom: 12px; }
.cta-box p { color: var(--text-secondary); margin-bottom: 24px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ========== ABOUT ========== */
.about-content { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: start; }
.about-content > .about-text > p { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.8; margin-bottom: 32px; }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.value-card { padding: 24px; background: var(--bg-surface); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.value-card h3 { font-size: 1.1rem; color: var(--gold); margin-bottom: 8px; }
.value-card p { color: var(--text-secondary); font-size: 0.9rem; }
.about-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-circle { text-align: center; padding: 24px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: 50%; aspect-ratio: 1; display: flex; flex-direction: column; justify-content: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: var(--gold); }
.stat-lbl { font-size: 0.85rem; color: var(--text-secondary); }

/* ========== CONTACT ========== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info h2 { font-size: 1.5rem; margin-bottom: 8px; }
.contact-info > p { color: var(--text-secondary); margin-bottom: 28px; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method { display: flex; align-items: center; gap: 16px; }
.contact-icon { width: 48px; height: 48px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method h4 { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 2px; }
.contact-form-box { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.contact-form-box h2 { font-size: 1.3rem; margin-bottom: 20px; }
.contact-form label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 4px; }
.contact-form .form-group { margin-bottom: 16px; }

/* ========== FOOTER ========== */
.site-footer { background: var(--bg-surface); border-top: 1px solid var(--border); padding: 48px 0 0; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo span { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 800; }
.footer-desc { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.footer-section h4 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text-primary); margin-bottom: 14px; }
.footer-section ul { list-style: none; }
.footer-section li { margin-bottom: 8px; }
.footer-section a { color: var(--text-secondary); font-size: 0.9rem; }
.footer-section a:hover { color: var(--gold); }
.contact-list li { display: flex; flex-direction: column; gap: 4px; }
.benefits-list li { color: var(--text-secondary); font-size: 0.9rem; padding: 4px 0; position: relative; padding-left: 16px; }
.benefits-list li::before { content: '✦'; color: var(--gold); position: absolute; left: 0; }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px; text-align: center; color: var(--text-muted); font-size: 0.85rem; margin-top: 32px; }

/* ========== ERROR PAGES ========== */
.error-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg-dark); }
.error-content { text-align: center; }
.error-code { font-family: 'Playfair Display', serif; font-size: 6rem; font-weight: 800; color: var(--gold); }
.error-title { font-size: 1.5rem; margin-bottom: 8px; }
.error-text { color: var(--text-secondary); margin-bottom: 24px; }

/* ========== LOGIN PAGE ========== */
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-surface) 100%); }
.login-box { background: var(--bg-surface); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 400px; }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo h1 { font-family: 'Playfair Display', serif; font-size: 1.5rem; margin-top: 12px; }
.login-logo p { color: var(--gold); font-size: 0.9rem; }
.login-form { margin-bottom: 20px; }
.login-form label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 4px; }
.login-back { display: block; text-align: center; color: var(--text-muted); font-size: 0.85rem; }
.login-back:hover { color: var(--gold); }

/* ========== ADMIN ========== */
.admin-body { background: var(--bg-dark); }
.admin-wrapper { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--bg-surface); border-right: 1px solid var(--border); position: fixed; top: 0; bottom: 0; left: 0; z-index: 100; display: flex; flex-direction: column; padding: 20px 0; }
.admin-logo { display: flex; align-items: center; gap: 10px; padding: 0 20px 24px; border-bottom: 1px solid var(--border); }
.admin-logo span { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; }
.admin-nav { flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 16px 12px; }
.admin-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius); color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.admin-nav a:hover { background: var(--bg-surface-hover); color: var(--gold); }
.admin-nav a.active { background: var(--bg-elevated); color: var(--gold); }
.admin-nav-divider { height: 1px; background: var(--border); margin: 12px 0; }
.admin-nav-external, .admin-nav-logout { color: var(--text-muted) !important; }
.admin-nav-logout:hover { color: var(--red) !important; }
.admin-main { flex: 1; margin-left: 240px; display: flex; flex-direction: column; min-height: 100vh; }
.admin-topbar { background: var(--bg-surface); border-bottom: 1px solid var(--border); padding: 0 24px; height: 60px; display: flex; align-items: center; gap: 16px; position: sticky; top: 0; z-index: 99; }
.admin-page-title { font-family: 'Inter', 'Noto Sans SC', sans-serif; font-size: 1.2rem; font-weight: 600; text-transform: capitalize; }
.sidebar-toggle { background: none; border: none; color: var(--gold); font-size: 1.3rem; cursor: pointer; display: none; }
.lang-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--gold); border-radius: 20px; color: var(--gold); font-size: 0.85rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: all 0.2s; }
.lang-toggle:hover { background: var(--gold); color: var(--bg-dark); }
.admin-nav a, .admin-table, .form-section-title, .form-hint, .stat-sub, .status-select { font-family: 'Inter', 'Noto Sans SC', sans-serif; }
.admin-content .btn-gold, .admin-content .btn-outline, .admin-content label { font-family: 'Inter', 'Noto Sans SC', sans-serif; }
.admin-content { padding: 24px; flex: 1; }

/* Admin Stats */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-bottom: 24px; }
.stat-card-admin { display: flex; gap: 16px; background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; }
.stat-icon { width: 48px; height: 48px; background: var(--bg-dark); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.stat-value { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--text-primary); }
.stat-label-admin { display: block; color: var(--text-secondary); font-size: 0.85rem; }
.stat-sub { display: block; color: var(--text-muted); font-size: 0.75rem; margin-top: 2px; }

/* Admin Grid */
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-panel { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.panel-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.panel-header h2 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; }
.panel-link { color: var(--gold); font-size: 0.85rem; }
.panel-body { padding: 16px 20px; }

/* Admin Tables */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 10px 12px; font-size: 0.8rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; border-bottom: 1px solid var(--border); }
.admin-table td { padding: 12px; font-size: 0.85rem; border-bottom: 1px solid var(--border); }
.admin-table tr:hover td { background: var(--bg-surface-hover); }
.admin-table-full th, .admin-table-full td { white-space: nowrap; }
.td-image img, .thumb-small { width: 50px; height: 38px; object-fit: cover; border-radius: 4px; }
.thumb-placeholder { width: 50px; height: 38px; background: var(--bg-elevated); border-radius: 4px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; font-size: 0.85rem; }
.td-actions { display: flex; gap: 4px; }
.action-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: var(--bg-dark); border: 1px solid var(--border-light); border-radius: var(--radius); color: var(--text-secondary); cursor: pointer; transition: var(--transition); padding: 0; }
.action-btn:hover { border-color: var(--gold); color: var(--gold); }
.action-delete:hover { border-color: var(--red); color: var(--red); }
.inline-form { display: inline; }
.status-select { padding: 4px 8px; background: var(--bg-dark); border: 1px solid var(--border-light); border-radius: 4px; color: var(--text-primary); font-size: 0.8rem; cursor: pointer; outline: none; }
.status-badge { padding: 3px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 500; text-transform: capitalize; }
.status-badge.status-new { background: rgba(201, 168, 76, 0.15); color: var(--gold); }
.status-badge.status-read { background: rgba(156, 163, 175, 0.15); color: var(--text-secondary); }
.status-badge.status-responded { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.status-badge.status-closed { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.status-badge.status-available { background: rgba(16, 185, 129, 0.15); color: var(--green); }
.status-badge.status-sold { background: rgba(239, 68, 68, 0.15); color: var(--red); }
.status-badge.status-reserved { background: rgba(201, 168, 76, 0.15); color: var(--gold); }

/* Recent Cars */
.recent-cars-list { display: flex; flex-direction: column; gap: 10px; }
.recent-car-item { display: flex; align-items: center; gap: 12px; padding: 8px; background: var(--bg-dark); border-radius: var(--radius); }
.recent-car-img { width: 50px; height: 38px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: var(--bg-elevated); }
.recent-car-img img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; }
.recent-car-info { flex: 1; display: flex; flex-direction: column; }
.recent-car-name { font-size: 0.85rem; font-weight: 600; }
.recent-car-meta { font-size: 0.75rem; color: var(--text-secondary); }
.empty-text { color: var(--text-muted); text-align: center; padding: 20px; }
.empty-state-admin { text-align: center; padding: 40px 20px; }
.empty-state-admin p { color: var(--text-secondary); margin-bottom: 16px; }
.admin-actions { margin-bottom: 20px; }

/* Forms */
.form-grid { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
.form-section { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.form-section-title { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 4px; font-weight: 500; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.checkbox-label { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 0.9rem; }
.checkbox-label input { width: 18px; height: 18px; accent-color: var(--gold); }
.features-checkboxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.feature-checkbox { display: flex; align-items: center; gap: 6px; padding: 6px 10px; background: var(--bg-dark); border: 1px solid var(--border); border-radius: var(--radius); cursor: pointer; font-size: 0.85rem; transition: var(--transition); }
.feature-checkbox:hover { border-color: var(--gold-dark); }
.feature-checkbox input { accent-color: var(--gold); }
.feature-checkbox input:checked + span { color: var(--gold); }
.existing-images { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.existing-img-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.existing-img-card img { width: 100%; height: 100px; object-fit: cover; }
.existing-img-actions { padding: 8px; display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
.radio-primary input, .checkbox-delete input { accent-color: var(--gold); }
.upload-area { border: 2px dashed var(--border-light); border-radius: var(--radius); padding: 32px; text-align: center; cursor: pointer; transition: var(--transition); }
.upload-area:hover, .upload-area.dragover { border-color: var(--gold); background: rgba(201, 168, 76, 0.05); }
.upload-prompt { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.upload-prompt p { color: var(--gold); font-weight: 600; }
.upload-prompt span { color: var(--text-muted); font-size: 0.8rem; }
.image-preview-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.image-preview-list img { width: 80px; height: 60px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.form-actions { display: flex; gap: 12px; margin-top: 24px; padding-bottom: 24px; }
.settings-grid { display: flex; flex-direction: column; gap: 24px; max-width: 800px; }
.settings-section { background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.td-message { max-width: 200px; overflow: hidden; text-overflow: ellipsis; }
.link-phone { color: var(--gold); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .footer-container { grid-template-columns: 1fr 1fr; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .about-content { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--bg-dark); border-bottom: 1px solid var(--border); padding: 16px; gap: 4px; }
  .nav-menu.active { display: flex; }
  .nav-toggle { display: flex; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-layout { grid-template-columns: 1fr; }
  .filter-sidebar { position: static; }
  .form-row { grid-template-columns: 1fr; }
  .cars-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .admin-sidebar { transform: translateX(-100%); transition: var(--transition); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .sidebar-toggle { display: block; }
  .detail-header { flex-direction: column; }
  .detail-price-box { text-align: left; }
  .cta-buttons { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 1.6rem; }
  .section { padding: 40px 0; }
  .stats-grid { grid-template-columns: 1fr; }
  .car-card-body { padding: 14px; }
  .login-box { padding: 24px; }
  .admin-content { padding: 16px; }
  .form-section { padding: 16px; }
}
