/*
 * Önder Vinç - Modern Responsive CSS Framework
 * Aydınlık Tema (Varsayılan) & Karanlık Tema Desteği
 */

:root {
    --primary: #dc2626;
    --primary-hover: #b91c1c;
    --primary-light: #fee2e2;
    --bg-page: #f8fafc;
    --bg-card: #ffffff;
    --bg-card-hover: #f1f5f9;
    --bg-input: #ffffff;
    --border: #e2e8f0;
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --accent-amber: #b45309;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --radius: 16px;
    --radius-lg: 24px;
    --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Karanlık Tema */
html.dark {
    --primary: #ef4444;
    --primary-hover: #dc2626;
    --primary-light: #450a0a;
    --bg-page: #020617;
    --bg-card: #0f172a;
    --bg-card-hover: #1e293b;
    --bg-input: #0b1120;
    --border: #1e293b;
    --text-heading: #f8fafc;
    --text-body: #cbd5e1;
    --text-muted: #94a3b8;
    --accent-amber: #fbbf24;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { 
    scroll-behavior: smooth; 
    scroll-padding-top: 155px;
    font-family: 'Barlow', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    font-size: 16px; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body { 
    background: var(--bg-page); 
    color: var(--text-body); 
    line-height: 1.7; 
    transition: background-color var(--transition), color var(--transition); 
    overflow-x: hidden; 
}

/* Başlıklar: Ortalanmış, güçlü hiyerarşi */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow', sans-serif;
    letter-spacing: -0.02em;
    color: var(--text-heading);
}

/* Metin İki Yana Yaslama (Justify) Standardı - Site Genelinde */
p, 
.card-body p, 
.service-card p, 
.district-card p, 
.modal-card p, 
.blog-card p, 
.vehicle-card p,
.feature-box p,
.hero-content p,
.quick-inquiry-card p,
.about-content p,
article p, 
.article-content p, 
.text-justify, 
.text-justify-tr {
    text-align: justify !important;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    line-height: 1.7;
}

/* Utilities */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.text-red { color: var(--primary); }
.text-green { color: #16a34a; }
.text-center { text-align: center !important; }
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 14px; border-radius: 9999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap !important; }
.badge-red { background: var(--primary-light); color: var(--primary); border: 1px solid var(--primary); }
.section-header { text-align: center; max-width: 760px; margin: 0 auto 50px; display: flex; flex-direction: column; align-items: center; }
.section-header .badge { margin-bottom: 12px; }
.section-header h2 { font-size: 36px; font-weight: 900; color: var(--text-heading); letter-spacing: -0.5px; margin: 8px 0 16px; text-align: center; }
.section-header p { color: var(--text-muted); font-size: 16px; text-align: justify !important; text-justify: inter-word; max-width: 650px; line-height: 1.7; margin: 0 auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; border: none; transition: var(--transition); }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 10px 20px -5px rgba(220, 38, 38, 0.4); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); }
.btn-secondary { background: var(--bg-card); color: var(--text-heading); border: 1.5px solid #94a3b8 !important; font-weight: 700; }
.btn-secondary:hover { background: var(--bg-card-hover); border-color: var(--primary) !important; color: var(--primary) !important; }
html.dark .btn-secondary { border: 1.5px solid #64748b !important; }
html.dark .btn-secondary:hover { border-color: var(--primary) !important; color: var(--primary) !important; }
.btn-whatsapp { background: #16a34a; color: white; }
.btn-whatsapp:hover { background: #15803d; transform: translateY(-2px); }
.btn-phone-outline {
    border: 2px solid #dc2626 !important;
    color: var(--text-heading) !important;
    background: var(--bg-card) !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.18);
    transition: all var(--transition);
}
.btn-phone-outline:hover {
    border-color: #b91c1c !important;
    background: rgba(220, 38, 38, 0.08) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(220, 38, 38, 0.28);
}

/* Header */
.site-header { position: sticky; top: 0; left: 0; right: 0; z-index: 1000; width: 100%; transition: var(--transition); }
.top-bar { background: #0b1120; color: #94a3b8; font-size: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.top-left, .top-right { display: flex; align-items: center; gap: 18px; }
.contact-link, .whatsapp-link { color: #f8fafc; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.contact-link:hover { color: #f59e0b; }
.whatsapp-link { color: #4ade80; }
.badge-247 { background: rgba(34, 197, 94, 0.15); color: #4ade80; padding: 2px 8px; border-radius: 6px; font-weight: bold; border: 1px solid rgba(34, 197, 94, 0.3); }

.main-nav { background: var(--bg-card); border-bottom: 1px solid var(--border); padding: 12px 0; backdrop-blur: 8px; transition: var(--transition); box-shadow: var(--shadow); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.brand-logo { display: inline-flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand-logo img { height: 48px; max-height: 52px; width: auto; object-fit: contain; display: block; transition: opacity 0.2s ease; }

/* Anında Tema Logo Geçişi (Sayfa Yenilemeden 0ms) */
.brand-logo .logo-dark { display: none !important; }
.brand-logo .logo-light { display: block !important; }
html.dark .brand-logo .logo-light,
html[data-theme="dark"] .brand-logo .logo-light { display: none !important; }
html.dark .brand-logo .logo-dark,
html[data-theme="dark"] .brand-logo .logo-dark { display: block !important; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { color: var(--text-body); text-decoration: none; font-weight: 700; font-size: 13.5px; padding: 7px 11px; border-radius: 10px; transition: var(--transition); white-space: nowrap; }
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle-btn { background: var(--bg-card-hover); border: 1px solid var(--border); color: var(--text-heading); width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.theme-toggle-btn:hover { border-color: var(--primary); color: var(--primary); }
html.light .icon-sun { display: none; }
html.light .icon-moon { display: block; }
html.dark .icon-sun { display: block; color: #f59e0b; }
html.dark .icon-moon { display: none; }
.mobile-menu-btn { display: none; background: transparent; border: none; font-size: 20px; color: var(--text-heading); cursor: pointer; padding: 8px; }

/* Subpage Banner */
.subpage-banner { padding: 45px 0 45px; background: linear-gradient(135deg, rgba(220, 38, 38, 0.08) 0%, rgba(15, 23, 42, 0.04) 100%); border-bottom: 1px solid var(--border); text-align: center; }
.subpage-banner p { text-align: center !important; text-justify: none !important; margin-left: auto !important; margin-right: auto !important; width: 100%; display: block; }
@media (max-width: 768px) { .subpage-banner { padding: 30px 0 30px; } }

/* Hero */
.hero-section { padding: 45px 0 80px; background: var(--bg-page); position: relative; }
@media (max-width: 768px) { .hero-section { padding: 25px 0 50px; } }
.hero-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 50px; align-items: stretch; }
.hero-content h1 { font-size: 52px; font-weight: 900; color: var(--text-heading); line-height: 1.15; margin: 15px 0 20px; }
.hero-content p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; }
.hero-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 35px; }
.feature-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--text-heading); }
.feature-item i { color: #16a34a; font-size: 16px; }

.quick-inquiry-card { 
    background: var(--bg-card); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-lg); 
    padding: 35px; 
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}
.quick-inquiry-card form {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.quick-inquiry-card form button[type="submit"] {
    margin-top: auto;
}
.inquiry-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.inquiry-header h3 { font-size: 20px; font-weight: 800; color: var(--text-heading); }

/* Form Elements & Universal Input Styles */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 0; } }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.form-select, .form-input, .form-textarea,
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-heading);
    outline: none;
    transition: var(--transition);
    box-sizing: border-box;
}
.form-select:focus, .form-input:focus, .form-textarea:focus,
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15); }

/* Stats Bar */
.stats-bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); text-align: center; }
.stat-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 10px; box-shadow: var(--shadow); }
.stat-value { font-size: 36px; font-weight: 900; color: var(--primary); }
.stat-label { font-size: 13px; font-weight: 700; color: var(--text-heading); margin-top: 4px; }

/* Core Capabilities Section Header Centering */
.core-capabilities-section h2,
.core-capabilities-section .container > div:first-child p {
    text-align: center !important;
    text-justify: none !important;
}

/* Fleet Section */
.fleet-section { padding: 90px 0; background: var(--bg-card); border-top: 1px solid var(--border); }
.fleet-filters { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; margin-bottom: 40px; width: 100%; }
.filter-tabs { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; justify-content: center !important; align-items: center !important; width: 100% !important; margin: 0 auto !important; }
.tab-btn { background: var(--bg-card) !important; border: 1.5px solid #94a3b8 !important; color: var(--text-heading) !important; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 13px; cursor: pointer; transition: var(--transition); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); }
.tab-btn:hover { border-color: var(--primary) !important; color: var(--primary) !important; background: var(--primary-light) !important; }
.tab-btn.active { background: var(--primary) !important; color: #ffffff !important; border-color: var(--primary) !important; box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35); }
html.dark .tab-btn { background: var(--bg-card) !important; border: 1.5px solid #64748b !important; color: var(--text-heading) !important; }
html.dark .tab-btn:hover { border-color: var(--primary) !important; color: #ffffff !important; background: rgba(239, 68, 68, 0.15) !important; }
html.dark .tab-btn.active { background: var(--primary) !important; color: #ffffff !important; border-color: var(--primary) !important; }
.search-box { position: relative; width: 280px; }
.search-box input { width: 100%; padding: 10px 14px 10px 38px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-page); color: var(--text-heading); font-size: 13px; outline: none; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

.cap-spec { font-size: 12.5px; font-weight: 700; color: var(--accent-amber); transition: color var(--transition); }

.fleet-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 30px; }
.vehicle-card { background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: var(--transition); box-shadow: var(--shadow); height: 100%; min-height: 590px; }
.vehicle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-img-wrap { 
    position: relative; 
    aspect-ratio: 800 / 530; 
    width: 100%; 
    height: auto; 
    min-height: 220px;
    overflow: hidden; 
    background: linear-gradient(180deg, #fafbfc 0%, #edf2f7 100%); 
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-img-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.card-img-wrap img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain; 
    transition: transform 0.4s ease; 
    display: block;
}
.vehicle-card:hover .card-img-wrap img { transform: scale(1.03); }
.card-badge { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    background: var(--primary); 
    color: white; 
    padding: 4px 10px; 
    border-radius: 8px; 
    font-size: 11px; 
    font-weight: 800; 
    text-transform: uppercase; 
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    line-height: 1.3;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.card-tag { position: absolute; bottom: 12px; left: 12px; background: rgba(15, 23, 42, 0.9); color: #facc15; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1); }
.card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; justify-content: flex-start; }

/* Çizgi 1 Kilit: Başlık Alanı - 1 ve 2 Satırlık Başlıkları Eşit Dikey Alanda Ortalama */
.card-title-wrap { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    margin-bottom: 12px; 
    width: 100%; 
    height: 56px;
    min-height: 56px;
    max-height: 56px;
}
.card-title-wrap.has-cat-pill,
.card-title-wrap:has(.cat-pill) {
    height: 84px;
    min-height: 84px;
    max-height: 84px;
}
.card-title-wrap h3, .card-body h3 { 
    font-size: 18px; 
    font-weight: 800; 
    color: var(--text-heading); 
    margin-bottom: 4px; 
    text-align: center !important; 
    height: 54px; 
    min-height: 54px; 
    max-height: 54px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    line-height: 1.35; 
    width: 100%; 
    overflow: hidden;
}
.card-title-wrap h3 a, .card-body h3 a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}
.cat-pill { height: 22px; line-height: 22px; padding: 0 10px; margin: 0 auto; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; border-radius: 6px; background: rgba(220, 38, 38, 0.1); color: var(--primary); }

/* Çizgi 2 Kilit: Açıklama Paragrafı - Sabit Yükseklik ve İki Yana Yaslama */
.card-desc { 
    font-size: 13px; 
    color: var(--text-muted); 
    margin-bottom: 16px; 
    height: 92px; 
    min-height: 92px; 
    max-height: 92px; 
    text-align: justify !important; 
    text-justify: inter-word; 
    line-height: 1.55; 
    display: -webkit-box; 
    -webkit-line-clamp: 4; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

/* Çizgi 3 Kilit: Teknik Özellikler Tablo Kutusu */
.specs-grid { 
    display: flex; 
    flex-direction: column; 
    gap: 12px; 
    background: var(--bg-card); 
    padding: 14px; 
    border-radius: 12px; 
    border: 1px solid var(--border); 
    font-size: 12px; 
    margin-bottom: 18px; 
}
.specs-grid.specs-grid-compact {
    height: 118px;
    min-height: 118px;
    max-height: 118px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.specs-grid.specs-grid-compact .specs-metrics-subgrid {
    height: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    align-content: center;
}
.specs-metrics-subgrid { 
    height: 88px;
    min-height: 88px; 
    max-height: 88px;
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 8px 12px; 
    align-content: start; 
    overflow: hidden;
}
.spec-title, .spec-lbl { font-size: 10px; text-transform: uppercase; font-weight: 700; color: var(--text-muted); display: block; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-val { font-weight: 800; color: var(--text-heading); display: block; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-cell { display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.spec-cell.full-width { grid-column: 1 / -1; }
.spec-features-block { 
    height: 154px;
    min-height: 154px; 
    max-height: 154px;
    padding-top: 10px; 
    border-top: 1px dashed var(--border); 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    overflow: hidden;
}
.spec-suited-block { 
    height: 64px;
    min-height: 64px; 
    max-height: 64px;
    padding-top: 10px; 
    border-top: 1px dashed var(--border); 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    overflow: hidden;
}
.spec-suited-block .spec-val {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Çizgi 4 Kilit: Aksiyon Butonları Taban Hizalaması */
.card-footer-actions { 
    margin-top: auto !important; 
    display: flex; 
    gap: 8px; 
    align-items: stretch; 
    height: 44px; 
    min-height: 44px; 
    max-height: 44px; 
    width: 100%;
}
.card-footer-actions .btn-tech-table,
.btn-tech-table {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    height: 44px;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 2px solid #475569 !important; /* Çok belirgin güçlü arduvaz çerçeve */
    color: var(--text-heading) !important;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
[data-theme="dark"] .card-footer-actions .btn-tech-table,
[data-theme="dark"] .btn-tech-table {
    border: 2px solid #94a3b8 !important;
    background: rgba(255, 255, 255, 0.05);
}
.card-footer-actions .btn-tech-table:hover,
.btn-tech-table:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: rgba(220, 38, 38, 0.08) !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(220, 38, 38, 0.2);
}
.card-footer-actions .btn-primary,
.card-footer-actions .select-quote-btn,
.card-footer-actions .select-vehicle-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    height: 44px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    border-radius: var(--radius);
}
.card-footer-actions .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    height: 44px;
    font-size: 17px;
    border-radius: var(--radius);
    white-space: nowrap;
    flex-shrink: 0;
}
.highlight-red { color: var(--primary) !important; font-weight: 900; }

.vehicle-features-list {
    list-style: none;
    margin: 4px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vehicle-features-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-body);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vehicle-features-list li span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.vehicle-features-list li i {
    color: var(--primary);
    font-size: 11px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .vehicle-card {
        min-height: auto !important;
        height: auto !important;
    }
    .card-title-wrap h3,
    .card-body h3 {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }
    .card-desc {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
    }
    .specs-grid,
    .specs-grid.specs-grid-compact,
    .specs-metrics-subgrid,
    .spec-features-block,
    .spec-suited-block {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }
    .card-footer-actions {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
}

/* Regional Coverage Section */
.regions-section { padding: 90px 0; background: var(--bg-page); border-top: 1px solid var(--border); }
.region-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.region-tab-btn { background: var(--bg-card); border: 1px solid var(--border); color: var(--text-heading); padding: 12px 22px; border-radius: var(--radius); font-weight: 800; font-size: 14px; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.region-tab-btn.active { background: var(--primary); color: white; border-color: var(--primary); transform: scale(1.03); }
.region-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); }
.districts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 30px 0; }
.district-card { background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: var(--transition); }
.district-card:hover { border-color: var(--primary); }
.district-card h4 { font-size: 15px; font-weight: 800; color: var(--text-heading); margin-bottom: 4px; }
.district-card p { font-size: 12px; color: var(--text-muted); }

/* Quote Wizard Section */
.wizard-section { padding: 90px 0; background: var(--bg-card); border-top: 1px solid var(--border); }
.wizard-card { max-width: 900px; margin: 0 auto; background: var(--bg-page); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 45px; box-shadow: var(--shadow-lg); }

/* Services Section */
.services-section { padding: 90px 0; background: var(--bg-page); border-top: 1px solid var(--border); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 25px; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; transition: var(--transition); display: flex; flex-direction: column; justify-content: space-between; }
.service-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.service-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 20px !important; }
.service-card h3 { font-size: 19px; font-weight: 800; color: var(--text-heading); margin-bottom: 14px; text-align: center !important; width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: center; line-height: 1.35; }
.service-card p { font-size: 13.5px; color: var(--text-muted); margin-bottom: 16px; min-height: 155px; line-height: 1.6; }
.service-features-wrap, .service-bullets { margin: 15px 0; border-top: 1px solid var(--border); padding-top: 15px; min-height: 120px; list-style: none; padding-left: 0; }
.service-bullets li { font-size: 12px; font-weight: 700; color: var(--text-heading); display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }

/* Blog Section */
.blog-section { padding: 90px 0; background: var(--bg-card); border-top: 1px solid var(--border); }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.blog-card { 
    background: var(--bg-page); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-lg); 
    padding: 24px; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    height: 100%;
    transition: var(--transition); 
}
.blog-card:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.blog-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 11px; 
    color: var(--text-muted); 
    font-weight: 700; 
    margin-bottom: 12px; 
    height: 28px;
    min-height: 28px;
    max-height: 28px;
    width: 100%;
}
.blog-cat { 
    background: rgba(220, 38, 38, 0.1); 
    color: var(--primary); 
    padding: 4px 8px; 
    border-radius: 6px; 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 10px; 
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 175px;
    display: inline-block;
}
.blog-meta > span:last-child {
    white-space: nowrap !important;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
}
.blog-card h3 { 
    font-size: 15px; 
    font-weight: 800; 
    color: var(--text-heading); 
    margin-bottom: 12px; 
    line-height: 1.38; 
    text-align: center !important; 
    height: 108px; 
    min-height: 108px; 
    max-height: 108px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%;
    overflow: hidden;
}
.blog-card h3 a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}
.blog-card p { 
    font-size: 12.5px; 
    color: var(--text-body); 
    margin-bottom: 18px; 
    line-height: 1.6; 
    height: 125px; 
    min-height: 125px; 
    max-height: 125px; 
    text-align: justify !important; 
    text-justify: inter-word; 
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card .btn {
    margin-top: auto !important;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: var(--radius);
    border: 1.5px solid #94a3b8 !important;
    background: var(--bg-card) !important;
    color: var(--text-heading) !important;
    font-weight: 700;
    transition: var(--transition);
}
.blog-card .btn:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: var(--primary-light) !important;
}
html.dark .blog-card .btn {
    border: 1.5px solid #64748b !important;
    background: var(--bg-card) !important;
    color: var(--text-heading) !important;
}
html.dark .blog-card .btn:hover {
    border-color: var(--primary) !important;
    color: #ffffff !important;
    background: rgba(239, 68, 68, 0.15) !important;
}

/* Contact Section */
.contact-section { padding: 90px 0; background: var(--bg-page); border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; }
.contact-info-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 35px; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 15px; border-radius: var(--radius); background: var(--bg-page); border: 1px solid var(--border); margin-bottom: 15px; text-decoration: none; color: inherit; }
.contact-item:hover { border-color: var(--primary); }
.contact-item-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 20px; shrink-0: 0; }

/* Footer */
.site-footer { background: #0f172a; color: #94a3b8; font-size: 13px; border-top: 1px solid #1e293b; }
.footer-top { padding: 70px 0 50px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo img { height: 45px; margin-bottom: 15px; }
.brand-desc { line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 { color: white; font-size: 14px; font-weight: 800; text-transform: uppercase; margin-bottom: 18px; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #cbd5e1; text-decoration: none; transition: 0.2s; }
.footer-col ul a:hover { color: var(--primary); }
.footer-contact-item { margin-bottom: 12px; }
.footer-contact-item .label { font-size: 10px; font-weight: 800; display: block; color: #64748b; }
.footer-contact-item .value { color: white; font-weight: 700; text-decoration: none; font-size: 14px; }
.footer-bottom { background: #090d16; border-top: 1px solid #1e293b; padding: 24px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.footer-links a { color: #94a3b8; text-decoration: none; margin: 0 5px; }
.footer-links a:hover { color: white; }
.admin-link { color: #ef4444 !important; font-weight: bold; }

/* Floating Action Buttons - Modern, Compact & Clean */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    text-decoration: none;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: visible;
}
.float-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}
/* Yukarı Çık Butonu: Aydınlık temada KOYU renk, Karanlık temada AÇIK renk (Tam Tersi Zıt Kontrast) */
.float-top {
    width: 40px;
    height: 40px;
    background: #0f172a !important;
    color: #ffffff !important;
    border: 1px solid #334155 !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.3) !important;
    font-size: 15px;
    display: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.25s ease;
}
.float-top:hover {
    background: #1e293b !important;
    color: #ffffff !important;
}
html.dark .float-top {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.2) !important;
}
html.dark .float-top:hover {
    background: #f1f5f9 !important;
    color: #000000 !important;
}
.float-call {
    background: #dc2626;
    color: white;
}
.float-call:hover {
    background: #b91c1c;
    color: white;
}
.float-wa {
    width: 56px;
    height: 56px;
    background: #25D366;
    font-size: 27px;
    color: white;
}
.float-wa:hover {
    background: #20bd5a;
    color: white;
}
.pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: #25D366;
    opacity: 0.45;
    animation: floatPulse 2s infinite;
    pointer-events: none;
}
@keyframes floatPulse {
    0% { transform: scale(1); opacity: 0.55; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Tooltip on Hover (Desktop Only) */
.float-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: #0f172a;
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.float-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent #0f172a;
}
.float-btn:hover .float-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 16px;
        gap: 10px;
    }
    .float-tooltip {
        display: none !important;
    }
    .float-wa {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .float-call {
        width: 44px;
        height: 44px;
        font-size: 17px;
    }
}

/* Theme Toggle Button & Icon Rules */
.theme-toggle-btn { width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-heading); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; transition: var(--transition); }
.theme-toggle-btn:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-1px); }
.theme-toggle-btn .icon-sun, .float-theme .icon-sun { display: none; color: #f59e0b; }
.theme-toggle-btn .icon-moon, .float-theme .icon-moon { display: inline-block; color: #475569; }
html.dark .theme-toggle-btn .icon-moon, html.dark .float-theme .icon-moon { display: none; }
html.dark .theme-toggle-btn .icon-sun, html.dark .float-theme .icon-sun { display: inline-block; color: #fbbf24; }

/* Modals */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 20px; backdrop-blur: 4px; }
.modal-overlay.active { display: flex; }
.modal-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 35px; max-width: 650px; width: 100%; position: relative; max-height: 85vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-close { position: absolute; top: 15px; right: 15px; font-size: 24px; background: transparent; border: none; color: var(--text-muted); cursor: pointer; }
.modal-card h3 { font-size: 22px; font-weight: 800; color: var(--text-heading); margin-bottom: 15px; }

/* Regional Coverage Headings & Striking Styling */
.regions-title {
    text-align: center !important;
    font-size: 36px;
    font-weight: 900;
    line-height: 1.35;
    margin: 10px auto 16px;
    letter-spacing: -0.5px;
    max-width: 900px;
}
.regions-title span:first-child {
    color: var(--text-heading);
    display: inline-block;
}
.all-turkey-text {
    display: inline-block;
    margin-top: 8px;
    font-size: 46px;
    font-weight: 950;
    background: linear-gradient(135deg, #ff1e1e 0%, #ff8c00 50%, #e11d48 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 14px rgba(239, 68, 68, 0.4));
    letter-spacing: 1px;
    text-transform: uppercase;
}
@media (max-width: 768px) {
    .regions-title { font-size: 26px; }
    .all-turkey-text { font-size: 32px; margin-top: 6px; }
}

/* Contact Page Specific Styles */
.contact-top-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}
@media (max-width: 1024px) {
    .contact-top-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .contact-top-grid { grid-template-columns: 1fr; }
}
.contact-top-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    text-align: center;
}
.contact-top-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}
.contact-top-card.border-red { border-top: 4px solid var(--primary); }
.contact-top-card.border-green { border-top: 4px solid #10b981; }
.contact-top-card.border-blue { border-top: 4px solid #3b82f6; }
.contact-top-card.border-amber { border-top: 4px solid #f59e0b; }

.contact-top-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin: 0 auto 16px;
}
.contact-top-card h3 {
    text-align: center !important;
    width: 100%;
}
.contact-top-card p {
    text-align: center !important;
    width: 100%;
}
.contact-top-card a,
.contact-top-card span {
    text-align: center !important;
    display: block;
    width: 100%;
}
.icon-red { background: rgba(237, 28, 36, 0.1); color: var(--primary); }
.icon-green { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.icon-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-amber { background: rgba(245, 158, 11, 0.1); color: #f59e0b; }

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: stretch;
}
@media (max-width: 960px) {
    .contact-main-grid { grid-template-columns: 1fr; }
}
.contact-hubs-col { display: flex; flex-direction: column; }
.contact-hubs-list { display: flex; flex-direction: column; gap: 16px; }
.contact-hub-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.contact-hub-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.contact-form-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (max-width: 600px) {
    .contact-form-box { padding: 22px 16px; }
}

/* 404 Error Page Styles */
.error-page-section {
    padding: 70px 0 90px;
    text-align: center;
}
.error-code {
    font-size: 130px;
    font-weight: 950;
    line-height: 1;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 50%, #b91c1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 20px rgba(239, 68, 68, 0.3));
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .error-code { font-size: 80px; }
}

/* Responsive Overrides & Navbar Cleanup */
@media (max-width: 1200px) {
    .region-info { display: none !important; }
}
@media (max-width: 1080px) {
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        z-index: 1001;
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; font-size: 15px; border-radius: 8px; width: 100%; }
    .nav-actions .btn-quote { display: none; }
}
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; }
    .quick-inquiry-card { height: auto; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .top-bar { display: none; }
    .hidden-sm { display: none !important; }
    .hero-content h1 { font-size: 30px; line-height: 1.25; }
    .section-header h2 { font-size: 26px; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .btn {
        min-height: 46px;
        padding: 12px 20px;
        font-size: 15px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .modal-card {
        padding: 24px 18px;
        width: 95%;
        margin: 10px auto;
    }
}

/* Blog Styles */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; margin-top: 30px; }
.blog-card { 
    background: var(--bg-card); 
    border: 1px solid var(--border); 
    border-radius: var(--radius-lg); 
    overflow: hidden; 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-start; 
    height: 100%;
    transition: var(--transition); 
    box-shadow: var(--shadow-sm); 
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.blog-img-wrap { height: 180px; min-height: 180px; max-height: 180px; width: 100%; position: relative; overflow: hidden; background: #0f172a; flex-shrink: 0; }
.blog-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.blog-card:hover .blog-img-wrap img { transform: scale(1.05); }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; justify-content: flex-start; flex: 1; }
.blog-meta { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    font-size: 11px; 
    color: var(--text-muted); 
    margin-bottom: 12px; 
    height: 28px;
    min-height: 28px;
    max-height: 28px;
    width: 100%;
}
.blog-cat { 
    background: rgba(220, 38, 38, 0.1); 
    color: var(--primary); 
    padding: 4px 8px; 
    border-radius: 6px; 
    font-weight: 800; 
    text-transform: uppercase; 
    font-size: 10px; 
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 175px;
    display: inline-block;
}
.blog-meta > span:last-child {
    white-space: nowrap !important;
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
}
.blog-card h3,
.blog-card-body h3 { 
    font-size: 15px; 
    font-weight: 800; 
    color: var(--text-heading); 
    margin-bottom: 12px; 
    line-height: 1.38; 
    text-align: center !important; 
    height: 108px; 
    min-height: 108px; 
    max-height: 108px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 100%;
    overflow: hidden;
}
.blog-card h3 a,
.blog-card-body h3 a {
    color: inherit;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}
.blog-card p,
.blog-card-body p { 
    font-size: 12.5px; 
    color: var(--text-body); 
    line-height: 1.6; 
    margin-bottom: 18px; 
    height: 125px; 
    min-height: 125px; 
    max-height: 125px; 
    text-align: justify !important; 
    text-justify: inter-word; 
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-body .btn {
    margin-top: auto !important;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: var(--radius);
    border: 1.5px solid #94a3b8 !important;
    background: var(--bg-card) !important;
    color: var(--text-heading) !important;
    font-weight: 700;
    transition: var(--transition);
}
.blog-card-body .btn:hover {
    border-color: var(--primary) !important;
    color: var(--primary) !important;
    background: var(--primary-light) !important;
}
html.dark .blog-card-body .btn {
    border: 1.5px solid #64748b !important;
    background: var(--bg-card) !important;
    color: var(--text-heading) !important;
}
html.dark .blog-card-body .btn:hover {
    border-color: var(--primary) !important;
    color: #ffffff !important;
    background: rgba(239, 68, 68, 0.15) !important;
}

/* ==============================================================================
   Vehicle Detail & Technical Specifications Styles (001.xlsx Birebir Entegrasyon)
   ============================================================================== */
.vehicle-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 50px;
}

@media (max-width: 992px) {
    .vehicle-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.vehicle-gallery-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vehicle-gallery-viewport {
    width: 100%;
    height: 480px;
    background: radial-gradient(circle at center, rgba(248, 250, 252, 0.95) 0%, rgba(235, 240, 246, 0.7) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    padding: 16px;
}

[data-theme="dark"] .vehicle-gallery-viewport {
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.vehicle-gallery-viewport img {
    max-height: 440px;
    max-width: 95%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 8px;
}

.gallery-thumb-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-thumb-btn {
    background: var(--bg-page);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.gallery-thumb-btn i {
    font-size: 16px;
    color: var(--text-muted);
}

.gallery-thumb-btn strong {
    font-size: 12px;
    color: var(--text-heading);
    line-height: 1.2;
}

.gallery-thumb-btn span {
    font-size: 10.5px;
    color: var(--text-muted);
}

.gallery-thumb-btn:hover {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.05);
}

.gallery-thumb-btn.active {
    border-color: var(--primary);
    background: rgba(220, 38, 38, 0.08);
}

.gallery-thumb-btn.active i,
.gallery-thumb-btn.active strong {
    color: var(--primary);
}

/* Vehicle Key Metrics Grid */
.vehicle-metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 576px) {
    .vehicle-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-lbl {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-val {
    font-size: 22px;
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1.2;
}

.metric-sub {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Technical Specification Table */
.tech-spec-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 50px;
}

.tech-spec-header {
    padding: 24px 30px;
    background: var(--bg-page);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.tech-spec-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tech-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media (max-width: 860px) {
    .tech-spec-grid {
        grid-template-columns: 1fr;
    }
}

.tech-group {
    padding: 24px 30px;
    border-bottom: 1px solid var(--border);
}

.tech-group:nth-child(odd) {
    border-right: 1px solid var(--border);
}

@media (max-width: 860px) {
    .tech-group:nth-child(odd) {
        border-right: none;
    }
}

.tech-group-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(220, 38, 38, 0.2);
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
}

.tech-table tr {
    border-bottom: 1px solid var(--border);
    transition: background 0.15s ease;
}

.tech-table tr:last-child {
    border-bottom: none;
}

.tech-table tr:hover {
    background: rgba(220, 38, 38, 0.03);
}

.tech-table td {
    padding: 10px 6px;
    font-size: 13.5px;
}

.tech-table td.param-name {
    color: var(--text-body);
    font-weight: 500;
    width: 55%;
}

.tech-table td.param-val {
    color: var(--text-heading);
    font-weight: 800;
    text-align: right;
    width: 45%;
}

.btn-tech-table {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    color: var(--text-heading);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-tech-table:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(220, 38, 38, 0.05);
}

/* Dedicated Quote Section (/filo and subpages) */
.quote-section {
    padding: 80px 0;
    background: var(--bg-card);
    position: relative;
}

.quote-container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .quote-container {
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: flex-start;
    }
}

.quote-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.quote-info-top {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quote-info h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-heading);
    line-height: 1.25;
    margin: 8px 0 0 0;
}

.quote-info p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.65;
    margin: 0;
}

.quote-perks {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.perk-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.perk-item:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.perk-item i {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    margin-top: 2px;
}

.perk-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.perk-item strong {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-heading);
}

.perk-item span {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.45;
}

.direct-call-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--bg-page);
    border: 2px dashed var(--primary);
    border-radius: var(--radius-lg);
    margin-top: 8px;
    box-shadow: var(--shadow-sm);
}

.direct-call-box .icon-pulse {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    animation: callPulse 2s infinite;
}

@keyframes callPulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.direct-call-box .call-sub {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.direct-call-box .call-num {
    display: inline-block;
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.direct-call-box .call-num:hover {
    text-decoration: underline;
}

.quote-trust-box {
    margin-top: 16px;
    padding: 16px 20px;
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-trust-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    color: var(--text-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 8px;
}

.quote-trust-header i {
    color: var(--primary);
    font-size: 15px;
}

.quote-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
}

.trust-pill {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-pill i {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.trust-pill div {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.trust-pill strong {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-heading);
}

.trust-pill small {
    font-size: 11px;
    color: var(--text-muted);
}

.quote-form-wrap {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.quote-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-title {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.form-title h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0 0 6px 0;
}

.form-title p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.quote-form .form-actions {
    display: flex;
    gap: 14px;
    margin-top: auto;
    padding-top: 20px;
    flex-wrap: wrap;
}

.quote-form .btn-submit {
    flex: 1;
    min-width: 200px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.quote-form .btn-whatsapp {
    flex: 1;
    min-width: 200px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

@media (max-width: 992px) {
    .quote-info,
    .quote-form-wrap {
        height: auto;
    }
}

@media (max-width: 576px) {
    .quote-trust-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .quote-form-wrap {
        padding: 24px 18px;
    }
    .quote-form .form-actions {
        flex-direction: column;
    }
    .quote-form .btn-submit,
    .quote-form .btn-whatsapp {
        width: 100%;
    }
}

/* ==============================================================================
 * MOBİL VE KÜÇÜK EKRAN UYUMLULUK OPTİMİZASYONLARI (RESPONSIVE ENHANCEMENTS)
 * ============================================================================== */

/* Tabloların Taşmasını Önleme & Akıcı Yatay Kaydırma */
.table-responsive,
.tech-table-wrapper,
.blog-content-body table,
.services-matrix-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 10px;
}

@media (max-width: 768px) {
    /* Filo ve Hizmet Gridlerinin Tek Kolona Dönüşmesi (Taşmaları Önler) */
    .fleet-grid,
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .service-card h3,
    .service-card p,
    .service-features-wrap,
    .service-bullets,
    .blog-card,
    .blog-card h3,
    .blog-card p,
    .blog-card-body h3,
    .blog-card-body p,
    .blog-meta,
    .blog-card .btn,
    .blog-card-body .btn {
        min-height: auto !important;
        height: auto !important;
        max-height: none !important;
    }
    .blog-card p,
    .blog-card-body p,
    .blog-card h3 a,
    .blog-card-body h3 a {
        -webkit-line-clamp: unset !important;
        overflow: visible !important;
    }

    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    /* Filo Filtre Butonlarının Mobilde Yatayda Kaydırılabilir Akıcı Menüye Dönüşmesi */
    .filter-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding-bottom: 10px !important;
        -webkit-overflow-scrolling: touch !important;
        margin-bottom: 15px !important;
    }

    .filter-tabs .tab-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: 12px !important;
        padding: 8px 14px !important;
    }

    /* Alt Sayfa Başlık Alanı Düzenlemesi */
    .subpage-banner {
        padding: 30px 15px 25px !important;
    }

    .subpage-banner h1 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .subpage-banner p {
        font-size: 13.5px !important;
        line-height: 1.6 !important;
    }

    /* Blog Makale Kartı ve İçerik Tipografisi */
    .blog-article-card {
        padding: 22px 16px !important;
        border-radius: 16px !important;
    }

    .blog-article-card h1 {
        font-size: 22px !important;
        line-height: 1.3 !important;
    }

    .blog-content-body h2 {
        font-size: 19px !important;
        margin: 28px 0 12px 0 !important;
        line-height: 1.35 !important;
    }

    .blog-content-body h3 {
        font-size: 16px !important;
        margin: 20px 0 8px 0 !important;
    }

    .blog-content-body p {
        font-size: 14.5px !important;
        line-height: 1.7 !important;
    }

    .blog-callout {
        padding: 14px 16px !important;
        margin: 20px 0 !important;
    }

    .blog-faq-card {
        padding: 14px 16px !important;
        margin-bottom: 12px !important;
    }

    /* Araç Detay Tabloları & Metrikler */
    .metrics-grid-4 {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
    }

    .tech-table td {
        padding: 8px 4px !important;
        font-size: 12.5px !important;
    }
}

@media (max-width: 480px) {
    .metrics-grid-4 {
        grid-template-columns: 1fr !important;
    }

    .subpage-banner h1 {
        font-size: 21px !important;
    }

    .blog-article-card h1 {
        font-size: 20px !important;
    }
}

/* ==============================================================================
   Legal & Corporate Compliance Styles (KVKK, Gizlilik ve Çerez Politikası)
   ============================================================================== */
.legal-page-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 36px;
    align-items: start;
    padding: 50px 0 80px;
}

.legal-sidebar {
    position: sticky;
    top: 135px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    box-shadow: var(--shadow-sm);
}

.legal-sidebar-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.legal-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.legal-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-body);
    border-radius: var(--radius);
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.35;
}

.legal-nav-link:hover,
.legal-nav-link.active {
    background: var(--primary-light);
    color: var(--primary);
}

.legal-nav-num {
    font-size: 11px;
    font-weight: 800;
    color: var(--primary);
    background: rgba(220, 38, 38, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow);
    text-align: justify !important;
    text-justify: inter-word !important;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
    scroll-margin-top: 155px !important;
}

.legal-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.legal-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.legal-section-num {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 15px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-section-header h2 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-heading);
    margin: 0;
    line-height: 1.3;
}

.legal-content p,
.legal-text {
    font-size: 14.5px;
    line-height: 1.8;
    color: var(--text-body);
    text-align: justify !important;
    text-justify: inter-word !important;
    margin-bottom: 16px;
}

.legal-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary);
    margin-bottom: 12px;
}

.legal-callout {
    background: var(--bg-page);
    border-left: 4px solid var(--primary);
    border-radius: 0 10px 10px 0;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--text-body);
    text-align: justify !important;
    text-justify: inter-word !important;
}

.legal-callout p,
.legal-callout div {
    text-align: justify !important;
    text-justify: inter-word !important;
}

.legal-content ul,
.legal-content ol {
    margin: 12px 0 16px 20px;
}

.legal-content ul li,
.legal-content ol li {
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-body);
    text-align: justify !important;
    text-justify: inter-word !important;
    margin-bottom: 8px;
}

.legal-callout.callout-blue {
    border-left-color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.legal-callout.callout-green {
    border-left-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.legal-callout strong {
    color: var(--text-heading);
    display: block;
    margin-bottom: 4px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 13px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.legal-table th {
    background: var(--bg-page);
    color: var(--text-heading);
    font-weight: 800;
    text-align: left;
    padding: 12px 16px;
    border-bottom: 2px solid var(--border);
}

.legal-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text-body);
    vertical-align: top;
    text-align: justify !important;
    text-justify: inter-word !important;
    line-height: 1.65;
}

.legal-table tr:last-child td {
    border-bottom: none;
}

.legal-table tr:hover td {
    background: rgba(220, 38, 38, 0.02);
}

.legal-rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin: 20px 0;
}

.legal-right-box {
    background: var(--bg-page);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.legal-right-box i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 3px;
    flex-shrink: 0;
}

.legal-right-box div,
.legal-right-box span,
.legal-right-box p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-body);
    text-align: justify !important;
    text-justify: inter-word !important;
}

.legal-right-box strong {
    color: var(--text-heading);
    display: block;
    margin-bottom: 3px;
}

.legal-contact-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.06) 0%, rgba(15, 23, 42, 0.04) 100%);
    border: 1px solid rgba(220, 38, 38, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 24px;
}

.legal-contact-card p,
.legal-contact-card div {
    text-align: justify !important;
    text-justify: inter-word !important;
}

@media (max-width: 992px) {
    .legal-page-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 30px 0 60px;
    }
    .legal-sidebar {
        position: static;
        top: auto;
    }
    .legal-content {
        padding: 24px 18px;
    }
}

/* Quote Wizard Success Box Centering */
#quoteSuccessMessage h3,
#quoteSuccessMessage p {
    text-align: center !important;
    text-justify: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
