/* ================== TEMEL ================== */
:root {
  --bg: #0a0b10;
  --bg-2: #12131b;
  --card: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8e9f1;
  --muted: #8b8fa3;
  --primary: #7c5cff;
  --primary-2: #00d4aa;
  --radius: 18px;
  --font: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", monospace;
}

html.light {
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --card: rgba(255, 255, 255, 0.85);
  --border: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --muted: #334155;
  --primary: #4f46e5;
  --primary-2: #1e3a8a;
}
html.light .navbar.scrolled { background: rgba(255, 255, 255, 0.9); box-shadow: 0 10px 30px -10px rgba(15,23,42,.1); }
html.light .nav-link.active { background: rgba(15, 23, 42, 0.08); color: #0f172a; }
html.light .btn-ghost:hover { border-color: rgba(15, 23, 42, 0.35); }
html.light .logo-img { filter: contrast(1.12) brightness(0.92); }
html.light .code-window { background: #161822; color: #e8e9f1; }
html.light .about-text p, html.light .tl-place { color: #1e293b; }
html.light .tags span { background: rgba(15,23,42,.08); color: #1e293b; }
html.light .gh-name { color: #4338ca; }
html.light .eyebrow {
  color: #3730a3;
  font-weight: 700;
  background: rgba(79, 70, 229, 0.12);
  padding: 4px 12px;
  border-radius: 8px;
  display: inline-block;
}
html.light .tl-type { color: #3730a3; background: rgba(79, 70, 229, 0.14); font-weight: 700; }
html.light .skill-pct { color: #3730a3; font-weight: 700; }
html.light .status.live { background: rgba(22, 163, 74, 0.15); color: #15803d; border-color: rgba(22, 163, 74, 0.35); }
html.light .status.dev { background: rgba(234, 88, 12, 0.15); color: #c2410c; border-color: rgba(234, 88, 12, 0.35); }
html.light .contact-form input,
html.light .contact-form textarea { background: #ffffff; border-color: rgba(15, 23, 42, 0.16); color: #0f172a; }
html.light .form-status.success { color: #15803d; }
html.light .form-status.error { color: #dc2626; }
html.light .bg-blob { opacity: 0.16; }
html.light .code-rain { opacity: 0.1; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ================== ARKA PLAN ================== */
.cursor-glow {
  position: fixed; top: 0; left: 0; width: 500px; height: 500px;
  border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.13), transparent 65%);
  transition: transform 0.08s ease-out;
}
.code-rain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  pointer-events: none;
  opacity: 0.14;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.25) 100%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at top, #000 30%, transparent 75%);
}
.bg-blob {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(120px); opacity: 0.35;
  animation: float 18s ease-in-out infinite alternate;
}
.blob-1 { width: 500px; height: 500px; background: var(--primary); top: -150px; left: -100px; }
.blob-2 { width: 450px; height: 450px; background: var(--primary-2); bottom: -150px; right: -100px; animation-delay: -9s; }
@keyframes float { to { transform: translate(80px, 60px) scale(1.15); } }

/* ================== BUTONLAR ================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; border-radius: 12px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s, border-color .2s;
}
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 10px; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #a35cff);
  color: #fff; box-shadow: 0 8px 24px -8px var(--primary);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -8px var(--primary); }
.btn-ghost { border: 1px solid var(--border); background: var(--card); }
.btn-ghost:hover { border-color: rgba(255,255,255,.25); transform: translateY(-2px); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ================== NAVBAR ================== */
.navbar {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px 12px 22px; z-index: 100;
  border: 1px solid transparent; border-radius: 16px;
  transition: all .3s;
}
.navbar.scrolled {
  background: rgba(14, 15, 22, 0.75);
  backdrop-filter: blur(16px);
  border-color: var(--border);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,.6);
}
.logo { display: inline-flex; align-items: center; padding: 2px 4px; }
.logo-img {
  height: 38px; width: auto; object-fit: contain; display: block;
  transition: transform .25s ease, opacity .25s ease;
}
.logo:hover .logo-img { transform: scale(1.04); opacity: 0.95; }
.logo-mark {
  font-family: var(--mono); font-size: 14px;
  padding: 6px 8px; border-radius: 9px;
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  color: #fff;
}
.nav-links { display: flex; gap: 6px; }
.nav-link {
  padding: 8px 16px; border-radius: 10px;
  color: var(--muted); font-weight: 500; font-size: 15px;
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); background: rgba(255,255,255,.07); }

.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; padding: 3px;
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
}
.lang-btn {
  padding: 5px 10px; border-radius: 7px; font-size: 12.5px; font-weight: 700;
  font-family: var(--mono); color: var(--muted); transition: all .2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active {
  background: linear-gradient(135deg, var(--primary), #a35cff);
  color: #fff; box-shadow: 0 4px 12px -4px var(--primary);
}

.menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================== HERO ================== */
.hero {
  min-height: 100vh;
  width: min(1180px, calc(100% - 48px)); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px;
  align-items: center; padding: 120px 0 60px;
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border-radius: 99px;
  background: var(--card); border: 1px solid var(--border);
  font-size: 14px; color: var(--muted); margin-bottom: 24px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 #22c55e; animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

.hero h1 { font-size: clamp(38px, 5.5vw, 66px); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.typed { color: var(--muted); font-weight: 700; }
.cursor { color: var(--primary-2); animation: blink 1s steps(1) infinite; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { color: var(--muted); font-size: 18px; max-width: 520px; margin: 22px 0 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.stats { display: flex; gap: 40px; margin-top: 48px; }
.stat strong { display: block; font-size: 32px; font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }

.code-window {
  background: rgba(18, 19, 27, .8); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.7);
  transform: perspective(1000px) rotateY(-8deg) rotateX(4deg);
  transition: transform .5s;
}
.code-window:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.window-title { margin-left: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.code-window pre { padding: 24px; font-family: var(--mono); font-size: 14.5px; line-height: 1.8; overflow-x: auto; }
.k { color: #c792ea; } .v { color: #82aaff; } .p { color: #f07178; } .s { color: #c3e88d; } .n { color: #f78c6c; } .f { color: #ffcb6b; }

/* ================== BÖLÜMLER ================== */
.section { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 100px 0; }
.section-head { margin-bottom: 48px; }
.eyebrow { font-family: var(--mono); color: var(--primary-2); font-size: 14px; }
.section h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-top: 8px; }
.section-sub { color: var(--muted); margin-top: 8px; font-size: 17px; }

.card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
}
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.about-text p { font-size: 18px; color: #c4c6d4; }
.skills h3 { font-size: 17px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 500;
  background: rgba(124, 92, 255, .12); border: 1px solid rgba(124, 92, 255, .25);
}

/* ================== PROJELER ================== */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  padding: 9px 18px; border-radius: 99px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--border); color: var(--muted); transition: .2s;
}
.filter:hover { color: var(--text); }
.filter.active { background: var(--text); color: var(--bg); border-color: var(--text); }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 24px; }
.project-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow: 0 20px 50px -20px var(--accent);
}
.project-cover {
  position: relative; height: 190px;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 60%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 25%, var(--bg-2)), var(--bg-2));
}
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.project-card:hover .project-cover img { transform: scale(1.06); }
.cover-emoji { font-size: 72px; transition: transform .4s; filter: drop-shadow(0 10px 20px rgba(0,0,0,.4)); }
.project-card:hover .cover-emoji { transform: scale(1.15) rotate(-6deg); }
.status {
  position: absolute; top: 14px; right: 14px;
  padding: 5px 11px; border-radius: 99px; font-size: 12px; font-weight: 600;
  backdrop-filter: blur(8px);
}
.status.live { background: rgba(34, 197, 94, .18); color: #4ade80; border: 1px solid rgba(34,197,94,.35); }
.status.dev { background: rgba(255, 138, 61, .18); color: #ffa766; border: 1px solid rgba(255,138,61,.35); }

.project-body { padding: 24px; }
.project-cat { font-family: var(--mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.project-body h3 { font-size: 21px; margin: 6px 0 8px; }
.project-body p { color: var(--muted); font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.tags span { font-size: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(255,255,255,.06); color: #c4c6d4; }
.project-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ================== İLETİŞİM ================== */
.contact { text-align: center; padding: 64px 32px; }
.contact > p { color: var(--muted); margin: 12px 0 32px; font-size: 17px; }
.contact-or { color: var(--muted); font-size: 14px; margin: 28px 0 16px; }

.contact-form { max-width: 640px; margin: 0 auto; text-align: left; display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: 14px; color: var(--muted); font-weight: 500; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  color: var(--text); font: inherit; font-size: 15px; outline: none; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,92,255,.18); }
.contact-form button { justify-self: start; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 14px; min-height: 20px; }
.form-status.success { color: #4ade80; }
.form-status.error { color: #f87171; }

/* ================== HAKKIMDA (DETAY) ================== */
.about-text p + p { margin-top: 14px; }
.about-side { display: grid; gap: 24px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 24px; }
.fact { display: flex; align-items: center; gap: 12px; }
.fact-icon {
  width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; font-size: 19px;
  border-radius: 11px; background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.25);
}
.fact small { display: block; color: var(--muted); font-size: 12px; }
.fact strong { font-size: 14px; font-weight: 600; line-height: 1.35; }

/* ================== ZAMAN ÇİZELGESİ ================== */
.timeline { list-style: none; position: relative; padding-left: 34px; display: grid; gap: 22px; }
.timeline::before {
  content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(var(--primary), var(--primary-2), transparent);
}
.tl-item { position: relative; }
.tl-dot {
  position: absolute; left: -34px; top: 22px; width: 32px; height: 32px;
  display: grid; place-items: center; font-size: 15px; border-radius: 50%;
  background: var(--bg-2); border: 2px solid var(--primary); box-shadow: 0 0 0 5px var(--bg);
}
.tl-education .tl-dot { border-color: var(--primary-2); }
.tl-card { padding: 22px 26px; transition: transform .25s, border-color .25s; }
.tl-card:hover { transform: translateX(4px); border-color: rgba(124,92,255,.4); }
.tl-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.tl-type {
  font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--primary-2); padding: 3px 9px; border-radius: 6px; background: rgba(0,212,170,.1);
}
.tl-date { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.tl-card h3 { font-size: 19px; }
.tl-place { color: #c4c6d4; font-size: 14.5px; font-weight: 500; margin-top: 2px; }
.tl-desc { color: var(--muted); font-size: 15px; margin-top: 8px; }

/* ================== GITHUB ================== */
.github-block { margin-top: 64px; }
.github-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.github-head h3 { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.gh-head-icon { width: 26px; height: 26px; object-fit: contain; }
.github-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.gh-card {
  display: flex; flex-direction: column; gap: 10px; padding: 20px;
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  transition: transform .25s, border-color .25s;
}
.gh-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.45); }
.gh-name { font-family: var(--mono); font-weight: 600; font-size: 15px; color: #a5b4fc; word-break: break-word; }
.gh-desc { color: var(--muted); font-size: 14px; flex: 1; }
.gh-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--muted); align-items: center; }
.gh-meta span { display: inline-flex; align-items: center; gap: 6px; }
.gh-lang { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.gh-date { margin-left: auto; }
.gh-empty {
  grid-column: 1 / -1; padding: 28px; text-align: center; color: var(--muted);
  border: 1px dashed var(--border); border-radius: 14px; display: flex; gap: 10px; justify-content: center; align-items: center;
}
.spinner.small { width: 18px; height: 18px; border-width: 2px; display: inline-block; }
.contact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.contact-btn { gap: 10px; }
.contact-icon { width: 22px; height: 22px; object-fit: contain; display: block; border-radius: 4px; }

/* Telefon bilgi şeridi */
.phone-pill {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 20px auto 0; padding: 12px 24px;
  border-radius: 14px;
  background: rgba(124, 92, 255, 0.07);
  border: 1px solid rgba(124, 92, 255, 0.22);
  color: var(--text); font-weight: 600; font-size: 16px;
  letter-spacing: 0.03em;
  transition: background .2s, border-color .2s, transform .2s;
  text-decoration: none;
}
.phone-pill:hover {
  background: rgba(124, 92, 255, 0.14);
  border-color: rgba(124, 92, 255, 0.45);
  transform: translateY(-2px);
}
.phone-pill-icon { font-size: 18px; }
.phone-pill-num { font-family: var(--mono); }
html.light .phone-pill {
  background: rgba(79, 70, 229, 0.07);
  border-color: rgba(79, 70, 229, 0.22);
}
html.light .phone-pill:hover {
  background: rgba(79, 70, 229, 0.14);
  border-color: rgba(79, 70, 229, 0.45);
}

.footer { text-align: center; padding: 40px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--border); }

/* ================== MODAL ================== */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,6,10,.8); backdrop-filter: blur(8px); }
.modal-window {
  position: relative; width: min(1280px, 94vw); height: 88vh;
  display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 16px; overflow: hidden;
  transform: scale(.94) translateY(20px); transition: transform .35s cubic-bezier(.2,.9,.3,1.2);
  box-shadow: 0 40px 100px rgba(0,0,0,.7);
}
.modal.open .modal-window { transform: none; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.browser-dots { display: flex; gap: 8px; }
.browser-dots .red { cursor: pointer; }
.browser-url {
  flex: 1; display: flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 9px; background: rgba(255,255,255,.05);
  font-family: var(--mono); font-size: 13px; color: var(--muted);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
}
.lock { font-size: 11px; }
.browser-actions { display: flex; gap: 4px; }
.icon-btn {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 8px; font-size: 15px; transition: background .2s;
}
.icon-btn:hover { background: rgba(255,255,255,.08); }
.preview-stage { position: relative; flex: 1; background: #fff; display: flex; justify-content: center; transition: background .3s; }
.preview-stage iframe { width: 100%; height: 100%; border: 0; background: #fff; transition: width .4s; }
.preview-stage.mobile { background: var(--bg); padding: 16px 0; }
.preview-stage.mobile iframe { width: 390px; border-radius: 24px; border: 8px solid #222; }
.preview-loader {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 14px;
  align-items: center; justify-content: center; background: var(--bg-2); color: var(--muted); z-index: 2;
}
.spinner { width: 36px; height: 36px; border: 3px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.preview-note { padding: 8px 16px; font-size: 12.5px; color: var(--muted); text-align: center; border-top: 1px solid var(--border); }
.preview-note a { color: var(--primary-2); }

/* ================== ANİMASYON ================== */
.icon-pill {
  width: 36px; height: 36px; border-radius: 10px;
  display: inline-grid; place-items: center; font-size: 15px;
  background: var(--card); border: 1px solid var(--border);
  transition: border-color .2s, transform .2s;
}
.icon-pill:hover { border-color: var(--primary); transform: translateY(-1px); }

/* Yetenek seviye çubukları */
#skillChips { display: grid; gap: 12px; }
.skill-bar-item { display: grid; gap: 5px; }
.skill-bar-top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 600; }
.skill-pct { font-family: var(--mono); color: var(--primary-2); font-size: 12.5px; }
.skill-bar-track { height: 7px; border-radius: 99px; background: rgba(124,92,255,.12); overflow: hidden; }
.skill-bar-fill {
  height: 100%; border-radius: 99px;
  background: linear-gradient(90deg, var(--primary), var(--primary-2));
  transition: width .8s ease;
}

/* Sertifikalar */
.certs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.cert-card { display: flex; align-items: center; gap: 16px; padding: 22px; transition: transform .25s, border-color .25s; }
.cert-card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.45); }
.cert-icon {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: grid; place-items: center; font-size: 22px;
  background: rgba(124,92,255,.12); border: 1px solid rgba(124,92,255,.25);
}
.cert-body { flex: 1; }
.cert-meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); font-family: var(--mono); margin-bottom: 4px; }
.cert-body h3 { font-size: 16.5px; line-height: 1.35; }
.cert-link { font-size: 18px; color: var(--primary-2); padding: 6px; }

/* Etkileşimli Terminal */
.term-window {
  position: relative; width: min(680px, 92vw); height: min(440px, 80vh);
  display: flex; flex-direction: column;
  background: #0d0f17; color: #e8e9f1; border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.75);
  font-family: var(--mono); font-size: 13.5px;
}
.term-close { margin-left: auto; color: #8b8fa3; }
.term-body { flex: 1; padding: 16px 18px; overflow-y: auto; display: grid; gap: 8px; align-content: start; }
.term-line code { color: var(--primary-2); background: rgba(0,212,170,.1); padding: 2px 6px; border-radius: 5px; }
.term-line a { color: #a5b4fc; text-decoration: underline; }
.term-err { color: #f87171; }
.term-prompt { color: var(--primary-2); font-weight: 700; margin-right: 8px; }
.term-input-row {
  display: flex; align-items: center; padding: 12px 18px;
  border-top: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.02);
}
.term-input-row input {
  flex: 1; background: none; border: 0; outline: none;
  color: #fff; font: inherit;
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ================== MOBİL ================== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: left; padding-top: 130px; }
  .hero-visual { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; padding: 12px;
    background: rgba(14, 15, 22, .95); backdrop-filter: blur(16px);
    border: 1px solid var(--border); border-radius: 16px;
    opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .25s;
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .navbar { background: rgba(14, 15, 22, .75); backdrop-filter: blur(16px); border-color: var(--border); }
  html.light .navbar { background: rgba(255, 255, 255, .88); }
  html.light .nav-links { background: rgba(255, 255, 255, .96); }
  .stats { gap: 28px; }
  .projects-grid { grid-template-columns: 1fr; }
  .form-row, .facts { grid-template-columns: 1fr; }
  .contact { padding: 44px 20px; }
  .gh-date { margin-left: 0; }
}

