/* ============================================
   Enes Çakıl — Kişisel Web Sitesi
   Mocha teması · Sıcak kahve tonları
   ============================================ */
@font-face {
  font-family: 'OpenSans Hero';
  src: url('../fonts/OpenSansDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --bg:          #f0e6d8;
  --surface:     #faf2e5;
  --surface2:    #e0d2bc;
  --border:      #c8b89c;
  --border-soft: #d8c9ac;
  --text:        #2a1f12;
  --muted:       #8a7560;
  --muted-2:     #5e4a36;
  --shadow:      rgba(0,0,0,.08);
  --accent:      #6b3a18;
  --accent2:     #c44a1a;
  --accent-fg:   #faf2e5;
  --serif:       'Fraunces', 'Georgia', serif;
  --mono:        'JetBrains Mono', 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: var(--accent-fg); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================
   MOBILE NAV
   ============================================ */
.menu-btn {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 6px; color: var(--text);
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 49;
  background: rgba(240, 230, 216, 0.97);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-nav.open { opacity: 1; pointer-events: auto; visibility: visible; }
.mobile-nav-links {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
}
.mobile-nav-links a {
  font-family: var(--serif); font-size: 34px; font-weight: 300;
  letter-spacing: -0.025em; font-style: italic;
  color: var(--muted-2); padding: 7px 24px;
  transition: color 0.15s ease;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { color: var(--accent); }
.mobile-nav-cv {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--mono); font-size: 12px; color: var(--muted);
  padding: 9px 22px; border: 1px solid var(--border); border-radius: 999px;
  transition: color 0.18s ease, border-color 0.18s ease;
}
.mobile-nav-cv:hover { color: var(--accent); border-color: var(--accent); }
.mobile-close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none; cursor: pointer; color: var(--muted);
  padding: 8px; transition: color 0.15s ease;
}
.mobile-close:hover { color: var(--text); }

/* ---- Grid arka plan ---- */
.grid-bg {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(to right, var(--border-soft) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border-soft) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}
.noise {
  position: fixed; inset: 0; z-index: -1;
  opacity: 0.055; pointer-events: none; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 16px 56px;
  background: rgba(240, 230, 216, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.logo {
  font-family: var(--mono); font-size: 14px; font-weight: 500;
  letter-spacing: 0.02em; display: flex; align-items: center; gap: 3px;
}
.logo-bracket { color: var(--accent2); }
.nav {
  display: flex; gap: 28px;
  font-family: var(--mono); font-size: 12.5px;
}
.nav a {
  color: var(--muted-2); padding: 3px 0;
  position: relative; transition: color 0.18s ease;
}
.nav a:hover, .nav a.active { color: var(--accent); }
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  height: 1px; width: 0; background: var(--accent);
  transition: width 0.22s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.btn-cv {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px;
  border: 1px solid var(--border); border-radius: 999px;
  font-family: var(--mono); font-size: 12.5px; color: var(--text);
  background: var(--surface); transition: all 0.18s ease;
}
.btn-cv:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }

/* ============================================
   HERO
   ============================================ */
.hero {
  max-width: 1160px; margin: 0 auto;
  padding: 80px 56px 72px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: center;
}
.hero-photo {
  width: 320px; 
  flex-shrink: 0;
}
.hero-photo .photo-frame {
  aspect-ratio: 3/4;
  border: 1px solid var(--border);
  background: var(--surface2);
  overflow: hidden;
  box-shadow: 0 20px 48px -20px var(--shadow);
}
.hero-photo .photo-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: contrast(1.03) saturate(0.9);
  transition: transform 0.55s ease, filter 0.4s ease;
}
.hero-photo .photo-frame:hover img {
  transform: scale(1.03);
  filter: contrast(1.08) saturate(1);
}
.hero-photo .photo-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  background: repeating-linear-gradient(45deg,
    var(--surface) 0, var(--surface) 10px,
    var(--surface2) 10px, var(--surface2) 20px);
}
.hero-title {
  font-family: 'OpenSans Hero', serif; /* Kilit nokta burası, diğer fontları etkilemez */
  font-size: clamp(64px, 10vw, 130px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-title .first { display: block; opacity: 0; transform: translateY(14px); animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.05s forwards; }
.hero-title .last  { display: block; font-weight: 400; color: var(--accent); padding-left: .1em; opacity: 0; transform: translateY(14px); animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.18s forwards; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-bio {
  font-size: 17px; line-height: 1.65; color: var(--muted-2);
  max-width: 520px; margin-bottom: 0;
  opacity: 0; animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.35s forwards;
}
.hero-bio strong { color: var(--text); font-weight: 500; }

/* ============================================
   İSTATİSTİKLER — About'tan önce
   ============================================ */
.stats-row {
  max-width: 1160px; margin: 0 auto;
  padding: 0 56px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  opacity: 0; animation: rise 0.8s cubic-bezier(.2,.7,.2,1) 0.5s forwards;
}
.stat {
  display: flex; flex-direction: column; gap: 5px;
  padding: 28px 0;
  border-right: 1px solid var(--border);
  padding-right: 32px; margin-right: 32px;
}
.stat:last-child { border-right: none; margin-right: 0; }
.stat-num {
  font-family: var(--serif);
  font-size: 36px; font-weight: 400;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 72;
  color: var(--text);
}
.stat-label {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.09em;
}

/* ============================================
   GENEL BÖLÜM
   ============================================ */
.section {
  max-width: 1160px; margin: 0 auto;
  padding: 72px 56px;
  border-top: 1px solid var(--border);
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.section.in-view { opacity: 1; transform: none; }
.section-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 48px; padding-bottom: 16px;
  border-bottom: 1px dashed var(--border);
}
.section-num { font-family: var(--mono); font-size: 12px; color: var(--accent2); letter-spacing: 0.1em; }
.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 400;
  letter-spacing: -0.022em; font-style: italic;
  color: var(--text);
}

/* ============================================
   HAKKINDA
   ============================================ */
.about-text p {
  margin-bottom: 16px; color: var(--muted-2); font-size: 17px;
}
.about-text p:last-of-type { margin-bottom: 0; }
.about-text em {
  color: var(--accent); font-style: normal;
  font-family: var(--mono); font-size: 14.5px;
}
.skills-block {
  margin-top: 32px; padding-top: 26px;
  border-top: 1px solid var(--border);
}
.skills-block h3 {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.skills-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 11px;
  border: 1px solid var(--border); border-radius: 4px;
  font-family: var(--mono); font-size: 12px; color: var(--muted-2);
  background: var(--surface); transition: all 0.18s ease;
}
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ============================================
   TIMELINE — Deneyim
   ============================================ */
.timeline { list-style: none; }
.timeline-item {
  display: grid; grid-template-columns: 210px 1fr; gap: 44px;
  padding: 32px 0; border-top: 1px solid var(--border-soft);
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.timeline-item:first-child { border-top: none; padding-top: 0; }
.timeline-item.in-view { opacity: 1; transform: none; }
.tl-date { font-family: var(--mono); display: flex; flex-direction: column; gap: 5px; }
.tl-range { font-size: 12.5px; color: var(--text); font-weight: 500; }
.tl-type { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.tl-body h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 400;
  letter-spacing: -0.012em; margin-bottom: 14px; color: var(--text);
}
.company { color: var(--accent2); font-style: italic; font-size: 0.84em; font-weight: 300; }
.tl-body ul { list-style: none; }
.tl-body li {
  position: relative; padding-left: 20px;
  margin-bottom: 9px; color: var(--muted-2);
  font-size: 15.5px; line-height: 1.52;
}
.tl-body li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  font-family: var(--mono); color: var(--accent2); font-size: 13px;
}

/* ============================================
   EĞİTİM
   ============================================ */
.edu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.edu-card {
  padding: 26px 30px;
  border: 1px solid var(--border); background: var(--surface);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.22s ease;
}
.edu-card.in-view { opacity: 1; transform: none; }
.edu-card:hover { border-color: var(--accent); }
.edu-years { font-family: var(--mono); font-size: 11.5px; color: var(--accent2); margin-bottom: 12px; letter-spacing: 0.04em; }
.edu-card h3 { font-family: var(--serif); font-size: 20px; font-weight: 400; margin-bottom: 5px; letter-spacing: -0.012em; }
.edu-school { color: var(--muted-2); font-size: 14.5px; margin-bottom: 4px; }
.edu-detail { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.edu-detail strong { color: var(--text); }

/* ============================================
   ÖDÜLLER — sade liste, tıklanabilir görünmüyor
   ============================================ */
.awards-intro {
  max-width: 720px; color: var(--muted-2); font-size: 15.5px;
  line-height: 1.6; margin-bottom: 40px;
  padding-left: 16px; border-left: 2px solid var(--accent2);
  font-style: italic;
}
.awards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0;
  border: 1px solid var(--border);
  background: var(--surface);
}
.award-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft);
  gap: 16px;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.award-row.in-view { opacity: 1; transform: none; }
.award-row:last-child { border-bottom: none; }
.award-row:hover { background: var(--surface2); }
.award-left { display: flex; align-items: center; gap: 14px; }
.award-bar {
  width: 3px; height: 32px; border-radius: 2px; flex-shrink: 0;
}
.award-bar.gold   { background: #b8860b; }
.award-bar.silver { background: #8a8a90; }
.award-bar.bronze { background: #a05a30; }
.award-bar.other  { background: var(--border); }
.award-name { font-family: var(--serif); font-size: 16px; font-weight: 400; color: var(--text); }
.award-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.award-place {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--muted-2); white-space: nowrap;
}
.award-place.gold   { color: #b8860b; font-weight: 600; }
.award-place.silver { color: #6e6e74; }
.award-place.bronze { color: #a05a30; }
.award-year-label {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted); letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ============================================
   AKTİVİTELER
   ============================================ */
.activities {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.act-card {
  padding: 24px 26px;
  border: 1px solid var(--border); background: var(--surface);
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.22s ease;
}
.act-card.in-view { opacity: 1; transform: none; }
.act-card:hover { border-color: var(--accent2); }
.act-year { font-family: var(--mono); font-size: 11.5px; color: var(--accent2); margin-bottom: 12px; letter-spacing: 0.04em; }
.act-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 400; margin-bottom: 3px; letter-spacing: -0.01em; }
.act-org { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.08em; }
.act-card p { color: var(--muted-2); font-size: 14.5px; line-height: 1.52; }

/* ============================================
   İLETİŞİM
   ============================================ */
.contact-lead {
  max-width: 580px;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(20px, 2.6vw, 28px); line-height: 1.38;
  color: var(--text); margin-bottom: 48px; letter-spacing: -0.012em;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.contact-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 26px 24px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.18s ease;
}
.contact-item:hover { background: var(--surface); }
.contact-item:hover .ci-value { color: var(--accent); }
.ci-label { font-family: var(--mono); font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.ci-value { font-family: var(--serif); font-size: 19px; color: var(--text); letter-spacing: -0.01em; transition: color 0.18s ease; word-break: break-word; }
/* ↗ oku — sadece gerçek dış linkler */
.contact-item[target="_blank"] .ci-value::after {
  content: ' ↗'; font-size: 0.7em; opacity: 0.5;
  font-family: var(--mono);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  max-width: 1160px; margin: 0 auto;
  padding: 24px 56px 44px;
  border-top: 1px solid var(--border);
}
.footer-line {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.sep { opacity: 0.45; }

/* ============================================
   ALT SAYFALAR — uygulamalar / oyunlar
   ============================================ */
.subpage-hero {
  max-width: 1160px; margin: 0 auto; padding: 80px 56px 52px;
}
.crumbs {
  font-family: var(--mono); font-size: 11.5px; color: var(--muted);
  margin-bottom: 22px; letter-spacing: 0.04em;
}
.crumbs a { color: var(--muted-2); transition: color 0.18s ease; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 8px; }
.subpage-title {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 76px); font-weight: 300;
  letter-spacing: -0.035em; line-height: 1.02; margin-bottom: 20px;
  font-variation-settings: "opsz" 144;
}
.subpage-title .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.subpage-subtitle { max-width: 600px; font-size: 17px; color: var(--muted-2); line-height: 1.6; }

.cards-grid {
  max-width: 1160px; margin: 0 auto; padding: 36px 56px 100px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px;
}
.project-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--border); background: var(--surface);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), border-color 0.22s ease, box-shadow 0.35s ease;
}
.project-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 24px 48px -24px rgba(107,58,24,.3); }
.card-cover {
  aspect-ratio: 16/9;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
}
.cover-icon { font-size: 40px; opacity: 0.5; font-family: var(--serif); color: var(--accent); }
.cover-1 { background: linear-gradient(135deg,#d8c2a0,#e8d8be); }
.cover-2 { background: linear-gradient(135deg,#d8b8a0,#e8d2be); }
.cover-3 { background: linear-gradient(135deg,#c8b89c,#ddc9ad); }
.cover-4 { background: linear-gradient(135deg,#d4c0a4,#e6d6c0); }
.cover-5 { background: linear-gradient(135deg,#d8c0a8,#ead8c2); }
.cover-6 { background: linear-gradient(135deg,#ccb898,#e0cdaf); }
.card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card-tag { font-family: var(--mono); font-size: 10.5px; color: var(--accent2); text-transform: uppercase; letter-spacing: 0.12em; }
.card-title { font-family: var(--serif); font-size: 22px; font-weight: 400; letter-spacing: -0.012em; line-height: 1.2; color: var(--text); }
.card-desc { color: var(--muted-2); font-size: 14.5px; line-height: 1.52; flex: 1; }
.card-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.card-chip { padding: 3px 8px; border: 1px solid var(--border); border-radius: 3px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.card-actions { display: flex; gap: 8px; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--border); }
.card-btn {
  flex: 1; text-align: center; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: 4px;
  font-family: var(--mono); font-size: 11.5px; color: var(--text);
  background: transparent; transition: all 0.18s ease;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
}
.card-btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.card-btn.primary { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); font-weight: 500; }
.card-btn.primary:hover { background: var(--accent2); border-color: var(--accent2); }

/* ============================================
   GAME CATEGORIES (oyunlar.html)
   ============================================ */
.game-sections {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 56px 100px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.cat-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
}
.cat-icon-wrap {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  font-size: 20px;
  flex-shrink: 0;
}
.cat-icon-wrap.mono {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.04em;
}
.cat-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 2px;
}
.cat-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--text);
}
.cat-badge {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  padding: 4px 12px;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  white-space: nowrap;
}
.section-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.cover-spektrum { background: linear-gradient(135deg, #c8a8d8, #ddc0e8); }
.cover-7        { background: linear-gradient(135deg, #b8c8d8, #ccdde8); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 860px) {
  .topbar { padding: 13px 20px; }
  .nav { display: none; }

  .hero { grid-template-columns: 1fr; gap: 28px; padding: 52px 20px 44px; }
  .hero-photo { width: 160px; }

  .stats-row { grid-template-columns: repeat(2, 1fr); padding: 0 20px 48px; }
  .stat { padding: 20px 0; border-right: none; margin-right: 0; border-bottom: 1px solid var(--border); }
  .stat:nth-child(odd) { border-right: 1px solid var(--border); padding-right: 20px; margin-right: 20px; }
  .stat:nth-child(3), .stat:nth-child(4) { border-bottom: none; }

  .section { padding: 52px 20px; }

  .timeline-item { grid-template-columns: 1fr; gap: 12px; }

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

  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  .footer { padding: 20px 20px 36px; }

  .subpage-hero { padding: 52px 20px 36px; }
  .cards-grid { padding: 24px 20px 72px; gap: 14px; }
  .game-sections { padding: 20px 20px 72px; gap: 44px; }
  .cat-badge { display: none; }
  .section-cards { gap: 14px; }

  .menu-btn { display: flex; }
  .mobile-nav { display: flex; }
  .btn-cv { display: none; }
}

@media (max-width: 480px) {
  .contact-grid { grid-template-columns: 1fr; }
  .awards-list { grid-template-columns: 1fr; }
}

/* Genel Kapsayıcı Ayarları */
.modern-awards-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem; /* Yıllar arası boşluk */
  margin-top: 2rem;
}

/* Her Bir Yılın Satırı */
.timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb; /* İsteğe bağlı, satırları ayıran hafif çizgi */
}

.timeline-row:last-child {
  border-bottom: none;
}

/* Yıl Yazısı (Sol taraf) */
.timeline-year {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  min-width: 60px; /* Yılların hizalı durması için */
  padding-top: 4px;
}

/* O Yıla Ait Ödüllerin Kutusu (Sağ taraf) */
.timeline-items {
  display: flex;
  flex-wrap: wrap; /* Ekrana sığmazsa alt satıra geçmesini sağlar (Üst üste binmeyi çözer) */
  gap: 0.75rem;
}

/* Ödül Etiketi (Kapsayıcı tag) */
.award-tag {
  display: inline-flex;
  align-items: center;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  padding: 6px 12px;
  border-radius: 8px; /* Yumuşak köşeler (Modern görünüm) */
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.award-tag:hover {
  transform: translateY(-2px); /* Üzerine gelince hafifçe yukarı kalkma efekti */
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.award-name {
  font-weight: 600;
  color: #374151;
  margin-right: 8px;
}

/* Madalya ve Derece Renkleri (Badge) */
.badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.gold {
  background-color: #fef08a; /* Açık sarı arka plan */
  color: #854d0e; /* Koyu sarı/altın yazı */
}

.badge.silver {
  background-color: #e5e7eb;
  color: #374151;
}

.badge.bronze {
  background-color: #fed7aa; /* Bronz/Turuncu arka plan */
  color: #9a3412;
}

.badge.neutral {
  background-color: #dbeafe; /* Mavi (Problem setter için) */
  color: #1e40af;
}

/* Mobil Cihazlar İçin Uyum (Responsive) */
@media (max-width: 600px) {
  .timeline-row {
    flex-direction: column; /* Mobilde yılı üste, ödülleri alta alır */
    gap: 0.75rem;
  }
  .timeline-year {
    padding-top: 0;
  }
}