/* ===== Kesişim Kümesi — ortak stiller ===== */
:root {
  --bg: #f6f1e7;
  --bg-2: #ece5d8;
  --paper: #fbf8f2;
  --ink: #141414;
  --ink-2: #4b4945;
  --ink-3: #8a857c;
  --line: #d9d1c3;
  --accent: #d62828;
  --accent-ink: #ffffff;
  --dark: #141414;
  --dark-ink: #f6f1e7;
  --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 12px 32px -12px rgba(20, 20, 20, .22);
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --radius: 14px;
  --wrap: 1200px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0e0e0e;
  --bg-2: #171717;
  --paper: #1c1c1c;
  --ink: #f6f1e7;
  --ink-2: #bdb8ae;
  --ink-3: #8a867e;
  --line: #2d2d2d;
  --accent: #e5383b;
  --accent-ink: #ffffff;
  --dark: #f6f1e7;
  --dark-ink: #0e0e0e;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s ease, color .35s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.serif { font-family: var(--serif); font-weight: 400; }
.accent { color: var(--accent); font-style: italic; }
.muted { color: var(--ink-3); }

/* ----- Düğmeler ----- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--dark); background: var(--dark); color: var(--dark-ink);
  font-size: 14px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--bg); }
.btn.accent-btn { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-style: normal; }
.btn.small { padding: 7px 13px; font-size: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.arrow { display: inline-block; transition: transform .2s; }
.btn:hover .arrow { transform: translate(2px, -2px); }

.icon-btn {
  width: 38px; height: 38px; display: inline-grid; place-items: center;
  border-radius: 999px; border: 1px solid var(--line); background: transparent;
  cursor: pointer; color: var(--ink); transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--bg-2); border-color: var(--ink-3); }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn[aria-pressed="true"] { background: var(--dark); color: var(--dark-ink); border-color: var(--dark); }

/* ----- Tema düğmesi ----- */
.theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }

/* ----- Üst menü ----- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font-family: var(--serif); font-size: 24px; line-height: 1; white-space: nowrap;
}
/* Logo: gündüz ve gece sürümleri */
.logo-d { display: none; }
:root[data-theme="dark"] .logo-l { display: none; }
:root[data-theme="dark"] .logo-d { display: block; }
.brand-logo { height: 46px; width: auto; }
.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-links a { text-decoration: none; font-size: 14px; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav .wrap { justify-content: space-between; }
}
@media (max-width: 480px) {
  .nav .btn .label-long { display: none; }
  .brand-logo { height: 40px; }
}

/* ----- Ana sayfa: hero ----- */
.hero { padding: 40px 0 72px; }
.hero-meta { display: flex; justify-content: space-between; align-items: start; gap: 16px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-meta-left { display: grid; gap: 6px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(52px, 8vw, 112px); line-height: .95; letter-spacing: -.02em; margin: 0;
}
.hero h1 .row { display: flex; align-items: center; gap: .18em; flex-wrap: wrap; }
.venn { height: .9em; flex: none; display: inline-flex; }
.venn img { height: 100%; width: auto; }
.hero-note { margin: 18px 0 28px; }
.hero p.lead { max-width: 520px; color: var(--ink-2); font-size: 17px; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.cover-card {
  position: relative; display: block; text-decoration: none;
  border-radius: 18px; overflow: hidden; background: var(--paper);
  box-shadow: var(--shadow); border: 1px solid var(--line);
  max-width: 360px; justify-self: end; width: 100%;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.cover-card:hover { transform: translateY(-4px) rotate(-.4deg); }
.cover-card .cover-img, .cover-card .cover-img canvas { aspect-ratio: 3 / 4; height: auto; width: 100%; object-fit: cover; background: var(--bg-2); }
.cover-card .tag {
  position: absolute; top: 18px; left: -6px; transform: rotate(-8deg);
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; z-index: 2;
}
.cover-card .bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--dark); color: var(--dark-ink); padding: 14px 18px;
}
.cover-card .bar strong { font-weight: 500; font-size: 15px; display: block; }
.cover-card .bar .mono { color: color-mix(in srgb, var(--dark-ink) 65%, transparent); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cover-card { justify-self: start; max-width: 360px; }
}

/* ----- Kayan şerit ----- */
.ticker { background: var(--dark); color: var(--dark-ink); overflow: hidden; border-block: 1px solid var(--dark); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 22px; padding: 12px 11px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.ticker span::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent), inset 0 0 0 3.5px var(--dark-ink); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ----- Bölümler ----- */
.section { padding: 96px 0; border-bottom: 1px solid var(--line); }
.section-label { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.section-label::after { content: ''; height: 1px; width: 100px; background: var(--ink-3); }
.section h2 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1; letter-spacing: -.015em; margin: 0 0 20px;
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
@media (max-width: 600px) { .section { padding: 64px 0; } }

/* Sayılar ızgarası */
.issues-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 36px 28px; }
.issue-card { text-decoration: none; display: block; }
.issue-card .thumb {
  aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.issue-card:hover .thumb { transform: translateY(-5px); }
.issue-card .thumb img, .issue-card .thumb canvas { width: 100%; height: 100%; object-fit: cover; }
.issue-card .meta { display: flex; justify-content: space-between; margin-top: 16px; gap: 8px; }
.issue-card h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; margin: 6px 0 0; }
.views { display: inline-flex; align-items: center; gap: 6px; }
.views svg { width: 14px; height: 14px; }
.empty {
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--ink-3);
}
.skeleton { background: linear-gradient(100deg, var(--bg-2) 30%, var(--paper) 50%, var(--bg-2) 70%); background-size: 300% 100%; animation: sk 1.4s linear infinite; }
@keyframes sk { to { background-position: -150% 0; } }

/* İstatistikler + hakkımızda */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.about-text p { color: var(--ink-2); font-size: 17px; max-width: 620px; margin: 0 0 16px; }
.stats { display: grid; gap: 0; }
.stat { border-top: 1px solid var(--ink-3); padding: 18px 0 22px; width: 75%; }
.stat:nth-child(2) { margin-left: 25%; }
.stat .num { font-family: var(--serif); font-size: 64px; line-height: 1; display: flex; gap: 4px; }
.stat .num sup { color: var(--accent); font-size: 18px; margin-top: 6px; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat { width: 100%; } .stat:nth-child(2) { margin-left: 0; }
}

/* İletişim + form */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: start; }
.contact-list { border-top: 1px solid var(--line); }
.contact-item { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item .value { font-family: var(--serif); font-size: 24px; line-height: 1.2; margin-top: 6px; word-break: break-word; }
.contact-item a { text-decoration: none; }
.contact-item a:hover { color: var(--accent); }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: var(--shadow); }
.cf-head { margin-bottom: 22px; }
.cf-head h3 { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; margin: 6px 0 0; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; color: var(--ink-2); background: var(--bg); transition: all .2s; }
.chip:hover span { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--dark); color: var(--dark-ink); border-color: var(--dark); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-msg { min-height: 22px; margin: 4px 0 14px; font-size: 14px; }
.cf-msg.ok { color: #2a8a50; }
:root[data-theme="dark"] .cf-msg.ok { color: #6fd39a; }
.cf-msg.err { color: var(--accent); }
@media (max-width: 900px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 600px) {
  .contact-form { padding: 22px 16px; border-radius: 16px; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-head h3 { font-size: 34px; }
}

/* Alt bilgi */
/* Alt bilgi bandı: her iki temada da koyu */
.footer { background: #141414; color: #d8d3c9; padding: 56px 0 0; margin-top: 0; }
:root[data-theme="dark"] .footer { background: #161616; border-top: 1px solid var(--line); }
.footer a { color: #f6f1e7; text-decoration: none; transition: color .2s; }
.footer a:hover { color: #ff5a5f; }
.footer .mono { color: #8f8a80; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { margin: 14px 0 0; max-width: 300px; font-size: 14px; color: #b5b0a6; }
.footer-logo { height: 54px; width: auto; display: block; }
.footer-col { display: grid; gap: 9px; align-content: start; font-size: 14px; }
.footer-col .mono { margin-bottom: 6px; }
.footer-col span:not(.mono) { color: #b5b0a6; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0 22px; border-top: 1px solid #2a2a2a; }
@media (max-width: 760px) {
  .footer { padding-top: 44px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ----- Formlar (panel) ----- */
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.input, textarea.input, select.input {
  width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); font: inherit; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.5; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0;
  background: var(--dark); color: var(--dark-ink); padding: 12px 20px; border-radius: 999px;
  font-size: 14px; z-index: 999; transition: all .3s; pointer-events: none; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--accent); color: var(--accent-ink); }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Alt bilgideki imza: Design by dogamedia */
.footer .credit { display: inline-flex; align-items: center; gap: 10px; opacity: .8; transition: opacity .2s; }
.footer .credit:hover { opacity: 1; }
.footer .credit img { height: 15px; width: auto; }

/* Form içindeki seçenekler alan başlığı stilini almasın */
.field label.chip { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--ink); }
