/* ============================================================
   EkipTaş Nakliyat — Design System
   Palette : Red #E11C2C / Ink #16161A / Paper #F6F4EF / Slate #5B5F66 / Amber #E3A034
   Display : 'Barlow Condensed' (800/900)   Body: 'Inter'   Utility: 'Barlow' tracked caps
   Signature: taşıma-bandı (packing-tape) card corners + dashed "yol" section dividers
   ============================================================ */

:root {
  --red: #E11C2C;
  --red-dark: #B7101E;
  --ink: #16161A;
  --ink-soft: #2A2B30;
  --paper: #F6F4EF;
  --paper-alt: #EFECE4;
  --white: #FFFFFF;
  --slate: #5B5F66;
  --slate-light: #8A8E96;
  --amber: #E3A034;
  --line: #E4E0D6;
  --shadow-sm: 0 2px 8px rgba(22,22,26,0.06);
  --shadow-md: 0 12px 32px rgba(22,22,26,0.10);
  --shadow-lg: 0 24px 60px rgba(22,22,26,0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-utility: 'Barlow', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

html, body { overflow-x: hidden; max-width: 100%; }

.logo-badge {
  display: inline-flex; align-items: center; background: #fff; padding: 10px 16px;
  border-radius: 12px; box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.logo-badge img { height: 30px; width: auto; display: block; }
.footer-brand .logo-badge { margin-bottom: 16px; }
.footer-brand .logo-badge img { height: 34px; }

/* Two-column layouts (form+sidebar / content+sidebar) that must collapse cleanly on mobile.
   Using dedicated classes instead of inline grid-template-columns, because inline styles
   cannot be overridden by a media query and were causing horizontal overflow on phones. */
.grid.grid-lead { grid-template-columns: 1.2fr 1fr; }
.grid.grid-detail { grid-template-columns: 2fr 1fr; }
@media (max-width: 900px) {
  .grid-lead, .grid-detail { grid-template-columns: 1fr !important; }
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 .5em;
  letter-spacing: 0.2px;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; color: var(--ink-soft); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-utility);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}

.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--white); }
.section-ink { background: var(--ink); color: var(--white); }
.section-ink p { color: #C7C9CE; }
.section-head { max-width: 680px; margin: 0 0 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-utility); font-weight: 700; font-size: .95rem;
  letter-spacing: .4px;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--red); color: var(--white); box-shadow: 0 10px 24px rgba(225,28,44,.28); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(225,28,44,.36); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--ink-soft); transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: rgba(22,22,26,.18); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-outline.on-dark { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-outline.on-dark:hover { border-color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(246,244,239,.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a {
  font-family: var(--font-utility); font-weight: 700; font-size: .92rem;
  color: var(--ink-soft); position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--red); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.header-phone .ico-circle { width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--ink); margin: 6px 0; border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: 640px;
}
.hero-copy { padding: 90px 0 90px 0; display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 3; }
.hero-copy .eyebrow { color: var(--amber); }
.hero-copy .eyebrow::before { background: var(--amber); }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--red); }
.hero-copy p.lead { color: #C7C9CE; font-size: 1.15rem; max-width: 540px; }
.hero-trust { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--white); }
.hero-trust span { font-family: var(--font-utility); font-size: .74rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--slate-light); }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.hero-media::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--ink) 0%, rgba(22,22,26,.5) 14%, rgba(22,22,26,0) 40%);
  z-index: 2;
}
.hero-badge {
  position: absolute; z-index: 4; left: 40px; bottom: -34px;
  background: var(--red); color: #fff; border-radius: var(--radius);
  padding: 18px 24px; box-shadow: var(--shadow-lg);
  font-family: var(--font-utility); font-weight: 700; font-size: .85rem;
  display: flex; align-items: center; gap: 12px; max-width: 320px;
}

/* ---------- Road divider (signature motif) ---------- */
.road-divider { position: relative; height: 42px; display: flex; align-items: center; justify-content: center; }
.road-divider .dash-line {
  position: absolute; left: 0; right: 0; top: 50%; height: 3px; transform: translateY(-50%);
  background-image: repeating-linear-gradient(90deg, var(--amber) 0 26px, transparent 26px 44px);
  opacity: .55;
}
.road-divider .truck-mark {
  position: relative; z-index: 2; background: var(--paper); padding: 0 16px;
  font-size: 1.3rem; animation: drive 5s linear infinite;
}
.section-alt .road-divider .truck-mark, .section-ink .road-divider .truck-mark { background: inherit; }
@keyframes drive { 0%, 100% { transform: translateX(-6px); } 50% { transform: translateX(6px); } }

/* ---------- Stat strip ---------- */
.stat-strip { background: var(--red); color: #fff; padding: 34px 0; }
.stat-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stat-strip strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; display: block; }
.stat-strip span { font-family: var(--font-utility); font-size: .78rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: .9; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Tape-corner signature: every content card reads like a labeled moving box */
.card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
  overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card::before {
  content: "";
  position: absolute; top: -14px; left: 22px; width: 64px; height: 26px;
  background: repeating-linear-gradient(45deg, rgba(227,160,52,.9) 0 6px, rgba(227,160,52,.55) 6px 12px);
  transform: rotate(-8deg);
  box-shadow: 0 3px 6px rgba(0,0,0,.15);
  z-index: 3; border-radius: 2px;
}

.service-card { padding: 34px 26px 28px; }
.service-card .ico {
  width: 56px; height: 56px; border-radius: 16px; background: var(--paper-alt);
  display: flex; align-items: center; justify-content: center; color: var(--red);
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .96rem; color: var(--slate); margin-bottom: 18px; }
.service-card .more { font-family: var(--font-utility); font-weight: 700; font-size: .84rem; color: var(--red); display: inline-flex; align-items: center; gap: 6px; }

.area-card { padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.area-card h3 { margin: 0; font-size: 1.25rem; }
.area-card .tag { font-family: var(--font-utility); font-size: .7rem; letter-spacing: 1px; color: var(--slate-light); text-transform: uppercase; }
.area-card .go { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-alt); display: flex; align-items: center; justify-content: center; color: var(--red); flex-shrink: 0; transition: background .2s ease, color .2s ease; }
.area-card:hover .go { background: var(--red); color: #fff; }

.blog-card { display: flex; flex-direction: column; }
.blog-card .thumb { aspect-ratio: 4/3; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .thumb img { transform: scale(1.06); }
.blog-card .body { padding: 24px 22px 26px; }
.blog-card .meta { font-family: var(--font-utility); font-size: .74rem; letter-spacing: 1px; text-transform: uppercase; color: var(--slate-light); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.blog-card p { font-size: .93rem; color: var(--slate); }

.testi-card { padding: 30px 26px; }
.testi-card .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; font-size: 1rem; }
.testi-card p.quote { font-style: italic; color: var(--ink-soft); font-size: 1rem; }
.testi-card .who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testi-card .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.testi-card .who strong { display: block; font-size: .92rem; }
.testi-card .who span { font-size: .78rem; color: var(--slate-light); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }

/* ---------- Process ---------- */
.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.process-list li { position: relative; padding-top: 10px; }
.process-list li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; color: var(--paper-alt);
  -webkit-text-stroke: 1.5px var(--red); display: block; margin-bottom: 6px;
}
.process-list h3 { font-size: 1.15rem; margin-bottom: 8px; }
.process-list p { font-size: .92rem; color: var(--slate); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--font-utility); font-weight: 700; font-size: .82rem; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: .96rem; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(225,28,44,.12);
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C7C9CE; padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid h4 { font-family: var(--font-utility); color: #fff; font-size: .82rem; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid p { color: #A5A8AF; font-size: .92rem; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { font-size: .92rem; color: #C7C9CE; transition: color .15s ease; }
.footer-grid ul li a:hover { color: var(--amber); }
.footer-brand img { height: 44px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.footer-social a:hover { background: var(--red); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: .82rem; color: #82858D; flex-wrap: wrap; gap: 10px; }
.footer-bottom a { color: #A5A8AF; }

/* ---------- Floating CTA buttons ---------- */
.float-actions { position: fixed; right: 22px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; gap: 14px; }
.float-btn {
  width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; box-shadow: var(--shadow-lg); transition: transform .18s ease;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn.wa { background: #25D366; }
.float-btn.call { background: var(--red); }
.float-btn.wa svg, .float-btn.call svg { width: 26px; height: 26px; }

/* ---------- Breadcrumb / page header ---------- */
.page-hero { background: var(--ink); color: #fff; padding: 64px 0 46px; }
.page-hero .eyebrow { color: var(--amber); }
.page-hero .eyebrow::before { background: var(--amber); }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #C7C9CE; max-width: 620px; }
.breadcrumb { font-family: var(--font-utility); font-size: .82rem; color: var(--slate-light); display: flex; gap: 8px; align-items: center; margin-bottom: 18px; }
.breadcrumb a { color: var(--slate-light); }
.breadcrumb a:hover { color: var(--amber); }

/* ---------- Content typography (blog/service detail) ---------- */
.prose h2 { font-size: 1.7rem; margin-top: 1.4em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.2em; }
.prose p { color: var(--ink-soft); font-size: 1.02rem; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.4em; }
.prose li { margin-bottom: .5em; color: var(--ink-soft); }
.prose img { border-radius: var(--radius); margin: 1.4em 0; }
.prose a { color: var(--red); text-decoration: underline; }
.prose blockquote { border-left: 4px solid var(--red); padding: 6px 0 6px 20px; color: var(--slate); font-style: italic; margin: 1.6em 0; }

/* ---------- Search / filter bar ---------- */
.filter-bar { display: flex; gap: 14px; align-items: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-bar input[type="search"] {
  flex: 1; min-width: 0; width: 100%; padding: 14px 20px; border-radius: 999px; border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size: .95rem;
}
.filter-bar input[type="search"]:focus { outline: none; border-color: var(--red); }
.region-pill { display: inline-flex; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-family: var(--font-utility); font-size: .8rem; font-weight: 700; color: var(--slate); }

/* ---------- Utilities ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,.9,.32,1), transform .7s cubic-bezier(.22,.9,.32,1); }
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-left { opacity: 0; transform: translateX(-56px); transition: opacity .8s cubic-bezier(.22,.9,.32,1), transform .8s cubic-bezier(.22,.9,.32,1); }
.reveal-left.in { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(56px); transition: opacity .8s cubic-bezier(.22,.9,.32,1), transform .8s cubic-bezier(.22,.9,.32,1); }
.reveal-right.in { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(.92); transition: opacity .7s ease, transform .7s ease; }
.reveal-scale.in { opacity: 1; transform: scale(1); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: var(--paper-alt); color: var(--ink-soft);
  font-family: var(--font-utility); font-weight: 700; font-size: .78rem; padding: 8px 14px; border-radius: 999px;
}
.flash-list { position: fixed; top: 100px; right: 22px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; max-width: 340px; }
.flash {
  padding: 14px 18px; border-radius: 12px; font-size: .9rem; font-weight: 600; box-shadow: var(--shadow-md);
  background: var(--ink); color: #fff;
}
.flash.success { background: #1F8A4C; }
.flash.danger { background: var(--red); }
.flash.warning { background: var(--amber); color: var(--ink); }
.flash.info { background: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--red), var(--red-dark));
  color: #fff; border-radius: var(--radius-lg); padding: 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; margin-bottom: 10px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-group { justify-content: center; }
.cta-band .btn-outline.on-dark:hover { background: rgba(255,255,255,.12); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
  .hero-media { order: -1; min-height: 320px; }
  .hero-media::after { display: none; }
  .hero-copy { padding: 50px 0 70px; }
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 840px) {
  .main-nav, .header-phone { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .cta-band { padding: 36px 22px; }
  .area-card { padding: 18px; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav {
  position: fixed; inset: 0; background: var(--ink); color: #fff; z-index: 1200;
  display: flex; flex-direction: column; padding: 26px 26px 40px;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-nav .close-btn { background: none; border: none; color: #fff; font-size: 1.8rem; }
.mobile-nav a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; }
.mobile-nav .phones { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
