/*
 * FEHMİ TAŞÇI MOTORLU ARAÇLAR — Sade site tasarımı (site.css)
 */
:root {
    --red: #c8102e;
    --red-dark: #9b0c23;
    --ink: #111827;
    --ink-2: #374151;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #f7f9fb;
    --white: #ffffff;
    --green: #15803d;
    --wa: #25d366;
    --header-h: 108px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; font-weight: 600; font-size: 0.95rem; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; font-family: inherit; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f3f4f6; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #1ebe5b; }
.btn-sm { padding: 9px 14px; font-size: 0.85rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .container { height: var(--header-h); display: flex; align-items: center; gap: 24px; max-width: 1400px; }
.brand { flex-shrink: 0; display: flex; align-items: center; margin-right: auto; }
.brand img { height: 96px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2px; border: 1px solid var(--line); padding: 4px; background: #fff; }
.main-nav a { padding: 9px 14px; font-size: 0.88rem; font-weight: 600; color: var(--ink-2); white-space: nowrap; transition: background .2s, color .2s; }
.main-nav a:hover { color: var(--ink); background: #f3f4f6; }
.main-nav a.active { background: var(--red); color: #fff; }
.header-cta { flex-shrink: 0; display: flex; gap: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer; color: var(--ink); }

@media (max-width: 1260px) {
    .header-cta .btn-wa { display: none; }
}
@media (max-width: 1100px) {
    :root { --header-h: 84px; }
    .brand img { height: 72px; }
    .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .header-cta { display: none; }
    .main-nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; border: 0; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; display: none; box-shadow: 0 12px 24px rgba(0,0,0,.08); }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 14px 8px; border-bottom: 1px solid #f1f5f9; font-size: 1rem; }
    .main-nav a.active { background: transparent; color: var(--red); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 78vh; display: flex; align-items: center; color: #fff; background: #1f2937 url('../assets/images/tumosan-retro-hero-enhanced.jpg') center/cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,20,.86) 0%, rgba(10,14,20,.55) 55%, rgba(10,14,20,.2) 100%); }
.hero .container { position: relative; }
.hero-inner { max-width: 640px; padding: 80px 0; }
.hero-kicker { font-size: 0.8rem; letter-spacing: .14em; font-weight: 700; text-transform: uppercase; color: #fca5a5; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.12; font-weight: 800; margin-bottom: 18px; }
.hero p { font-size: 1.08rem; color: #e5e7eb; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.page-hero { position: relative; color: #fff; background: #1f2937 center/cover no-repeat; padding: 70px 0 60px; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(10,14,20,.72); }
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 10px; }
.page-hero p { color: #e5e7eb; max-width: 680px; }
.crumbs { font-size: 0.85rem; color: #d1d5db; margin-bottom: 12px; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { font-size: 0.78rem; letter-spacing: .14em; font-weight: 700; color: var(--red); text-transform: uppercase; margin-bottom: 10px; }
.section h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.2; font-weight: 800; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 1.02rem; max-width: 680px; }
.section-head { margin-bottom: 40px; }
.section-head.center { text-align: center; }
.section-head.center .lead { margin: 0 auto; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { width: 100%; height: 420px; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } .split img { height: 280px; } }

/* Category tiles */
.cat-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat-tile { position: relative; display: block; min-height: 320px; color: #fff; overflow: hidden; background: #111 center/cover no-repeat; }
.cat-tile::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 70%); transition: background .3s; }
.cat-tile:hover::before { background: linear-gradient(0deg, rgba(0,0,0,.9) 0%, rgba(0,0,0,.3) 70%); }
.cat-tile-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px; }
.cat-tile h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.cat-tile p { color: #e5e7eb; font-size: 0.95rem; margin-bottom: 14px; }
.cat-tile .count { display: inline-block; font-size: 0.78rem; font-weight: 700; background: var(--red); padding: 4px 10px; margin-bottom: 12px; }
.cat-tile .go { font-weight: 700; font-size: 0.92rem; }
@media (max-width: 760px) { .cat-tiles { grid-template-columns: 1fr; } .cat-tile { min-height: 240px; } }

/* Feature list */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); padding: 26px; }
.section.alt .feature { background: var(--bg); }
.feature i { font-size: 1.4rem; color: var(--red); margin-bottom: 14px; }
.feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.92rem; }

.check-list { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.check-list i { color: var(--green); margin-top: 4px; }

/* Finance boxes */
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.finance-box { background: #fff; border: 1px solid var(--line); padding: 32px; }
.finance-box .tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; padding: 4px 10px; margin-bottom: 14px; }
.tag-green { background: #dcfce7; color: #166534; }
.tag-red { background: #fee2e2; color: #991b1b; }
.finance-box h3 { font-size: 1.35rem; font-weight: 800; margin-bottom: 10px; }
.finance-box p { color: var(--muted); margin-bottom: 16px; }
.finance-box .big { font-size: 2rem; font-weight: 800; color: var(--ink); line-height: 1; margin-bottom: 4px; }
.finance-box .big-sub { font-size: 0.85rem; color: var(--muted); margin-bottom: 18px; }
@media (max-width: 760px) { .finance-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.cta-band p { color: #d1d5db; margin-bottom: 26px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- Listing page ---------- */
.list-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.list-toolbar .result-count { font-weight: 600; color: var(--ink-2); }
.search-box { position: relative; flex: 0 1 360px; }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; padding: 12px 14px 12px 40px; border: 1px solid var(--line); background: #fff; font-size: 0.95rem; font-family: inherit; }
.search-box input:focus { outline: 2px solid var(--ink); outline-offset: -1px; }

.info-strip { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 16px 18px; margin-bottom: 28px; font-size: 0.93rem; color: var(--ink-2); }
.info-strip i { color: var(--red); margin-top: 3px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.08); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 4/3; background: #f3f4f6; overflow: hidden; cursor: pointer; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-badge { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 4px 9px; letter-spacing: .03em; }
.card-badge.used { background: var(--ink); }
.card-body { padding: 18px 18px 6px; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.card-title { font-size: 1.05rem; font-weight: 700; line-height: 1.35; margin-bottom: 10px; }
.card-price { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.card-price small { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); }
.plan { border-top: 1px solid var(--line); padding-top: 10px; font-size: 0.85rem; }
.plan-row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; color: var(--ink-2); }
.plan-row strong { color: var(--ink); }
.plan-row.total { border-top: 1px dashed var(--line); margin-top: 4px; padding-top: 8px; }
.plan-note { font-size: 0.75rem; color: var(--muted); margin-top: 6px; }
.card-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px 18px 18px; }
.card-foot .card-detail-btn { grid-column: 1 / -1; }
.card-consultant { margin-top: 12px; padding: 8px 10px; background: #f9fafb; border: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-2); }
.card-consultant i { color: var(--red); margin-right: 4px; }
.consultant-box { display: flex; gap: 12px; align-items: center; background: #f9fafb; border: 1px solid var(--line); padding: 14px; margin-bottom: 14px; }
.consultant-box > i { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.consultant-box small { display: block; color: var(--muted); font-size: 0.75rem; }
.consultant-box strong { display: block; font-size: 1rem; }
.consultant-box span { font-size: 0.9rem; color: var(--ink-2); }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; background: #fff; border: 1px dashed var(--line); color: var(--muted); }
.empty i { font-size: 2rem; margin-bottom: 10px; display: block; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: none; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.modal.open { display: flex; }
.modal-box { background: #fff; width: 100%; max-width: 920px; max-height: 92vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border: 0; background: #fff; font-size: 1.2rem; cursor: pointer; z-index: 2; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-grid > img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.modal-info { padding: 32px 28px; }
.modal-info h2 { font-size: 1.45rem; font-weight: 800; margin-bottom: 8px; }
.modal-info .desc { color: var(--muted); font-size: 0.93rem; margin-bottom: 18px; }
.modal-info .plan { font-size: 0.93rem; margin-bottom: 20px; }
.modal-actions { display: grid; gap: 10px; }
@media (max-width: 760px) { .modal-grid { grid-template-columns: 1fr; } .modal-grid > img { min-height: 220px; max-height: 260px; } }

/* ---------- Footer ---------- */
.site-footer { background: #0b0f14; color: #9ca3af; padding: 60px 0 24px; font-size: 0.92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { height: 84px; width: auto; background: #fff; padding: 6px; margin-bottom: 16px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a:hover { color: #fff; }
.site-footer p + p { margin-top: 8px; }
.footer-bottom { border-top: 1px solid #1f2937; padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.82rem; }
.footer-bottom .lock { color: #374151; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floating contact ---------- */
.float-contact { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 10px; z-index: 150; }
.float-contact a { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.float-contact .f-wa { background: var(--wa); }
.float-contact .f-phone { background: var(--red); font-size: 1.2rem; }

@media (max-width: 600px) {
    .section { padding: 56px 0; }
    .hero { min-height: 70vh; }
    .hero-actions .btn { flex: 1 1 100%; }
    .container { padding: 0 16px; }
}
