/* KargoTakip — el yazımı stil dosyası */
:root {
    --kt-red: #e30a17;
    --kt-red-dark: #b40611;
    --kt-red-soft: #fdecec;
    --ink: #1c2128;
    --ink-soft: #55606e;
    --line: #e6e8ec;
    --bg: #ffffff;
    --bg-soft: #f5f6f8;
    --bg-alt: #f0f2f5;
    --radius: 14px;
    --shadow: 0 6px 24px rgba(28, 33, 40, 0.08);
    --shadow-sm: 0 2px 8px rgba(28, 33, 40, 0.06);
    --maxw: 1140px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

.narrow { max-width: 820px; }

a { color: var(--kt-red); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .4em; color: var(--ink); }

.muted { color: var(--ink-soft); }
.small { font-size: .86rem; }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: saturate(160%) blur(8px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand-text strong { color: var(--kt-red); font-weight: 800; }

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--kt-red);
    color: #fff;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 12px;
    border-radius: 8px;
}
.main-nav a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.main-nav .nav-cta {
    color: #fff;
    background: var(--kt-red);
    margin-left: 6px;
}
.main-nav .nav-cta:hover { background: var(--kt-red-dark); color: #fff; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 42px; height: 42px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.nav-toggle span {
    width: 20px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .25s;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .98rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: transform .05s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--kt-red); color: #fff; }
.btn-primary:hover { background: var(--kt-red-dark); color: #fff; }
.btn-outline { background: #fff; color: var(--kt-red); border-color: var(--kt-red); }
.btn-outline:hover { background: var(--kt-red-soft); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    background:
        radial-gradient(1200px 400px at 90% -10%, var(--kt-red-soft), transparent 60%),
        linear-gradient(180deg, #fff, var(--bg-soft));
    padding: 56px 0 64px;
    border-bottom: 1px solid var(--line);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 44px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--kt-red);
    background: var(--kt-red-soft);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; }
.hero h1 span { color: var(--kt-red); display: block; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; }

.track-form { margin: 26px 0 10px; }
.track-row {
    display: flex;
    gap: 10px;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}
.track-row input {
    flex: 1;
    border: 0;
    outline: none;
    padding: 12px 14px;
    font-size: 1rem;
    border-radius: 10px;
    min-width: 0;
    color: var(--ink);
    background: transparent;
}
.track-row input:focus { background: var(--bg-soft); }
.hint { display: block; margin-top: 8px; color: var(--ink-soft); font-size: .84rem; }

.track-result {
    margin-top: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--kt-red);
    border-radius: 12px;
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
}
.track-result h3 { margin: 0 0 4px; font-size: 1.05rem; }
.track-result .code { font-family: ui-monospace, "SF Mono", Menlo, monospace; color: var(--kt-red-dark); font-weight: 700; }
.track-timeline { list-style: none; margin: 14px 0 0; padding: 0; }
.track-timeline li {
    position: relative;
    padding: 0 0 16px 24px;
    color: var(--ink-soft);
    border-left: 2px solid var(--line);
    margin-left: 6px;
}
.track-timeline li:last-child { padding-bottom: 0; }
.track-timeline li::before {
    content: "";
    position: absolute;
    left: -7px; top: 3px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--line);
    border: 2px solid #fff;
}
.track-timeline li.done::before { background: #16a34a; }
.track-timeline li.active::before { background: var(--kt-red); box-shadow: 0 0 0 4px var(--kt-red-soft); }
.track-timeline li strong { color: var(--ink); display: block; }
.track-timeline time { font-size: .82rem; }

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 0;
    margin: 18px 0 0;
    color: var(--ink-soft);
    font-size: .92rem;
}

.hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    box-shadow: var(--shadow);
}
.mini-map .route {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}
.route .dot {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-size: .82rem;
    font-weight: 600;
    white-space: nowrap;
}
.route .dot.origin { color: var(--kt-red); border-color: var(--kt-red); }
.route .line { flex: 1; height: 2px; background: var(--kt-red); }
.route .line.dashed { background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.route .truck { font-size: 1.4rem; }
.mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    text-align: center;
}
.mini-stats div {
    background: var(--bg-soft);
    border-radius: 12px;
    padding: 14px 8px;
}
.mini-stats strong { display: block; font-size: 1.15rem; color: var(--kt-red); }
.mini-stats span { font-size: .76rem; color: var(--ink-soft); }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
.section-head p { color: var(--ink-soft); font-size: 1.05rem; margin: 0; }

/* Steps */
.steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}
.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.step-no {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: var(--kt-red-soft);
    color: var(--kt-red);
    font-weight: 800;
    margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Regions */
.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.region-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.region-card h3 { font-size: 1.1rem; }
.region-card p { margin: 0 0 12px; color: var(--ink-soft); font-size: .93rem; }
.badge {
    display: inline-block;
    font-size: .76rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--bg-alt);
    color: var(--ink-soft);
}
.badge.fast { background: var(--kt-red); color: #fff; }

/* Prices */
.price-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: stretch;
}
.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
}
.price-card.featured {
    border-color: var(--kt-red);
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}
.ribbon {
    position: absolute;
    top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--kt-red);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; }
.price {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--ink);
    margin: 6px 0 18px;
}
.price span { font-size: 1.3rem; vertical-align: super; color: var(--kt-red); }
.price small { font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    flex: 1;
}
.price-card li {
    padding: 8px 0 8px 26px;
    position: relative;
    color: var(--ink-soft);
    border-top: 1px solid var(--line);
    font-size: .93rem;
}
.price-card li:first-child { border-top: 0; }
.price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--kt-red);
    font-weight: 800;
}

/* Two column panels */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
}
.panel h2 { font-size: 1.4rem; }

/* Forms */
.form { margin-top: 18px; }
.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--ink);
}
.field input, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--ink);
    background: var(--bg-soft);
    outline: none;
    transition: border .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
    border-color: var(--kt-red);
    box-shadow: 0 0 0 3px var(--kt-red-soft);
    background: #fff;
}
.field textarea { resize: vertical; }
.field-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    font-size: .9rem;
}
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-soft); }
.link-small { font-size: .9rem; }
.form-note {
    margin: 14px 0 0;
    font-size: .9rem;
    min-height: 1.2em;
}
.form-note.error { color: var(--kt-red-dark); }
.form-note.ok { color: #15803d; }

/* FAQ */
.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 4px 20px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}
.faq summary {
    cursor: pointer;
    font-weight: 600;
    padding: 16px 0;
    list-style: none;
    position: relative;
    padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    position: absolute;
    right: 4px; top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--kt-red);
    font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
    background: #14171c;
    color: #b9c0cb;
    padding-top: 52px;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.3fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
}
.footer-brand .brand-text { color: #fff; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col p { color: #99a2b0; font-size: .92rem; }
.footer-col address { font-style: normal; color: #b9c0cb; font-size: .92rem; line-height: 1.9; }
.footer-col address a { color: #dfe4ea; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: #b9c0cb; font-size: .92rem; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 18px 0; }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: .84rem;
    color: #8b94a3;
}
.footer-legal a { color: #b9c0cb; }
.footer-legal a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-card { order: -1; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .region-grid { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; }
    .price-card.featured { transform: none; }
    .two-col { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 68px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: #fff;
        border-bottom: 1px solid var(--line);
        padding: 12px 16px 18px;
        box-shadow: var(--shadow);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 14px; }
    .main-nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

@media (max-width: 540px) {
    .steps, .region-grid { grid-template-columns: 1fr; }
    .mini-stats { grid-template-columns: repeat(3, 1fr); }
    .track-row { flex-direction: column; }
    .track-row .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { justify-content: flex-start; }
}
