/* ═══════════════════════════════════════════
   Onur Tercan — Minimalist Portfolio
   ═══════════════════════════════════════════ */

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

:root {
  --bg: #f5f0eb;
  --text: #1a1a1a;
  --muted: #6b6560;
  --accent: #c9824e;
  --border: #e0dbd5;
  --font-serif: 'Fraunces', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 640px;
  margin: 0 auto;
  padding: 6rem 2rem 8rem;
}

/* ── Hero ─────────────────────────────────── */

.hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 5rem;
}

.photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hero-text h1 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}

.subtitle {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.links {
  display: flex;
  gap: 1.25rem;
}

.links a {
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.links a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Experience ───────────────────────────── */

.experience h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.exp-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.exp-item:last-child {
  border-bottom: none;
}

.exp-date {
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 0.15rem;
}

.exp-item h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}

.exp-item h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.exp-item h3 a:hover {
  color: var(--accent);
}

.arrow {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  margin-left: 4px;
  opacity: 0.6;
  display: inline-block;
  vertical-align: middle;
}

.exp-item p {
  font-size: 0.9rem;
  color: var(--muted);
}

.projects {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.projects a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.projects a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.dim {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ── Mobile ───────────────────────────────── */

@media (max-width: 600px) {
  main {
    padding: 3rem 1.5rem 5rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .links {
    justify-content: center;
  }

  .exp-item {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .exp-date {
    font-size: 0.75rem;
  }
}
