
/* Trident Auto — minimal, clean, responsive */
:root {
  --accent: #ffd700;
  --brand: #0057b7;
  --brand-dark: #004799;
  --text: #1a1a1a;
  --muted: #6b7280;
  --bg: #ffffff;
  --surface: #f6f7fb;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; color: var(--text); background: var(--bg); }

.container { width: min(1200px, 92%); margin: 0 auto; }
.topbar { background: var(--surface); border-bottom: 1px solid #e5e7eb; }
.topbar .wrap { display:flex; align-items:center; justify-content:space-between; gap:16px; padding: 10px 0; }
.brand { display:flex; align-items:center; gap:12px; text-decoration:none; color: inherit; }
.brand img { height: 40px; width:auto; }
.brand span { font-weight: 800; font-size: 1.25rem; }

nav a { text-decoration:none; color:#111; margin: 0 10px; padding:10px 12px; border-radius:8px; }
nav a:hover, nav a.active { background:#e7f0ff; color: var(--brand); }

.lang-switch { display:flex; gap:6px; align-items:center; }
.lang-switch button { border:1px solid #e5e7eb; background:white; padding:6px 10px; border-radius:8px; cursor:pointer; }
.lang-switch button.active { border-color: var(--brand); color: var(--brand); }

.hero { background: linear-gradient(180deg, #f8fbff, #ffffff); border-bottom:1px solid #eef2f7; }
.hero .wrap { display:grid; grid-template-columns: 1.2fr 1fr; gap: 24px; padding: 48px 0; }
.hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 10px 0; }
.hero p { color: var(--muted); margin: 0 0 18px 0; }
.hero .cta { display:flex; gap:12px; }
.btn { display:inline-block; background: var(--brand); color:white; padding:12px 16px; border-radius:10px; text-decoration:none; box-shadow: var(--shadow); }
.btn:hover { background: var(--brand-dark); }
.btn.alt { background: var(--accent); color:#111; }
.card { background:white; border:1px solid #eef2f7; border-radius: var(--radius); box-shadow: var(--shadow); }

.grid { display:grid; grid-template-columns: repeat(12, 1fr); gap:20px; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-12 { grid-column: span 12; }

.vehicle { overflow:hidden; display:flex; flex-direction:column; }
.vehicle img { width:100%; height:200px; object-fit:cover; }
.vehicle .body { padding:12px; display:flex; flex-direction:column; gap:6px; }
.vehicle .title { font-weight:700; }
.vehicle .meta { color: var(--muted); font-size: .95rem; }
.price { font-size:1.1rem; font-weight:800; color:#111; }

.filters { display:flex; flex-wrap:wrap; gap:12px; padding:16px; align-items:center; }
.filters select, .filters input { padding:10px; border:1px solid #e5e7eb; border-radius:10px; }
.filters .chip { background:#eef2ff; padding:8px 12px; border-radius:20px; }

footer { background: var(--surface); border-top: 1px solid #e5e7eb; margin-top:40px; }
footer .wrap { padding: 24px 0; display:grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items:center; }
small { color: var(--muted); }

/* Detail */
.detail-hero { display:grid; grid-template-columns: 1fr 1fr; gap:20px; padding:28px; }
.gallery { overflow:hidden; border-radius: var(--radius); }
.gallery img { width:100%; height:100%; object-fit:cover; }
.badges { display:flex; gap:8px; flex-wrap:wrap; }
.badges .badge { background:#f1f5f9; padding:6px 10px; border-radius:8px; font-size:.9rem; }

/* Forms */
form { display:grid; gap:12px; }
input, textarea { width:100%; padding:12px; border:1px solid #e5e7eb; border-radius:10px; }
label { font-size:.95rem; color:#374151; }
.form-actions { display:flex; gap:10px; }
.alert { background:#fef3c7; border:1px solid #fde68a; padding:12px; border-radius:10px; }

/* Responsive */
@media (max-width: 900px) {
  .hero .wrap, .detail-hero { grid-template-columns: 1fr; }
  nav { display:none; }
}

.btn.alt:hover { filter: brightness(0.95); }
