/* =====================================================================
   H. Evren Gürkan — Kişisel Marka Sitesi
   Tasarım sistemi  •  "Maddi & Manevi" düalitesi: altın + kozmik mor
   ===================================================================== */

:root {
  /* ===== AÇIK MOD (varsayılan) ===== */
  --bg:           #FBFAF6;
  --bg-soft:      #F2EEE6;
  --bg-elev:      #FFFFFF;
  --surface:      rgba(30, 26, 16, 0.025);
  --surface-2:    rgba(30, 26, 16, 0.05);
  --border:       rgba(30, 26, 16, 0.12);
  --border-soft:  rgba(30, 26, 16, 0.08);

  --text:         #3A3832;
  --text-soft:    #585348;
  --text-dim:     #8C8678;
  --heading:      #1A1813;

  --gold:         #C39A3A;   /* maddi */
  --gold-bright:  #9A7A1C;
  --violet:       #6C5CE0;   /* manevi */
  --violet-deep:  #5A4BC4;
  --accent:       var(--gold);

  --grad-gold:    linear-gradient(135deg, #E6BE55 0%, #C39A3A 50%, #9C7A1E 100%);
  --grad-duo:     linear-gradient(120deg, #C39A3A 0%, #A6841A 38%, #6C5CE0 100%);
  --grad-violet:  linear-gradient(135deg, #8B7BE8 0%, #5A4BC4 100%);
  --grad-text:    linear-gradient(135deg, #C8962E 0%, #A6781A 100%);

  --nav-bg:       rgba(255, 255, 255, 0.82);
  --nav-menu-bg:  rgba(255, 255, 255, 0.98);
  --bg-glow:
    radial-gradient(620px 520px at 12% -6%, rgba(195,154,58,.10), transparent 60%),
    radial-gradient(680px 560px at 92% 4%, rgba(108,92,224,.07), transparent 62%),
    radial-gradient(900px 700px at 50% 118%, rgba(108,92,224,.05), transparent 60%);

  /* Tipografi */
  --font-serif:   "Cormorant Garamond", "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Ölçüler */
  --maxw:         1180px;
  --radius:       18px;
  --radius-lg:    26px;
  --shadow:       0 18px 50px -22px rgba(40,34,18,.22);
  --shadow-gold:  0 18px 50px -16px rgba(195,154,58,.30);

  --nav-h:        74px;
  --ease:         cubic-bezier(.22,.61,.36,1);
}

[data-theme="dark"] {
  /* ===== KOYU MOD ===== */
  --bg:           #07070d;
  --bg-soft:      #0c0c16;
  --bg-elev:      #11111f;
  --surface:      rgba(255, 255, 255, 0.035);
  --surface-2:    rgba(255, 255, 255, 0.06);
  --border:       rgba(255, 255, 255, 0.09);
  --border-soft:  rgba(255, 255, 255, 0.06);

  --text:         #ECECF2;
  --text-soft:    #B7B7C7;
  --text-dim:     #8A8A9C;
  --heading:      #ffffff;

  --gold:         #D9B45B;
  --gold-bright:  #F2D588;
  --violet:       #8B7BE8;
  --violet-deep:  #6C5CE0;

  --grad-gold:    linear-gradient(135deg, #F2D588 0%, #D9B45B 50%, #B8860B 100%);
  --grad-duo:     linear-gradient(120deg, #F2D588 0%, #D9B45B 38%, #8B7BE8 100%);
  --grad-violet:  linear-gradient(135deg, #A99BF2 0%, #6C5CE0 100%);
  --grad-text:    linear-gradient(135deg, #F2D588 0%, #D9B45B 50%, #B8860B 100%);

  --nav-bg:       rgba(7,7,13,0.78);
  --nav-menu-bg:  rgba(8,8,16,0.97);
  --bg-glow:
    radial-gradient(620px 520px at 12% -6%, rgba(217,180,91,.12), transparent 60%),
    radial-gradient(680px 560px at 92% 4%, rgba(139,123,232,.13), transparent 62%),
    radial-gradient(900px 700px at 50% 118%, rgba(108,92,224,.10), transparent 60%);

  --shadow:       0 24px 60px -20px rgba(0,0,0,.6);
  --shadow-gold:  0 18px 50px -16px rgba(217,180,91,.35);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 14px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font-family: inherit; font-size: inherit; color: inherit; }

/* Arka plan ışıltıları */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background: var(--bg-glow);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -3;
  background: var(--bg);
}

/* ---------- Tipografi ---------- */
h1,h2,h3,h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.01em; color: #fff; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
p  { color: var(--text-soft); }

.serif { font-family: var(--font-serif); }
.gradient-text {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.gradient-duo {
  background: var(--grad-duo);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 11vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 80px) 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-sans); font-size: .8rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--grad-gold); display: inline-block; }
.eyebrow.center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; font-size: 1.08rem; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  cursor: pointer; border: 1px solid transparent; transition: all .35s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad-gold); color: #1a1405; box-shadow: var(--shadow-gold); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 26px 60px -16px rgba(217,180,91,.5); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); border-color: var(--gold); color: #fff; transform: translateY(-3px); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-bright); font-weight: 600; font-size: .96rem;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: #fff; gap: 12px; }

/* ---------- Glass card ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: rgba(217,180,91,.4); background: var(--surface-2); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7,7,13,.78);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--border-soft);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .name { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 700; letter-spacing: .02em; }
.brand .tag  { font-size: .62rem; letter-spacing: .34em; text-transform: uppercase; color: var(--text-dim); margin-top: 5px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 15px; border-radius: 10px;
  font-size: .94rem; font-weight: 500; color: var(--text-soft);
  transition: color .25s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--grad-gold); border-radius: 2px;
}
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-h); overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7,7,13,.65) 0%, rgba(7,7,13,.85) 55%, var(--bg) 100%);
}
.hero-inner { max-width: 600px; padding: 60px 0; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { max-width: 660px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,.35); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 9px; background: var(--gold-bright); border-radius: 3px; animation: scrolldot 1.7s infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translateY(-4px)} 40%{opacity:1} 80%,100%{opacity:0;transform:translateY(9px)} }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.stat { text-align: center; padding: 30px 18px; }
.stat .num { font-family: var(--font-serif); font-size: clamp(2.4rem,5vw,3.3rem); font-weight: 700; }
.stat .label { color: var(--text-dim); font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 6px; }

/* ---------- Grids ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2,1fr); }
.grid-3 { grid-template-columns: repeat(3,1fr); }

/* Feature / service card */
.feature { padding: 38px 32px; display: flex; flex-direction: column; height: 100%; }
.feature .ico {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  margin-bottom: 22px; background: var(--surface-2); border: 1px solid var(--border);
}
.feature .ico svg { width: 28px; height: 28px; }
.feature h3 { margin-bottom: 12px; }
.feature p { font-size: .98rem; }
.ico-gold svg { color: var(--gold-bright); }
.ico-violet svg { color: #B3A6FF; }

/* Project card */
.project { overflow: hidden; display: flex; flex-direction: column; }
.project .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.project .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project:hover .thumb img { transform: scale(1.06); }
.project .thumb::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg,transparent 40%, rgba(7,7,13,.65)); }
.project .badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600;
  padding: 6px 13px; border-radius: 999px; background: rgba(7,7,13,.6); border: 1px solid var(--border);
  color: var(--gold-bright); backdrop-filter: blur(6px);
}
.project .body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.project h3 { margin-bottom: 10px; }
.project p { font-size: .96rem; flex: 1; }
.project .body .link-arrow { margin-top: 20px; }

/* Split / about media */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,70px); align-items: center; }
.split .media { position: relative; }
.split .media img { width: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.split .media .frame {
  position: absolute; inset: -14px -14px 14px 14px; border: 1px solid rgba(217,180,91,.4);
  border-radius: var(--radius-lg); z-index: -1;
}

/* Timeline / expertise list */
.exp-item { display: flex; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--border-soft); }
.exp-item:last-child { border-bottom: 0; }
.exp-item .yr { font-family: var(--font-serif); font-size: 1.5rem; color: var(--gold-bright); min-width: 92px; }
.exp-item h4 { font-family: var(--font-sans); font-size: 1.08rem; color: #fff; margin-bottom: 6px; }
.exp-item p { font-size: .96rem; }

/* Content / article card */
.article { overflow: hidden; display: flex; flex-direction: column; }
.article .thumb { aspect-ratio: 16/9; overflow: hidden; }
.article .thumb img { width:100%; height:100%; object-fit: cover; transition: transform .7s var(--ease); }
.article:hover .thumb img { transform: scale(1.05); }
.article .body { padding: 24px 26px 28px; display:flex; flex-direction:column; flex:1; }
.article .kicker { font-size:.74rem; letter-spacing:.14em; text-transform:uppercase; color: var(--violet); font-weight:600; margin-bottom:12px; }
.article h3 { font-size: 1.3rem; margin-bottom: 10px; }
.article p { font-size:.95rem; flex:1; }

/* Quote / highlight band */
.band {
  border-radius: var(--radius-lg); padding: clamp(40px,6vw,72px);
  background:
    radial-gradient(600px 300px at 12% 0%, rgba(217,180,91,.14), transparent 60%),
    radial-gradient(600px 320px at 100% 100%, rgba(139,123,232,.16), transparent 60%),
    var(--bg-elev);
  border: 1px solid var(--border); text-align: center;
}
.band blockquote { font-family: var(--font-serif); font-size: clamp(1.5rem,3vw,2.2rem); color:#fff; line-height:1.35; max-width: 840px; margin: 0 auto; }
.band .by { margin-top: 22px; color: var(--gold-bright); letter-spacing:.1em; font-size:.92rem; }

/* Video */
.video-wrap { position: relative; aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; border:1px solid var(--border); }
.video-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.video-frame { max-width: 940px; margin: 0 auto; }
.video-frame .video-wrap { box-shadow: var(--shadow); }

/* Home hero — görsel ORİJİNAL haliyle: karartma/opaklık/overlay YOK,
   açık ve koyu modda birebir aynı. Metin okunaklılığı için yalnızca
   yazıya gölge eklenir (görsele dokunulmaz). */
/* Görseli aşağı indir: kafanın üstteki menüyle çakışmaması için görsel,
   menü çubuğunun altından başlar. Koyu şerit + görsel AYNI katmanda
   (hero-bg) olduğundan görsel kapanmaz/kaybolmaz. */
.hero.hero-photo .hero-bg { background-color: #07070d; }
.hero.hero-photo .hero-bg img {
  opacity: 1; object-position: center top;
  position: absolute; top: 104px; left: 0; right: auto;
  width: 110%; height: calc(100% - 104px);
}
.hero.hero-photo .hero-bg::after {
  content: ""; position: absolute; left: 0; right: 0; top: 104px; height: 90px;
  background: linear-gradient(180deg, #07070d 0%, rgba(7,7,13,0) 100%);
  pointer-events: none;
}
@media (max-width: 760px) {
  .hero.hero-photo .hero-bg img { top: 74px; height: calc(100% - 74px); }
  .hero.hero-photo .hero-bg::after { top: 74px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.info-row { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border-soft); }
.info-row:last-child { border-bottom: 0; }
.info-row .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); border:1px solid var(--border); display:grid; place-items:center; flex-shrink:0; }
.info-row .ico svg { width: 20px; height: 20px; color: var(--gold-bright); }
.info-row .lbl { font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color: var(--text-dim); }
.info-row .val { color:#fff; font-weight:500; }
.socials { display: flex; gap: 12px; margin-top: 26px; }
.socials a { width: 46px; height: 46px; border-radius: 12px; background: var(--surface); border:1px solid var(--border); display:grid; place-items:center; transition: all .3s var(--ease); }
.socials a:hover { background: var(--grad-gold); border-color: transparent; transform: translateY(-3px); }
.socials a:hover svg { color:#1a1405; }
.socials svg { width: 20px; height: 20px; color: var(--text-soft); }

.field { margin-bottom: 18px; }
.field label { display:block; font-size:.84rem; color: var(--text-soft); margin-bottom: 8px; letter-spacing:.02em; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  background: rgba(255,255,255,.04); border: 1px solid var(--border); color: #fff;
  transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--gold); background: rgba(255,255,255,.06); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.consent { display:flex; gap:11px; align-items:flex-start; font-size:.86rem; color: var(--text-soft); margin-bottom: 22px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--gold); flex-shrink:0; }
.form-note { margin-top: 14px; font-size: .84rem; color: var(--text-dim); text-align:center; }
.form-status { margin-top: 14px; font-size: .92rem; text-align:center; min-height: 20px; }
.form-status.ok { color: #6ee7a8; }
.form-status.err { color: #ff8a8a; }

/* ---------- CTA band ---------- */
.cta-final { text-align: center; }
.cta-final .band h2 { margin-bottom: 18px; }
.cta-final .band p { max-width: 620px; margin: 0 auto 32px; }
.cta-final .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border-soft); padding: 64px 0 34px; background: var(--bg-soft); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer .brand .name { font-size: 1.55rem; }
.footer-about { margin-top: 18px; max-width: 360px; font-size: .96rem; }
.footer h4 { font-family: var(--font-sans); font-size: .82rem; letter-spacing:.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 18px; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--text-soft); font-size: .96rem; transition: color .25s; }
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom { display:flex; justify-content: space-between; align-items:center; gap:16px; padding-top: 26px; border-top: 1px solid var(--border-soft); color: var(--text-dim); font-size: .88rem; flex-wrap: wrap; }
.footer-bottom .socials { margin: 0; }
.footer-bottom .socials a { width: 40px; height: 40px; }

/* ---------- Legal pages ---------- */
.legal { padding-top: calc(var(--nav-h) + 60px); }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--gold-bright); }
.prose p, .prose li { color: var(--text-soft); margin-bottom: 14px; }
.prose ul { padding-left: 22px; list-style: disc; }
.prose .updated { color: var(--text-dim); font-size: .9rem; margin-bottom: 30px; }

/* ---------- Blog post ---------- */
.post-head { max-width: 820px; margin: 0 auto; }
.post-meta { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; color: var(--text-dim); font-size: .9rem; margin-bottom: 18px; }
.post-meta .cat { color: var(--gold-bright); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.post-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--text-dim); }
.post-cover { max-width: 980px; margin: 36px auto 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.post-cover img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.prose blockquote { border-left: 3px solid var(--gold); padding: 4px 0 4px 22px; margin: 26px 0; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.4; color: #fff; font-style: italic; }
.prose strong { color: #fff; }
.post-nav { max-width: 820px; margin: 54px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .split { grid-template-columns: 1fr; }
  .split .media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(8,8,16,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border); padding: 14px 24px 22px;
    transform: translateY(-130%); transition: transform .4s var(--ease); max-height: calc(100vh - var(--nav-h)); overflow-y:auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--border-soft); }
  .nav-links a.active::after { display:none; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column-reverse; text-align:center; }
}

/* ===================================================================
   TEMA — açık/koyu mod override katmanı + tema değiştirme butonu
   =================================================================== */
body { transition: background-color .45s var(--ease), color .45s var(--ease); }

/* Renkleri temaya bağla */
h1, h2, h3, h4 { color: var(--heading); }
.gradient-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.btn-ghost:hover { color: var(--heading); }
.link-arrow:hover { color: var(--heading); }
.exp-item h4 { color: var(--heading); }
.band blockquote { color: var(--heading); }
.info-row .val { color: var(--heading); }
.prose blockquote, .prose strong { color: var(--heading); }
.ico-violet svg { color: var(--violet); }
.nav-toggle span { background: var(--heading); }
.brand .name { color: var(--heading); }
.nav-links a:hover, .nav-links a.active { color: var(--heading); }
.nav.scrolled { background: var(--nav-bg); }

/* Form alanları */
.field input, .field textarea, .field select { background: var(--surface-2); color: var(--heading); }
.field input:focus, .field textarea:focus, .field select:focus { background: var(--surface); }

/* Tema değiştirme butonu */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; margin-left: 6px;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.theme-toggle:hover { color: var(--heading); border-color: var(--gold); transform: translateY(-2px); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .i-sun  { display: none; }
.theme-toggle .i-moon { display: block; }
[data-theme="dark"] .theme-toggle .i-sun  { display: block; }
[data-theme="dark"] .theme-toggle .i-moon { display: none; }

/* HOME — koyu hero üzerinde nav & metin daima açık renk (scroll edilmeden) */
.hero h1, .hero .lead, .hero .eyebrow { text-shadow: 0 2px 20px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.5); }
.hero h1 { color: #fff; }
.hero h1 .gradient-text { background: linear-gradient(135deg, #F2D588 0%, #D9B45B 60%, #B8860B 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero .eyebrow { color: #F2D588; }
.hero .scroll-cue span { background: #F2D588; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.hero .btn-ghost:hover { color: #fff; border-color: #F2D588; background: rgba(255,255,255,.14); }

.has-hero .nav:not(.scrolled) .brand .name { color: #fff; }
.has-hero .nav:not(.scrolled) .brand .tag  { color: rgba(255,255,255,.6); }
.has-hero .nav:not(.scrolled) .nav-links a  { color: rgba(255,255,255,.82); }
.has-hero .nav:not(.scrolled) .nav-links a:hover,
.has-hero .nav:not(.scrolled) .nav-links a.active { color: #fff; }
.has-hero .nav:not(.scrolled) .nav-toggle span { background: #fff; }
.has-hero .nav:not(.scrolled) .theme-toggle { color: #fff; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }

/* Mobil menü açıkken metin daima temalı (okunaklı) kalsın */
@media (max-width: 760px) {
  .nav-links { background: var(--nav-menu-bg); }
  .has-hero .nav:not(.scrolled) .nav-links.open a { color: var(--text-soft); }
  .has-hero .nav:not(.scrolled) .nav-links.open a:hover,
  .has-hero .nav:not(.scrolled) .nav-links.open a.active { color: var(--heading); }
}

/* ===================================================================
   ESERLERIM — kitap/eser vitrini
   =================================================================== */
.work { padding: clamp(40px,6vw,72px) 0; border-bottom: 1px solid var(--border-soft); }
.work:last-of-type { border-bottom: 0; }
.pill { display: inline-flex; align-items: center; gap: 7px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border); margin-bottom: 16px; }
.pill svg { width: 14px; height: 14px; }
.pill-gold { color: var(--gold-bright); background: var(--surface-2); }
.pill-soft { color: var(--violet); background: var(--surface-2); }
.work .accent-line { color: var(--gold-bright); font-weight: 600; margin: 8px 0 16px; }
.feature-list { margin: 20px 0 24px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: .98rem; }
.feature-list svg { width: 20px; height: 20px; color: var(--gold-bright); flex-shrink: 0; margin-top: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.tag { font-size: .82rem; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); }
.book-cover { display: flex; justify-content: center; }
.book-cover img { width: 100%; max-width: 380px; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); aspect-ratio: 3/4; object-fit: cover; }
