/* =========================================================================
   Demir Taşdemir — Kişisel Portföy
   style.css
   İçindekiler:
     1.  Tema değişkenleri (koyu / açık)
     2.  Reset & temel yazı tipografisi
     3.  Yardımcı sınıflar (container, butonlar, rozetler)
     4.  Üst menü (header + mobil menü)
     5.  Hero
     6.  Teknoloji şeridi (marquee)
     7.  Bölüm başlıkları
     8.  Hakkımda
     9.  Yetenekler
     10. Zaman çizelgesi (deneyim)
     11. Projeler
     12. Hizmetler
     13. İletişim
     14. Alt bilgi + yukarı çık
     15. Animasyonlar & scroll reveal
     16. Duyarlı (responsive) kırılımlar
     17. Yazdırma & erişilebilirlik
   ========================================================================= */

/* ---------------------------------------------------------------
   1. TEMA DEĞİŞKENLERİ
   --------------------------------------------------------------- */
:root {
  /* Marka renkleri */
  --brand-1: #5B7CFA;
  --brand-2: #A855F7;
  --brand-3: #22D3EE;
  --grad: linear-gradient(120deg, var(--brand-1), var(--brand-2) 55%, var(--brand-3));

  /* Ölçek */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(44px, 5.5vw, 76px);

  /* Geçişler */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: .18s var(--ease);
  --t: .35s var(--ease);
}

/* --- Açık tema (VARSAYILAN) ------------------------------------
   Sayfa zemini kırık beyaz, kartlar saf beyaz → kartlar zeminden
   ayrışır ve arayüz "kağıt üstünde" hissi verir. --------------- */
[data-theme="light"] {
  --bg: #FCFCFE;
  --bg-alt: #F4F5FA;
  --surface: #FFFFFF;
  --surface-2: #F4F5FA;
  --border: rgba(16, 22, 55, .085);
  --border-strong: rgba(16, 22, 55, .16);
  --text: #10132A;
  --text-soft: #4A5170;
  --text-dim: #6B7189;
  --shadow: 0 1px 2px rgba(16, 22, 55, .05), 0 24px 48px -24px rgba(16, 22, 55, .22);
  --shadow-sm: 0 1px 2px rgba(16, 22, 55, .04), 0 10px 26px -16px rgba(16, 22, 55, .16);
  --glow: rgba(91, 124, 250, .24);
  --header-bg: rgba(252, 252, 254, .82);
  --code-bg: #12121C;          /* kod kartı her iki temada da koyu kalır */
  --ink: #3B54D6;              /* beyaz üstünde okunaklı vurgu rengi */
  color-scheme: light;
}

/* Koyu tema */
[data-theme="dark"] {
  --bg: #08080D;
  --bg-alt: #0D0D15;
  --surface: #12121C;
  --surface-2: #171724;
  --border: rgba(255, 255, 255, .09);
  --border-strong: rgba(255, 255, 255, .16);
  --text: #EDEDF2;
  --text-soft: #A9A9BC;
  --text-dim: #8A8AA0;   /* küçük metinlerde AA kontrastı için açıldı */
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .8);
  --shadow-sm: 0 6px 24px -10px rgba(0, 0, 0, .7);
  --glow: rgba(91, 124, 250, .28);
  --header-bg: rgba(8, 8, 13, .72);
  --code-bg: #0B0B14;
  --ink: #8FA6FF;              /* koyu zeminde okunaklı vurgu rengi */
  color-scheme: dark;
}

/* -----------------------------------------------------------------
   Açık temaya özel ince ayarlar
   Beyaz zeminde kartların "yüzmesi", renklerin ise yeterli kontrasta
   sahip olması için gereken düzeltmeler.
   ----------------------------------------------------------------- */

/* Kartlara hafif yükseklik ver — beyaz üstünde beyaz kart kaybolmasın */
[data-theme="light"] .skill-card,
[data-theme="light"] .project,
[data-theme="light"] .service,
[data-theme="light"] .tl-card,
[data-theme="light"] .contact-card,
[data-theme="light"] .about-facts,
[data-theme="light"] .capabilities,
[data-theme="light"] .contact-form,
[data-theme="light"] .float-chip,
[data-theme="light"] .filter,
[data-theme="light"] .social a,
[data-theme="light"] .icon-btn {
  box-shadow: 0 1px 2px rgba(16, 22, 55, .04), 0 4px 14px -8px rgba(16, 22, 55, .10);
}
[data-theme="light"] .filter.is-active { box-shadow: 0 8px 22px -10px var(--glow); }

/* Arka plan efektlerini yumuşat */
[data-theme="light"] .orb { opacity: .34; filter: blur(100px); }
[data-theme="light"] .grid-overlay { opacity: .5; }

/* Renkli etiketler beyaz üstünde yeterince koyu olsun (WCAG kontrast) */
[data-theme="light"] .level-adv,
[data-theme="light"] .badge-live { color: #15803D; border-color: rgba(21, 128, 61, .28); background: rgba(21, 128, 61, .08); }
[data-theme="light"] .level-mid,
[data-theme="light"] .badge-wip  { color: #B45309; border-color: rgba(180, 83, 9, .28);  background: rgba(180, 83, 9, .08); }
[data-theme="light"] .level-new  { color: #0369A1; border-color: rgba(3, 105, 161, .28); background: rgba(3, 105, 161, .08); }

[data-theme="light"] .tl-now .tl-card,
[data-theme="light"] .plan-kart-vurgu { border-color: rgba(59, 84, 214, .28); }

/* ---------------------------------------------------------------
   2. RESET & TEMEL
   --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { line-height: 1.18; letter-spacing: -.02em; font-weight: 800; }

h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.15rem; font-weight: 700; }

strong, b { font-weight: 700; color: var(--text); }

::selection { background: var(--brand-1); color: #fff; }

/* Kaydırma çubuğu */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
  border: 2px solid var(--bg-alt);
}
::-webkit-scrollbar-thumb:hover { background: var(--brand-1); }

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 999;
  background: var(--brand-1);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  transition: top var(--t-fast);
}
.skip-link:focus { top: 12px; }

/* Yalnızca ekran okuyucular için: görünmez ama erişilebilir.
   .skip-link'i bu iş için kullanmayın — o kendini "top: -100px" ile gizler ve
   konumlandırılmış bir kapsayıcının içinde ekran dışına değil, kapsayıcının
   100px üstüne düşer. */
.gorsel-gizli {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 2px solid var(--brand-1);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------
   3. YARDIMCI SINIFLAR
   --------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Butonlar */
.btn {
  --btn-py: 13px;
  --btn-px: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--btn-py) var(--btn-px);
  border: 1px solid transparent;
  border-radius: 99px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t), border-color var(--t), color var(--t);
}
.btn svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--grad);
  background-size: 180% 180%;
  color: #fff;
  box-shadow: 0 10px 30px -10px var(--glow);
}
.btn-primary:hover {
  background-position: 100% 50%;
  box-shadow: 0 16px 40px -12px var(--glow);
}
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}
.btn-ghost:hover {
  background: var(--surface-2);
  border-color: var(--brand-1);
}

.btn-sm { --btn-py: 10px; --btn-px: 20px; font-size: .875rem; }
.btn-block { width: 100%; }

/* -----------------------------------------------------------------
   İKON SİSTEMİ
   Sitede emoji kullanılmıyor; tüm ikonlar aynı çizgi ailesinden
   gelen SVG'ler. Böylece her işletim sisteminde birebir aynı görünüyor
   ve renkleri temayla birlikte değişiyor.
   ----------------------------------------------------------------- */
.ikon {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Degrade zemin üstündeki ikonlar beyaz olsun */
.iak-ico, .project-icon, .sy-gorsel, .yazi-gorsel, .op-ikon { color: #fff; }
.iak-ico .ikon,
.project-icon .ikon,
.op-ikon .ikon { width: 22px; height: 22px; stroke-width: 1.9; }

/* Nötr zeminli ikon kutuları */
.svc-ico, .cc-ico, .kilit-ikon, .neden-ikon, .tanisma-kartlar span { color: var(--ink); }
.svc-ico .ikon    { width: 24px; height: 24px; }
.cc-ico .ikon     { width: 20px; height: 20px; }
.kilit-ikon .ikon { width: 28px; height: 28px; }
.neden-ikon .ikon { width: 22px; height: 22px; }
.tanisma-kartlar span .ikon { width: 20px; height: 20px; }

/* Satır içi ikonlar */
.cap-ico   { display: inline-flex; color: var(--ink); }
.cap-ico .ikon   { width: 19px; height: 19px; }
.kunye-ico { display: inline-flex; color: var(--text-dim); }
.kunye-ico .ikon { width: 17px; height: 17px; }
.float-chip span { display: inline-flex; color: var(--ink); }
.float-chip .ikon { width: 17px; height: 17px; }

/* Rozetler */
.badge {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  white-space: nowrap;
}
.badge-live { color: #22C55E; border-color: rgba(34, 197, 94, .35); background: rgba(34, 197, 94, .10); }
.badge-wip  { color: #F59E0B; border-color: rgba(245, 158, 11, .35); background: rgba(245, 158, 11, .10); }

/* Etiket listeleri */
.tags, .tl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.tags li, .tl-tags li {
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-soft);
  transition: border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.tags li:hover {
  border-color: var(--brand-1);
  color: var(--text);
  transform: translateY(-2px);
}

/* Yetenek çubuğu */
.bar {
  height: 7px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--grad);
  transition: width 1.1s var(--ease);
}
.bar.is-filled i { width: var(--val); }
.bar-sm { height: 6px; }

.hide-sm { display: inline-flex; }

/* ---------------------------------------------------------------
   4. ÜST MENÜ
   --------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--t), border-color var(--t), box-shadow var(--t);
}
.site-header.is-stuck {
  background: var(--header-bg);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.logo { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.02em; }
.logo-mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: 0 6px 18px -6px var(--glow);
  flex-shrink: 0;
}
.logo-text { font-size: 1rem; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 14px;
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-soft);
  border-radius: 99px;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad);
  transform: translateX(-50%);
  transition: width var(--t);
}
.nav a:hover { color: var(--text); }
.nav a.is-active { color: var(--text); }
.nav a.is-active::after { width: 20px; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.icon-btn:hover { border-color: var(--brand-1); transform: translateY(-2px); }
.icon-btn svg {
  width: 19px; height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[data-theme="dark"] .ico-sun  { display: none; }
[data-theme="light"] .ico-moon { display: none; }

/* .icon-btn ızgarayla ortalıyor; menü düğmesi flex'e geçtiği için
   place-items dikeyde işlemiyor — justify-content'i ayrıca vermek gerekiyor. */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.menu-btn span {
  display: block;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t), opacity var(--t-fast);
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 0;
  background: var(--grad);
  transition: width .1s linear;
}

/* ---------------------------------------------------------------
   5. HERO
   --------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 0 44px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .55;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-1 {
  width: 46vw; height: 46vw;
  max-width: 620px; max-height: 620px;
  top: -14%; right: -8%;
  background: radial-gradient(circle, var(--brand-1), transparent 68%);
}
.orb-2 {
  width: 40vw; height: 40vw;
  max-width: 540px; max-height: 540px;
  bottom: -18%; left: -10%;
  background: radial-gradient(circle, var(--brand-2), transparent 68%);
  animation-delay: -7s;
}
[data-theme="light"] .orb { opacity: .3; }

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 78%);
  opacity: .6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
/* Izgara öğeleri varsayılan olarak min-width:auto alır ve içeriklerinden
   daha dar olamaz. Kod kartındaki uzun satırlar bu yüzden sütunu kapsayıcıdan
   geniş yapıyordu; min-width:0 ile kart kendi içinde kaydırılabilir kalıyor. */
.hero-inner > * { min-width: 0; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 12px;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 26px;
}
.pill .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, .55);
  animation: pulse 2.2s infinite;
}

/* Kimlik satırı — isim ve rol, başlığın hemen üstünde */
.hero-kimlik {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
  margin-bottom: 16px;
}
.hero-kimlik b {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.hero-kimlik span {
  position: relative;
  padding-left: 13px;
  font-size: .92rem;
  color: var(--text-soft);
}
.hero-kimlik span::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 5px; height: 1px;
  background: var(--border-strong);
}

.hero-title {
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--text-soft);
  max-width: 54ch;
  margin-bottom: 30px;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats b {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}
.hero-stats span { font-size: .78rem; color: var(--text-dim); line-height: 1.4; }

/* Kod kartı */
.hero-visual { position: relative; }

.code-card {
  border-radius: var(--radius-lg);
  background: var(--code-bg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}
.code-card:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg) translateY(-6px); }

.code-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.tl { width: 11px; height: 11px; border-radius: 50%; }
.tl-r { background: #FF5F57; } .tl-y { background: #FEBC2E; } .tl-g { background: #28C840; }
.code-bar em {
  margin-left: auto;
  font-style: normal;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem;
  color: #6F6F84;
}

.code-body {
  padding: 22px 20px 26px;
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: clamp(.72rem, 1.05vw, .84rem);
  line-height: 1.85;
  color: #C9CBE0;
  overflow-x: auto;
}
.c-key { color: #C792EA; }
.c-typ { color: #82AAFF; }
.c-str { color: #C3E88D; }
.c-num { color: #F78C6C; }
.c-fn  { color: #FFCB6B; }
.c-op  { color: #89DDFF; }
.c-cmt { color: #6B7A99; font-style: italic; }

.float-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  font-size: .82rem;
  font-weight: 700;
  animation: float 5s ease-in-out infinite;
}
/* Rozetler kartın dış çeperinde durur — kod metninin üstüne binmemeleri için
   yalnızca üst başlık çubuğu ve alt kenar boşluğu hizasına yerleştirildiler. */
.chip-1 { top: -18px; left: -24px; }
.chip-2 { bottom: -20px; right: -24px; animation-delay: -1.6s; }
.chip-3 { bottom: -20px; left: 11%; animation-delay: -3.2s; }

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid var(--border-strong);
  border-radius: 99px;
  z-index: 1;
}
.scroll-hint span {
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  border-radius: 99px;
  background: var(--brand-1);
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

/* ---------------------------------------------------------------
   6. TEKNOLOJİ ŞERİDİ
   --------------------------------------------------------------- */
.marquee-section {
  border-block: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 18px 0;
  overflow: hidden;
}
.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 26px;
  width: max-content;
  animation: scrollX 42s linear infinite;
}
.marquee-track span {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.marquee-track i {
  font-style: normal;
  font-size: .55rem;
  color: var(--ink);
  opacity: .7;
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------------------------------------------------------------
   7. BÖLÜM BAŞLIKLARI
   --------------------------------------------------------------- */
.section { padding-block: var(--section-y); position: relative; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--border); }

.section-head { max-width: 780px; margin-bottom: clamp(26px, 3.5vw, 44px); }

.eyebrow {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 16px; }
.section-sub { color: var(--text-soft); font-size: 1.02rem; max-width: 62ch; }

/* ---------------------------------------------------------------
   7a. ALT SAYFA BAŞLIĞI
   Hakkımda / Yetenekler / Projeler / Hizmetler / İletişim
   sayfalarının ortak üst bölümü.
   --------------------------------------------------------------- */
.sayfa-hero {
  position: relative;
  padding: clamp(90px, 11vw, 124px) 0 clamp(30px, 4vw, 44px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.sayfa-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.sayfa-hero-bg .orb {
  position: absolute;
  top: -46%; left: 50%;
  transform: translateX(-50%);
  width: 84vw; max-width: 900px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .32;
  background: radial-gradient(circle, var(--brand-1), transparent 66%);
  animation: none;
}
.sayfa-hero .container { position: relative; z-index: 1; }
.sayfa-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: -.035em;
  margin-bottom: 18px;
  max-width: 22ch;
}
.sayfa-giris {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--text-soft);
  max-width: 64ch;
}
.sayfa-giris a { color: var(--ink); font-weight: 600; }

/* Sayfa başlığı altındaki istatistik şeridi — uygulamalar ve Ar-Ge sayfalarında ortak */
.sayfa-ozet, .uyg-ozet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 16px;
  list-style: none;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.sayfa-ozet li, .uyg-ozet li { display: flex; flex-direction: column; gap: 2px; }
.sayfa-ozet b, .uyg-ozet b {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sayfa-ozet span, .uyg-ozet span { font-size: .78rem; color: var(--text-dim); }


/* Başlık ile yandaki bağlantıyı aynı satıra alan varyant */
.section-head.is-satir {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}
.section-head.is-satir > div { max-width: 780px; }

/* ---------------------------------------------------------------
   7c-2. ANA SAYFA — ÖNE ÇIKAN İŞLER
   Ziyaretçi ana sayfadan ayrılmadan somut bir iş görsün diye.
   --------------------------------------------------------------- */
/* Öne çıkan işler her zaman tek satır: geniş ekranda üç sütun,
   dar ekranda alt alta. Aradaki "iki tam + bir yetim kart" hâli oluşmaz. */
.isler-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .isler-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Öne çıkan işler tek satır: gerisi için alttaki bağlantılar */
.isler-alt {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
@media (max-width: 480px) {
  .isler-alt { flex-direction: column; }
  .isler-alt .btn { justify-content: center; }
}

.is-kart {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.is-kart:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

/* Üst görsel alanı — degrade + baş harfler (ayrı dosya gerekmiyor) */
.is-gorsel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 8.5;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  overflow: hidden;
}
.is-gorsel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000, transparent 76%);
  -webkit-mask-image: radial-gradient(ellipse 78% 78% at 50% 50%, #000, transparent 76%);
}
/* Uygulama ikonu — kartın ortasında, degradenin üstünde durur.
   Dosya yoksa uygulamalar.js onu .yok yapıyor ve altındaki baş harfler görünüyor. */
.is-ikon {
  position: relative;
  z-index: 2;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  object-fit: cover;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .22);
  transition: transform var(--t);
}
.is-kart:hover .is-ikon { transform: scale(1.05); }
.is-ikon.yok { display: none; }

/* İkon yüklendiyse baş harfler gizlenir — ikisi üst üste binmesin */
.is-ikon:not(.yok) + .is-kisaltma { display: none; }

.is-kisaltma {
  position: relative;
  z-index: 1;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .3);
}

@media (max-width: 560px) {
  .is-ikon { width: 74px; height: 74px; border-radius: 18px; }
}
.is-rozet {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .92);
  color: #10132A;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.is-rozet.is-canli::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #16A34A;
}

.is-govde {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 24px;
}
/* Tür etiketi. İki satıra taşabildiği için sabit yükseklik veriyoruz —
   böylece üç karttaki başlıklar her koşulda aynı hizada kalıyor. */
.is-tur {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .73rem;
  line-height: 1.5;
  color: var(--text-dim);
  margin-bottom: 10px;
  min-height: 2.2em;
  flex: none;             /* aşağıdaki açıklama kuralından etkilenmesin */
}
.is-kart h3 { font-size: 1.15rem; margin-bottom: 10px; }
.is-kart:hover h3 { color: var(--ink); }

/* Yalnızca açıklama paragrafı esnesin (.is-tur hariç) */
.is-govde > p:not(.is-tur) {
  font-size: .9rem;
  color: var(--text-soft);
  flex-grow: 1;
  margin-bottom: 18px;
}

.is-git {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .87rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: auto;
  transition: gap var(--t-fast);
}
.is-git svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.is-kart:hover .is-git { gap: 12px; }

/* ---------------------------------------------------------------
   7d. ANA SAYFA — KEŞİF KARTLARI
   Ziyaretçiyi doğru sayfaya yönlendiren ızgara.
   --------------------------------------------------------------- */
.kesif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 18px;
}

.kesif-kart {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.kesif-kart::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c1), var(--c2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.kesif-kart:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.kesif-kart:hover::before { transform: scaleX(1); }

.kesif-ico {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  box-shadow: 0 8px 20px -8px var(--c1);
}
.kesif-ico .ikon { width: 22px; height: 22px; stroke-width: 1.9; }

.kesif-kart h3 { font-size: 1.12rem; margin-bottom: 10px; }
.kesif-kart p { font-size: .91rem; color: var(--text-soft); flex-grow: 1; margin-bottom: 18px; }

.kesif-git {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .87rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: auto;
  transition: gap var(--t-fast);
}
.kesif-git svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.kesif-kart:hover .kesif-git { gap: 12px; }

/* ---------------------------------------------------------------
   7e. ANA SAYFA — KAPANIŞ ŞERİDİ
   --------------------------------------------------------------- */
.kapanis-serit {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 4.5vw, 52px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.kapanis-serit::before {
  content: "";
  position: absolute;
  top: -220px; right: -120px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  pointer-events: none;
}
.kapanis-serit > * { position: relative; z-index: 1; }
.kapanis-serit > div:first-child { flex: 1 1 400px; }
.kapanis-serit h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 12px; }
.kapanis-serit p { color: var(--text-soft); font-size: .97rem; max-width: 54ch; }
.kapanis-cta { display: flex; flex-wrap: wrap; gap: 11px; flex-shrink: 0; }

/* ---------------------------------------------------------------
   7b. İŞE ALIM ÖZETİ ("60 saniyede ben")
   Sayfaya ilk gelen işe alım yetkilisinin 1 dakikada karar
   verebilmesi için hazırlanmış özet blok.
   --------------------------------------------------------------- */
.ozet-bolum { padding-top: clamp(38px, 4.5vw, 60px); }

.ise-alim-kart {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
/* Üst kenarda ince marka çizgisi */
.ise-alim-kart::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
}
/* Sağ üstte yumuşak ışık */
.ise-alim-kart::before {
  content: "";
  position: absolute;
  top: -240px; right: -140px;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  pointer-events: none;
}
.ise-alim-kart > * { position: relative; z-index: 1; }

/* --- Üst satır: başlık + çağrı --- */
.iak-ust {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: clamp(24px, 3vw, 32px);
  margin-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid var(--border);
}
.iak-giris { flex: 1 1 380px; }
.iak-giris h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  margin-bottom: 12px;
}
.iak-giris > p {
  color: var(--text-soft);
  font-size: .97rem;
  max-width: 54ch;
}
.iak-cta { display: flex; flex-wrap: wrap; gap: 11px; flex-shrink: 0; }

/* --- Dört kanıt maddesi ---
   Kutu içinde kutu kurmuyoruz: maddeler doğrudan kartın üstünde,
   aralarında ince ayraçlarla duran sütunlar hâlinde. Böylece hiyerarşi
   net kalıyor ve blok "gazete sütunu" gibi okunuyor. */
.iak-liste {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 0;
}
.iak-liste li {
  position: relative;
  padding: 0 clamp(16px, 2vw, 26px);
  border-left: 1px solid var(--border);
}
.iak-liste li:first-child { padding-left: 0; border-left: 0; }
.iak-liste li:last-child  { padding-right: 0; }

.iak-ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  margin-bottom: 15px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 8px 18px -8px var(--c1);
  color: #fff;
}

/* Başlıklar tek satıra sığacak uzunlukta tutuldu; bu sayede sabit
   yüksekliğe gerek kalmadan dört sütun kendiliğinden hizalı duruyor. */
.iak-liste b {
  display: block;
  font-size: .97rem;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 10px;
}
.iak-liste p {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--text-soft);
}

/* --- Alt künye şeridi --- */
.iak-kunye {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: clamp(24px, 3vw, 32px);
  padding-top: clamp(20px, 2.5vw, 26px);
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-soft);
}
.iak-kunye li { display: flex; align-items: center; gap: 9px; }
.iak-kunye a {
  color: var(--ink);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
  transition: opacity var(--t-fast);
}
.iak-kunye a:hover { opacity: .75; }
/* Emoji, yanındaki metinle aynı optik ağırlıkta dursun */
.kunye-ico { font-size: .95rem; line-height: 1; flex-shrink: 0; }
.kunye-nokta {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: pulse 2.2s infinite;
}

/* ---------------------------------------------------------------
   7c. ANA SAYFADAKİ "SON YAZILAR"
   --------------------------------------------------------------- */
.son-yazilar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}

.son-yazi {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.son-yazi:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}

.sy-gorsel {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 8;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--c1), var(--c2));
  margin-bottom: 18px;
  overflow: hidden;
}
.sy-gorsel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .13) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000, transparent 75%);
}
.sy-gorsel span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #fff;
}
.sy-gorsel .ikon {
  width: 38px; height: 38px;
  stroke-width: 1.4;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .28));
}

.sy-ust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 11px;
}
.yazi-kategori-mini {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
  white-space: nowrap;
}
.sy-tarih { font-size: .76rem; color: var(--text-dim); }

.son-yazi h3 { font-size: 1.08rem; line-height: 1.4; margin-bottom: 9px; }
.son-yazi:hover h3 { color: var(--ink); }
.son-yazi p { font-size: .89rem; color: var(--text-soft); }

.yazilar-alt { text-align: center; margin-top: 30px; }

/* ---------------------------------------------------------------
   8. HAKKIMDA
   --------------------------------------------------------------- */
/* İki sütun aynı yükseklikte bitsin: kart, metin sütunu kadar uzar ve
   içindeki buton alta yaslanır (margin-top: auto). */
.about-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}

.about-text p { color: var(--text-soft); margin-bottom: 18px; }
.about-text .lead {
  font-size: 1.15rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 22px;
}
.about-text em { color: var(--text); font-style: italic; }

.about-facts {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
/* Kart, metin sütunu kadar uzar. Artan boşluk tek noktada birikmesin diye
   bölümler arasına eşit dağıtılıyor; butonlar yine en altta kalıyor. */
.about-facts { justify-content: space-between; }
.about-facts .facts-cta { display: grid; gap: 10px; }
.facts-title {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.facts { display: grid; gap: 15px; margin-bottom: 24px; }
.facts > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: start;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}
.facts > div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { font-size: .82rem; color: var(--text-dim); font-weight: 600; }
.facts dd { font-size: .9rem; font-weight: 600; line-height: 1.5; }
.facts dd small { font-weight: 500; color: var(--text-dim); font-size: .8rem; }

/* --- Kart içindeki ek bölümler --- */
.facts-bolum {
  padding-top: 22px;
  margin-bottom: 22px;
  border-top: 1px solid var(--border);
}
.facts-bolum .facts-title { margin-bottom: 16px; }

/* Rakamlar — 2×2 ızgara */
.facts-rakam {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 12px;
}
.facts-rakam li { display: flex; flex-direction: column; gap: 1px; }
.facts-rakam b {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.facts-rakam span { font-size: .75rem; color: var(--text-dim); line-height: 1.4; }

/* Şu an üzerinde çalışılanlar */
.facts-simdi { list-style: none; display: grid; gap: 13px; }
.facts-simdi li { display: flex; align-items: flex-start; gap: 11px; }
.facts-simdi b { display: block; font-size: .88rem; line-height: 1.35; }
.facts-simdi small { font-size: .76rem; color: var(--text-dim); }

.simdi-nokta {
  width: 8px; height: 8px;
  margin-top: 6px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: pulse 2.2s infinite;
}
/* Onay sürecinde olmayanlar sessiz dursun */
.simdi-nokta.sessiz {
  background: var(--text-dim);
  opacity: .45;
  animation: none;
}

/* ---------------------------------------------------------------
   9. YETENEKLER
   --------------------------------------------------------------- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 18px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.skill-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.skill-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.skill-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.skill-card:hover::before { transform: scaleX(1); }

.skill-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.skill-head h3 { font-size: 1.05rem; }

.level {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}
.level-adv { color: #22C55E; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); }
.level-mid { color: #F59E0B; background: rgba(245, 158, 11, .12); border: 1px solid rgba(245, 158, 11, .3); }
.level-new { color: #38BDF8; background: rgba(56, 189, 248, .12); border: 1px solid rgba(56, 189, 248, .3); }

.skill-card .bar { margin-bottom: 16px; }
.skill-card p { font-size: .89rem; color: var(--text-soft); }
.skill-meta {
  margin-top: 12px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .72rem !important;
  color: var(--text-dim) !important;
}

/* O yeteneği hangi gerçek işte kullandığımı gösteren satır —
   iddiayı kanıta bağlar. */
.skill-nerede {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: .82rem !important;
  color: var(--text-soft) !important;
  line-height: 1.55;
}
.skill-nerede span {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}
/* "Nerede" satırındaki iş adları, o işin sayfasına gidiyor */
.skill-nerede a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: color var(--t-fast), text-decoration-color var(--t-fast);
}
.skill-nerede a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

/* ---- Seviye açıklaması ----
   Sayfa "seviyeleri şişirmiyorum" diyor; bu blok o iddiayı somutlaştırıyor. */
.seviye-anahtar {
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(24px, 3.5vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.seviye-anahtar-baslik {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}
.seviye-anahtar dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 18px clamp(20px, 3vw, 32px);
}
.seviye-anahtar dl > div { display: flex; flex-direction: column; gap: 8px; }
.seviye-anahtar dt { display: flex; }
.seviye-anahtar dd {
  font-size: .87rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* Diğer yetkinlikler */
.capabilities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 32px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.cap-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  margin-bottom: 16px;
}

.lang-list { list-style: none; display: grid; gap: 16px; }
.lang-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 7px;
}
.lang-top span { font-size: .9rem; font-weight: 600; }
.lang-top b { font-size: .76rem; color: var(--text-dim); font-weight: 600; }

/* ---- Tasarım araçları (seviyeleriyle) ---- */
.tasarim-araclari {
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: clamp(24px, 3.5vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.tasarim-liste {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 20px clamp(20px, 3vw, 32px);
}
.tasarim-ust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.tasarim-ust b { font-size: .97rem; }
.tasarim-liste p { font-size: .86rem; line-height: 1.6; color: var(--text-soft); }

/* ---- Hedefler ---- */
.hedefler {
  margin-top: clamp(30px, 4.5vw, 48px);
  padding-top: clamp(30px, 4.5vw, 44px);
  border-top: 1px solid var(--border);
}
.hedefler-ust { max-width: 720px; margin-bottom: clamp(22px, 3vw, 30px); }
.hedefler-ust h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }

.hedef-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 16px;
}
.hedef-kart {
  position: relative;
  padding: 24px 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.hedef-kart:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.hedef-ico {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  box-shadow: 0 8px 18px -8px var(--c1);
}
.hedef-ico .ikon { width: 20px; height: 20px; }
.hedef-kart h3 { font-size: 1rem; line-height: 1.4; margin-bottom: 9px; }
.hedef-kart p { font-size: .88rem; line-height: 1.7; color: var(--text-soft); }

/* ---------------------------------------------------------------
   10. ZAMAN ÇİZELGESİ
   --------------------------------------------------------------- */
.timeline { list-style: none; position: relative; padding-left: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 78px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--border-strong) 6%, var(--border-strong) 94%, transparent);
}

.tl-item {
  position: relative;
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 34px;
  padding-bottom: 28px;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-year {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-dim);
  padding-top: 22px;
  text-align: right;
  position: relative;
}
.tl-year::after {
  content: "";
  position: absolute;
  right: -41px; top: 28px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--border-strong);
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.tl-item:hover .tl-year { color: var(--text); }
.tl-item:hover .tl-year::after { border-color: var(--brand-1); }

.tl-now .tl-year { color: var(--brand-1); font-weight: 700; }
.tl-now .tl-year::after {
  background: var(--brand-1);
  border-color: var(--brand-1);
  box-shadow: 0 0 0 5px var(--glow);
}

.tl-card {
  position: relative;
  padding: 24px 26px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.tl-item:hover .tl-card {
  transform: translateX(5px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.tl-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding-right: 52px; }
.tl-card p { font-size: .93rem; color: var(--text-soft); margin-bottom: 12px; }
.tl-card p:last-of-type { margin-bottom: 16px; }

/* Yıl ikonu — kartın sağ üstünde, sessiz bir işaret */
.tl-ikon {
  position: absolute;
  top: 22px; right: 24px;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
  transition: color var(--t), border-color var(--t);
}
.tl-ikon .ikon { width: 19px; height: 19px; }
.tl-item:hover .tl-ikon { color: var(--ink); border-color: var(--border-strong); }
.tl-now .tl-ikon { color: var(--ink); border-color: rgba(59, 84, 214, .3); }

/* O yılın somut çıktısı — faaliyeti değil sonucu anlatır */
.tl-kazanim {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 16px !important;
  padding: 11px 15px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border-left: 2px solid var(--brand-1);
  font-size: .89rem !important;
  color: var(--text) !important;
  font-weight: 500;
}
.tl-kazanim span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #22C55E;
  flex-shrink: 0;
  animation: pulse 2.2s infinite;
}

.tl-now .tl-card { border-color: rgba(91, 124, 250, .35); }

/* ---------------------------------------------------------------
   11. PROJELER
   --------------------------------------------------------------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}
.filter {
  padding: 9px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: all var(--t-fast);
}
.filter:hover { border-color: var(--brand-1); color: var(--text); }
.filter.is-active {
  background: var(--grad);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 22px -10px var(--glow);
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 20px;
}

.project {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t), opacity .3s var(--ease);
}
.project:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.project.is-hidden { display: none; }

.project-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.project-icon {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 8px 20px -8px var(--c1);
  flex-shrink: 0;
}
.project h3 { font-size: 1.2rem; margin-bottom: 10px; }
.project-desc { font-size: .91rem; color: var(--text-soft); margin-bottom: 18px; flex-grow: 1; }
.project .tl-tags { margin-bottom: 20px; }

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .87rem;
  font-weight: 700;
  color: var(--ink);
  margin-top: auto;
  transition: gap var(--t-fast), color var(--t-fast);
}
.project-link svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.project-link:hover { gap: 11px; }
.project-link-muted { color: var(--text-dim); font-weight: 600; cursor: default; }

.projects-note {
  margin-top: 28px;
  padding: 18px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  font-size: .92rem;
  color: var(--text-soft);
  text-align: center;
}

/* ---------------------------------------------------------------
   12. HİZMETLER
   --------------------------------------------------------------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 20px;
}

.service {
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.service::after {
  content: "";
  position: absolute;
  top: -60%; right: -30%;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 70%);
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
}
.service:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow);
}
.service:hover::after { opacity: 1; }

.svc-ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.service h3 { font-size: 1.12rem; margin-bottom: 11px; }
.service > p { font-size: .91rem; color: var(--text-soft); margin-bottom: 18px; }

.svc-list { list-style: none; display: grid; gap: 9px; }
.svc-list li {
  position: relative;
  padding-left: 24px;
  font-size: .87rem;
  color: var(--text-soft);
}
.svc-list li::before {
  content: "";
  position: absolute;
  left: 4px; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------------------------------------------------------------
   13. İLETİŞİM
   --------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.contact-info { display: grid; gap: 12px; }

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.contact-card:not(.contact-card-static):hover {
  transform: translateX(4px);
  border-color: var(--brand-1);
  box-shadow: var(--shadow-sm);
}
.cc-ico {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.cc-label { display: block; font-size: .74rem; color: var(--text-dim); font-weight: 600; }
.contact-card b { font-size: .93rem; word-break: break-word; }

.social { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.social a {
  padding: 9px 18px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: all var(--t-fast);
}
.social a:hover {
  border-color: var(--brand-1);
  color: var(--text);
  transform: translateY(-2px);
}

.contact-form {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 700; }
.field label span { color: var(--brand-2); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: .93rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-1);
  box-shadow: 0 0 0 3px var(--glow);
}
.field.has-error input,
.field.has-error textarea { border-color: #EF4444; }

.err { font-size: .78rem; color: #EF4444; min-height: 0; }

.form-note { font-size: .8rem; color: var(--text-dim); text-align: center; }
.form-note a { color: var(--ink); font-weight: 600; }
.form-note.is-ok { color: #22C55E; }


/* -----------------------------------------------------------------
   PAYLAŞILAN BİLEŞENLER
   Hem blog yazılarında hem uygulama/Ar-Ge sayfalarında kullanılıyor;
   bu yüzden bölüme özel dosyada değil burada duruyorlar.
   ----------------------------------------------------------------- */

/* Bilgi kutuları: <div class="kutu ipucu"> */
.kutu {
  display: flex;
  gap: 14px;
  margin: 0 0 1.45em;
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: .96rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.kutu .kutu-ico { display: block; flex-shrink: 0; margin-top: 2px; }
.kutu .ikon { width: 21px; height: 21px; }
/* Yalnızca kutunun BAŞLIK düzeyindeki <b> bloktur. Paragraf içindeki
   vurgular satır içinde kalmalı — yoksa cümle ortasında alt satıra kayıyor. */
.kutu > div > b { display: block; color: var(--text); margin-bottom: 4px; }
.kutu p b, .kutu li b { color: var(--text); font-weight: 700; }
.kutu p:last-child { margin-bottom: 0; }

.kutu.ipucu  { border-color: rgba(34, 197, 94, .32);  background: rgba(34, 197, 94, .06); }
.kutu.uyari  { border-color: rgba(245, 158, 11, .32); background: rgba(245, 158, 11, .06); }
.kutu.not    { border-color: rgba(91, 124, 250, .32); background: rgba(91, 124, 250, .06); }

.kutu.ipucu .kutu-ico { color: #16A34A; }
.kutu.uyari .kutu-ico { color: #D97706; }
.kutu.not   .kutu-ico { color: var(--ink); }
[data-theme="light"] .kutu.ipucu .kutu-ico { color: #15803D; }
[data-theme="light"] .kutu.uyari .kutu-ico { color: #B45309; }

/* "Tek kişilik iş" notu — uygulama, web sitesi, oyun ve Ar-Ge bölümlerinde
   aynı görünsün diye markanın kendi rengiyle ayrı bir varyant. */
.kutu.tek-kisi {
  border-color: color-mix(in srgb, var(--brand-1) 32%, transparent);
  background: color-mix(in srgb, var(--brand-1) 6%, transparent);
  margin-top: 26px;
}
.kutu.tek-kisi .kutu-ico { color: var(--brand-1); }

/* Filtre sonucu bildirimi — blog, uygulamalar ve web siteleri sayfalarında ortak */
.blog-sonuc {
  font-size: .87rem;
  color: var(--text-dim);
  margin-bottom: 22px;
  min-height: 1.4em;
}

.geri-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .87rem;
  font-weight: 600;
  color: var(--text-dim);
  margin-bottom: 26px;
  transition: gap var(--t-fast), color var(--t-fast);
}
.geri-link svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.geri-link:hover { color: var(--ink); gap: 11px; }

.komsu-yazilar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 44px;
}
.komsu {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all var(--t-fast);
}
.komsu:hover { border-color: var(--brand-1); transform: translateY(-3px); }
.komsu-etiket {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.komsu b { font-size: .97rem; line-height: 1.4; }
.komsu.sonraki { text-align: right; }
.komsu.bos { opacity: .4; pointer-events: none; }

/* --- Uygulama detay sayfalarındaki komşu kartlar: ikon + iki satırlık özet.
       Blog yazılarındaki sade komşu kartları etkilenmesin diye ayrı sınıf. --- */
.uyg-komsu .komsu { gap: 10px; }
.uyg-komsu .komsu-ust {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.uyg-komsu .komsu.sonraki .komsu-ust { flex-direction: row-reverse; }
.uyg-komsu .komsu-ust b { min-width: 0; }

.uyg-komsu .komsu-ikon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  flex-shrink: 0;
  overflow: hidden;
}
.uyg-komsu .komsu-ikon img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* En fazla iki satır; taşan kısım üç noktayla kesilir */
.uyg-komsu .komsu-ozet {
  font-size: .85rem;
  line-height: 1.55;
  color: var(--text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 620px) {
  .uyg-komsu { grid-template-columns: 1fr; }
  .uyg-komsu .komsu.sonraki { text-align: left; }
  .uyg-komsu .komsu.sonraki .komsu-ust { flex-direction: row; }
}

/* Yazı sonu çağrısı */
.blog-cta {
  margin-top: 48px;
  padding: clamp(30px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-cta::after {
  content: "";
  position: absolute;
  top: -60%; left: 50%;
  transform: translateX(-50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 66%);
  pointer-events: none;
}
.blog-cta > * { position: relative; z-index: 1; }
.blog-cta h3 { font-size: clamp(1.2rem, 2.4vw, 1.55rem); margin-bottom: 12px; }
.blog-cta p { font-size: .96rem; color: var(--text-soft); max-width: 52ch; margin: 0 auto 24px; }
.blog-cta .btn-grup { display: flex; flex-wrap: wrap; gap: 11px; justify-content: center; }


/* ---------------------------------------------------------------
   14. ALT BİLGİ + YUKARI ÇIK
   --------------------------------------------------------------- */
.site-footer {
  position: relative;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding-top: clamp(40px, 5vw, 60px);
}

/* Üst blok: marka tanıtımı + üç bağlantı sütunu */
.footer-ust {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 48px);
  padding-bottom: clamp(30px, 4vw, 42px);
}

.footer-marka .logo { margin-bottom: 16px; }
.footer-tanim {
  font-size: .89rem;
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 46ch;
  margin-bottom: 16px;
}
.footer-durum {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
}

.footer-sutun { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.footer-sutun h2 {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 3px;
}
.footer-sutun a {
  font-size: .89rem;
  color: var(--text-soft);
  transition: color var(--t-fast), transform var(--t-fast);
}
.footer-sutun a:hover { color: var(--ink); transform: translateX(3px); }

/* Alt şerit: telif ve yapım notu */
.footer-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--border);
  font-size: .8rem;
  color: var(--text-dim);
}
.footer-yapim { font-size: .78rem; opacity: .85; }

@media (max-width: 900px) {
  .footer-ust { grid-template-columns: 1fr 1fr; gap: 30px 24px; }
  .footer-marka { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-ust { grid-template-columns: 1fr; gap: 26px; }
  .footer-alt { flex-direction: column; align-items: flex-start; }
}

.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  box-shadow: var(--shadow-sm);
  transition: all var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--brand-1); transform: translateY(-3px); }
.to-top svg {
  width: 20px; height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------------------------------------------------------------
   15. ANİMASYONLAR & SCROLL REVEAL
   --------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-40px, 40px) scale(1.12); }
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55); }
  70%  { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-11px); }
}

@keyframes scrollX {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scrollDot {
  0%   { transform: translate(-50%, 0);    opacity: 1; }
  100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* ---------------------------------------------------------------
   16. DUYARLI KIRILIMLAR
   --------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 480px; margin-top: 12px; }
  .code-card { transform: none; }
  .code-card:hover { transform: translateY(-4px); }
  .chip-1 { left: auto; right: 10px; top: -16px; }
  .chip-2 { right: -8px; }
  .chip-3 { left: -10px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-facts { position: static; }

  .contact-grid { grid-template-columns: 1fr; }
}

/* 9 menü öğesi 1280px altında sığmıyor; hamburger eşiği buna göre. */
@media (max-width: 1239px) {
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 18px var(--gutter) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t), opacity var(--t), visibility var(--t);
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1rem; border-radius: var(--radius-sm); }
  .nav a:hover { background: var(--surface-2); }
  .nav a::after { display: none; }
  .nav a.is-active { background: var(--surface-2); color: var(--brand-1); }


  .menu-btn { display: flex; }
  .hide-sm { display: none; }

  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-copy { text-align: center; }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 80px; }

  .hero { min-height: auto; padding: 104px 0 48px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .scroll-hint { display: none; }
  .float-chip { font-size: .74rem; padding: 8px 13px; }
  .chip-3 { display: none; }

  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding-left: 34px; }
  .tl-year { text-align: left; padding-top: 0; font-size: .88rem; }
  .tl-year::after { right: auto; left: -34px; top: 5px; }

  .tl-card { padding: 20px; }
  .capabilities { gap: 26px; }
  .logo-text { display: none; }
  .to-top { right: 14px; bottom: 14px; }

  .iak-ust { align-items: stretch; }
  .iak-cta { width: 100%; }
  .iak-cta .btn { flex: 1 1 auto; }

  /* Tek sütuna düşünce ayraçlar dikeyden yataya döner */
  .iak-liste { grid-template-columns: 1fr; gap: 0; }
  .iak-liste li {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid var(--border);
  }
  .iak-liste li:first-child { padding-top: 0; border-top: 0; }

  .iak-kunye { gap: 10px 18px; font-size: .82rem; }

  .kapanis-cta { width: 100%; }
  .kapanis-cta .btn { flex: 1 1 auto; }
  .kesif-grid { grid-template-columns: 1fr; }
  .section-head.is-satir { flex-direction: column; align-items: stretch; }
}

@media (max-width: 400px) {
  .projects, .skills-grid, .services { grid-template-columns: 1fr; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------------------------------------------------------------
   17. YAZDIRMA & ERİŞİLEBİLİRLİK
   --------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .to-top, .scroll-hint, .marquee-section,
  .hero-bg, .float-chip, .filters, .contact-form, .footer-nav { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; page-break-inside: avoid; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  a::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* -----------------------------------------------------------------
   AR-GE SAYFASI
   ----------------------------------------------------------------- */
.arge-baslangic {
  display: grid;
  grid-template-columns: minmax(0, 132px) minmax(0, 1fr);
  gap: 8px 30px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.arge-baslangic-yil {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--brand-1), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.arge-baslangic h2 { font-size: clamp(1.25rem, 2.6vw, 1.6rem); margin-bottom: 12px; }
.arge-baslangic p { color: var(--text-soft); line-height: 1.8; margin-bottom: 12px; }
.arge-baslangic-etiket {
  display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin-top: 4px;
}
.arge-baslangic-etiket li {
  font-size: .76rem; font-weight: 600; padding: 4px 11px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft);
}
@media (max-width: 700px) {
  .arge-baslangic { grid-template-columns: 1fr; }
}

.arge-grid { display: grid; gap: 20px; }

.arge-kart {
  padding: clamp(22px, 3.4vw, 34px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--t-fast);
}
.arge-kart.one-cikan { border-color: color-mix(in srgb, var(--c1) 38%, var(--border)); }
.arge-kart:hover { border-color: color-mix(in srgb, var(--c1) 55%, var(--border)); }

.arge-ust {
  display: flex; align-items: flex-start; flex-wrap: wrap; gap: 16px;
  padding-bottom: 18px; margin-bottom: 20px; border-bottom: 1px solid var(--border);
}
.arge-rozet {
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff; font-weight: 800; font-size: .95rem;
  box-shadow: 0 8px 20px -8px var(--c1);
}
.arge-baslik { flex: 1 1 240px; min-width: 0; }
.arge-alan {
  font-size: .72rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 4px;
}
.arge-baslik h3 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); letter-spacing: -.02em; margin-bottom: 6px; }
.arge-slogan { font-size: .94rem; color: var(--text-soft); }

.arge-govde {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 20px;
}
.arge-blok-baslik {
  font-size: .72rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink); margin-bottom: 12px;
}
.arge-liste { list-style: none; display: grid; gap: 11px; }
.arge-liste li { display: grid; gap: 2px; }
.arge-liste b { font-size: .89rem; color: var(--text); }
.arge-liste span { font-size: .87rem; line-height: 1.65; color: var(--text-soft); }

.arge-tek { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.arge-tek ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.arge-tek li {
  font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft);
}

.arge-yol { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.arge-odak { font-size: .89rem; line-height: 1.7; color: var(--text-soft); margin-bottom: 16px; }
.arge-fazlar { list-style: none; display: grid; gap: 10px; margin-bottom: 18px; counter-reset: faz; }
.arge-fazlar li {
  display: grid; gap: 3px;
  padding: 13px 16px; border-radius: 13px;
  background: var(--surface-2); border: 1px solid var(--border);
}
.faz-etiket {
  font-size: .69rem; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; color: var(--c1);
}
[data-theme="dark"] .faz-etiket { color: var(--c2); }
.arge-fazlar b { font-size: .9rem; color: var(--text); }
.arge-fazlar > li > span:last-child { font-size: .86rem; line-height: 1.65; color: var(--text-soft); }
.arge-risk { margin-bottom: 14px; font-size: .89rem; }
.arge-olcut { font-size: .85rem; line-height: 1.7; color: var(--text-dim); }
.arge-olcut b { color: var(--text-soft); }


.arge-yontem {
  margin-top: 44px; padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--border);
}
.arge-yontem h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: 14px; }
.arge-yontem p { color: var(--text-soft); line-height: 1.8; margin-bottom: 12px; }
.arge-yontem p:last-child { margin-bottom: 0; }

/* Ar-Ge — teknik alan kartları ve proje özeti */
.arge-ozet {
  font-size: .95rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 20px;
}
.arge-alanlar {
  margin-top: 48px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.arge-alanlar h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: 10px; }
.arge-alanlar-giris {
  font-size: .94rem; line-height: 1.8; color: var(--text-soft);
  max-width: 70ch; margin-bottom: 22px;
}
.arge-alan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 12px;
}
.arge-alan-kart {
  display: grid; gap: 4px;
  padding: 15px 17px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.arge-alan-kart b { font-size: .9rem; color: var(--ink); }
.arge-alan-kart span { font-size: .84rem; line-height: 1.6; color: var(--text-soft); }

.arge-risk { margin-top: 22px; margin-bottom: 0; }

/* -----------------------------------------------------------------
   DİL DEĞİŞTİRME DÜĞMESİ
   ----------------------------------------------------------------- */
.dil-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 12px;
  border-radius: 99px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.dil-btn svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.dil-btn:hover { color: var(--ink); border-color: var(--brand-1); background: var(--surface-2); }
@media (max-width: 420px) {
  .dil-btn { padding: 0 9px; }
  .dil-btn svg { display: none; }
}

/* -----------------------------------------------------------------
   WEB SİTELERİ SAYFASI
   ----------------------------------------------------------------- */
.web-grid {
  display: grid;
  /* min() olmadan, 340px'lik iz dar ekranda kapsayıcıdan taşıyor */
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 20px;
}

.web-kart {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 3vw, 28px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.web-kart:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c1) 50%, var(--border));
  box-shadow: var(--shadow);
}
.web-kart.is-hidden { display: none; }

.web-ust {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
/* Sitenin logosu. Dosya yoksa js/main.js onu .yok yapıyor ve
   hemen altındaki renkli baş harf rozeti devreye giriyor. */
.web-logo {
  width: 48px; height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  object-fit: cover;
  background: var(--surface);
  box-shadow: 0 8px 20px -8px rgba(10, 12, 30, .35), inset 0 0 0 1px var(--border);
}
/* Şeffaf marka logoları: çoğu koyu renkli olduğu için koyu temada kartın
   zeminine karışıp kaybolurdu. Bu yüzden her iki temada da açık bir zemin
   ve iç boşluk veriyoruz — logo kutuya yapışmasın, kontrastı korusun. */
.web-logo.marka {
  background: #FFFFFF;
  padding: 7px;
  object-fit: contain;
  box-shadow: 0 8px 20px -8px rgba(10, 12, 30, .3), inset 0 0 0 1px rgba(10, 12, 30, .12);
}

.web-logo.yok { display: none; }
.web-logo:not(.yok) + .web-rozet { display: none; }

.web-rozet {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  box-shadow: 0 8px 20px -8px var(--c1);
}
.web-baslik { flex: 1 1 auto; min-width: 0; }
.web-sektor {
  font-size: .7rem; font-weight: 700; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 3px;
}
.web-kart h2 { font-size: 1.15rem; letter-spacing: -.02em; margin-bottom: 3px; }
.web-alan {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: .8rem; color: var(--ink);
}

.web-ozet {
  font-size: .92rem; line-height: 1.75; color: var(--text-soft);
  margin-bottom: 18px;
}

.web-rol { margin-bottom: 16px; }
.web-rol-baslik {
  display: block;
  font-size: .7rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px;
}
.web-rol ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.web-rol li {
  font-size: .78rem; font-weight: 700;
  padding: 4px 11px; border-radius: 99px;
  background: color-mix(in srgb, var(--c1) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--c1) 30%, transparent);
  color: var(--text);
}

.web-tek {
  display: flex; flex-wrap: wrap; gap: 6px;
  list-style: none; margin-bottom: 20px;
}
.web-tek li {
  font-size: .76rem; font-weight: 600;
  padding: 4px 10px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-soft);
}

.web-alt { display: flex; flex-wrap: wrap; gap: 9px; margin-top: auto; }

/* Hizmet kartındaki alt bağlantı */
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: .87rem;
  font-weight: 700;
  color: var(--ink);
  transition: gap var(--t-fast);
}
.svc-link svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.svc-link:hover { gap: 12px; }

/* -----------------------------------------------------------------
   PROJELER — BÖLÜM KARTLARI
   ----------------------------------------------------------------- */
.bolum-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 18px;
}

.bolum-kart {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 18px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.bolum-kart:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--c1) 55%, var(--border));
  box-shadow: var(--shadow);
}

.bolum-ico {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
  box-shadow: 0 8px 20px -8px var(--c1);
}
.bolum-ico .ikon { width: 24px; height: 24px; }

.bolum-kart h2 { font-size: 1.2rem; letter-spacing: -.02em; margin-bottom: 7px; }
.bolum-kart:hover h2 { color: var(--ink); }
.bolum-kart p {
  font-size: .92rem; line-height: 1.7; color: var(--text-soft);
  margin-bottom: 10px;
}
.bolum-sayi {
  display: inline-block;
  font-size: .76rem; font-weight: 700;
  padding: 4px 11px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-dim);
}

.bolum-git {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: .87rem;
  font-weight: 700;
  color: var(--ink);
  transition: gap var(--t-fast);
}
.bolum-git svg {
  width: 15px; height: 15px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.bolum-kart:hover .bolum-git { gap: 12px; }

@media (max-width: 520px) {
  .bolum-kart { grid-template-columns: 1fr; }
  .bolum-git { grid-column: 1; }
}

/* -----------------------------------------------------------------
   OYUNLAR SAYFASI
   ----------------------------------------------------------------- */
.oyun-aktif {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.oyun-aktif-ust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px;
}
.oyun-aktif-ust h2 { font-size: clamp(1.2rem, 2.4vw, 1.5rem); }
.oyun-aktif p { color: var(--text-soft); line-height: 1.8; margin-bottom: 12px; }
.oyun-doldur {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px dashed var(--border-strong);
  font-size: .9rem;
}
.oyun-not {
  font-size: .89rem; color: var(--text-dim);
  padding-top: 14px; margin-top: 4px; border-top: 1px solid var(--border);
}

.oyun-plat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 16px;
}
.oyun-plat {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  padding: 20px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color var(--t-fast);
}
.oyun-plat:hover { border-color: color-mix(in srgb, var(--c1) 50%, var(--border)); }
.oyun-plat-ico {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 13px;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff;
}
.oyun-plat-ico .ikon { width: 21px; height: 21px; }
.oyun-plat-tur {
  font-size: .68rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-dim); margin-bottom: 2px;
}
.oyun-plat h3 { font-size: 1rem; margin-bottom: 5px; }
.oyun-plat-not { font-size: .85rem; line-height: 1.6; color: var(--text-soft); }

.oyun-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 18px;
}
.oyun-kart {
  display: flex; flex-direction: column;
  padding: clamp(20px, 3vw, 26px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform var(--t), border-color var(--t);
}
.oyun-kart:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 50%, var(--border)); }
.oyun-ust { display: flex; align-items: center; gap: 13px; margin-bottom: 14px; }
.oyun-rozet {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  color: #fff; font-weight: 800; font-size: .86rem;
  box-shadow: 0 8px 20px -8px var(--c1);
}
.oyun-kart h3 { font-size: 1.08rem; margin-bottom: 2px; }
.oyun-yil { font-size: .78rem; color: var(--text-dim); }
.oyun-metin { font-size: .9rem; line-height: 1.7; color: var(--text-soft); margin-bottom: 14px; }
.oyun-etiket { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin-bottom: 16px; }
.oyun-etiket li {
  font-size: .76rem; font-weight: 600;
  padding: 4px 10px; border-radius: 99px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft);
}
.oyun-git {
  display: inline-flex; align-items: center; gap: 7px; margin-top: auto;
  font-size: .86rem; font-weight: 700; color: var(--ink);
  transition: gap var(--t-fast);
}
.oyun-git svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.oyun-kart:hover .oyun-git { gap: 12px; }

@media (max-width: 480px) {
  .oyun-plat { grid-template-columns: auto minmax(0, 1fr); }
  .oyun-plat .badge { grid-column: 2; justify-self: start; }
}

/* -----------------------------------------------------------------
   MENÜDEKİ AÇILIR GRUP ("İşlerim")
   ----------------------------------------------------------------- */
.nav-grup { position: relative; }

.nav-grup-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border: 0;
  border-radius: 99px;
  background: none;
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-grup-btn:hover { color: var(--text); }
.nav-grup.is-active > .nav-grup-btn { color: var(--brand-1); }
.nav-ok {
  width: 14px; height: 14px;
  fill: none; stroke: currentColor;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform var(--t-fast);
}
.nav-grup-btn[aria-expanded="true"] .nav-ok { transform: rotate(180deg); }

.nav-alt {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 224px;
  padding: 8px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-fast), transform var(--t-fast), visibility var(--t-fast);
  z-index: 60;
}
/* Fare menüden alt menüye giderken boşlukta kaybolmasın */
.nav-alt::before {
  content: "";
  position: absolute;
  inset: -12px 0 auto 0;
  height: 12px;
}
.nav-grup:hover > .nav-alt,
.nav-grup:focus-within > .nav-alt,
.nav-grup-btn[aria-expanded="true"] + .nav-alt {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-alt a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 13px;
  border-radius: 11px;
  font-size: .89rem;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-alt a:hover { background: var(--surface-2); color: var(--text); }
.nav-alt a.is-active { color: var(--brand-1); background: var(--surface-2); }
.nav-alt em {
  font-style: normal;
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-dim);
}
.nav-alt a:hover em, .nav-alt a.is-active em { background: var(--surface); }
.nav-alt-tum {
  margin-top: 4px;
  padding-top: 11px !important;
  border-top: 1px solid var(--border);
  border-radius: 0 0 11px 11px !important;
  color: var(--ink) !important;
}


/* Mobilde açılır menü yok: grup başlığı ve alt öğeler alt alta akar.
   Bu blok masaüstü kurallarından SONRA gelmeli — aynı özgüllükte
   sonraki kural kazanıyor. */
@media (max-width: 1239px) {
  .nav-grup { width: 100%; position: static; }
  .nav-grup-btn {
    width: 100%;
    justify-content: space-between;
    padding: 11px 16px;
    font-size: .95rem;
  }
  .nav-grup-btn .nav-ok { display: none; }
  .nav-alt {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    min-width: 0;
    padding: 0 0 6px 0;
    border: 0;
    border-left: 2px solid var(--border);
    margin: 0 0 6px 16px;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .nav-alt::before { display: none; }

  /* Masaüstündeki açılma kuralı transform: translateX(-50%) uyguluyor;
     mobilde alt menü akışta olduğu için bu onu ekranın soluna kaydırıyordu. */
  .nav-grup:hover > .nav-alt,
  .nav-grup:focus-within > .nav-alt,
  .nav-grup-btn[aria-expanded="true"] + .nav-alt {
    transform: none;
  }

  .nav-alt a { padding: 9px 14px; }
  .nav-alt-tum {
    border-top: 0;
    padding-top: 9px !important;
    border-radius: 11px !important;
  }
}

/* Kapsam notu — bir projenin neden öyle göründüğünü açıklayan kısa satır */
.web-not {
  margin: -6px 0 14px;
  padding: 10px 13px;
  border-left: 3px solid var(--border-strong);
  background: var(--surface-2, rgba(127, 140, 180, .07));
  border-radius: 0 8px 8px 0;
  font-size: .84rem;
  line-height: 1.55;
  color: var(--text-soft);
}
.web-not b { color: var(--text); font-weight: 700; }

/* Geniş ekran görüntüsü (masaüstü/web) — telefon çerçevesi yerine düz kart */
.telefon.genis {
  --ekran-yuk: 300px;
  padding: 0;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 14px 34px -16px rgba(10, 12, 30, .45), inset 0 0 0 1px var(--border);
}
.telefon.genis img {
  height: var(--ekran-yuk);
  width: auto;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  display: block;
}
