:root,
[data-theme="dark"] {
  --bg-main: #07090f;
  --bg-elevated: rgba(16, 21, 34, 0.72);
  --bg-card: rgba(20, 26, 42, 0.65);
  --bg-card-solid: #111726;
  --border-subtle: rgba(148, 163, 184, 0.13);
  --border-highlight: rgba(99, 102, 241, 0.45);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-1: #6366f1;
  --accent-2: #06b6d4;
  --accent-3: #10b981;
  --gradient-brand: linear-gradient(135deg, #6366f1 0%, #22d3ee 55%, #34d399 100%);
  --shadow-card: 0 20px 50px -15px rgba(0, 0, 0, 0.55);
  --nav-bg: rgba(7, 9, 15, 0.76);
  --code-bg: rgba(8, 11, 19, 0.85);
}

[data-theme="light"] {
  --bg-main: #f8fafc;
  --bg-elevated: rgba(255, 255, 255, 0.85);
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-solid: #ffffff;
  --border-subtle: rgba(15, 23, 42, 0.09);
  --border-highlight: rgba(79, 70, 229, 0.4);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-1: #4f46e5;
  --accent-2: #0891b2;
  --accent-3: #059669;
  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #0891b2 55%, #059669 100%);
  --shadow-card: 0 18px 42px -15px rgba(15, 23, 42, 0.1);
  --nav-bg: rgba(248, 250, 252, 0.82);
  --code-bg: #0f172a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.35s ease, color 0.35s ease;
}

.container {
  width: min(1140px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Üst Kaydırma Çubuğu */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-brand);
  z-index: 999;
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.7);
  transition: width 0.08s linear;
}

/* Arka Plan Küreleri & Grid */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.34;
  animation: floatOrb 18s ease-in-out infinite alternate;
}

[data-theme="light"] .orb {
  opacity: 0.18;
}

.orb-1 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #6366f1, transparent 70%);
  top: -120px;
  left: -100px;
}

.orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #06b6d4, transparent 70%);
  top: 35%;
  right: -130px;
  animation-delay: -6s;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #10b981, transparent 70%);
  bottom: -120px;
  left: 25%;
  animation-delay: -11s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000 40%, transparent 100%);
}

.cursor-glow {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.11) 0%, transparent 65%);
  transform: translate(-50%, -50%);
  left: 50%;
  top: 30%;
  transition: opacity 0.3s ease;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(35px, -28px) scale(1.08); }
  100% { transform: translate(-25px, 32px) scale(0.95); }
}

/* Üst Menü */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--nav-bg);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.4);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient-brand);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 6px 18px -4px rgba(99, 102, 241, 0.55);
}

.brand-dot {
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.13);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

[data-theme="dark"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 9px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* Butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.45rem;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.84rem;
  border-radius: 10px;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-brand);
  background-size: 200% 200%;
  color: #ffffff;
  box-shadow: 0 12px 28px -8px rgba(99, 102, 241, 0.55);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px -8px rgba(6, 182, 212, 0.6);
}

.btn-glass,
.btn-outline {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-glass:hover,
.btn-outline:hover {
  border-color: var(--border-highlight);
}

/* Bölüm Genel */
.section {
  padding: 5.5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-2);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.02rem;
}

/* HERO */
.hero {
  padding-top: 4.5rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: var(--accent-3);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.85rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.1rem;
}

.gradient-text {
  background: var(--gradient-brand);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero-role {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(1rem, 1.8vw, 1.22rem);
  color: var(--accent-2);
  font-weight: 600;
  margin-bottom: 1.25rem;
  min-height: 2rem;
}

.mono-prefix {
  color: var(--accent-1);
}

.typewriter-cursor {
  color: var(--accent-1);
  animation: blinkCursor 0.9s steps(2, start) infinite;
}

@keyframes blinkCursor {
  to { visibility: hidden; }
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.06rem;
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 2.6rem;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  padding: 1.1rem 1.5rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(12px);
}

.stat-number {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-subtle);
}

/* Sağ Profil Kartı & 3D Tilt */
.tilt-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, border-color 0.3s ease;
}

.tilt-card:hover {
  border-color: var(--border-highlight);
}

.card-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    360px circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255, 255, 255, 0.09),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tilt-card:hover .card-glare {
  opacity: 1;
}

.profile-card {
  padding: 1.5rem;
}

.terminal-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.terminal-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.avatar-ring {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  padding: 3px;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

.avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: var(--bg-card-solid);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.profile-name {
  font-size: 1.2rem;
  font-weight: 700;
}

.profile-loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.code-snippet {
  background: var(--code-bg);
  color: #e2e8f0;
  padding: 1.1rem;
  border-radius: 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  overflow-x: auto;
  border: 1px solid rgba(148, 163, 184, 0.12);
  margin-bottom: 1.15rem;
}

.c-key { color: #38bdf8; }
.c-str { color: #a7f3d0; }
.c-bool { color: #c084fc; }

.quick-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.11);
  border: 1px solid rgba(99, 102, 241, 0.24);
  color: var(--text-primary);
}

/* TIMELINE (DENEYİM) */
.timeline {
  position: relative;
  padding-left: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-1), var(--accent-2), transparent);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -2.2rem;
  top: 1.6rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-main);
  border: 3px solid var(--accent-1);
  box-shadow: 0 0 14px rgba(99, 102, 241, 0.75);
}

.timeline-card {
  padding: 1.75rem;
}

.timeline-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.role-title {
  font-size: 1.22rem;
  font-weight: 700;
}

.company-name {
  color: var(--accent-2);
  font-weight: 600;
  font-size: 0.95rem;
}

.date-badge {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--accent-1);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.role-desc {
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.role-highlights {
  padding-left: 1.15rem;
  color: var(--text-secondary);
  font-size: 0.93rem;
  margin-bottom: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-row span {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  padding: 0.28rem 0.65rem;
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.09);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

/* YETENEKLER */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.22s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gradient-brand);
  color: #fff;
  border-color: transparent;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.skill-card {
  padding: 1.35rem 1.5rem;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.skill-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-highlight);
}

.skill-card.is-hidden {
  display: none;
}

.skill-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.skill-name {
  font-weight: 700;
  font-size: 1rem;
}

.skill-pct {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.84rem;
  color: var(--accent-2);
  font-weight: 600;
}

.skill-bar {
  height: 8px;
  width: 100%;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.14);
  overflow: hidden;
  margin-bottom: 0.65rem;
}

.skill-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: var(--gradient-brand);
  transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.skill-meta {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* PROJELER */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-preview {
  height: 175px;
  padding: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
}

.preview-1 { background: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(6, 182, 212, 0.12)); }
.preview-2 { background: linear-gradient(135deg, rgba(6, 182, 212, 0.22), rgba(16, 185, 129, 0.14)); }
.preview-3 { background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(99, 102, 241, 0.12)); }

.mock-window {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: rgba(10, 14, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mock-pill {
  align-self: flex-start;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.68rem;
  color: #a5f3fc;
  background: rgba(6, 182, 212, 0.18);
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
}

.mock-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 75px;
}

.mock-bars span {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  background: var(--gradient-brand);
  animation: barBounce 3s ease-in-out infinite alternate;
}

.mock-bars span:nth-child(2) { animation-delay: 0.3s; }
.mock-bars span:nth-child(3) { animation-delay: 0.6s; }
.mock-bars span:nth-child(4) { animation-delay: 0.9s; }
.mock-bars span:nth-child(5) { animation-delay: 1.2s; }

@keyframes barBounce {
  0% { opacity: 0.72; transform: scaleY(0.92); transform-origin: bottom; }
  100% { opacity: 1; transform: scaleY(1.06); transform-origin: bottom; }
}

.mock-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block: auto;
}

.node {
  font-size: 0.72rem;
  font-weight: 600;
  color: #e2e8f0;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.node.active {
  border-color: #22d3ee;
  box-shadow: 0 0 14px rgba(34, 211, 238, 0.35);
}

.node-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #22d3ee);
}

.mock-ui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ui-box {
  height: 30px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
}

.ui-box.accent {
  background: var(--gradient-brand);
}

.ui-box.wide {
  grid-column: span 2;
  height: 24px;
}

.project-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.project-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.74rem;
  color: var(--accent-2);
  margin-bottom: 0.4rem;
}

.project-title {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.project-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
  flex: 1;
}

/* EĞİTİM */
.edu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.edu-card {
  display: flex;
  gap: 1.15rem;
  padding: 1.75rem;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.edu-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(99, 102, 241, 0.13);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  flex-shrink: 0;
}

.edu-card h3 {
  font-size: 1.15rem;
  margin-top: 0.55rem;
  margin-bottom: 0.25rem;
}

.edu-org {
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
}

.edu-detail,
.cert-list {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.cert-list {
  padding-left: 1.1rem;
  display: grid;
  gap: 0.3rem;
}

/* İLETİŞİM */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  padding: 2.5rem;
  border-radius: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.email-copy-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  margin-top: 1.6rem;
  margin-bottom: 1.4rem;
}

.email-label {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.email-address {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-pill {
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.social-pill:hover {
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.form-group {
  display: grid;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.94rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.18);
}

/* Alt Bilgi */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-inner code {
  font-family: "JetBrains Mono", monospace;
  color: var(--accent-2);
}

/* Bildirim Balonu */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  background: var(--bg-card-solid);
  color: var(--text-primary);
  border: 1px solid var(--border-highlight);
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Kaydırma (Scroll Reveal) Animasyonları */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Mobil Uyum */
@media (max-width: 960px) {
  .hero-grid,
  .projects-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .skills-grid,
  .edu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .nav-links {
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem;
    border-radius: 16px;
    background: var(--bg-card-solid);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .mobile-menu-btn {
    display: flex;
  }

  #printCvBtn span {
    display: none;
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 0.8rem;
  }

  .contact-box {
    padding: 1.5rem;
  }
}

/* Yazdırma / PDF Görünümü */
@media print {
  .navbar,
  .ambient-bg,
  .cursor-glow,
  .scroll-progress,
  .hero-cta,
  .filter-tabs,
  .contact-form,
  .toast {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .section {
    padding: 1.5rem 0 !important;
  }
}
