/* aiotonom.com — blog stil sayfası */
:root {
  --bg: #0F1117;
  --bg2: #131620;
  --bg3: #181C28;
  --surface: #1C2030;
  --border: rgba(255,255,255,0.06);
  --border-hi: rgba(180,190,220,0.15);
  --accent: #7B9CCC;
  --accent2: #A89BC2;
  --accent-dim: rgba(123,156,204,0.10);
  --accent-glow: rgba(123,156,204,0.18);
  --text: #D4D9E8;
  --text-muted: #7A8299;
  --text-subtle: #3D4560;
  --white: #EDF0F7;
  --rule: rgba(255,255,255,0.05);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--accent); color: #0F1117; padding: .7rem 1.2rem;
  font-size: .8rem; font-weight: 600; border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; padding: 1.1rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(15,17,23,.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.logo {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: 1.15rem; color: var(--white); text-decoration: none;
}
.logo em { font-style: italic; color: var(--accent); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; }
.nav-links a {
  font-size: .82rem; font-weight: 300; color: var(--text-muted);
  text-decoration: none; transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-cta {
  font-size: .78rem; font-weight: 500; color: var(--white);
  text-decoration: none; padding: .6rem 1.1rem;
  border: 1px solid var(--border-hi); border-radius: 100px;
  transition: background .25s, border-color .25s; white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-dim); border-color: var(--accent); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ── DÜZEN ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.narrow { max-width: 760px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 2.5rem); }

.label {
  font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9rem; display: flex; align-items: center; gap: .6rem;
}
.label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--accent); opacity: .5; }

/* ── KIRINTI YOLU ── */
.crumbs { padding: 1.8rem 0 0; font-size: .74rem; color: var(--text-subtle); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: '/'; margin-right: .45rem; color: var(--text-subtle); }

/* ── YAZI BAŞLIĞI ── */
.post-head { padding: 2.5rem 0 2.8rem; border-bottom: 1px solid var(--rule); }
.post-head h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 300;
  font-size: clamp(1.9rem, 4.4vw, 3rem); line-height: 1.18; color: var(--white);
  letter-spacing: -.01em; margin-bottom: 1.1rem;
}
.post-head h1 strong { font-weight: 600; }
.post-lede { font-size: 1.02rem; color: var(--text-muted); line-height: 1.85; max-width: 62ch; }
.post-meta {
  display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.8rem;
  font-size: .74rem; color: var(--text-subtle);
}
.post-meta .tag-pill {
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); border: 1px solid var(--accent-glow);
  border-radius: 100px; padding: .22rem .7rem;
}

/* ── HIZLI YANIT KUTUSU (GEO) ── */
.answer-box {
  margin: 2.6rem 0; padding: 1.6rem 1.8rem;
  background: var(--bg3); border: 1px solid var(--border-hi);
  border-left: 3px solid var(--accent); border-radius: 4px 12px 12px 4px;
}
.answer-box h2 {
  font-family: 'Outfit', sans-serif; font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent);
  margin-bottom: .85rem;
}
.answer-box p { font-size: .95rem; color: var(--text); line-height: 1.85; }
.answer-box p + p { margin-top: .8rem; }

/* ── İÇİNDEKİLER ── */
.toc {
  margin: 2.4rem 0; padding: 1.4rem 1.6rem;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 12px;
}
.toc h2 {
  font-family: 'Outfit', sans-serif; font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .9rem;
}
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: .5rem; }
.toc li { counter-increment: toc; font-size: .85rem; }
.toc li::before {
  content: counter(toc, decimal-leading-zero); color: var(--text-subtle);
  margin-right: .7rem; font-size: .72rem;
}
.toc a { color: var(--text-muted); text-decoration: none; }
.toc a:hover { color: var(--accent); }

/* ── GÖVDE ── */
.post-body { padding: 1rem 0 3rem; }
.post-body h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem); line-height: 1.3; color: var(--white);
  margin: 3rem 0 1.1rem; scroll-margin-top: 5rem;
}
.post-body h3 {
  font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.02rem;
  color: var(--white); margin: 2rem 0 .7rem;
}
.post-body p { margin-bottom: 1.15rem; font-size: .95rem; color: var(--text); }
.post-body a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--accent-glow); }
.post-body a:hover { border-color: var(--accent); }
.post-body strong { color: var(--white); font-weight: 500; }
.post-body ul, .post-body ol { margin: 0 0 1.4rem 1.2rem; display: grid; gap: .6rem; }
.post-body li { font-size: .93rem; color: var(--text); padding-left: .3rem; }
.post-body li::marker { color: var(--accent); }
.post-body blockquote {
  margin: 2rem 0; padding: .3rem 0 .3rem 1.5rem;
  border-left: 2px solid var(--accent); color: var(--text-muted);
  font-size: .98rem; font-style: italic;
}
.post-body code {
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  font-size: .82em; background: var(--bg3); border: 1px solid var(--border);
  border-radius: 5px; padding: .12em .45em; color: var(--accent2);
}
.post-body pre {
  margin: 1.6rem 0; padding: 1.2rem 1.4rem; overflow-x: auto;
  background: var(--bg3); border: 1px solid var(--border); border-radius: 12px;
  font-family: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  font-size: .78rem; line-height: 1.8; color: var(--text-muted);
}
.post-body pre code { background: none; border: 0; padding: 0; color: inherit; }

.table-wrap { overflow-x: auto; margin: 1.8rem 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: .86rem; min-width: 480px; }
.post-body th, .post-body td {
  text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.post-body th { color: var(--white); font-weight: 500; background: var(--bg2); font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase; }
.post-body td { color: var(--text-muted); }

.callout {
  margin: 2rem 0; padding: 1.3rem 1.5rem; border-radius: 12px;
  background: var(--accent-dim); border: 1px solid var(--accent-glow);
  font-size: .9rem; color: var(--text);
}
.callout strong { color: var(--white); }

/* ── SSS ── */
.post-faq { margin: 3rem 0 0; }
.post-faq h2 { margin-bottom: 1.4rem; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg3); margin-bottom: .8rem; overflow: hidden;
}
.faq-item[open] { border-color: var(--border-hi); background: var(--surface); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 1.05rem 1.3rem;
  font-size: .88rem; font-weight: 500; color: var(--white);
  display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-a { padding: 0 1.3rem 1.25rem; font-size: .87rem; color: var(--text-muted); line-height: 1.9; }

/* ── CTA ── */
.post-cta {
  margin: 3.5rem 0 0; padding: 2.4rem;
  background: linear-gradient(135deg, var(--bg3), var(--surface));
  border: 1px solid var(--border-hi); border-radius: 18px; text-align: center;
}
.post-cta h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 300;
  font-size: 1.5rem; color: var(--white); margin: 0 0 .8rem;
}
.post-cta p { font-size: .9rem; color: var(--text-muted); max-width: 46ch; margin: 0 auto 1.6rem; }
.btn-primary {
  display: inline-block; font-size: .84rem; font-weight: 500;
  background: var(--accent); color: #0F1117; text-decoration: none;
  padding: .85rem 1.7rem; border-radius: 100px; transition: transform .2s, box-shadow .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px var(--accent-glow); }

/* ── İLGİLİ YAZILAR ── */
.related { margin: 3.5rem 0 0; padding-top: 2.4rem; border-top: 1px solid var(--rule); }
.related h2 {
  font-family: 'Outfit', sans-serif; font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1.3rem;
}
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.rel-card {
  display: block; padding: 1.3rem 1.4rem; background: var(--bg3);
  border: 1px solid var(--border); border-radius: 12px; text-decoration: none;
  transition: border-color .25s, transform .25s;
}
.rel-card:hover { border-color: var(--border-hi); transform: translateY(-2px); }
.rel-card span {
  font-size: .63rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); display: block; margin-bottom: .5rem;
}
.rel-card strong {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: .95rem;
  color: var(--white); line-height: 1.4; display: block;
}

/* ── BLOG İNDEKS ── */
.blog-hero { padding: 4rem 0 3rem; border-bottom: 1px solid var(--rule); }
.blog-hero h1 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.15; color: var(--white); margin-bottom: 1.1rem;
}
.blog-hero h1 strong { font-weight: 600; }
.blog-hero p { font-size: 1rem; color: var(--text-muted); max-width: 60ch; }
.blog-list { padding: 3.5rem 0 5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card {
  display: flex; flex-direction: column; gap: .75rem; padding: 1.9rem 1.7rem;
  background: var(--bg3); border: 1px solid var(--border); border-radius: 14px;
  text-decoration: none; transition: border-color .25s, transform .25s, background .25s;
}
.post-card:hover { border-color: var(--border-hi); transform: translateY(-3px); background: var(--surface); }
.post-card .pc-cat {
  font-size: .63rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
.post-card h2 {
  font-family: 'Fraunces', Georgia, serif; font-weight: 400; font-size: 1.05rem;
  line-height: 1.35; color: var(--white);
}
.post-card p { font-size: .82rem; color: var(--text-muted); line-height: 1.8; }
.post-card .pc-meta {
  margin-top: auto; padding-top: .8rem; font-size: .7rem; color: var(--text-subtle);
  display: flex; gap: .8rem;
}
@media (max-width: 980px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 660px) { .blog-list { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
footer {
  padding: 3.5rem 0 3rem; text-align: center;
  border-top: 1px solid var(--rule); background: var(--bg2);
}
.footer-logo {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600; font-size: 1.1rem;
  color: var(--white); margin-bottom: .4rem;
}
.footer-logo em { font-style: italic; color: var(--accent); }
.footer-nav {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; margin: 1.6rem 0 1.4rem;
}
.footer-nav a { font-size: .74rem; color: var(--text-muted); text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: var(--accent); }
footer p { font-size: .72rem; color: var(--text-subtle); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important; transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
