/* ARWY Blog — minimal turuncu tema */

:root {
  --orange: #ff6600;
  --orange-soft: #fff2ea;
  --ink: #111111;
  --muted: #6b6b6b;
  --line: #ececec;
  --bg: #ffffff;
  --radius: 14px;
  --maxw: 720px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  /* Sticky footer: footer her zaman en altta */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 22px 0;
  width: 100%;
  flex: 1 0 auto; /* içerik büyür, footer'ı aşağı iter */
}

/* ── Header / Navbar (turuncu, full-width, içerik ortalı) ── */
.site-nav {
  width: 100%;
  background: var(--orange);
  color: #fff;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 13px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: block;
}
.brand .name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: #fff;
}
.brand .name b { color: #fff; font-weight: 800; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px 22px;
  flex-wrap: wrap;
}
.nav-links a {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.92;
}
.nav-links a:hover { opacity: 1; text-decoration: none; }

/* ── Hero (ana sayfa) ── */
.hero {
  padding: 18px 0 30px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}
.hero h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 0 0 10px;
}
.hero p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
}

/* ── Yazı listesi ── */
.post-list { list-style: none; padding: 0; margin: 22px 0 60px; }
.post-list li { border-bottom: 1px solid var(--line); }
.post-list a.card {
  display: block;
  padding: 22px 0;
  color: inherit;
  text-decoration: none;
}
.post-list a.card:hover h2 { color: var(--orange); }
.post-list .date {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.post-list h2 {
  font-size: 21px;
  margin: 5px 0 6px;
  letter-spacing: -0.3px;
  transition: color .15s ease;
}
.post-list .excerpt { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ── Yazı sayfası ── */
.post-head { padding: 12px 0 26px; }
.post-head .tag { margin-right: 10px; }
.post-head .date {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.post-head h1 {
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: -0.7px;
  margin: 10px 0 12px;
}
.post-head .lede {
  font-size: 19px;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

article.post { padding-bottom: 50px; }

/* Yazı banner'ı (başlık altı, ilk paragraf üstü) */
.post-banner {
  display: block;
  margin: 4px 0 30px;
  border-radius: var(--radius);
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 4px 18px rgba(255, 102, 0, 0.12);
  transition: transform .18s ease, box-shadow .18s ease;
}
.post-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 102, 0, 0.20);
}
.post-banner img { width: 100%; height: auto; display: block; }
article.post h2 {
  font-size: 23px;
  letter-spacing: -0.4px;
  margin: 42px 0 12px;
  padding-top: 6px;
}
article.post h3 {
  font-size: 18px;
  margin: 28px 0 8px;
  color: var(--ink);
}
article.post p { margin: 0 0 18px; }
article.post ul, article.post ol { margin: 0 0 18px; padding-left: 22px; }
article.post li { margin: 6px 0; }
article.post strong { color: var(--ink); }
article.post img { max-width: 100%; border-radius: var(--radius); }

/* alıntı / vurgu kutusu */
.callout {
  background: var(--orange-soft);
  border-left: 3px solid var(--orange);
  border-radius: 0 10px 10px 0;
  padding: 16px 18px;
  margin: 0 0 24px;
  font-size: 15.5px;
  color: #5a3a23;
}
.callout p { margin: 0; }

/* ince ayraç */
.rule { height: 1px; background: var(--line); border: 0; margin: 38px 0; }

/* küçük etiket */
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-soft);
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
a.tag:hover { background: var(--orange); color: #fff; text-decoration: none; }

/* ── Blog araç çubuğu: arama + etiket filtresi (ana sayfa) ── */
.blog-tools { margin: 4px 0 6px; }
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box svg {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--ink);
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 11px 16px 11px 40px;
  outline: none;
  transition: border-color .15s ease, background .15s ease;
}
.search-box input:focus { border-color: var(--orange); background: #fff; }
.search-box input::placeholder { color: var(--muted); }

/* etiket filtre çipleri */
.tag-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chip {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 50px;
  padding: 6px 13px;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s ease;
}
.chip:hover { border-color: var(--orange); color: var(--orange); text-decoration: none; }
.chip.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* arama sonucu yok mesajı */
.no-results {
  display: none;
  text-align: center;
  color: var(--muted);
  padding: 40px 0 60px;
  font-size: 15.5px;
}

/* ── Uygulama CTA bandı (ana sayfa & yazı sonu) ── */
.app-cta {
  margin: 8px 0 50px;
  background: var(--orange-soft);
  border: 1px solid #ffe0cc;
  border-radius: var(--radius);
  padding: 22px 22px 24px;
  text-align: center;
}
.app-cta h3 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.3px;
  color: var(--ink);
}
.app-cta p { margin: 0 0 16px; color: #5a3a23; font-size: 15px; }
.app-cta .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.btn-app {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  border-radius: 50px;
  padding: 10px 18px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-app svg { width: 17px; height: 17px; }
.btn-app.primary { background: var(--orange); color: #fff; box-shadow: 0 3px 12px rgba(255,102,0,.25); }
.btn-app.primary:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(255,102,0,.32); text-decoration: none; }
.btn-app.ghost { background: #fff; color: var(--orange); border: 1px solid #ffd2b3; }
.btn-app.ghost:hover { background: var(--orange); color: #fff; text-decoration: none; }

/* navbar'daki uygulama linki (vurgulu) */
.nav-links a.nav-app {
  background: rgba(255,255,255,.18);
  padding: 5px 12px;
  border-radius: 50px;
  opacity: 1;
}
.nav-links a.nav-app:hover { background: rgba(255,255,255,.30); }

/* ── Sözleşme / doküman sayfaları ── */
.doc-head { padding: 14px 0 22px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.doc-head h1 { font-size: 30px; letter-spacing: -0.6px; margin: 0 0 8px; line-height: 1.2; }
.doc-head .sub { color: var(--muted); margin: 0 0 8px; font-size: 16px; }
.doc-head .updated { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }

.doc { padding: 8px 0 50px; }
.doc h2 { font-size: 22px; letter-spacing: -0.4px; margin: 36px 0 10px; }
.doc h3 { font-size: 17px; margin: 24px 0 8px; }
.doc p { margin: 0 0 16px; }
.doc ul, .doc ol { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.doc th { background: var(--orange-soft); color: var(--ink); font-weight: 700; }
.doc .badge {
  display: inline-block; font-size: 12px; font-weight: 700; padding: 2px 9px;
  border-radius: 50px; background: var(--orange-soft); color: var(--orange);
}
.doc .badge.muted { background: var(--line); color: var(--muted); }
.doc .danger { border-left-color: #d32f2f !important; background: #fdecea; color: #7a1c12; }

/* ── Footer (full-width turuncu, ince) ── */
.site-footer {
  flex-shrink: 0;
  width: 100%;
  background: var(--orange);
  color: #fff;
  padding: 18px 22px 16px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.site-footer a { color: #fff; text-decoration: none; opacity: 0.9; }
.site-footer a:hover { opacity: 1; }

/* Üst satır: logo + Arwy, menünün solunda aynı hizada */
.footer-top {
  display: flex;
  align-items: center;
  gap: 8px 18px;
  flex-wrap: wrap;
}
.fb-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}
.fb-name img { width: 24px; height: 24px; border-radius: 6px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}
.footer-links a { font-size: 13.5px; font-weight: 500; }

/* Alt satır: telif ortada, ince */
.footer-bottom {
  margin-top: 14px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  margin: 26px 0 4px;
}
.back:hover { color: var(--orange); }

/* Mobil için ayrı düzen yok — viewport sabit 800px (masaüstü genişliği
   zorlanır). Telefon sayfayı masaüstü gibi render eder, kullanıcı pinch-zoom
   ile yakınlaşabilir. */
