/* ============================================================
   behic.net - Dr. Behiç Çetin
   Koyu tema özgeçmiş/portfolyo tasarımı (özgün kod)
   ============================================================ */

:root {
  --accent: #8fc63f;
  --accent-dark: #79ad30;
  --bg-body: #0d0d0d;
  --bg-sidebar: #0a0a0a;
  --bg-panel-a: #1e1e1e;
  --bg-panel-b: #171717;
  --txt-head: #e8e8e8;
  --txt-body: #9a9a9a;
  --txt-dim: #6f6f6f;
  --line: rgba(255, 255, 255, 0.08);
  --sidebar-w: 240px;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  height: 100%;
  background: var(--bg-body);
  color: var(--txt-body);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.75;
  overflow: hidden;
}

::selection { background: var(--accent); color: #000; }

a { color: var(--accent); text-decoration: none; transition: color .25s; }
a:hover { color: #fff; }

img { max-width: 100%; display: block; }

/* ---------- Sol sabit menü ---------- */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  z-index: 100;
}

.brand { display: block; margin-bottom: 40px; }
.brand-box {
  width: 128px; height: 128px;
  background: var(--accent);
  color: #101400;
  font-family: var(--font-head);
  font-size: 23px; font-weight: 600;
  text-transform: uppercase; line-height: 1.1;
  letter-spacing: .04em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative; overflow: hidden;
}
.brand-box .brand-glyph {
  position: absolute; right: 8px; bottom: -22px;
  font-size: 78px; font-weight: 700;
  color: rgba(0, 0, 0, .28);
  line-height: 1;
}

.nav { flex: 0 0 auto; }
.nav a {
  display: block;
  font-family: var(--font-head);
  font-size: 12px; letter-spacing: .18em;
  text-transform: uppercase;
  color: #b9b9b9;
  padding: 12px 2px;
  border-bottom: 1px solid var(--line);
  transition: color .25s, padding-left .25s;
}
.nav a:hover { color: #fff; padding-left: 6px; }
.nav a.active { color: var(--accent); }

.side-social { margin-top: 26px; display: flex; gap: 16px; align-items: center; }
.side-social a { color: #7d7d7d; display: inline-flex; }
.side-social a:hover { color: var(--accent); }
.side-social svg { width: 17px; height: 17px; fill: currentColor; }

.side-foot {
  margin-top: auto;
  font-family: var(--font-head);
  font-size: 10px; letter-spacing: .14em;
  text-transform: uppercase; color: #5c5c5c;
  line-height: 1.9;
}

/* ---------- Yatay kaydırmalı sahne ---------- */
.stage {
  position: absolute;
  inset: 0 0 0 var(--sidebar-w);
  overflow: hidden;
}
.rail {
  display: flex;
  height: 100%;
  transition: transform .85s cubic-bezier(.77, 0, .175, 1);
  will-change: transform;
}
.chapter {
  flex: 0 0 auto;
  width: 860px;
  max-width: calc(100vw - var(--sidebar-w));
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: var(--bg-panel-a);
  padding: 64px 72px 80px;
  border-right: 1px solid rgba(0, 0, 0, .55);
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}
.chapter:nth-child(even) { background: var(--bg-panel-b); }
.chapter::-webkit-scrollbar { width: 7px; }
.chapter::-webkit-scrollbar-thumb { background: #333; }

/* ---------- Giriş (hero) ---------- */
.chapter.intro {
  padding: 0;
  width: 800px;
  position: relative;
  overflow: hidden;
  background: #2a2a2a;
}

/* Sağ tarafı boydan boya fotoğraf olan bölümler (şablondaki About düzeni) */
.chapter.has-side {
  position: relative;
  width: 940px;
  padding-right: 420px;
}
.side-photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 380px;
  background-size: cover;
  background-position: center top;
}
.side-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(23,23,23,.55) 0%, rgba(23,23,23,0) 40%);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover;
  background-position: center 22%;
  opacity: 0;
  transform: scale(1.045);
  transition: opacity 1.4s ease, transform 6.5s linear;
}
.hero-slide.on { opacity: 1; transform: scale(1); }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.05) 75%);
}
.hero-copy {
  position: absolute;
  left: 64px; bottom: 22%;
  max-width: 560px;
  z-index: 5;
}
.hero-copy h1 {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.12;
  text-transform: uppercase;
  color: #cfcfcf;
  letter-spacing: .02em;
}
.hero-copy h1 strong { display: block; font-weight: 500; color: #fff; }
.hero-sub {
  margin-top: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.28);
  border-bottom: 1px solid rgba(255,255,255,.28);
  font-family: var(--font-head);
  font-size: 14px; letter-spacing: .3em;
  text-transform: uppercase; color: #bdbdbd;
}
.hero-dots {
  position: absolute; bottom: 42px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 6;
}
.hero-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: 1px solid #fff; background: transparent;
  cursor: pointer; padding: 0;
}
.hero-dots button.on { background: #fff; }

/* ---------- Bölüm başlıkları ---------- */
.ch-title {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: 46px;
  text-transform: uppercase;
  color: #d6d6d6;
  letter-spacing: .02em;
}
.ch-title::after {
  content: '';
  display: block;
  width: 56px; height: 4px;
  background: var(--accent);
  margin-top: 16px;
}
.ch-lead {
  margin-top: 42px;
}
.ch-lead h3 {
  font-family: var(--font-head);
  font-size: 15px; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase;
  color: #cfcfcf; margin-bottom: 12px;
}
.ch-lead p { color: var(--txt-body); }

.hr { border: 0; border-top: 1px solid var(--line); margin: 38px 0; }

/* ---------- Hakkımda ---------- */
.about-list { list-style: none; }
.about-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: #b5b5b5;
}
.about-list li span { color: var(--txt-dim); margin-right: 6px; }
.about-grid { display: grid; grid-template-columns: 1fr 240px; gap: 36px; align-items: start; margin-top: 42px; }
.about-photo img { width: 100%; filter: grayscale(12%); }
.btn-line {
  display: inline-block;
  margin-top: 26px;
  padding: 13px 26px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  transition: background .3s, color .3s;
}
.btn-line:hover { background: var(--accent); color: #101400; }

/* ---------- Yetenekler ---------- */
.rings { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 36px; margin: 44px 0 10px; }
.ring-item { display: flex; align-items: center; gap: 22px; }
.ring { position: relative; width: 128px; height: 128px; flex: 0 0 auto; }
.ring svg { transform: rotate(-90deg); }
.ring .track { stroke: #3a3a3a; }
.ring .bar {
  stroke: #8a8a8a;
  stroke-linecap: butt;
  transition: stroke-dashoffset 1.6s ease;
}
.ring .pct {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 26px; color: var(--accent);
}
.ring-info h4 {
  font-family: var(--font-head);
  font-weight: 300; font-size: 20px;
  text-transform: uppercase; color: #d0d0d0; line-height: 1.25;
}
.ring-info small { color: var(--txt-dim); }

.know-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 28px; margin-top: 30px; }
.know-cols ul { list-style: none; }
.know-cols li { padding: 7px 0; color: #a8a8a8; }
.know-cols li::before { content: '-'; color: var(--accent); margin-right: 10px; }

.lang-row { margin-top: 26px; }
.lang-row .lang { margin-bottom: 18px; }
.lang-row .lang b {
  font-family: var(--font-head); font-weight: 400;
  text-transform: uppercase; letter-spacing: .1em;
  color: #cecece; margin-right: 10px;
}
.meter { height: 4px; background: #3a3a3a; margin-top: 8px; }
.meter i { display: block; height: 100%; background: var(--accent); }

/* ---------- Deneyim / Eğitim zaman çizelgesi ---------- */
.tl { margin-top: 10px; }
.tl-row {
  display: grid;
  grid-template-columns: 64px 250px 1fr;
  gap: 26px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.tl-ico { color: var(--accent); }
.tl-ico svg { width: 46px; height: 46px; fill: currentColor; }
.tl-what h5 {
  font-family: var(--font-head); font-weight: 400;
  font-size: 13px; letter-spacing: .1em;
  text-transform: uppercase; color: #b7b7b7;
}
.tl-what h4 {
  font-family: var(--font-head); font-weight: 300;
  font-size: 22px; text-transform: uppercase;
  color: #e0e0e0; line-height: 1.25; margin: 4px 0;
}
.tl-what time { color: var(--txt-dim); font-size: 13px; }
.tl-desc { color: var(--txt-body); }

/* ---------- Çalışmalar (portfolyo) ---------- */
.works { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 44px; }
.work {
  position: relative; overflow: hidden; cursor: pointer;
  background: #000;
}
.work img { width: 100%; height: 250px; object-fit: cover; transition: transform .6s ease, opacity .6s; }
.work:hover img { transform: scale(1.06); opacity: .35; }
.work figcaption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; opacity: 0;
  transition: opacity .4s;
  padding: 18px;
}
.work:hover figcaption { opacity: 1; }
.work figcaption .plus {
  width: 40px; height: 40px; border: 1px solid var(--accent);
  color: var(--accent); font-size: 22px; line-height: 38px;
  border-radius: 50%; margin-bottom: 14px;
}
.work figcaption h4 {
  font-family: var(--font-head); font-weight: 400;
  text-transform: uppercase; font-size: 17px; color: #fff;
}
.work figcaption small { color: #bdbdbd; letter-spacing: .08em; text-transform: uppercase; }

.work-detail {
  display: none;
  margin-top: 26px;
  background: #141414;
  border: 1px solid var(--line);
  padding: 30px;
}
.work-detail.open { display: block; }
.work-detail h4 {
  font-family: var(--font-head); font-weight: 400;
  text-transform: uppercase; font-size: 20px; color: #eee;
}
.work-detail small { color: var(--accent); letter-spacing: .1em; text-transform: uppercase; }
.work-detail p { margin-top: 14px; }
.work-detail .close-x {
  float: right; cursor: pointer; color: #777;
  font-size: 20px; line-height: 1;
}

.pub-list { list-style: none; margin-top: 10px; }
.pub-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.pub-list b { color: #cfcfcf; font-weight: 600; }
.pub-list .pub-meta { display: block; color: var(--txt-dim); font-size: 12.5px; margin-top: 3px; }

/* ---------- İletişim ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.c-card { display: flex; gap: 16px; align-items: flex-start; }
.c-card svg { width: 30px; height: 30px; fill: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.c-card h5 {
  font-family: var(--font-head); font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  font-size: 13px; color: #cfcfcf;
}
.c-card p { color: var(--txt-body); }

.map-wrap { margin-top: 34px; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 230px; border: 0; display: block; filter: grayscale(65%) invert(90%) hue-rotate(180deg); }

.form-title {
  margin-top: 44px;
  font-family: var(--font-head); font-weight: 300;
  font-size: 26px; text-transform: uppercase; color: #c9c9c9;
}
form.contact { margin-top: 22px; display: grid; gap: 14px; }
form.contact input, form.contact textarea {
  width: 100%;
  background: #2b2b2b;
  border: 1px solid transparent;
  color: #ddd;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  transition: border-color .3s;
}
form.contact input:focus, form.contact textarea:focus {
  outline: none; border-color: var(--accent);
}
form.contact textarea { min-height: 130px; resize: vertical; }
form.contact button {
  justify-self: start;
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 13px 34px;
  font-family: var(--font-head);
  font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  cursor: pointer;
  transition: background .3s, color .3s;
}
form.contact button:hover { background: var(--accent); color: #101400; }
.form-note { font-size: 12px; color: var(--txt-dim); }
.form-msg { font-size: 13px; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: #e05555; }

/* ---------- Mobil ---------- */
.burger {
  display: none;
  position: fixed; top: 16px; right: 16px; z-index: 300;
  width: 44px; height: 44px;
  background: rgba(0,0,0,.75);
  border: 1px solid var(--line);
  cursor: pointer;
}
.burger span, .burger span::before, .burger span::after {
  content: ''; display: block; position: absolute;
  left: 11px; width: 22px; height: 2px; background: var(--accent);
}
.burger span { top: 21px; }
.burger span::before { top: -7px; left: 0; }
.burger span::after { top: 7px; left: 0; }

@media (max-width: 1100px) {
  .chapter { width: calc(100vw - var(--sidebar-w)); padding: 48px 40px 64px; }
  .rings { grid-template-columns: 1fr; }
  .know-cols { grid-template-columns: 1fr; }
  .tl-row { grid-template-columns: 48px 1fr; }
  .tl-desc { grid-column: 2; }
}

@media (max-width: 760px) {
  html, body { overflow: auto; }
  .burger { display: block; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .4s;
    width: 260px;
  }
  .sidebar.open { transform: none; }
  .stage { position: static; inset: auto; }
  .rail { display: block; transition: none; }
  .chapter, .chapter.intro {
    width: 100%; max-width: none; height: auto;
    overflow: visible; padding: 56px 24px;
    border-right: 0; border-bottom: 1px solid #000;
  }
  .chapter.intro { height: 92vh; padding: 0; }
  .hero-copy { left: 24px; right: 24px; bottom: 16%; }
  .hero-copy h1 { font-size: 30px; }
  .about-grid, .works, .contact-cards { grid-template-columns: 1fr; }
  .ch-title { font-size: 34px; }
}
