/*
  Azat Express — kamuya açık kurumsal web sitesi, ortak stil dosyası.

  Tasarım dili: koyu lacivert ana renk (mobil uygulamanın yeşil/turuncu
  paletinden BİLİNÇLİ OLARAK farklı — bu, kendi kurye operasyonunun
  kurumsal/vitrin sitesidir, pazaryeri değil), açık/ferah zemin, turuncu
  SADECE CTA/küçük ikon/durum vurgusu için (uygulamadaki AynI marka
  turuncusu — lib/theme/app_theme.dart::AzatColors.orange #E65100 —
  tutarlılık için). Ağır framework/analytics/tracker YOK.
*/

:root {
  --navy-900: #0B1B3A;
  --navy-800: #122A52;
  --navy-700: #1B3A6B;
  --navy-100: #E8ECF4;
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --text: #16213A;
  --text-muted: #5B6478;
  --border: #E1E5EE;
  --orange: #E65100;
  --orange-light: #FF6D00;
  --success: #1B5E20;
  --success-bg: #E8F5E9;
  --warn: #8A5300;
  --warn-bg: #FFF3E0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(11, 27, 58, 0.08);
  --max-width: 1120px;
  --link: #1B3A6B;
  --icon-badge-fg: var(--navy-900);
  --eyebrow-section-fg: var(--navy-900);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A1220;
    --surface: #10192C;
    --text: #EAEEF6;
    --text-muted: #9AA5BD;
    --border: #223252;
    --navy-100: #16233F;
    --success-bg: #123018;
    --warn-bg: #3A2708;
    --link: #7ba4d8;
    --icon-badge-fg: #E0E8F4;
    --eyebrow-section-fg: #C8D4EA;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; display: block; }

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

a { color: var(--link); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

/* ── Header / Nav ─────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand-badge {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--navy-900); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0;
}
.brand-name { font-weight: 800; font-size: 17px; letter-spacing: 0.2px; }
.brand-logo { width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; object-fit: cover; display: block; }

.nav-links { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; color: var(--text); font-weight: 600; font-size: 14.5px;
  padding: 8px 0;
}
.nav-links a:hover { color: var(--navy-700); }

.nav-cta {
  background: var(--orange); color: #fff; text-decoration: none;
  padding: 10px 18px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--orange-light); }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 40px; height: 40px; padding: 8px; border-radius: var(--radius-sm);
}
.nav-toggle:hover { background: var(--navy-100); }
.nav-toggle span {
  display: block; width: 22px; height: 2.5px; background: var(--text);
  margin: 4px auto; border-radius: 2px;
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-row.menu-open + .mobile-menu { display: flex; }
}
.mobile-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 8px 20px 16px; border-top: 1px solid var(--border);
  background: var(--surface);
}
.mobile-menu a {
  text-decoration: none; color: var(--text); font-weight: 600; padding: 12px 4px;
  border-bottom: 1px solid var(--border); font-size: 15px;
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #fff;
  padding: 72px 20px 96px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero-visual { order: -1; }
}
@media (max-width: 600px) {
  .hero { padding: 44px 20px 56px; }
  .hero-visual { order: 2; }
  .hero-visual svg { max-height: 130px; width: auto; }
}
.eyebrow {
  display: inline-block; background: rgba(255,255,255,0.18); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.4px; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(28px, 4.2vw, 44px); line-height: 1.15; margin: 0 0 18px; font-weight: 800;
}
.hero p.lead {
  font-size: 17px; color: rgba(255,255,255,0.82); max-width: 46ch; margin: 0 0 28px;
}
@media (max-width: 900px) { .hero p.lead { margin-left: auto; margin-right: auto; } }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .hero-actions { justify-content: center; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  text-decoration: none; border: none; cursor: pointer; min-height: 48px;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-light); }
.btn-primary:disabled { background: #9AA5BD; cursor: not-allowed; }
.btn-outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-ghost-dark { background: var(--navy-100); color: var(--navy-900); border: none; }
.btn-ghost-dark:hover { background: #DCE3F0; }

/* Soyut rota çizgisi / güvenli teslimat akışı görseli — SVG, harici görsel yok */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-visual svg { width: 100%; max-width: 380px; height: auto; }

/* ── Sections ─────────────────────────────────────────────────────────── */
section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head .eyebrow { background: var(--navy-100); color: var(--eyebrow-section-fg); }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin: 10px 0 12px; font-weight: 800; }
.section-head p { color: var(--text-muted); font-size: 16px; margin: 0; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow);
}
.card .icon-badge {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--navy-100); color: var(--icon-badge-fg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin: 0 0 8px; font-weight: 700; }
.card p { color: var(--text-muted); font-size: 14.5px; margin: 0; }

/* "Nasıl çalışır" adım listesi */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: left; }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); color: #fff; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.step h3 { font-size: 15.5px; margin: 0 0 6px; font-weight: 700; }
.step p { color: var(--text-muted); font-size: 13.5px; margin: 0; }

.note-box {
  background: var(--navy-100); border-radius: var(--radius-md);
  padding: 16px 18px; font-size: 13.5px; color: var(--text); margin-top: 28px;
  display: flex; gap: 10px; align-items: flex-start;
}
.note-box svg { flex-shrink: 0; margin-top: 2px; }

.badge-soon {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--warn-bg); color: var(--warn);
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
}

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list .label { color: var(--text-muted); min-width: 130px; flex-shrink: 0; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-900); color: rgba(255,255,255,0.75);
  padding: 48px 0 28px; font-size: 13.5px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-grid h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.6px; margin: 0 0 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

/* ── Legal pages (paylaşılan) ─────────────────────────────────────────── */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 48px 20px 80px; }
.legal-wrap h1 { font-size: 26px; margin: 0 0 8px; }
.legal-wrap .updated { color: var(--text-muted); font-size: 13.5px; margin-bottom: 28px; }
.legal-wrap h2 { font-size: 18px; margin: 32px 0 10px; }
.legal-wrap p, .legal-wrap li { color: var(--text); font-size: 15px; }
.legal-wrap .placeholder {
  background: var(--warn-bg); color: var(--warn);
  padding: 2px 6px; border-radius: 4px; font-weight: 700; font-size: 0.92em;
}
.legal-wrap .draft-banner {
  background: var(--warn-bg); color: var(--warn); border-radius: var(--radius-md);
  padding: 16px 18px; font-size: 13.5px; margin-bottom: 32px; line-height: 1.55;
}
.back-link { display: inline-block; margin-bottom: 20px; font-weight: 600; font-size: 14px; text-decoration: none; }

/* ── Utility ──────────────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--orange); color: #fff;
  padding: 12px 18px; z-index: 100; border-radius: 0 0 8px 0; font-weight: 700; text-decoration: none;
}
.skip-link:focus { left: 0; }
