/* ============================================================
   Abdureşid Eminhacı — kişisel tanıtım & haber sitesi
   Minimalist / modern · TR-EN · açık & koyu tema
   ============================================================ */

:root {
  --bg: #fbfaf7;
  --bg-alt: #f2f0ea;
  --surface: #ffffff;
  --ink: #1a1a1a;
  --ink-soft: #45443f;
  --ink-mute: #7c7a72;
  --line: #e5e2d9;
  --accent: #1f6fb2;        /* Doğu Türkistan gök mavisi tonu */
  --accent-soft: #e8f1f9;
  --accent-ink: #17567f;
  --shadow: 0 1px 2px rgba(20,20,20,.04), 0 12px 30px -12px rgba(20,20,20,.12);
  --radius: 14px;
  --wrap: 1120px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12130f;
    --bg-alt: #191a15;
    --surface: #1c1d17;
    --ink: #f2f1ea;
    --ink-soft: #cfcdc2;
    --ink-mute: #918f83;
    --line: #2c2d25;
    --accent: #5aa9e6;
    --accent-soft: #16232e;
    --accent-ink: #9cc9ec;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 18px 40px -18px rgba(0,0,0,.6);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 86px; }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.brand-mark {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: #fff;
  font-family: var(--serif); font-weight: 600; font-size: 15px;
  letter-spacing: .5px;
}
.brand-name { font-size: 15.5px; letter-spacing: -.01em; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink-soft); font-size: 14.5px; font-weight: 500; position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--accent); transition: width .22s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { width: 100%; }

.lang-switch { display: flex; align-items: center; gap: 6px; color: var(--ink-mute); font-size: 13px; }
.lang-switch button {
  border: 0; background: none; cursor: pointer;
  color: var(--ink-mute); font: inherit; font-weight: 600; padding: 2px 4px; border-radius: 6px;
}
.lang-switch button.active { color: var(--accent); }
.lang-switch button:hover { color: var(--ink); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.menu-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 104px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 18px;
}
.hero-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 8vw, 92px);
  line-height: .96; letter-spacing: -.02em;
  margin: 0 0 22px;
}
.hero-role { font-size: 16px; font-weight: 500; color: var(--ink-soft); margin: 0 0 18px; max-width: 46ch; }
.hero-lead { font-size: 17.5px; color: var(--ink-soft); margin: 0 0 30px; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 22px; border-radius: 999px; font-size: 14.5px; font-weight: 600;
  transition: transform .15s ease, background .2s ease, border-color .2s ease; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.hero-portrait { display: flex; justify-content: center; }
.portrait-frame {
  width: 100%; max-width: 320px; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  position: relative;
}
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; }
.portrait-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--serif); font-size: 92px; font-weight: 500; letter-spacing: 2px;
  color: var(--accent);
  background:
    radial-gradient(120% 90% at 30% 15%, var(--accent-soft), transparent 60%),
    linear-gradient(160deg, var(--bg-alt), var(--surface));
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-eyebrow {
  font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-ink); margin: 0 0 10px;
}
.section-title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(28px, 4.5vw, 44px); line-height: 1.08; letter-spacing: -.02em;
  margin: 0 0 36px; max-width: 20ch;
}
.section-note { color: var(--ink-mute); font-size: 15px; margin: -22px 0 34px; max-width: 60ch; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr .9fr; gap: 48px; align-items: start; }
.about-body p { font-size: 18px; color: var(--ink-soft); margin: 0 0 20px; max-width: 60ch; }
.about-facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 24px; box-shadow: var(--shadow); }
.about-facts dl { margin: 0; }
.about-facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.about-facts div:last-child { border-bottom: 0; }
.about-facts dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: 5px; }
.about-facts dd { margin: 0; font-size: 15px; color: var(--ink); }

/* Roles */
.roles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.role-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease;
}
.role-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.role-org { font-family: var(--serif); font-size: 20px; font-weight: 500; margin: 0 0 6px; letter-spacing: -.01em; }
.role-title { color: var(--accent-ink); font-weight: 600; font-size: 13.5px; margin: 0 0 10px; }
.role-desc { color: var(--ink-mute); font-size: 14px; margin: 0; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.news-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: transform .18s ease, border-color .18s ease;
}
.news-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.news-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-tag {
  font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent-ink); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px;
}
.news-date { font-size: 12.5px; color: var(--ink-mute); }
.news-title { font-family: var(--serif); font-size: 19px; font-weight: 500; line-height: 1.25; margin: 0; flex: 1; }
.news-src { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-mute); margin-top: auto; }
.news-card:hover .news-src { color: var(--accent); }
.news-src .arrow { transition: transform .18s ease; }
.news-card:hover .news-src .arrow { transform: translateX(3px); }

/* Contact */
.contact-wrap { text-align: center; }
.contact-wrap .section-title { margin-left: auto; margin-right: auto; }
.contact-lead { color: var(--ink-soft); font-size: 18px; margin: 0 auto 30px; max-width: 40ch; }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.contact-links a {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: var(--surface); border-radius: 999px;
  padding: 11px 20px; font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  transition: border-color .18s ease, color .18s ease, transform .15s ease;
}
.contact-links a:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; background: var(--bg); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-size: 13.5px; color: var(--ink-mute); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-portrait { order: -1; justify-content: flex-start; }
  .portrait-frame { max-width: 220px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .nav, .lang-switch { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  .header-inner { gap: 12px; }
  .nav.open {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 14px 24px 20px;
  }
  .nav.open a { padding: 10px 0; font-size: 16px; }
  .lang-switch.show { display: flex; position: absolute; top: 22px; right: 62px; }
  .footer-inner { flex-direction: column; gap: 6px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
