/* Yazı tipleri: Google Fonts'tan indirildi, kendi sunucumuzdan verilir (Inter, Poppins — SIL Open Font License) */
/* Inter 400 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 400 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 500 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 500 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Inter 600 latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Inter 600 latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins 500 latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/poppins-latin-ext-500.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins 500 latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/poppins-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins 600 latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/poppins-latin-ext-600.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins 600 latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/poppins-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Poppins 700 latin-ext */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/poppins-latin-ext-700.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Poppins 700 latin */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/poppins-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Atölye Web Tasarım — statik site stilleri */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --ink: #15171c;
  --muted: #5b616d;
  --line: #e6e3dc;
  --brand: #3498db;       /* logo mavisi: logo, işaretler, numaralar */
  --accent: #1f72ad;      /* aynı mavinin koyu tonu: link ve buton (okunurluk için) */
  --accent-ink: #ffffff;
  --accent-soft: #e8f2fa;
  --band: #15171c;
  --band-ink: #f3f1ec;
  --radius: 14px;
  --wrap: 1080px;
  --prose: none; /* yazı sütunu sayfa genişliğini (--wrap) tam kullanır */

  /* Yazı tipleri */
  --heading: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Yazı ölçeği: sitede yalnızca bu 6 boyut kullanılır */
  --fs-small: 12px;   /* küçük etiketler, tarih üstü notlar */
  --fs-ui: 15px;      /* menü, butonlar, liste özetleri, alt bilgi */
  --fs-body: 17px;    /* gövde metni */
  --fs-h3: 24px;      /* kart ve alt başlıklar */
  --fs-h2: 32px;      /* bölüm başlıkları */
  --fs-display: clamp(36px, 30px + 2.6vw, 56px); /* sayfa başlıkları */

  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #111316;
    --surface: #181b1f;
    --ink: #eceae5;
    --muted: #a0a5ad;
    --line: #2a2e34;
    --brand: #5dade2;
    --accent: #5dade2;
    --accent-ink: #0d1a24;
    --accent-soft: #172633;
    --band: #1a1e22;
    --band-ink: #eceae5;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: var(--fs-display); line-height: 1.15; }
h2 { font-size: var(--fs-h2); line-height: 1.2; }
h3 { font-size: var(--fs-h3); line-height: 1.3; }
h4 { font-size: var(--fs-body); font-weight: 600; line-height: 1.4; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
/* Yazılı logo: mavi "a" + siyah "tölye" */
.brand { display: inline-flex; color: var(--ink); text-decoration: none; font-family: var(--heading); line-height: 1; }
.brand-word { font-weight: 700; font-size: 36px; letter-spacing: -0.02em; }
.brand-a { color: var(--brand); font-weight: 500; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: var(--fs-ui); font-weight: 500; padding: 6px 12px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--accent-soft); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--accent-soft); }
.menu-btn { display: none; }

/* Buttons */
.btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 4px; font-weight: 600; font-size: var(--fs-ui); text-decoration: none; border: 1px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--accent); }
.btn:hover { text-decoration: none; filter: brightness(1.08); }

/* Sections */
section { padding: 72px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: var(--fs-small); font-weight: 600; color: var(--accent); margin-bottom: 16px; }
.hero { padding: 96px 0 80px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-art img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .hero-art { max-width: 460px; }
}
.lead { color: var(--muted); max-width: 58ch; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head a { font-size: var(--fs-ui); }
.border-top { border-top: 1px solid var(--line); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .num { font-size: var(--fs-small); font-weight: 600; color: var(--accent); letter-spacing: .08em; display: block; margin-bottom: 18px; }
.card .card-title { font-size: var(--fs-h3); line-height: 1.3; }
.card p { color: var(--muted); margin: 0; font-size: var(--fs-ui); }

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.split p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); font-size: var(--fs-ui); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }

.band { background: var(--band); color: var(--band-ink); border-radius: calc(var(--radius) * 1.5); padding: clamp(36px, 6vw, 64px); }
.band p { color: inherit; opacity: .8; max-width: 60ch; }
.band .btn-primary { background: var(--band-ink); color: var(--band); border-color: var(--band-ink); }

/* Post list */
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a.row { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 26px 0; text-decoration: none; color: var(--ink); }
.post-list a.row:hover :is(h2, h3) { color: var(--accent); }
.post-list time { color: var(--muted); font-size: var(--fs-ui); padding-top: 4px; font-variant-numeric: tabular-nums; }
.post-list h2, .post-list h3 { font-size: var(--fs-h3); line-height: 1.3; margin: 0 0 6px; transition: color .15s; }
.post-list p { color: var(--muted); margin: 0; font-size: var(--fs-ui); }

/* Page / article */
.page-head { padding: 72px 0 32px; }
.meta { color: var(--muted); font-size: var(--fs-ui); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.meta a { color: inherit; }
.prose { max-width: var(--prose); padding-bottom: 56px; line-height: 1.7; }
.prose h2 { font-size: var(--fs-h3); line-height: 1.3; margin-top: 1.6em; }
.prose h3 { font-family: var(--heading); font-size: var(--fs-body); font-weight: 600; margin-top: 1.5em; }
.prose h4 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li > ul { margin: .3em 0 .6em; color: var(--muted); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand); color: var(--muted); }
.prose table { border-collapse: collapse; width: 100%; margin: 1.5em 0; font-size: var(--fs-ui); }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.tag { font-size: var(--fs-ui); padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); text-decoration: none; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; line-height: 1.5; }
.pager a { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); background: var(--surface); }
.pager a:hover { border-color: var(--accent); }
.pager small { display: block; color: var(--muted); font-size: var(--fs-small); margin-bottom: 4px; }
.pager .next { text-align: right; grid-column: 2; }
.related { padding-bottom: 72px; }
.related h2 { font-size: var(--fs-h3); margin-bottom: 16px; }
.notice { background: var(--accent-soft); border-radius: var(--radius); padding: 20px 24px; }
.prose .contact-list { list-style: none; padding: 0; margin: 24px 0; }
.contact-list li { padding: 14px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 12px; }
.contact-list span { color: var(--muted); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: var(--fs-ui); margin-top: 24px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

@media (max-width: 640px) {
  :root { --fs-h2: 28px; --fs-h3: 22px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { min-height: 64px; padding-top: 10px; padding-bottom: 10px; gap: 0; }
  .brand-word { font-size: 30px; }
  /* Menü: logonun yanında tek düğme, açılınca alt alta bağlantılar */
  .js .menu-btn { display: inline-flex; align-items: center; gap: 8px; font: 600 var(--fs-ui) var(--sans); color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 4px; padding: 8px 12px; cursor: pointer; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 14px; height: 2px; background: currentColor; border-radius: 1px; position: relative; }
  .menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
  .menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
  .menu-btn[aria-expanded="true"] span { background: transparent; }
  .menu-btn[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .nav { flex-basis: 100%; flex-direction: column; gap: 0; margin-top: 10px; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .nav a { font-size: var(--fs-body); padding: 14px 0; border-radius: 0; border-top: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current="page"] { background: none; color: var(--accent); }
  section { padding: 44px 0; }
  .hero { padding: 40px 0 44px; }
  .btns { margin-top: 24px; }
  .card { padding: 22px; }
  .card .num { margin-bottom: 12px; }
  .split { gap: 40px; }
  .page-head { padding: 40px 0 24px; }
  .post-list a.row { grid-template-columns: 1fr; gap: 4px; padding: 22px 0; }
  .pager { grid-template-columns: 1fr; }
  .pager .next { grid-column: auto; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
}
