/* ==========================================================================
   En Yakın Nakliyeci — Tasarım Sistemi
   Özel CSS (Bootstrap değil). Mobil öncelikli, erişilebilir, reduced-motion.
   ========================================================================== */

:root {
    /* Marka renkleri */
    --antrasit: #14181D;
    --lacivert: #172232;
    --lacivert-2: #1E2C40;
    --sari: #F2C230;
    --sari-koyu: #E4AE12;
    --turuncu: #E98A15;
    --turuncu-koyu: #CF7708;
    --gri-acik: #F4F6F8;
    --gri-cizgi: #E3E8ED;
    --beyaz: #FFFFFF;
    --metin: #1D252D;
    --metin-2: #5D6873;
    --basari: #258A51;
    --hata: #C5404D;

    /* Semantik */
    --bg: var(--beyaz);
    --bg-soft: var(--gri-acik);
    --fg: var(--metin);
    --fg-muted: var(--metin-2);
    --accent: var(--turuncu);
    --accent-2: var(--sari);

    /* Tipografi */
    --font-sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --fs-300: 0.875rem;
    --fs-400: 1rem;
    --fs-500: 1.125rem;
    --fs-600: 1.375rem;
    --fs-700: 1.75rem;
    --fs-800: 2.25rem;
    --fs-900: clamp(2.25rem, 5vw + 1rem, 3.75rem);

    /* Boşluk / yarıçap */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 3rem;
    --sp-8: 4rem;
    --sp-9: 6rem;
    --radius: 14px;
    --radius-sm: 9px;
    --radius-lg: 22px;
    --shadow: 0 6px 24px rgba(20, 24, 29, 0.08);
    --shadow-lg: 0 18px 50px rgba(20, 24, 29, 0.16);
    --ring: 0 0 0 3px rgba(233, 138, 21, 0.35);

    --container: 1180px;
    --header-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-400);
    line-height: 1.6;
    color: var(--fg);
    background: var(--bg);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--turuncu-koyu); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 var(--sp-3); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: var(--fs-900); }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-600); }
p { margin: 0 0 var(--sp-4); }

/* Erişilebilir focus */
:focus-visible {
    outline: none;
    box-shadow: var(--ring);
    border-radius: var(--radius-sm);
}

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 1000;
    background: var(--antrasit); color: #fff; padding: var(--sp-3) var(--sp-4);
}
.skip-link:focus { left: var(--sp-3); top: var(--sp-3); }

/* Konteyner */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-4); }

/* Bölüm */
.section { padding-block: var(--sp-8); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--antrasit); color: #E8ECF1; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--navy { background: linear-gradient(160deg, var(--lacivert), var(--antrasit)); color: #E8ECF1; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section__head { max-width: 720px; margin-bottom: var(--sp-6); }
.section__eyebrow {
    display: inline-block; font-size: var(--fs-300); font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--turuncu-koyu); margin-bottom: var(--sp-2);
}
.section--dark .section__eyebrow, .section--navy .section__eyebrow { color: var(--sari); }
.lead { font-size: var(--fs-500); color: var(--fg-muted); }
.section--dark .lead, .section--navy .lead { color: #AEB8C4; }

/* Butonlar */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
    font-weight: 700; font-size: var(--fs-400); line-height: 1;
    padding: 0.9rem 1.4rem; border-radius: var(--radius-sm); border: 2px solid transparent;
    cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    text-decoration: none; min-height: 48px; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--turuncu); color: #fff; box-shadow: 0 8px 20px rgba(233,138,21,.35); }
.btn--primary:hover { background: var(--turuncu-koyu); color: #fff; }
.btn--accent { background: var(--sari); color: var(--antrasit); }
.btn--accent:hover { background: var(--sari-koyu); }
.btn--whatsapp { background: #25D366; color: #fff; }
.btn--whatsapp:hover { background: #1EB457; color: #fff; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--light { background: #fff; color: var(--antrasit); }
.btn--block { width: 100%; }
.btn--lg { font-size: var(--fs-500); padding: 1.05rem 1.75rem; min-height: 56px; }
.btn--sm { padding: 0.55rem 0.9rem; min-height: 40px; font-size: var(--fs-300); }
.btn--icon { padding: 0.5rem 0.7rem; min-height: 40px; font-size: 1.1rem; line-height: 1; }

/* Rozet / etiket */
.badge {
    display: inline-flex; align-items: center; gap: var(--sp-1);
    font-size: var(--fs-300); font-weight: 700; padding: 0.3rem 0.7rem; border-radius: 999px;
    background: rgba(233,138,21,.12); color: var(--turuncu-koyu);
}
.badge--soft { background: rgba(255,255,255,.1); color: #fff; }

/* Grid yardımcıları */
.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Kart */
.card {
    background: #fff; border: 1px solid var(--gri-cizgi); border-radius: var(--radius);
    padding: var(--sp-5); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
    width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
    background: rgba(233,138,21,.12); color: var(--turuncu-koyu); margin-bottom: var(--sp-3);
    font-size: 1.5rem;
}
.card h3 { font-size: var(--fs-600); margin-bottom: var(--sp-2); }
.card p { color: var(--fg-muted); margin-bottom: var(--sp-3); }
.card__link { font-weight: 700; color: var(--turuncu-koyu); }

/* ---------------- Üst iletişim çubuğu ---------------- */
.topbar {
    background: var(--antrasit); color: #C9D2DC; font-size: var(--fs-300);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: 40px; }
.topbar a { color: #E8ECF1; }
.topbar__contact { display: flex; gap: var(--sp-5); align-items: center; flex-wrap: wrap; }
.topbar__social { display: flex; gap: var(--sp-3); }
@media (max-width: 720px) { .topbar { display: none; } }

/* ---------------- Header / Nav ---------------- */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--gri-cizgi); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: var(--sp-2); font-weight: 800; font-size: var(--fs-500); color: var(--antrasit); letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo__mark {
    width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--turuncu), var(--sari)); color: #fff; font-size: 1.2rem;
}
.logo__mark svg { width: 22px; height: 22px; }

.nav { display: flex; align-items: center; gap: var(--sp-2); }
.nav__list { display: flex; list-style: none; margin: 0; padding: 0; gap: var(--sp-1); }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex; align-items: center; gap: 4px; padding: 0.6rem 0.8rem; border-radius: var(--radius-sm);
    color: var(--metin); font-weight: 600; font-size: var(--fs-400);
}
.nav__link:hover { background: var(--gri-acik); text-decoration: none; color: var(--turuncu-koyu); }
.nav__item--has-children > .nav__link::after { content: "▾"; font-size: .7em; opacity: .6; }
.nav__dropdown {
    position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff;
    border: 1px solid var(--gri-cizgi); border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: var(--sp-2); opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s; z-index: 50;
}
.nav__item--has-children:hover .nav__dropdown,
.nav__item--has-children:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a { display: block; padding: 0.55rem 0.7rem; border-radius: var(--radius-sm); color: var(--metin); font-weight: 500; }
.nav__dropdown a:hover { background: var(--gri-acik); color: var(--turuncu-koyu); text-decoration: none; }

.header__cta { display: flex; align-items: center; gap: var(--sp-2); }
.nav-toggle {
    display: none; width: 46px; height: 46px; border: 1px solid var(--gri-cizgi); background: #fff;
    border-radius: var(--radius-sm); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: ""; display: block; width: 22px; height: 2px; background: var(--antrasit); position: relative; transition: .2s;
}
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 992px) {
    .nav-toggle { display: inline-flex; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 auto; width: min(360px, 85vw);
        background: #fff; flex-direction: column; align-items: stretch; gap: 0;
        padding: var(--sp-4); box-shadow: var(--shadow-lg); transform: translateX(100%);
        transition: transform .25s ease; overflow-y: auto; border-left: 1px solid var(--gri-cizgi);
    }
    .nav.is-open { transform: translateX(0); }
    .nav__list { flex-direction: column; gap: 0; }
    .nav__dropdown {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
        border: none; padding-left: var(--sp-4); display: none;
    }
    .nav__item--has-children.is-expanded .nav__dropdown { display: block; }
    .header__cta .btn--nav-hide { display: none; }
}

/* ---------------- Hero ---------------- */
.hero {
    position: relative; background: radial-gradient(1200px 600px at 80% -10%, rgba(233,138,21,.18), transparent 60%),
        linear-gradient(160deg, var(--antrasit) 0%, var(--lacivert) 100%);
    color: #EAF0F6; overflow: hidden;
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-7); align-items: center; padding-block: var(--sp-8); }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: var(--sp-6); } }
.hero__title { font-size: var(--fs-900); color: #fff; margin-bottom: var(--sp-4); }
.hero__title .hl { color: var(--sari); display: block; }
.hero__title .hl2 { color: var(--turuncu); }
.hero__sub { font-size: var(--fs-500); color: #B9C4D1; max-width: 46ch; margin-bottom: var(--sp-5); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-5); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--sp-4); font-size: var(--fs-300); color: #9FACBB; }
.hero__trust span { display: inline-flex; align-items: center; gap: 6px; }

/* Bölge seçim formu (hero sağ) */
.geo-card {
    background: rgba(255,255,255,.06); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-lg); padding: var(--sp-5);
}
.geo-card h2 { font-size: var(--fs-600); color: #fff; }
.geo-card .field { margin-bottom: var(--sp-3); }
.geo-card label { display: block; font-size: var(--fs-300); font-weight: 600; margin-bottom: 4px; color: #C9D4E0; }
.geo-btn-loc {
    width: 100%; margin-bottom: var(--sp-4); background: rgba(242,194,48,.14); color: var(--sari);
    border: 1px dashed rgba(242,194,48,.5);
}
.geo-btn-loc:hover { background: rgba(242,194,48,.22); }

/* Form elemanları */
.input, .select, .textarea {
    width: 100%; padding: 0.8rem 0.9rem; border-radius: var(--radius-sm); border: 1px solid var(--gri-cizgi);
    background: #fff; color: var(--metin); font-size: var(--fs-400); font-family: inherit; min-height: 48px;
}
.geo-card .input, .geo-card .select { background: rgba(255,255,255,.95); }
.textarea { min-height: 120px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--turuncu); box-shadow: var(--ring); }
.field-error { color: var(--hata); font-size: var(--fs-300); margin-top: 4px; }
.field-hint { color: var(--fg-muted); font-size: var(--fs-300); margin-top: 4px; }

/* ---------------- Araç kartları ---------------- */
.vehicle-cards { margin-top: calc(-1 * var(--sp-7)); position: relative; z-index: 5; }
.vehicle { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--gri-cizgi); display: flex; flex-direction: column; }
.vehicle__top { padding: var(--sp-5); background: linear-gradient(135deg, var(--lacivert), var(--antrasit)); color: #fff; }
.vehicle--m .vehicle__top { background: linear-gradient(135deg, #243449, var(--lacivert)); }
.vehicle--l .vehicle__top { background: linear-gradient(135deg, var(--turuncu-koyu), #8a4e06); }
.vehicle__size { font-size: var(--fs-300); text-transform: uppercase; letter-spacing: .08em; color: var(--sari); font-weight: 700; }
.vehicle__name { font-size: var(--fs-700); color: #fff; margin: var(--sp-1) 0 0; }
.vehicle__body { padding: var(--sp-5); flex: 1; }
.vehicle__list { list-style: none; margin: 0 0 var(--sp-4); padding: 0; }
.vehicle__list li { padding: 0.4rem 0 0.4rem 1.6rem; position: relative; color: var(--metin); border-bottom: 1px dashed var(--gri-cizgi); }
.vehicle__list li:last-child { border-bottom: none; }
.vehicle__list li::before { content: "✓"; position: absolute; left: 0; color: var(--basari); font-weight: 800; }

/* İstatistik / güven şeridi (gerçek, doğrulanmış değerler; sahte sayaç yok) */
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); }
@media (max-width: 720px) { .trust-strip { grid-template-columns: repeat(2, 1fr); } }
.trust-item { text-align: center; padding: var(--sp-4); }
.trust-item .t { font-size: var(--fs-700); font-weight: 800; color: var(--sari); }
.trust-item .d { font-size: var(--fs-300); color: #AEB8C4; }

/* Süreç adımları */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 3.5rem; }
.step::before {
    counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0;
    width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--turuncu); color: #fff;
    display: grid; place-items: center; font-weight: 800;
}

/* Semt / ilçe rozet ızgarası */
.chip-grid { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.chip {
    display: inline-flex; align-items: center; padding: 0.5rem 0.9rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--gri-cizgi); font-weight: 600; font-size: var(--fs-300); color: var(--metin);
}
.chip:hover { border-color: var(--turuncu); color: var(--turuncu-koyu); text-decoration: none; }
.section--dark .chip, .section--navy .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #E8ECF1; }

/* SSS akordeon */
.faq { border: 1px solid var(--gri-cizgi); border-radius: var(--radius); overflow: hidden; background: #fff; }
.faq__item + .faq__item { border-top: 1px solid var(--gri-cizgi); }
.faq__q { width: 100%; text-align: left; background: none; border: none; padding: var(--sp-4) var(--sp-5); font-size: var(--fs-500); font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; gap: var(--sp-3); align-items: center; color: var(--metin); }
.faq__q:hover { color: var(--turuncu-koyu); }
.faq__q .ic { transition: transform .2s; color: var(--turuncu); font-size: 1.4rem; line-height: 1; }
.faq__item.is-open .faq__q .ic { transform: rotate(45deg); }
.faq__a { padding: 0 var(--sp-5); max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; color: var(--fg-muted); }
.faq__item.is-open .faq__a { padding: 0 var(--sp-5) var(--sp-5); max-height: 600px; }

/* Breadcrumb */
.breadcrumb { padding-block: var(--sp-3); font-size: var(--fs-300); color: var(--fg-muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; }
.breadcrumb li::after { content: "›"; margin-left: var(--sp-2); color: var(--gri-cizgi); }
.breadcrumb li:last-child::after { content: ""; }

/* Yüzen mobil iletişim çubuğu */
.mobile-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; display: none;
    grid-template-columns: 1fr 1fr; gap: 1px; background: var(--gri-cizgi);
    box-shadow: 0 -6px 20px rgba(0,0,0,.12);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0.6rem; background: #fff; font-size: var(--fs-300); font-weight: 700; color: var(--metin); }
.mobile-bar a.call { background: var(--turuncu); color: #fff; }
.mobile-bar a.wa { background: #25D366; color: #fff; }
@media (max-width: 720px) { .mobile-bar { display: grid; } body { padding-bottom: 64px; } }

/* ---------------- Footer ---------------- */
.footer { background: var(--antrasit); color: #AEB8C4; padding-block: var(--sp-8) var(--sp-5); }
.footer a { color: #C9D2DC; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: var(--sp-6); margin-bottom: var(--sp-6); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: var(--fs-400); text-transform: uppercase; letter-spacing: .06em; margin-bottom: var(--sp-4); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: var(--sp-2); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: var(--sp-5); display: flex; justify-content: space-between; gap: var(--sp-4); flex-wrap: wrap; font-size: var(--fs-300); }

/* Uyarı kutuları / flash */
.alert { padding: var(--sp-4); border-radius: var(--radius-sm); margin-bottom: var(--sp-4); border: 1px solid transparent; }
.alert--success { background: rgba(37,138,81,.1); border-color: rgba(37,138,81,.3); color: #1b6e40; }
.alert--error { background: rgba(197,64,77,.08); border-color: rgba(197,64,77,.3); color: #a12f3b; }
.alert--info { background: rgba(233,138,21,.08); border-color: rgba(233,138,21,.3); color: var(--turuncu-koyu); }

/* İçerik (makale) tipografisi */
.prose { max-width: 760px; }
.prose h2 { margin-top: var(--sp-6); font-size: var(--fs-700); }
.prose h3 { margin-top: var(--sp-5); font-size: var(--fs-600); }
.prose ul, .prose ol { margin: 0 0 var(--sp-4); padding-left: 1.4rem; }
.prose li { margin-bottom: var(--sp-2); }
.prose a { color: var(--turuncu-koyu); text-decoration: underline; }

/* Yardımcılar */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: var(--sp-4); }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.cta-band { background: linear-gradient(120deg, var(--turuncu), var(--sari)); color: var(--antrasit); border-radius: var(--radius-lg); padding: var(--sp-7); }
.cta-band h2 { color: var(--antrasit); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
