/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; color: #333; line-height: 1.6; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== Variables ===== */
:root {
    --primary: #0a3d62;
    --accent: #f39c12;
    --light: #f4f6f8;
    --gray: #e8e8e8;
    --dark: #1a1a2e;
    --danger: #e74c3c;
    --success: #27ae60;
    --text: #333;
    --text-light: #666;
    --radius: 8px;
    --shadow: 0 2px 12px rgba(0,0,0,0.1);
}

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== Header ===== */
#header {
    background: var(--primary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
#header .container { display: flex; align-items: center; justify-content: space-between; }
.logo a { color: white; font-size: 22px; font-weight: bold; display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 28px; }
.logo-text { letter-spacing: 1px; }
.logo .accent { color: var(--accent); }
nav ul { display: flex; gap: 30px; }
nav a { color: rgba(255,255,255,0.85); font-size: 15px; transition: color 0.2s; }
nav a:hover { color: var(--accent); }
.lang-switch { display: flex; gap: 5px; }
.lang-btn { background: rgba(255,255,255,0.15); color: white; border: 1px solid rgba(255,255,255,0.3); padding: 5px 12px; border-radius: 5px; cursor: pointer; font-size: 13px; transition: all 0.2s; }
.lang-btn.active { background: var(--accent); border-color: var(--accent); }
.lang-btn:hover { background: rgba(255,255,255,0.25); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 500px; display: flex; align-items: center; background: linear-gradient(135deg, #0a3d62 0%, #1a5a8a 50%, #0a3d62 100%); color: white; overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(10,61,98,0.5); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 60px 20px; }
.hero h1 { font-size: 42px; margin-bottom: 15px; line-height: 1.3; }
.hero p { font-size: 20px; margin-bottom: 30px; opacity: 0.9; }
.hero-btns { display: flex; gap: 15px; justify-content: center; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; justify-content: center; }
.stat { text-align: center; }
.stat-num { display: block; font-size: 36px; font-weight: bold; color: var(--accent); }
.stat span:last-child { font-size: 14px; opacity: 0.8; }

/* ===== Buttons ===== */
.btn-primary { background: var(--accent); color: white; padding: 12px 30px; border-radius: var(--radius); font-weight: 600; display: inline-block; border: 2px solid var(--accent); transition: all 0.3s; cursor: pointer; }
.btn-primary:hover { background: #e08e0b; border-color: #e08e0b; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: white; padding: 12px 30px; border-radius: var(--radius); font-weight: 600; display: inline-block; border: 2px solid white; transition: all 0.3s; cursor: pointer; }
.btn-secondary:hover { background: white; color: var(--primary); }
.btn-large { width: 100%; padding: 16px; font-size: 18px; }

/* ===== Sections ===== */
.section { padding: 70px 0; }
.section-gray { background: var(--light); }
.section-title { text-align: center; font-size: 32px; color: var(--primary); margin-bottom: 10px; }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 16px; margin-bottom: 50px; }

/* ===== Category Cards ===== */
.category-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.category-card { background: white; padding: 35px 25px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid var(--gray); }
.category-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); border-color: var(--accent); }
.cat-icon { font-size: 48px; margin-bottom: 15px; }
.category-card h3 { color: var(--primary); margin-bottom: 10px; font-size: 18px; }
.category-card p { color: var(--text-light); font-size: 14px; margin-bottom: 15px; }
.cat-link { color: var(--accent); font-weight: 600; font-size: 14px; }

/* ===== Vehicle Grid ===== */
.filter-bar { display: flex; gap: 15px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-select, .filter-input { padding: 10px 15px; border: 1px solid var(--gray); border-radius: var(--radius); font-size: 14px; background: white; }
.filter-select { min-width: 180px; }
.filter-input { flex: 1; min-width: 200px; }
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.vehicle-card { background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: all 0.3s; border: 1px solid var(--gray); }
.vehicle-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.vehicle-img { width: 100%; height: 220px; background: linear-gradient(135deg, #e0e0e0, #f5f5f5); display: flex; align-items: center; justify-content: center; font-size: 64px; }
.vehicle-body { padding: 20px; }
.vehicle-tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.tag-in-stock { background: #e8f5e9; color: var(--success); }
.tag-available { background: #fff3e0; color: var(--accent); }
.tag-sold { background: #ffebee; color: var(--danger); }
.vehicle-title { font-size: 18px; font-weight: bold; color: var(--primary); margin-bottom: 8px; }
.vehicle-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.spec-badge { background: var(--light); padding: 3px 8px; border-radius: 4px; font-size: 12px; color: var(--text-light); }
.vehicle-price { font-size: 20px; font-weight: bold; color: var(--accent); margin-bottom: 12px; }
.vehicle-actions { display: flex; gap: 10px; }
.vehicle-actions a { padding: 8px 15px; border-radius: 5px; font-size: 14px; font-weight: 600; }
.btn-detail { background: var(--primary); color: white; flex: 1; text-align: center; }
.btn-quote { background: var(--accent); color: white; flex: 1; text-align: center; }

/* ===== Certifications ===== */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
.cert-card { background: white; padding: 30px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); border: 1px solid var(--gray); }
.cert-badge { width: 80px; height: 80px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 16px; margin: 0 auto 15px; }
.cert-card h3 { color: var(--primary); margin-bottom: 8px; font-size: 16px; }
.cert-card p { color: var(--text-light); font-size: 14px; }

/* ===== Logistics Flow ===== */
.logistics-flow { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.log-step { flex: 1; min-width: 180px; max-width: 220px; background: white; padding: 25px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); position: relative; }
.log-num { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; margin: 0 auto 15px; }
.log-step h3 { color: var(--primary); margin-bottom: 8px; font-size: 16px; }
.log-step p { color: var(--text-light); font-size: 13px; }

/* ===== Inquiry Form ===== */
.inquiry-form-wrap { max-width: 800px; margin: 0 auto; }
.inquiry-form { background: white; padding: 40px; border-radius: var(--radius); box-shadow: var(--shadow); }
.form-row { display: flex; gap: 20px; margin-bottom: 20px; }
.form-group { flex: 1; }
.form-group { margin-bottom: 20px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary); font-size: 14px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid var(--gray); border-radius: 5px; font-size: 14px; transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(243,156,18,0.1); }

/* ===== Footer ===== */
#contact { background: var(--dark); color: white; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-bottom: 30px; }
.footer-col h3 { margin-bottom: 15px; font-size: 18px; color: var(--accent); }
.footer-col p { margin-bottom: 8px; opacity: 0.8; font-size: 14px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); opacity: 0.6; font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    nav { display: none; }
    .hero h1 { font-size: 28px; }
    .hero p { font-size: 16px; }
    .hero-stats { flex-direction: column; gap: 20px; }
    .hero-btns { flex-direction: column; }
    .form-row { flex-direction: column; gap: 0; }
    .filter-bar { flex-direction: column; }
    .section-title { font-size: 24px; }
    .inquiry-form { padding: 25px; }
}
