/* ==========================================================================
   tariksenkal.com — Kişisel Blog & Portföy
   İsmail Tarık Şenkal · EcoFluxion Teknoloji A.Ş. Kurucu Ortağı
   Modern, editöryel, açık/koyu temalı tek-stylesheet tasarım.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tema Değişkenleri (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Marka — EcoFluxion yeşil paleti */
  --brand:        #6BAe2e;
  --brand-600:    #7CB342;
  --brand-500:    #8BC34A;
  --brand-300:    #C5E1A5;
  --brand-700:    #558B2F;
  --brand-ink:    #2f4a18;

  /* İkincil aksan */
  --accent:       #1976D2;

  /* Açık tema yüzeyleri */
  --bg:           #ffffff;
  --bg-soft:      #f6f8f4;
  --bg-elev:      #ffffff;
  --surface:      #ffffff;
  --border:       #e7ebe2;
  --border-soft:  #eef1ea;

  /* Metin */
  --text:         #1c241a;
  --text-soft:    #4b5548;
  --text-mut:     #7a8676;
  --text-invert:  #ffffff;

  /* Efektler */
  --shadow-sm:  0 1px 2px rgba(28,36,26,.06), 0 1px 3px rgba(28,36,26,.05);
  --shadow:     0 6px 24px -8px rgba(28,36,26,.18), 0 2px 8px -4px rgba(28,36,26,.10);
  --shadow-lg:  0 24px 60px -20px rgba(28,36,26,.30);
  --ring:       0 0 0 3px rgba(124,179,66,.30);

  /* Tipografi */
  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:   'Newsreader', Georgia, 'Times New Roman', serif;

  /* Ölçü */
  --maxw: 1140px;
  --maxw-narrow: 720px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  --nav-h: 68px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --t-fast: .18s var(--ease);
  --t: .32s var(--ease);
}

[data-theme="dark"] {
  --bg:           #0e120c;
  --bg-soft:      #141a10;
  --bg-elev:      #171e12;
  --surface:      #171e12;
  --border:       #283021;
  --border-soft:  #20281a;

  --text:         #eef2e9;
  --text-soft:    #c2cbb8;
  --text-mut:     #8c977f;
  --text-invert:  #0e120c;

  --brand-600:    #9CCC65;
  --brand-500:    #aed581;

  --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
  --shadow:     0 10px 30px -10px rgba(0,0,0,.6);
  --shadow-lg:  0 30px 70px -25px rgba(0,0,0,.7);
  --ring:       0 0 0 3px rgba(156,204,101,.30);
}

/* --------------------------------------------------------------------------
   2. Reset & Temel
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--t), color var(--t);
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
img, svg { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--brand-500); color: #14210a; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.narrow { max-width: var(--maxw-narrow); }

.eyebrow {
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-700); display: inline-flex; align-items: center; gap: .5rem;
}
[data-theme="dark"] .eyebrow { color: var(--brand-500); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--brand-600); border-radius: 2px; }

.lead { font-size: 1.18rem; color: var(--text-soft); line-height: 1.65; }
.text-grad {
  background: linear-gradient(120deg, var(--brand-700), var(--brand-500) 60%, var(--accent));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .text-grad {
  background: linear-gradient(120deg, var(--brand-300), var(--brand-500) 55%, #7fc7ff);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   3. Butonlar & Etiketler
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .96rem;
  padding: .82rem 1.4rem; border-radius: var(--radius-pill);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: #fff; box-shadow: 0 8px 22px -8px rgba(85,139,47,.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(85,139,47,.7); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--brand-600); color: var(--brand-700); }
[data-theme="dark"] .btn-ghost:hover { color: var(--brand-500); }

.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  padding: .34rem .72rem; border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--brand-500) 16%, transparent);
  color: var(--brand-700); border: 1px solid color-mix(in srgb, var(--brand-600) 26%, transparent);
}
[data-theme="dark"] .tag { color: var(--brand-500); }

/* --------------------------------------------------------------------------
   4. Navbar
   -------------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t), background var(--t);
}
.nav.scrolled { border-bottom-color: var(--border); background: color-mix(in srgb, var(--bg) 88%, transparent); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand b { color: var(--brand-700); }
[data-theme="dark"] .brand b { color: var(--brand-500); }
.brand small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .68rem; color: var(--text-mut); letter-spacing: .04em; margin-top: -2px; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  font-family: var(--font-display); font-size: .92rem; font-weight: 500;
  color: var(--text-soft); padding: .5rem .8rem; border-radius: var(--radius-pill);
}
.nav-links a:hover { color: var(--text); background: var(--bg-soft); }
.nav-actions { display: flex; align-items: center; gap: .5rem; }

.icon-btn {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--border); color: var(--text-soft); background: var(--surface);
  transition: var(--t-fast);
}
.icon-btn:hover { color: var(--brand-700); border-color: var(--brand-600); transform: translateY(-1px); }
[data-theme="dark"] .icon-btn:hover { color: var(--brand-500); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; }

.nav-toggle { display: none; }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; padding-top: calc(var(--nav-h) + 72px); padding-bottom: 96px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg .blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5;
}
.hero-bg .b1 { width: 520px; height: 520px; top: -160px; right: -120px;
  background: radial-gradient(circle, var(--brand-500), transparent 70%); }
.hero-bg .b2 { width: 460px; height: 460px; bottom: -200px; left: -140px;
  background: radial-gradient(circle, var(--brand-300), transparent 70%); opacity: .4; }
.hero-bg .grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border-soft) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 54px 54px; opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}

.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); margin: 1.1rem 0 1.2rem; }
.hero .lead { max-width: 33ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.6rem; }
.hero-meta .stat .n { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--brand-700); line-height: 1; }
[data-theme="dark"] .hero-meta .stat .n { color: var(--brand-500); }
.hero-meta .stat .l { font-size: .82rem; color: var(--text-mut); margin-top: .3rem; }

/* Portre kartı */
.portrait {
  position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden;
  background:
    radial-gradient(120% 120% at 20% 0%, color-mix(in srgb, var(--brand-500) 26%, transparent), transparent 55%),
    linear-gradient(160deg, var(--bg-soft), var(--surface));
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  display: grid; place-items: center; padding: 28px; text-align: center;
}
.portrait .ph-ring {
  width: 156px; height: 156px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 1.2rem;
  background: conic-gradient(from 200deg, var(--brand-500), var(--brand-300), var(--accent), var(--brand-500));
  box-shadow: 0 18px 40px -16px rgba(85,139,47,.6);
}
.portrait .ph-ring span {
  width: 138px; height: 138px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; color: var(--brand-700);
}
[data-theme="dark"] .portrait .ph-ring span { color: var(--brand-500); }
.portrait h3 { font-size: 1.3rem; }
.portrait p { color: var(--text-mut); font-size: .92rem; margin-top: .25rem; }
.portrait .ph-note {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  font-size: .68rem; color: var(--text-mut); background: var(--bg-soft);
  padding: .25rem .7rem; border-radius: var(--radius-pill); border: 1px dashed var(--border);
}
.portrait .float-chip {
  position: absolute; display: flex; align-items: center; gap: .45rem;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  padding: .55rem .85rem; border-radius: 14px; font-size: .8rem; font-weight: 600;
}
.portrait .float-chip svg { width: 16px; height: 16px; color: var(--brand-600); }
.portrait .fc1 { top: 22px; left: -18px; }
.portrait .fc2 { bottom: 70px; right: -22px; }

/* --------------------------------------------------------------------------
   6. Bölümler & Başlıklar
   -------------------------------------------------------------------------- */
section { position: relative; }
.section { padding: 86px 0; }
.section.alt { background: var(--bg-soft); border-block: 1px solid var(--border-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: .8rem 0 .9rem; }
.section-head p { color: var(--text-soft); font-size: 1.06rem; }

/* --------------------------------------------------------------------------
   7. Kart Izgaraları
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand-600) 40%, var(--border)); }
.card .ic {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--brand-500) 16%, transparent); color: var(--brand-700);
}
[data-theme="dark"] .card .ic { color: var(--brand-500); }
.card .ic svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.18rem; margin-bottom: .55rem; }
.card p { color: var(--text-soft); font-size: .98rem; }

/* "Ne yapıyor" — şirket/ürün vitrinleri */
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.feature.rev { grid-template-columns: 1fr 1.1fr; }
.feature.rev .feature-visual { order: -1; }
.feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: .9rem 0; }
.feature ul.checks { margin-top: 1.3rem; display: grid; gap: .7rem; }
.feature ul.checks li { display: flex; gap: .6rem; color: var(--text-soft); }
.feature ul.checks svg { flex: none; width: 20px; height: 20px; color: var(--brand-600); margin-top: 3px; }
.feature-visual {
  border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface);
  box-shadow: var(--shadow); overflow: hidden;
}
.feature-visual .vtop { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border-soft); background: var(--bg-soft); }
.feature-visual .vtop i { width: 11px; height: 11px; border-radius: 50%; background: var(--border); display: inline-block; }
.feature-visual .vbody { padding: 26px; }
.kpi-row { display: flex; gap: 14px; flex-wrap: wrap; }
.kpi { flex: 1 1 120px; background: var(--bg-soft); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 16px; }
.kpi .n { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--brand-700); }
[data-theme="dark"] .kpi .n { color: var(--brand-500); }
.kpi .l { font-size: .8rem; color: var(--text-mut); }
.code-line { display: flex; gap: .6rem; padding: .4rem 0; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .86rem; color: var(--text-soft); border-bottom: 1px dashed var(--border-soft); }
.code-line .dot { color: var(--brand-600); }

/* --------------------------------------------------------------------------
   8. Zaman Çizelgesi
   -------------------------------------------------------------------------- */
.timeline { position: relative; max-width: 760px; margin-inline: auto; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--brand-500), var(--brand-300)); border-radius: 2px; }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--surface); border: 3px solid var(--brand-600); box-shadow: var(--ring); }
.tl-item .yr { font-family: var(--font-display); font-weight: 700; color: var(--brand-700); font-size: .92rem; }
[data-theme="dark"] .tl-item .yr { color: var(--brand-500); }
.tl-item h4 { font-size: 1.12rem; margin: .25rem 0 .4rem; }
.tl-item p { color: var(--text-soft); font-size: .96rem; }

/* --------------------------------------------------------------------------
   9. Yazı Kartları (Blog)
   -------------------------------------------------------------------------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand-600) 40%, var(--border)); }
.post-card .thumb {
  aspect-ratio: 16/9; display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500));
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 2.2rem;
}
.post-card .thumb.v2 { background: linear-gradient(135deg, #2c5364, #203a43, #0f2027); }
.post-card .thumb.v3 { background: linear-gradient(135deg, var(--accent), #0d47a1); }
.post-card .thumb.v4 { background: linear-gradient(135deg, #355c7d, #6c5b7b, #c06c84); }
.post-card .thumb.v5 { background: linear-gradient(135deg, #3a7d44, #181d27); }
.post-card .thumb::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 0); background-size: 18px 18px; opacity: .5; }
.post-card .pc-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card .pc-meta { font-size: .78rem; color: var(--text-mut); display: flex; gap: .6rem; align-items: center; margin-bottom: .6rem; }
.post-card h3 { font-size: 1.18rem; line-height: 1.25; margin-bottom: .5rem; }
.post-card:hover h3 { color: var(--brand-700); }
[data-theme="dark"] .post-card:hover h3 { color: var(--brand-500); }
.post-card p { color: var(--text-soft); font-size: .94rem; flex: 1; }
.post-card .more { margin-top: 1rem; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--brand-700); display: inline-flex; align-items: center; gap: .4rem; }
[data-theme="dark"] .post-card .more { color: var(--brand-500); }
.post-card:hover .more svg { transform: translateX(4px); }
.post-card .more svg { width: 16px; height: 16px; transition: transform var(--t-fast); }

/* --------------------------------------------------------------------------
   10. İletişim / CTA
   -------------------------------------------------------------------------- */
.cta-band {
  border-radius: 28px; padding: 56px 48px; text-align: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-ink));
  color: #fff; box-shadow: var(--shadow-lg);
}
.cta-band::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.16) 1px, transparent 0); background-size: 22px 22px; opacity: .4; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-bottom: .8rem; }
.cta-band p { color: rgba(255,255,255,.86); max-width: 50ch; margin-inline: auto; }
.cta-band .btn-primary { background: #fff; color: var(--brand-700); }
.cta-band .btn-primary:hover { background: #f3f7ee; }
.cta-band .socials { display: flex; gap: .6rem; justify-content: center; margin-top: 1.8rem; }
.cta-band .socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.14); color: #fff; transition: var(--t-fast); }
.cta-band .socials a:hover { background: #fff; color: var(--brand-700); transform: translateY(-3px); }
.cta-band .socials svg { width: 19px; height: 19px; }

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.footer { padding: 56px 0 34px; border-top: 1px solid var(--border); background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.footer h5 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 1rem; }
.footer a { color: var(--text-soft); display: inline-block; padding: .25rem 0; font-size: .95rem; }
.footer a:hover { color: var(--brand-700); }
[data-theme="dark"] .footer a:hover { color: var(--brand-500); }
.footer .about p { color: var(--text-soft); font-size: .95rem; margin-top: .9rem; max-width: 38ch; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--text-mut); font-size: .85rem; }

/* --------------------------------------------------------------------------
   12. Makale (post) sayfası
   -------------------------------------------------------------------------- */
.article-head { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 28px; }
.breadcrumb { font-size: .85rem; color: var(--text-mut); display: flex; gap: .5rem; align-items: center; margin-bottom: 1.4rem; }
.breadcrumb a:hover { color: var(--brand-700); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 1rem 0 1.1rem; max-width: 18ch; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; color: var(--text-mut); font-size: .92rem; }
.article-meta .author { display: flex; align-items: center; gap: .6rem; }
.article-meta .ava { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: .9rem; }

.article-hero {
  height: 280px; border-radius: var(--radius); margin: 8px 0 0; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--brand-700), var(--brand-500)); display: grid; place-items: center;
}
.article-hero.v2 { background: linear-gradient(135deg, #2c5364, #203a43, #0f2027); }
.article-hero.v3 { background: linear-gradient(135deg, var(--accent), #0d47a1); }
.article-hero.v4 { background: linear-gradient(135deg, #355c7d, #6c5b7b, #c06c84); }
.article-hero.v5 { background: linear-gradient(135deg, #3a7d44, #181d27); }
.article-hero::after { content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.18) 1px, transparent 0); background-size: 22px 22px; opacity: .45; }
.article-hero span { position: relative; font-family: var(--font-display); font-weight: 800; font-size: 4rem; color: rgba(255,255,255,.92); }

.prose { font-family: var(--font-serif); font-size: 1.22rem; line-height: 1.85; color: var(--text); }
.prose > * + * { margin-top: 1.3rem; }
.prose h2 { font-family: var(--font-display); font-size: 1.7rem; margin-top: 2.6rem; margin-bottom: -.2rem; scroll-margin-top: 90px; }
.prose h3 { font-family: var(--font-display); font-size: 1.32rem; margin-top: 2rem; scroll-margin-top: 90px; }
.prose p, .prose li { color: var(--text); }
.prose a { color: var(--brand-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
[data-theme="dark"] .prose a { color: var(--brand-500); }
.prose ul, .prose ol { padding-left: 1.3rem; display: grid; gap: .6rem; }
.prose ul li { list-style: none; position: relative; padding-left: 1.4rem; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-600); }
.prose ol { list-style: decimal; }
.prose strong { font-weight: 700; color: var(--text); font-family: var(--font-body); }
.prose blockquote {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.5; letter-spacing: -.01em;
  border-left: 4px solid var(--brand-600); padding: .4rem 0 .4rem 1.4rem; color: var(--text-soft); font-style: normal;
}
.prose .callout {
  font-family: var(--font-body); font-size: 1rem; background: var(--bg-soft); border: 1px solid var(--border);
  border-left: 4px solid var(--brand-600); border-radius: var(--radius-sm); padding: 18px 20px; color: var(--text-soft);
}
.prose .callout strong { color: var(--brand-700); }
[data-theme="dark"] .prose .callout strong { color: var(--brand-500); }
.prose figure.pull { margin: 2rem 0; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 2.6rem 0; }

.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.4rem; }
.author-box {
  display: flex; gap: 18px; align-items: flex-start; margin-top: 2.6rem; padding: 26px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius);
}
.author-box .ava { width: 64px; height: 64px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.author-box h4 { font-size: 1.12rem; }
.author-box .role { color: var(--brand-700); font-size: .9rem; font-weight: 600; margin-bottom: .5rem; }
[data-theme="dark"] .author-box .role { color: var(--brand-500); }
.author-box p { color: var(--text-soft); font-size: .96rem; }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.post-nav a { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); transition: var(--t-fast); }
.post-nav a:hover { border-color: var(--brand-600); transform: translateY(-2px); }
.post-nav .dir { font-size: .78rem; color: var(--text-mut); }
.post-nav .ttl { font-family: var(--font-display); font-weight: 600; margin-top: .3rem; }
.post-nav .next { text-align: right; }

/* Okuma ilerleme çubuğu */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--brand-600), var(--accent)); transition: width .1s linear; }

/* --------------------------------------------------------------------------
   13. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* Geri yukarı */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; opacity: 0; pointer-events: none; transform: translateY(10px); transition: var(--t); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait { max-width: 380px; margin-inline: auto; }
  .feature, .feature.rev { grid-template-columns: 1fr; gap: 30px; }
  .feature.rev .feature-visual { order: 0; }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px; background: var(--bg);
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
  }
  .nav.open .nav-links a { padding: .85rem 1rem; }
  .section { padding: 64px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
  .posts-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .post-nav { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .prose { font-size: 1.12rem; }
  .hero-meta { gap: 1.1rem; }
}

/* --- Düzeltme: dekoratif bindirmeler tıklamayı engellemesin --- */
.cta-band::after,
.article-hero::after,
.post-card .thumb::after,
.hero-bg,
.hero-bg * { pointer-events: none; }

/* Görsel hero/kart kapakları */
.article-hero img, .post-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Gercek portre fotografi (hero) */
.portrait.has-photo { padding: 0; display: block; }
.portrait .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.portrait .ph-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 24px; text-align: left;
  background: linear-gradient(to top, rgba(8,12,6,.88), rgba(8,12,6,.4) 55%, transparent); }
.portrait .ph-cap h3 { color: #fff; font-size: 1.3rem; }
.portrait .ph-cap p { color: rgba(255,255,255,.86); font-size: .92rem; margin-top: .25rem; }
/* Yazar avatari: gercek foto */
.ava { background-image: url(../image/tariksenkal.jpeg); background-size: cover; background-position: center; color: transparent; }

/* ==========================================================================
   Zengin makale bileşenleri (profesyonel blog yazıları)
   ========================================================================== */
.prose .lead-p { font-family: var(--font-display); font-weight: 400; font-size: 1.32rem; line-height: 1.6; letter-spacing: -.01em; color: var(--text); }
.prose figure { margin: 2rem 0; }
.prose figure img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); box-shadow: var(--shadow); }
.prose figure figcaption { font-family: var(--font-body); font-size: .88rem; color: var(--text-mut); margin-top: .7rem; text-align: center; }

/* İçindekiler */
.toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 26px; margin: 2rem 0; font-family: var(--font-body); }
.toc h4 { font-family: var(--font-display); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); margin-bottom: .8rem; }
.toc ol { counter-reset: toc; list-style: none; padding: 0; display: grid; gap: .55rem; }
.toc ol li { counter-increment: toc; list-style: none; padding-left: 0; }
.toc ol li::before { content: counter(toc) "."; color: var(--brand-700); font-weight: 700; margin-right: .55rem; }
[data-theme="dark"] .toc ol li::before { color: var(--brand-500); }
.toc a { color: var(--text-soft); text-decoration: none; font-size: 1rem; }
.toc a:hover { color: var(--brand-700); }

/* Öne çıkanlar / özet kutusu */
.takeaways { background: color-mix(in srgb, var(--brand-500) 10%, transparent); border: 1px solid color-mix(in srgb, var(--brand-600) 28%, transparent); border-radius: var(--radius); padding: 22px 26px; margin: 2.2rem 0; font-family: var(--font-body); }
.takeaways h4 { font-family: var(--font-display); font-size: 1.05rem; margin-bottom: .8rem; color: var(--brand-700); display: flex; align-items: center; gap: .5rem; }
[data-theme="dark"] .takeaways h4 { color: var(--brand-500); }
.takeaways ul { display: grid; gap: .55rem; padding-left: 0; }
.takeaways ul li { font-size: 1rem; color: var(--text); }

/* İstatistik kartları */
.stat-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 2.2rem 0; font-family: var(--font-body); }
.stat-cards .sc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 20px; }
.stat-cards .sc .n { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--brand-700); line-height: 1.1; }
[data-theme="dark"] .stat-cards .sc .n { color: var(--brand-500); }
.stat-cards .sc .l { font-size: .85rem; color: var(--text-mut); margin-top: .35rem; }

/* Karşılaştırma tablosu */
.cmp-table { width: 100%; border-collapse: collapse; margin: 2.2rem 0; font-family: var(--font-body); font-size: .96rem; }
.cmp-table th, .cmp-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.cmp-table thead th { font-family: var(--font-display); font-size: .82rem; color: var(--text-mut); text-transform: uppercase; letter-spacing: .05em; }
.cmp-table tbody tr:hover { background: var(--bg-soft); }
.cmp-table .yes { color: var(--brand-700); font-weight: 700; }
[data-theme="dark"] .cmp-table .yes { color: var(--brand-500); }
.cmp-table .no { color: var(--text-mut); }

/* SSS */
.faq { margin: 2.2rem 0; display: grid; gap: 10px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 20px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-700); font-size: 1.5rem; line-height: 1; flex: none; }
[data-theme="dark"] .faq summary::after { color: var(--brand-500); }
.faq details[open] summary::after { content: "\2212"; }
.faq details > p { padding: 0 20px 18px; color: var(--text-soft); font-family: var(--font-body); font-size: 1rem; margin: 0; line-height: 1.7; }

/* Görsel + metin (ürün sayfası "adım" düzeni) */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin: 2.4rem 0; }
.media.rev .media-img { order: -1; }
.media-img img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); box-shadow: var(--shadow); }
.media-txt h3 { font-family: var(--font-display); margin-bottom: .5rem; font-size: 1.25rem; }
.media-txt p { font-family: var(--font-body); color: var(--text-soft); font-size: 1rem; line-height: 1.7; }
@media (max-width: 720px) { .media, .media.rev { grid-template-columns: 1fr; } .media.rev .media-img { order: 0; } .stat-cards { grid-template-columns: 1fr 1fr; } }

/* Kimdir portre hero'su (uzun) + ürün logosu */
.article-hero.tall { height: 440px; }
.article-hero.tall img { object-position: center 20%; }
.product-logo { height: 40px; width: auto; margin-bottom: 14px; display: block; }

/* Dil geçişi (TR/EN) */
.lang-switch { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-pill); border: 1px solid var(--border); color: var(--text-soft); font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .02em; background: var(--surface); transition: var(--t-fast); }
.lang-switch:hover { color: var(--brand-700); border-color: var(--brand-600); transform: translateY(-1px); }
[data-theme="dark"] .lang-switch:hover { color: var(--brand-500); }

/* Kod blokları (Medium tarzı yazılar) */
.prose pre { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 18px; overflow-x: auto; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .86rem; line-height: 1.6; margin: 1.6rem 0; color: var(--text); }
.prose :not(pre) > code { font-family: ui-monospace, Menlo, monospace; font-size: .9em; background: color-mix(in srgb, var(--brand-500) 14%, transparent); padding: .12em .4em; border-radius: 6px; }
.prose pre code { background: none; padding: 0; }

/* Çerez bildirimi */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 300; max-width: 780px; margin-inline: auto; display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 14px 18px; font-size: .92rem; color: var(--text-soft); }
.cookie-bar a { color: var(--brand-700); text-decoration: underline; }
[data-theme="dark"] .cookie-bar a { color: var(--brand-500); }
.cookie-bar .btn { padding: .5rem 1.1rem; font-size: .9rem; }

/* Sayfalama */
.pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin: 40px 0 8px; }
.pagination button { min-width: 42px; height: 42px; padding: 0 13px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-family: var(--font-display); font-weight: 600; font-size: .92rem; cursor: pointer; display: inline-grid; place-items: center; transition: var(--t-fast); }
.pagination button:hover { border-color: var(--brand-600); color: var(--brand-700); transform: translateY(-1px); }
.pagination button[aria-current="true"] { background: linear-gradient(135deg, var(--brand-600), var(--brand-700)); color: #fff; border-color: transparent; }
.pagination button:disabled { opacity: .4; cursor: default; transform: none; }

/* Geniş tablolar mobilde kaydırılabilir */
.prose table { display: block; overflow-x: auto; white-space: nowrap; }

/* Mobil ince ayarlar */
@media (max-width: 560px) {
  .cookie-bar { flex-direction: column; align-items: stretch; text-align: center; gap: 10px; left: 10px; right: 10px; bottom: 10px; padding: 14px 16px; }
  .cookie-bar .btn { width: 100%; justify-content: center; }
  .article-hero { height: 200px; }
  .article-hero.tall { height: 300px; }
  .prose { font-size: 1.05rem; }
  .prose pre { font-size: .8rem; padding: 12px 14px; }
  .hero-meta { gap: 1rem; }
  .article-meta { font-size: .85rem; }
}
