/* Özgeçmiş — sitenin tasarım diliyle (açık zemin, tek mavi vurgu). A4, 2 sayfa. */
:root {
  --ink: #0b1220;
  --text: #1f2937;
  --muted: #5b6577;
  --line: #e3e8ef;
  --surface: #f4f7fb;
  --primary: #1a6cf0;
  --primary-soft: #eaf2ff;
  --success: #16a34a;
  --page-w: 210mm;
  --page-h: 297mm;
  --pad: 13mm;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

body {
  margin: 0;
  background: #e9edf3;
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 9.6pt;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--primary);
}

h1,
h2,
h3,
p {
  margin: 0;
}

/* ── Araç çubuğu (yalnız ekranda) ─────────────────────────── */
.toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px max(16px, calc((100vw - var(--page-w)) / 2));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.tb-back {
  font-weight: 600;
  color: var(--muted);
}

.tb-actions {
  display: flex;
  gap: 8px;
}

.tb-btn {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.tb-ghost {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.tb-primary {
  border: 0;
  background: var(--primary);
  color: #fff;
}

.tb-primary:hover {
  color: #fff;
  opacity: 0.92;
}

/* ── Sayfalar ─────────────────────────────────────────────── */
.sheets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 28px 16px 56px;
}

.page {
  position: relative;
  width: var(--page-w);
  min-height: var(--page-h);
  padding: var(--pad);
  background: #fff;
  box-shadow: 0 1px 2px rgba(11, 18, 32, 0.05), 0 18px 48px -18px rgba(11, 18, 32, 0.25);
  overflow: hidden;
}

/* ── Başlık ───────────────────────────────────────────────── */
.hero {
  display: flex;
  align-items: center;
  gap: 18px;
}

.photo {
  width: 25mm;
  height: 25mm;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid rgba(26, 108, 240, 0.18);
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 7.6pt;
  font-weight: 700;
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--success);
}

h1 {
  margin-top: 6px;
  color: var(--ink);
  font-size: 25pt;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 span,
.big span {
  color: var(--primary);
}

.role {
  margin-top: 4px;
  font-size: 11.5pt;
  font-weight: 600;
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 16px;
  margin: 14px 0 0;
  padding: 10px 14px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 8.6pt;
}

.contact li {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact b {
  font-size: 7pt;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact a,
.contact span {
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary {
  margin-top: 10px;
  font-size: 9.6pt;
  line-height: 1.5;
  color: var(--text);
}

.summary strong {
  color: var(--ink);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.stats li {
  padding: 7px 4px;
  text-align: center;
}

.stats li + li {
  border-left: 1px solid var(--line);
}

.stats b {
  display: block;
  color: var(--primary);
  font-size: 15pt;
  font-weight: 800;
  line-height: 1.1;
}

.stats span {
  font-size: 7.6pt;
  color: var(--muted);
}

/* ── İki sütun ───────────────────────────────────────────── */
.cols {
  display: grid;
  grid-template-columns: 1fr 52mm;
  gap: 8mm;
  margin-top: 12px;
}

h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 8.4pt;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.job {
  position: relative;
  padding-left: 12px;
  margin-bottom: 7px;
  break-inside: avoid;
}

.job::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 0 1.5px #c9d2de;
}

.job:first-of-type::before {
  background: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 108, 240, 0.18);
}

.job-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

h3 {
  color: var(--ink);
  font-size: 9.8pt;
  font-weight: 700;
  line-height: 1.35;
}

h3 em {
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

time {
  flex-shrink: 0;
  font-size: 7.8pt;
  font-weight: 600;
  color: var(--muted);
}

time.now {
  color: var(--primary);
}

.job ul {
  margin: 2px 0 0;
  padding-left: 13px;
}

.job li {
  margin-top: 1px;
  font-size: 8.6pt;
  line-height: 1.42;
}

.job li::marker {
  color: #a6b1c2;
}

.job li b {
  color: var(--ink);
}

.side section {
  margin-bottom: 14px;
}

.side .item {
  margin-bottom: 7px;
  font-size: 8.4pt;
  line-height: 1.4;
  color: var(--muted);
}

.side .item b {
  display: block;
  color: var(--ink);
  font-weight: 700;
}

.side .label {
  margin-top: 6px;
  font-size: 7.4pt;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.side .tags {
  font-size: 8.4pt;
  line-height: 1.45;
  color: var(--text);
}

/* ── Sayfa 2 ─────────────────────────────────────────────── */
.big {
  display: block;
  margin-bottom: 4px;
  font-size: 17pt;
  font-weight: 800;
  text-transform: none;
  letter-spacing: -0.015em;
}

.big::after {
  display: none;
}

.lead {
  margin-bottom: 12px;
  font-size: 9pt;
  color: var(--muted);
}

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

.app {
  display: flex;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  break-inside: avoid;
}

.app img {
  width: 13mm;
  height: 13mm;
  border-radius: 22%;
  border: 1px solid var(--line);
  object-fit: cover;
  flex-shrink: 0;
}

.app h3 {
  font-size: 10pt;
}

.app p {
  font-size: 8.3pt;
  line-height: 1.4;
  color: var(--muted);
}

.app .stack {
  margin-top: 2px;
  font-weight: 700;
  color: var(--primary);
}

.stores {
  display: flex;
  gap: 5px;
  margin-top: 5px;
}

.stores a {
  padding: 1px 7px;
  border-radius: 5px;
  background: var(--ink);
  color: #fff;
  font-size: 7.2pt;
  font-weight: 700;
}

.stores a:hover {
  color: #fff;
  background: var(--primary);
}

.note {
  margin-top: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--surface);
  font-size: 8.4pt;
  color: var(--muted);
}

.note b {
  color: var(--ink);
}

.page > section + section {
  margin-top: 18px;
}

.projects {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-size: 8.6pt;
}

.projects tr {
  border-top: 1px solid var(--line);
  break-inside: avoid;
}

.projects tr:last-child {
  border-bottom: 1px solid var(--line);
}

.projects th,
.projects td {
  padding: 7px 8px 7px 0;
  vertical-align: top;
  text-align: left;
  line-height: 1.45;
}

.projects th {
  width: 34mm;
  color: var(--ink);
  font-weight: 700;
}

.projects .link {
  width: 36mm;
  padding-right: 0;
}

.projects .link a {
  display: block;
  font-weight: 600;
  color: var(--primary);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
}

.cta h3 {
  color: #fff;
  font-size: 10.5pt;
}

.cta p {
  margin-top: 2px;
  font-size: 8.6pt;
  color: rgba(255, 255, 255, 0.7);
}

.cta p a {
  color: #fff;
  font-weight: 700;
}

.cta-btn {
  flex-shrink: 0;
  padding: 7px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 8.4pt;
  font-weight: 700;
}

.page-foot {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 9mm;
  font-size: 7.4pt;
  color: #8b95a6;
  text-align: right;
}

/* ── Telefon ─────────────────────────────────────────────── */
@media screen and (max-width: 820px) {
  body {
    font-size: 14px;
    background: #fff;
  }

  .toolbar {
    padding: 10px 16px;
  }

  .tb-back {
    display: none;
  }

  .tb-actions {
    width: 100%;
  }

  .tb-btn {
    flex: 1;
    justify-content: center;
  }

  .sheets {
    gap: 0;
    padding: 0;
  }

  .page {
    width: 100%;
    min-height: 0;
    padding: 20px 16px 32px;
    box-shadow: none;
  }

  .page + .page {
    border-top: 8px solid var(--surface);
  }

  .hero {
    align-items: flex-start;
  }

  .photo {
    width: 72px;
    height: 72px;
  }

  h1 {
    font-size: 28px;
  }

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

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

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

  .stats li:nth-child(3) {
    border-left: 0;
  }

  .stats li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

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

  .job-head {
    flex-direction: column;
    gap: 0;
  }

  .projects th,
  .projects td {
    display: block;
    width: auto;
    padding: 2px 0;
  }

  .projects tr {
    display: block;
    padding: 8px 0;
  }

  .cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-foot {
    position: static;
    margin-top: 20px;
    text-align: left;
  }
}

/* ── Yazdırma / PDF ──────────────────────────────────────── */
@page {
  size: A4;
  margin: 0;
}

@media print {
  body {
    background: #fff;
  }

  .toolbar {
    display: none;
  }

  .sheets {
    display: block;
    padding: 0;
  }

  .page {
    width: var(--page-w);
    height: var(--page-h);
    min-height: 0;
    box-shadow: none;
    break-after: page;
  }

  .page:last-child {
    break-after: auto;
  }
}
