/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0d0d0d;
  --bg2:      #181818;
  --bg3:      #222222;
  --surface:  #181818;
  --border:   #2e2e2e;
  --accent:   #d4a017;
  --accent-h: #f0c040;
  --accent2:  #c0392b;
  --gold-glow: rgba(212,160,23,0.18);
  --text:     #f5f5f5;
  --muted:    #9a9a9a;
  --radius:   12px;
  --transition: 0.3s ease;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(212,160,23,0.15);
  transition: background var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Fira Code', monospace;
  font-size: 1.15rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.87rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
  background: var(--gold-glow);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  font-family: inherit;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #b8860b);
  color: #0d0d0d;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-h), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212,160,23,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent);
}

.btn-outline:hover {
  background: var(--gold-glow);
  transform: translateY(-2px);
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== SECTION TITLE ===== */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}

/* ===== HERO ===== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 3rem) 2rem 4rem;
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 70% 50%, rgba(212,160,23,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(192,57,43,0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 600px; }

.hero-greeting {
  color: var(--accent);
  font-family: 'Fira Code', monospace;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.hero-name {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, var(--text) 30%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-role {
  font-size: 1.15rem;
  color: var(--accent);
  font-family: 'Fira Code', monospace;
  margin-bottom: 1.5rem;
  min-height: 1.8rem;
}

.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
  color: var(--muted);
  line-height: 1.85;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-family: 'Fira Code', monospace;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #3fb950;
  box-shadow: 0 0 8px rgba(63,185,80,0.6);
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot { 0%,100%{box-shadow:0 0 6px rgba(63,185,80,0.5)} 50%{box-shadow:0 0 14px rgba(63,185,80,0.9)} }

/* Hero photo */
.hero-visual { flex-shrink: 0; }

.profile-photo-wrap {
  position: relative;
  width: 300px;
  height: 300px;
}

.profile-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--accent));
  animation: rotate-border 6s linear infinite;
  z-index: 0;
}

@keyframes rotate-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.profile-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg);
  z-index: 1;
}

.profile-photo-wrap img,
.profile-initials {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
}

.profile-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg3), var(--bg2));
  font-size: 4rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat { text-align: center; }
.stat-num { font-size: 1.6rem; font-weight: 800; color: var(--accent); font-family: 'Fira Code', monospace; line-height: 1; }
.stat-label { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 5rem 2rem;
}

.content-section--alt {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-more {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
}

/* ===== ARTICLE CARDS ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(212,160,23,0.1);
}

.card-cover {
  height: 200px;
  overflow: hidden;
}

.card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.article-card:hover .card-cover img { transform: scale(1.05); }

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

.card-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 0.75rem; }

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.card-title a { color: var(--text); text-decoration: none; transition: color var(--transition); }
.card-title a:hover { color: var(--accent); }

.card-summary {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}

.card-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-family: 'Fira Code', monospace;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: auto;
}

/* ===== TAG PILLS ===== */
.tag-pill {
  background: rgba(212,160,23,0.1);
  color: var(--accent);
  border: 1px solid rgba(212,160,23,0.25);
  border-radius: 99px;
  font-size: 0.72rem;
  padding: 0.2rem 0.6rem;
  display: inline-block;
  white-space: nowrap;
}

.tag-pill.tag-kose { background: rgba(63,185,80,0.1); color: #3fb950; border-color: rgba(63,185,80,0.25); }
.tag-pill.tag-haber { background: rgba(192,57,43,0.1); color: #e74c3c; border-color: rgba(192,57,43,0.25); }

/* ===== GALLERY GRID ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-grid--home {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}

.gallery-item {
  position: relative;
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: 0.88rem; }
.gallery-overlay small { color: rgba(255,255,255,0.7); font-size: 0.75rem; margin-top: 0.2rem; }

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
}
.lightbox.hidden { display: none; }
.lightbox-inner { max-width: 92vw; max-height: 92vh; text-align: center; position: relative; }
.lightbox-inner img { max-width: 100%; max-height: 80vh; border-radius: 10px; display: block; }
.lightbox-caption { color: rgba(255,255,255,0.85); margin-top: 1rem; font-size: 0.9rem; }
.lightbox-close {
  position: fixed; top: 1.5rem; right: 1.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 1.1rem;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }

/* ===== LINK GROUP ===== */
.link-group { margin-bottom: 3rem; }

.link-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212,160,23,0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.link-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.link-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
  display: block;
}

.link-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.link-card-title { color: var(--text); font-weight: 600; font-size: 0.95rem; margin-bottom: 0.3rem; }
.link-card-note { color: var(--muted); font-size: 0.83rem; margin-bottom: 0.4rem; line-height: 1.5; }
.link-card-url { color: var(--accent); font-size: 0.75rem; font-family: 'Fira Code', monospace; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0.75; }

/* ===== NOTES FEED ===== */
.notes-feed {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 760px;
  margin: 0 auto;
}

.note-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  position: relative;
  transition: border-color var(--transition);
}

.note-card--pinned {
  border-color: rgba(212,160,23,0.4);
  background: rgba(212,160,23,0.03);
}

.note-pin { position: absolute; top: 1rem; right: 1.25rem; font-size: 1rem; }
.note-body { color: var(--text); line-height: 1.8; white-space: pre-wrap; font-size: 0.97rem; }
.note-tags { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.note-date { margin-top: 0.75rem; color: var(--muted); font-size: 0.75rem; font-family: 'Fira Code', monospace; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: calc(var(--nav-h) + 3rem) 2rem 3rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 0%, rgba(212,160,23,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero .container { position: relative; z-index: 1; }

.page-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle { color: var(--muted); margin-top: 0.5rem; font-size: 1rem; }

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 2rem;
  max-width: 760px;
  margin: 0 auto;
}

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

.timeline-item {
  position: relative;
  padding: 0 0 3rem 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -6px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-year {
  font-family: 'Fira Code', monospace;
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}

.timeline-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.4rem; }
.timeline-content p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* ===== ABOUT ===== */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  align-items: start;
}

.about-bio h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--text); }
.about-bio p { color: var(--muted); line-height: 1.85; margin-bottom: 1.1rem; font-size: 0.97rem; }
.about-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.75rem; }

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.avatar-placeholder {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  font-weight: 800;
  color: #0d0d0d;
}

.quick-item {
  display: flex; align-items: center;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0.6rem;
  text-align: left;
}
.quick-icon { font-size: 1rem; }

/* ===== ARTICLE DETAIL ===== */
.article-breadcrumb { color: var(--muted); font-size: 0.82rem; margin-bottom: 1rem; }
.article-breadcrumb a { color: var(--muted); text-decoration: none; transition: color var(--transition); }
.article-breadcrumb a:hover { color: var(--accent); }

.article-meta {
  display: flex; align-items: center;
  flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1rem;
  color: var(--muted); font-size: 0.85rem;
}
.meta-sep { color: var(--border); }

.article-cover { max-height: 480px; overflow: hidden; }
.article-cover img { width: 100%; height: 480px; object-fit: cover; display: block; }

.article-layout { max-width: 800px; margin: 0 auto; }
.article-back { max-width: 800px; margin: 3rem auto 0; }

/* ===== PROSE ===== */
.prose { color: var(--text); line-height: 1.9; font-size: 1rem; }
.prose h1,.prose h2,.prose h3,.prose h4 { margin: 2.5rem 0 1rem; font-weight: 700; line-height: 1.3; }
.prose h2 { font-size: 1.5rem; border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
.prose h3 { font-size: 1.2rem; color: var(--accent); }
.prose p { margin-bottom: 1.4rem; }
.prose ul,.prose ol { margin: 1rem 0 1.4rem 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose a { color: var(--accent); }
.prose blockquote { border-left: 3px solid var(--accent); padding-left: 1.25rem; margin: 2rem 0; color: var(--muted); font-style: italic; }
.prose code { background: var(--bg2); border: 1px solid var(--border); padding: 0.15rem 0.45rem; border-radius: 5px; font-family: 'Fira Code', monospace; font-size: 0.87em; color: var(--accent); }
.prose pre { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 1.5rem; overflow-x: auto; margin: 1.75rem 0; }
.prose pre code { background: none; border: none; padding: 0; color: var(--text); }
.prose img { max-width: 100%; border-radius: 10px; margin: 1.5rem 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.75rem 0; }
.prose th,.prose td { padding: 0.7rem 1rem; border: 1px solid var(--border); text-align: left; }
.prose th { background: var(--bg2); font-weight: 600; color: var(--accent); }

/* ===== DEMO BADGE ===== */
.demo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(212,160,23,0.12);
  border: 1px solid rgba(212,160,23,0.35);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

/* ===== PAGINATION ===== */
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 3.5rem; }
.page-info { color: var(--muted); font-size: 0.82rem; font-family: 'Fira Code', monospace; }

/* ===== CATEGORY TABS ===== */
.category-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2.5rem; }
.cat-tab {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.4rem 1.1rem;
  border-radius: 99px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all var(--transition);
}
.cat-tab:hover { border-color: var(--accent); color: var(--accent); }
.cat-tab--active { background: var(--accent); color: #0d0d0d; border-color: var(--accent); font-weight: 600; }

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 960px;
  margin: 2.5rem auto 0;
}

.contact-info h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; }
.contact-info p { color: var(--muted); line-height: 1.8; margin-bottom: 1.75rem; font-size: 0.95rem; }
.contact-detail { display: flex; align-items: center; gap: 0.6rem; color: var(--muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.contact-icon { font-size: 1rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text); }
.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-family: inherit;
  transition: border-color var(--transition);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,160,23,0.1); }
.form-group textarea { resize: vertical; }

/* ===== FOOTER ===== */
footer {
  background: #0a0a0a;
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 4rem; color: var(--muted); }
.empty-state p { margin-bottom: 1.25rem; }
.empty-state a { color: var(--accent); }

.section-empty {
  text-align: center;
  padding: 2.5rem;
  color: var(--muted);
  font-size: .92rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.section-empty a { color: var(--accent); text-decoration: none; }
.section-empty a:hover { text-decoration: underline; }

/* ===== SKILLS (hakkimda) ===== */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.25rem; }
.skill-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.skill-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.skill-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.skill-name { font-weight: 600; font-size: 0.92rem; }

/* ===== PROJECTS (placeholder) ===== */
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}
.project-card:hover { border-color: var(--accent); transform: translateY(-3px); }

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); }
.scroll-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); animation: scroll-dot 2s ease-in-out infinite; margin: 0 auto; }
@keyframes scroll-dot { 0%,100%{transform:translateY(0);opacity:1} 50%{transform:translateY(10px);opacity:0.3} }

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: flex; justify-content: center; }
  .profile-photo-wrap { width: 240px; height: 240px; }
  .hero-text { max-width: 100%; }
  .about-layout { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .cards-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 640px) {
  :root { --nav-h: 60px; }

  .container { padding: 0 1.25rem; }
  .content-section { padding: 3.5rem 1.25rem; }
  .page-hero { padding: calc(var(--nav-h) + 2rem) 1.25rem 2rem; }

  /* Navbar mobile */
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.8rem 2rem; font-size: 0.95rem; border-radius: 0; }
  .menu-btn { display: flex; }

  /* Hero mobile */
  #hero { padding: calc(var(--nav-h) + 2rem) 1.25rem 3rem; }
  .hero-content { gap: 2rem; }
  .hero-visual { order: -1; }
  .profile-photo-wrap { width: 180px; height: 180px; }
  .hero-name { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero-actions { gap: 0.75rem; }
  .hero-actions .btn { padding: 0.6rem 1.4rem; font-size: 0.87rem; }
  .hero-stats { gap: 1.25rem; justify-content: center; }

  /* Cards */
  .cards-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid--home { grid-template-columns: repeat(2, 1fr); }
  .link-cards { grid-template-columns: 1fr; }

  /* Sections */
  .section-title { font-size: 1.5rem; margin-bottom: 2rem; }
  .section-more { flex-direction: column; align-items: center; }

  /* Contact */
  .contact-section { padding: 3.5rem 1.25rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* Article — mobile reading */
  .article-cover img { height: 220px; }
  .article-layout { padding: 0; }
  .prose { font-size: 1rem; line-height: 1.85; word-break: break-word; overflow-wrap: break-word; }
  .prose h2 { font-size: 1.3rem; }
  .prose h3 { font-size: 1.1rem; }
  .prose pre { padding: 1rem; font-size: 0.82rem; }
  .prose img { margin: 1rem 0; }
  .prose blockquote { padding-left: 1rem; margin: 1.25rem 0; }
  .article-back { margin-top: 2rem; }
  .page-title { font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1.35; }
  .timeline { padding-left: 1.5rem; }

  /* About */
  .about-layout { gap: 2rem; }
}
