/* =========================================================
   Aziz Özkaracadağ — Portföy Sitesi
   Renkleri aşağıdaki :root değişkenlerinden değiştirebilirsiniz.
   ========================================================= */
:root {
  --bg: #0a0f1c;
  --bg-2: #0f1628;
  --surface: #131c33;
  --surface-2: #18233f;
  --border: rgba(148, 170, 220, 0.14);
  --text: #e8edf7;
  --muted: #9aa7c2;
  --primary: #3b82f6;
  --accent: #22d3ee;
  --grad: linear-gradient(135deg, #3b82f6 0%, #22d3ee 100%);
  --grad-text: var(--grad);
  --tint: rgba(255, 255, 255, 0.03);
  --track: rgba(255, 255, 255, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --container: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Navbar, footer ve koyu kartlar tema ne olursa olsun koyu kalır */
.header, .footer, .hero-card, .floating-chip, .service-visual {
  --bg: #0a0f1c; --bg-2: #0f1628; --surface: #131c33; --surface-2: #18233f;
  --border: rgba(148, 170, 220, 0.14); --text: #e8edf7; --muted: #9aa7c2;
  --accent: #22d3ee; --grad-text: var(--grad); --tint: rgba(255, 255, 255, 0.03); --track: rgba(255, 255, 255, 0.06);
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  color: var(--text);
}

/* Açık tema */
:root[data-theme="light"] {
  --bg: #f4f7fc; --bg-2: #e9eff9; --surface: #ffffff; --surface-2: #f0f4fb;
  --border: rgba(30, 50, 100, 0.13); --text: #0f1a33; --muted: #52627f;
  --primary: #2563eb; --accent: #0e7490;
  --grad-text: linear-gradient(135deg, #2563eb 0%, #0891b2 100%);
  --tint: rgba(20, 40, 90, 0.04); --track: rgba(20, 40, 90, 0.1);
  --shadow: 0 20px 40px -22px rgba(30, 60, 120, 0.35);
  color-scheme: light;
}
[data-theme="light"] .header { background: rgba(10, 15, 28, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--border); padding: 12px 0; }
[data-theme="light"] .blob { opacity: .16; }
[data-theme="light"] #net-canvas { opacity: .4; }
[data-theme="light"] .checks li, [data-theme="light"] .marquee-track span, [data-theme="light"] .field label { color: #25324d; }
[data-theme="light"] .tl-item .org { color: #3d4c6b; }
[data-theme="light"] .tech-row span { color: #1d4ed8; background: rgba(37, 99, 235, .08); border-color: rgba(37, 99, 235, .25); }
[data-theme="light"] .badge { color: #0e7490; background: rgba(8, 145, 178, .08); border-color: rgba(8, 145, 178, .3); }
[data-theme="light"] .form-status.ok { color: #047857; }
[data-theme="light"] .form-status.err { color: #b91c1c; }
[data-theme="light"] .card:hover, [data-theme="light"] .tl-item:hover { box-shadow: var(--shadow); }
[data-theme="light"] .btn-ghost:hover { background: rgba(8, 145, 178, .08); }
[data-theme="light"] .socials a:hover { color: #04101f; }
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .45s ease, border-color .45s ease, color .45s ease, fill .45s ease, box-shadow .45s ease !important;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 110px 0; position: relative; }
.section--alt { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad); border-radius: 2px; }
.section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; }
.section-lead { color: var(--muted); max-width: 640px; margin-top: 14px; font-size: 1.05rem; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.text-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, border-color .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #04101f; box-shadow: 0 10px 30px -10px rgba(34, 211, 238, .55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(34, 211, 238, .7); }
.btn-ghost { border-color: var(--border); background: var(--tint); }
.btn-ghost:hover { border-color: rgba(34, 211, 238, .5); background: rgba(34, 211, 238, .06); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s, backdrop-filter .35s, border-color .35s, padding .35s;
  border-bottom: 1px solid transparent;
  padding: 18px 0;
}
.header.scrolled {
  background: rgba(10, 15, 28, .78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-color: var(--border);
  padding: 12px 0;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.05rem; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--grad);
  display: grid; place-items: center; color: #04101f; font-weight: 800; font-size: .95rem;
  box-shadow: 0 8px 20px -8px rgba(34, 211, 238, .6);
}
img.logo-mark { background: none; box-shadow: none; border-radius: 0; object-fit: contain; display: block; }
.logo small { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  position: relative; padding: 8px 14px; border-radius: 999px; font-size: .93rem; font-weight: 500; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 18px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: translateX(-50%);
}
.nav-cta { padding: 10px 20px; font-size: .88rem; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255,255,255,.03); cursor: pointer; position: relative;
}
.menu-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s, top .3s;
}
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 140px 0 90px; position: relative; overflow: hidden; }
#net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .55; }
.blob {
  position: absolute; border-radius: 50%; filter: blur(90px); opacity: .35; z-index: 0;
  animation: float 16s ease-in-out infinite;
}
.blob-1 { width: 480px; height: 480px; background: #2563eb; top: -120px; right: -100px; }
.blob-2 { width: 380px; height: 380px; background: #06b6d4; bottom: -120px; left: -120px; animation-delay: -6s; }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 25px) scale(.95); }
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 10px; border-radius: 999px;
  background: rgba(34, 211, 238, .08); border: 1px solid rgba(34, 211, 238, .25); font-size: .84rem; color: #bdf3fb;
  margin-bottom: 26px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); animation: pulse 2s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .6); }
  70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.03em; }
.typed { display: inline-block; min-height: 1.1em; }
.typed::after { content: "|"; margin-left: 2px; color: var(--accent); animation: blink 1s steps(1) infinite; -webkit-text-fill-color: var(--accent); }
@keyframes blink { 50% { opacity: 0; } }
.hero p.lead { margin-top: 22px; font-size: 1.12rem; color: var(--muted); max-width: 560px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags span { font-size: .8rem; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--border); color: var(--muted); background: var(--tint); }

.hero-card {
  position: relative; background: linear-gradient(160deg, rgba(24,35,63,.9), rgba(15,22,40,.9));
  border: 1px solid var(--border); border-radius: 22px; padding: 26px; box-shadow: var(--shadow);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-12px); } }
.hero-card .win-bar { display: flex; gap: 7px; margin-bottom: 20px; }
.hero-card .win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #334155; }
.hero-card .win-bar i:nth-child(1) { background: #f87171; }
.hero-card .win-bar i:nth-child(2) { background: #fbbf24; }
.hero-card .win-bar i:nth-child(3) { background: #34d399; }
.code { font-family: "JetBrains Mono", ui-monospace, monospace; font-size: .86rem; line-height: 1.9; color: #c7d2fe; }
.code .k { color: #f472b6; } .code .s { color: #34d399; } .code .p { color: #38bdf8; } .code .c { color: #64748b; }
.status-row { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.status { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.status b { display: block; font-size: 1.1rem; }
.status small { color: var(--muted); font-size: .72rem; }
.bar { height: 5px; border-radius: 4px; background: var(--track); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; transition: width 1.6s var(--ease); }
.floating-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(19, 28, 51, .92); border: 1px solid var(--border); box-shadow: var(--shadow); font-size: .82rem; font-weight: 600;
  backdrop-filter: blur(8px);
}
.floating-chip svg { width: 20px; height: 20px; color: var(--accent); }
.chip-1 { top: -22px; right: 24px; animation: bob 6s ease-in-out infinite reverse; }
.chip-2 { bottom: -22px; left: -18px; animation: bob 8s ease-in-out infinite; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Page hero (alt sayfalar) ---------- */
.page-hero { padding: 170px 0 90px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.12; }
.page-hero p { color: var(--muted); margin-top: 16px; max-width: 620px; font-size: 1.08rem; }
.breadcrumb { display: flex; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--accent); }
.grid-bg {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
}

/* ---------- Kartlar ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 34px 30px; overflow: hidden; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(34,211,238,.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card:hover::before { opacity: 1; }
.icon-box {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(59,130,246,.18), rgba(34,211,238,.18)); border: 1px solid rgba(34,211,238,.25);
  color: var(--accent); transition: transform .4s var(--ease);
}
.card:hover .icon-box { transform: rotate(-6deg) scale(1.06); }
.icon-box svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; font-weight: 700; }
.card p { color: var(--muted); font-size: .96rem; }
.card ul.checks { margin-top: 18px; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #cdd6e8; }
.checks li::before {
  content: ""; flex: 0 0 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  background: rgba(34,211,238,.15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322d3ee' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.card-link { margin-top: 22px; display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; font-size: .92rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

/* ---------- İstatistikler ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -60px; position: relative; z-index: 2; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.stat b { font-size: 2.3rem; font-weight: 800; display: block; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .9rem; }

/* ---------- Süreç ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; position: relative; }
.process::before { content: ""; position: absolute; top: 28px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--border), rgba(34,211,238,.4), var(--border), transparent); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  counter-increment: step; width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); border: 1px solid rgba(34,211,238,.4); font-weight: 800; color: var(--accent); position: relative; z-index: 1;
  transition: background .3s, color .3s, transform .3s;
}
.step-num::before { content: "0" counter(step); }
.step:hover .step-num { background: var(--grad); color: #04101f; transform: scale(1.08); }
.step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .9rem; }

/* ---------- Teknoloji etiketleri ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { padding: 12px 22px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); color: #cdd6e8; font-weight: 600; font-size: .92rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 26px; padding: 64px 56px;
  background: linear-gradient(135deg, #1d4ed8 0%, #0e7490 100%);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -120px; top: -160px; background: rgba(255,255,255,.12); }
.cta h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); line-height: 1.2; max-width: 620px; position: relative; z-index: 1; }
.cta p { color: rgba(255,255,255,.82); margin-top: 10px; position: relative; z-index: 1; }
.cta .btn { position: relative; z-index: 1; background: #fff; color: #0b1a33; }
.cta .btn:hover { transform: translateY(-2px); }

/* ---------- Hakkımda ---------- */
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.avatar-wrap { position: relative; max-width: 420px; }
.avatar {
  aspect-ratio: 4/5; border-radius: 24px; background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); display: grid; place-items: center; overflow: hidden; position: relative;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar .initials { font-size: 6rem; font-weight: 800; }
.avatar-wrap::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; border: 1px solid rgba(34,211,238,.35); z-index: -1; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.info-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 32px; }
.info-list li { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.info-list small { display: block; color: var(--muted); font-size: .78rem; }
.info-list b { font-size: .95rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.col-title { display: flex; align-items: center; gap: 14px; font-size: 1.4rem; margin-bottom: 30px; }
.col-title .icon-box { margin: 0; width: 48px; height: 48px; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--accent), rgba(59,130,246,.15)); border-radius: 2px; }
.tl-item { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; margin-bottom: 20px; transition: border-color .3s, transform .3s var(--ease); }
.tl-item:hover { border-color: rgba(34,211,238,.4); transform: translateX(4px); }
.tl-item::before { content: ""; position: absolute; left: -30px; top: 26px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.tl-date { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--accent); background: rgba(34,211,238,.1); padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.tl-item h4 { font-size: 1.08rem; }
.tl-item .org { color: #b5c2dd; font-size: .9rem; font-weight: 500; }
.tl-item p { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.tl-item.empty { border-style: dashed; }

.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 48px; }
.skill-head { display: flex; justify-content: space-between; font-size: .93rem; font-weight: 600; margin-bottom: 8px; }
.skill-head span { color: var(--muted); }
.skill .bar { height: 7px; }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.value .icon-box { width: 46px; height: 46px; margin-bottom: 16px; }
.value .icon-box svg { width: 22px; height: 22px; }
.value h4 { margin-bottom: 6px; }
.value p { color: var(--muted); font-size: .9rem; }

/* ---------- Hizmetler detay ---------- */
.service-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.service-tabs a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); font-size: .9rem; font-weight: 600; color: var(--muted); transition: all .3s; }
.service-tabs a:hover { color: var(--text); border-color: rgba(34,211,238,.5); }
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; padding: 90px 0; border-bottom: 1px solid var(--border); scroll-margin-top: 80px; }
.service-block:last-child { border-bottom: 0; }
.service-block.reverse .service-visual { order: -1; }
.service-block .num { font-size: .85rem; font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.service-block h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.2; margin: 10px 0 16px; letter-spacing: -.02em; }
.service-block > div > p { color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.feature h5 { font-size: .95rem; margin-bottom: 4px; display: flex; gap: 8px; align-items: center; }
.feature h5 svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 16px; }
.feature p { color: var(--muted); font-size: .85rem; }
.tech-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.tech-row span { font-size: .78rem; padding: 5px 11px; border-radius: 7px; background: rgba(59,130,246,.1); color: #93c5fd; border: 1px solid rgba(59,130,246,.25); }

.service-visual { position: relative; aspect-ratio: 1/0.9; border-radius: 24px; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px solid var(--border); overflow: hidden; display: grid; place-items: center; }
.service-visual svg.illus { width: 82%; height: auto; }
.illus .draw { stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease); }
.in-view .illus .draw { stroke-dashoffset: 0; }
.illus .pulse-node { animation: nodePulse 2.4s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.illus .pulse-node:nth-of-type(2n) { animation-delay: -.8s; }
.illus .pulse-node:nth-of-type(3n) { animation-delay: -1.6s; }
@keyframes nodePulse { 50% { transform: scale(1.15); opacity: .75; } }
.illus .flow { stroke-dasharray: 6 8; animation: flow 1.6s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -28; } }
.illus .float-y { animation: bob 5s ease-in-out infinite; }

/* ---------- SSS ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: rgba(34,211,238,.4); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; padding: 20px 24px; font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.faq-q .plus { flex: 0 0 26px; height: 26px; border-radius: 50%; border: 1px solid var(--border); position: relative; transition: transform .35s var(--ease), background .3s; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--accent); transform: translate(-50%, -50%); border-radius: 2px; }
.faq-q .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item.open .plus { transform: rotate(45deg); background: rgba(34,211,238,.1); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: .95rem; }

/* ---------- İletişim ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: center; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 20px 22px; transition: border-color .3s, transform .3s var(--ease); }
.contact-card:hover { border-color: rgba(34,211,238,.4); transform: translateY(-3px); }
.contact-card .icon-box { margin: 0; width: 50px; height: 50px; flex: 0 0 50px; }
.contact-card small { color: var(--muted); font-size: .8rem; display: block; }
.contact-card b { font-size: 1rem; word-break: break-word; }
.socials { display: flex; gap: 12px; margin-top: 8px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--border); background: var(--surface); color: var(--muted); transition: all .3s var(--ease); }
.socials a:hover { color: #04101f; background: var(--grad); border-color: transparent; transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 38px; }
.form-card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 26px; font-size: .95rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: #cdd6e8; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: 11px; border: 1px solid var(--border); background: var(--bg-2);
  outline: none; transition: border-color .25s, box-shadow .25s; font-size: .95rem;
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa7c2' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
.field select option { background: var(--bg-2); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(34,211,238,.12); }
.field.error input, .field.error textarea { border-color: #f87171; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-size: .9rem; display: none; }
.form-status.ok { display: block; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.35); color: #a7f3d0; }
.form-status.err { display: block; background: rgba(248,113,113,.1); border: 1px solid rgba(248,113,113,.35); color: #fecaca; }
.hours { margin-top: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.hours h4 { margin-bottom: 12px; }
.hours li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; color: var(--muted); }
.hours li:last-child { border-bottom: 0; }
.hours li b { color: var(--text); font-weight: 600; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 70px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer p { color: var(--muted); font-size: .92rem; margin-top: 16px; max-width: 320px; }
.footer h5 { font-size: .95rem; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer ul a, .footer ul li { color: var(--muted); font-size: .92rem; transition: color .25s; }
.footer ul a:hover { color: var(--accent); }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .85rem; }

.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 14px; background: var(--grad); color: #04101f; border: 0; display: grid; place-items: center; cursor: pointer; z-index: 90; opacity: 0; transform: translateY(20px); pointer-events: none; transition: all .35s var(--ease); box-shadow: 0 10px 30px -10px rgba(34,211,238,.6); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll animasyonları ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.left { transform: translateX(-40px); }
.reveal.right { transform: translateX(40px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in-view { opacity: 1; transform: none; }

/* Sayfa geçiş */
.page-loader { position: fixed; inset: 0; background: var(--bg); z-index: 999; display: grid; place-items: center; transition: opacity .5s, visibility .5s; }
.page-loader.hide { opacity: 0; visibility: hidden; }
.loader-ring { width: 46px; height: 46px; border-radius: 50%; border: 3px solid rgba(34,211,238,.15); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { max-width: 520px; width: 100%; margin: 0 auto; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .process::before { display: none; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .avatar-wrap { margin: 0 auto; }
  .service-block { grid-template-columns: 1fr; gap: 40px; padding: 70px 0; }
  .service-block.reverse .service-visual { order: 0; }
  .service-visual { max-width: 560px; width: 100%; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); flex-direction: column; align-items: stretch;
    padding: 100px 24px 30px; gap: 6px; background: rgba(13, 19, 36, .98); border-left: 1px solid var(--border);
    transform: translateX(100%); transition: transform .45s var(--ease); z-index: -1;
  }
  .nav-links a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-links a.active { background: rgba(34,211,238,.08); }
  .nav-links a.active::after { display: none; }
  .nav-links .nav-cta { margin-top: 14px; }
  .menu-open .nav-links { transform: none; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 50; }
  .menu-open .nav-overlay { opacity: 1; pointer-events: auto; }
  .menu-open .header { z-index: 100; }
  .two-col { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .cards, .values { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: -40px; }
  .stat { padding: 20px 12px; }
  .stat b { font-size: 1.8rem; }
  .process { grid-template-columns: 1fr; }
  .feature-grid, .form-row, .info-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 44px 26px; }
  .form-card { padding: 26px 20px; }
  .hero { padding: 120px 0 80px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chip-2 { left: 0; }
  .status-row { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .status { padding: 10px 8px; }
  .code { font-size: .76rem; }
  .page-hero { padding: 140px 0 70px; }
  .scroll-hint { display: none; }
  .logo small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Düzeltmeler */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #04101f; background: var(--grad); }
.nav-links a.btn-primary::after { display: none; }
.hero { padding-bottom: 130px; }

/* ---------- Projeler ---------- */
.project-card { padding: 0; display: flex; flex-direction: column; }
.project-card > h3, .project-card > p, .project-card > .tech-row, .project-card > .card-link, .project-card > .project-cat { margin-left: 28px; margin-right: 28px; }
.project-card > h3 { margin-top: 24px; }
.project-card > .card-link { margin-top: auto; padding-top: 22px; margin-bottom: 28px; }
.project-card > p { margin-bottom: 0; }
.project-thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-thumb img { transform: scale(1.05); }
.project-cat { display: inline-block; margin-top: 22px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.project-card .project-thumb + .project-cat { margin-top: 20px; }
.project-card .project-cat + h3 { margin-top: 6px; }
.project-detail { display: grid; grid-template-columns: 1.5fr .8fr; gap: 48px; align-items: start; }
.project-cover { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.project-meta { position: sticky; top: 110px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.project-meta .info-list { margin-top: 0; }
@media (max-width: 900px) { .project-detail { grid-template-columns: 1fr; } .project-meta { position: static; } }

/* ---------- Proje filtresi + sayfalama ---------- */
.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1024px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .project-grid { grid-template-columns: 1fr; } }
.filter-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; scroll-margin-top: 110px; }
.filter-tabs a { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--border); font-size: .9rem; font-weight: 600; color: var(--muted); transition: all .3s; }
.filter-tabs a:hover { color: var(--text); border-color: rgba(34,211,238,.5); }
.filter-tabs a.active { background: var(--grad); color: #04101f; border-color: transparent; }
.pager { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; }
.pager-btn { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-weight: 600; font-size: .92rem; color: var(--text); transition: all .25s; }
a.pager-btn:hover { border-color: rgba(34,211,238,.6); transform: translateY(-2px); }
.pager-btn.active { background: var(--grad); color: #04101f; border-color: transparent; }
.pager-btn.disabled { opacity: .4; }
.pager-dots { color: var(--muted); padding: 0 4px; }
