/* =========================================================================
   Mehmet Rahbay Mimarlık — koyu, tek renk (siyah-gri) modern tema
   ========================================================================= */

:root {
  --paper: #0e0e10;          /* sayfa zemini — neredeyse siyah */
  --paper-2: #16161a;        /* kartlar, yüzeyler */
  --paper-3: #1d1d22;        /* görsel zemini */
  --deep: #050506;           /* menü, iletişim, perde */
  --ink: #f2f2f3;            /* ana metin */
  --ink-2: #0a0a0c;          /* alt bilgi zemini */
  --ink-soft: #b4b4ba;       /* ikincil metin */
  --muted: #75757e;
  --label: #9b9ba4;          /* küçük etiket yazıları */
  --line: #26262c;
  --line-2: #3a3a42;
  --line-dark: #33333b;
  --accent: #ededf0;         /* vurgu = açık gri */
  --accent-2: #ffffff;
  --accent-soft: #1a1a1f;    /* üzerine gelince zemin */
  --teal: #16161a;
  --white: #16161a;

  --gap: clamp(16px, 2.2vw, 30px);
  --pad: clamp(20px, 4.5vw, 64px);
  --maxw: 1500px;

  --f-sans: "Inter", "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.8s;
  --header-h: 100px;
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, figure, ul { margin: 0; padding: 0; }
ul { list-style: none; }
::selection { background: var(--ink); color: var(--paper); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* --------------------------------------------------------------- tipografi */
.display {
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-size: clamp(2.4rem, 6.4vw, 6.2rem);
}
.h2 { font-weight: 600; line-height: 1.03; letter-spacing: -0.035em; font-size: clamp(1.8rem, 3.9vw, 3.4rem); }
.h3 { font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
.eyebrow {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 600; color: var(--label); display: flex; align-items: center; gap: 11px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--line-2); flex: none; border-radius: 2px; }
.lead { font-size: clamp(1rem, 1.15vw, 1.18rem); line-height: 1.6; color: var(--ink-soft); }
.muted { color: var(--muted); }
.mono { font-variant-numeric: tabular-nums; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* -------------------------------------------------------------- preloader */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--deep); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: var(--pad); transition: transform 1s var(--ease);
}
#preloader.done { transform: translateY(-101%); }
.pl-inner { display: flex; flex-direction: column; align-items: center; gap: clamp(14px, 3vh, 30px); }
.pl-logo { height: clamp(56px, 9vh, 86px); width: auto; opacity: .95; }

.pl-build { width: min(58vw, 340px); height: auto; overflow: visible; }
.pl-build .wall { fill: rgba(250, 247, 242, .05); stroke: rgba(250, 247, 242, .45); stroke-width: 1.6; }
.pl-build .slab { stroke: rgba(250, 247, 242, .92); stroke-width: 2.4; stroke-linecap: round; }
.pl-build .win { fill: rgba(250, 247, 242, .10); transition: fill .55s var(--ease); }
.pl-build .win.lit { fill: rgba(250, 247, 242, .26); }
.pl-build .w-on.lit { fill: var(--accent-2); }
.pl-build .mast { stroke: rgba(250, 247, 242, .7); stroke-width: 2; }
.pl-build .tip { fill: var(--accent); }
.pl-ground { stroke: rgba(250, 247, 242, .3); stroke-width: 2; stroke-linecap: round; }
.pl-crane line { stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; }
.pl-crane rect { fill: var(--accent); }
.pl-crane { opacity: .95; transition: opacity .5s var(--ease); }
#preloader.built .pl-crane { opacity: 0; }

.pl-meta { display: flex; align-items: baseline; gap: 14px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; }
.pl-label { color: var(--muted); }
.pl-count { color: var(--accent-2); font-weight: 600; font-variant-numeric: tabular-nums; }
#preloader.built .pl-label { color: var(--accent-2); }
.pl-bar { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--accent); width: 0%; }

@media (max-width: 620px) { .pl-build { width: 74vw; } }
@media (prefers-reduced-motion: reduce) { #preloader { display: none; } }

/* ------------------------------------------------------------------ logo */
.brand-logo {
  height: 60px; width: auto; display: block; flex: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.brand:hover .brand-logo { opacity: .85; transform: translateY(-1px); }
.pl-logo { height: 74px; width: auto; margin-bottom: 14px; }

/* ---------------------------------------------------------------- header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--header-h); display: flex; align-items: center;
  background: var(--deep); color: #fff;
  border-bottom: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .4s;
}
.header.solid { box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }
.header.hidden { transform: translateY(-100%); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 16px; }
.brand .txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand .txt b { font-size: 19px; font-weight: 600; letter-spacing: -0.025em; }
.brand .txt small { font-size: 10.5px; letter-spacing: 0.21em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 3px; }
.brand:hover .logo-svg .lg-m { stroke: var(--accent-2); }
.logo-svg .lg-m, .logo-svg .lg-r { transition: stroke .45s var(--ease); }

.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 32px); }
.nav a { font-size: 14px; font-weight: 500; position: relative; padding: 6px 0; color: rgba(255,255,255,.86); transition: color .3s; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--accent-2); border-radius: 2px;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav a.nav-link:hover::after { transform: scaleX(1); transform-origin: left; }

/* a.* ile yazildi: ust menudeki `.nav a` kurali daha ozgul oldugu icin
   butonun ic bosluğunu ve yazi boyutunu eziyordu. */
a.btn-line, a.btn-fill, .btn-line, .btn-fill {
  --btn-h: 44px;
  height: var(--btn-h); padding: 0 22px; border-radius: 8px;
  font-size: 13.5px; font-weight: 600; letter-spacing: -0.005em; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  flex: none; white-space: nowrap; position: relative;
  transition: background-color .35s var(--ease), border-color .35s var(--ease),
              color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn-line::after, .btn-fill::after {
  content: "→"; font-size: 15px; line-height: 1; display: inline-block;
  transition: transform .4s var(--ease);
}
.btn-line:hover::after, .btn-fill:hover::after { transform: translateX(4px); }

.btn-fill {
  background: var(--ink); color: var(--paper) !important; border: 0;
  box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .9);
}
.btn-fill:hover { background: #ffffff; transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .95); }
.btn-fill:active { transform: translateY(0); box-shadow: none; }

/* koyu zemin (üst menü) üzerindeki buton */
.header .btn-fill { box-shadow: none; }
.header .btn-fill:hover { background: var(--accent-2); transform: translateY(-1px); box-shadow: 0 8px 20px -12px rgba(255, 255, 255, .35); }

.btn-line { background: transparent; color: var(--ink); border: 1.5px solid var(--line-2); }
.btn-line:hover { border-color: var(--ink); background: var(--accent-soft); transform: translateY(-2px); }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .45s var(--ease); }
.burger span:nth-child(1) { top: 18px; }
.burger span:nth-child(2) { top: 25px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 190; background: var(--deep); color: #fff;
  padding: calc(var(--header-h) + 24px) var(--pad) var(--pad);
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); transition: clip-path .85s var(--ease); pointer-events: none;
}
body.menu-open .menu { clip-path: inset(0 0 0 0); pointer-events: auto; }
.menu-links a {
  display: block; font-size: clamp(2rem, 8vw, 3.2rem); font-weight: 600; letter-spacing: -0.035em;
  line-height: 1.18; padding: 5px 0; opacity: 0; transform: translateY(26px);
  transition: opacity .55s var(--ease), transform .65s var(--ease), color .3s;
}
.menu-links a:hover { color: var(--accent-2); }
body.menu-open .menu-links a { opacity: 1; transform: none; }
body.menu-open .menu-links a:nth-child(1) { transition-delay: .16s; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: .22s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: .28s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: .34s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: .40s; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 13px; color: var(--muted); }

@media (max-width: 980px) {
  .nav .nav-link { display: none; }
  .burger { display: block; }
  .brand .txt b { font-size: 16.5px; }
  .brand-logo { height: 50px; }
}
@media (max-width: 620px) {
  :root { --header-h: 84px; }
  .brand .txt { display: none; }
  .brand-logo { height: 52px; }
}
@media (max-width: 420px) { .nav .btn-fill { display: none; } }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; padding-top: calc(var(--header-h) + clamp(28px, 6vh, 66px)); }
.hero-inner { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: end; }
.hero-title { grid-column: 1 / 13; position: relative; z-index: 3; }
.hero-eyebrow { margin-bottom: clamp(16px, 3vh, 30px); }
.line-mask {
  overflow: hidden; display: block;
  padding-top: .18em; margin-top: -.18em;      /* Ü, Ö, İ noktalarına pay */
  padding-bottom: .06em; margin-bottom: -.06em;
}
.line-mask > span { display: block; transform: translateY(125%); transition: transform 1.05s var(--ease); }
.loaded .line-mask > span { transform: translateY(0); }
.loaded .line-mask:nth-of-type(2) > span { transition-delay: .08s; }
.hero-tagline {
  font-size: clamp(1.02rem, 1.9vw, 1.65rem);
  line-height: 1.38; font-weight: 500; letter-spacing: -0.02em;
  color: var(--ink-soft); max-width: 42ch;
  margin-top: clamp(14px, 2.2vh, 28px);
  opacity: 0; transform: translateY(18px);
  transition: opacity .9s var(--ease) .4s, transform .95s var(--ease) .4s;
}
.loaded .hero-tagline { opacity: 1; transform: none; }
.hero-tagline:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .hero-tagline { opacity: 1 !important; transform: none !important; } }

.hero-title .display span.indent { padding-left: clamp(30px, 8vw, 150px); color: var(--muted); }

.hero-media {
  grid-column: 1 / 13; margin-top: clamp(24px, 4vh, 46px);
  position: relative; overflow: hidden; background: var(--paper-2);
  aspect-ratio: 2.15 / 1; max-height: 58vh; border-radius: 4px; border: 1px solid var(--line);
  clip-path: inset(100% 0 0 0); transition: clip-path 1.25s var(--ease); box-shadow: var(--shadow);
}
.loaded .hero-media { clip-path: inset(0 0 0 0); transition-delay: .2s; }
.hero-media img { width: 100%; height: 116%; object-fit: cover; will-change: transform; transform: scale(1.05); }
.hero-meta {
  grid-column: 1 / 13; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 22px; padding-top: 20px; margin-top: 20px; border-top: 2px solid var(--line);
}
.hero-meta .lead { max-width: 44ch; }
.hero-actions { display: flex; align-items: center; gap: 16px; }
.scroll-hint { display: flex; align-items: center; gap: 9px; }
.scroll-hint .bar { width: 2px; height: 34px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.scroll-hint .bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scrollbar 2.2s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes scrollbar { 0% { transform: translateY(-100%); } 55%, 100% { transform: translateY(100%); } }

@media (min-width: 1000px) {
  .hero-title { grid-column: 1 / 11; }
  .hero-media { grid-column: 1 / 13; }
}

/* --------------------------------------------------------------- marquee */
.marquee {
  background: var(--paper-2); color: var(--ink); margin-top: clamp(48px, 8vh, 100px);
  border-block: 1px solid var(--line);
  overflow: hidden; padding: 15px 0; display: flex; user-select: none;
}
.marquee-track { display: flex; gap: 40px; padding-right: 40px; flex: none; animation: slide 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-size: clamp(.95rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.marquee span::after { content: ""; width: 6px; height: 6px; background: var(--muted); border-radius: 50%; display: inline-block; }
@keyframes slide { to { transform: translateX(-100%); } }

/* --------------------------------------------------------------- bölümler */
.section { padding-block: clamp(60px, 10vh, 130px); }
.section.alt { background: var(--paper-2); }
.section-head { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: start; margin-bottom: clamp(34px, 5vh, 66px); }
.section-head .eyebrow { grid-column: 1 / 13; margin-bottom: 18px; }
.section-head .h2 { grid-column: 1 / 13; }
.section-head .txt { grid-column: 1 / 13; margin-top: 16px; }
@media (min-width: 1000px) {
  .section-head .eyebrow { grid-column: 1 / 13; margin-bottom: 20px; }
  .section-head .h2 { grid-column: 1 / 8; }
  .section-head .txt { grid-column: 9 / 13; margin-top: 6px; }
}

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
.reveal[data-d="5"] { transition-delay: .35s; }
.mask-up {
  overflow: hidden; display: block;
  padding-top: .16em; margin-top: -.16em;      /* üst noktalar */
  padding-bottom: .12em; margin-bottom: -.12em; /* ç, ş, g, y kuyrukları */
}
.mask-up > * { display: block; transform: translateY(130%); transition: transform 1.05s var(--ease); }
.mask-up.in > * { transform: none; }
.img-clip img { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease); }
.img-clip.in img { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .mask-up > *, .img-clip img, .line-mask > span { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------- hakkında */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(26px, 4vw, 54px) var(--gap); align-items: start; }
.about-media { grid-column: 1 / 13; overflow: hidden; aspect-ratio: 4/3; background: var(--paper-3); border-radius: 4px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.about-media img { width: 100%; height: 114%; object-fit: cover; will-change: transform; }
.about-text { grid-column: 1 / 13; display: flex; flex-direction: column; gap: 18px; }
.about-text [data-about-body] { display: flex; flex-direction: column; gap: 15px; }
.about-text p { max-width: 58ch; color: var(--ink-soft); }
.signature { margin-top: 6px; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
@media (min-width: 1000px) {
  .about-media { grid-column: 1 / 6; aspect-ratio: 3/4; position: sticky; top: calc(var(--header-h) + 32px); }
  .about-text { grid-column: 7 / 13; }
}

/* ----------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(36px, 6vh, 72px); }
.stat { background: var(--paper-2); border: 1px solid var(--line); border-left: 3px solid var(--ink); border-radius: 4px; padding: clamp(18px, 2.4vw, 30px); }
.stat:nth-child(2n) { border-left-color: var(--muted); }
.stat b {
  display: flex; align-items: baseline; gap: 1px;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem); font-weight: 600;
  letter-spacing: -0.045em; line-height: 1; color: var(--ink);
}
.stat b span { font: inherit; color: inherit; display: inline; margin: 0; letter-spacing: inherit; }
.stat > span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.35; color: var(--ink-soft); }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* -------------------------------------------------------------- projeler */
.projects { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(28px, 3.4vw, 46px) var(--gap); }
.project { grid-column: 1 / 13; }
@media (min-width: 700px) { .project { grid-column: span 6; } }
@media (min-width: 1100px) { .project { grid-column: span 4; } }
.project a { display: block; }
.project-media {
  position: relative; overflow: hidden; background: var(--paper-3);
  aspect-ratio: 4 / 3; border-radius: 4px; border: 1px solid var(--line);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project:hover .project-media img { transform: scale(1.06); }
.project-media .idx {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(5,5,6,.72); backdrop-filter: blur(6px); color: #fff; font-size: 11px; letter-spacing: .12em;
  padding: 5px 10px; border-radius: 100px; font-weight: 600;
}
.project-media .go {
  position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--paper); display: grid; place-items: center; font-size: 17px;
  transform: scale(0) rotate(-40deg); transition: transform .55s var(--ease); z-index: 2;
}
.project:hover .project-media .go { transform: scale(1) rotate(0); }
.project-info { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 15px; }
.project-info h3 { color: #d8d8de; transition: color .4s var(--ease); }
.project:hover .project-info h3 { color: #fff; }
.project-info .meta { text-align: right; flex: none; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ------------------------------------------------------------- hizmetler */
.services { border-top: 2px solid var(--line); }
.service {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px var(--gap);
  padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line);
  position: relative; isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0 calc(var(--pad) * -0.35); background: var(--accent-soft); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); border-radius: 4px;
}
.service:hover::before { transform: scaleY(1); transform-origin: top; }
.service .no { grid-column: 1 / 3; color: var(--muted); font-weight: 600; }
.service .h3 { grid-column: 3 / 13; }
.service p { grid-column: 3 / 13; color: var(--ink-soft); max-width: 58ch; }
@media (min-width: 900px) {
  .service .no { grid-column: 1 / 2; }
  .service .h3 { grid-column: 2 / 7; }
  .service p { grid-column: 8 / 13; }
}

/* ----------------------------------------------------------------- süreç */
.steps { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(22px, 2.6vw, 34px) var(--gap); }
.step { grid-column: span 12; background: var(--paper-2); border: 1px solid var(--line); border-top: 3px solid var(--line-2); border-radius: 4px; padding: 22px; }
.step:nth-child(2n) { border-top-color: var(--ink); }
@media (min-width: 700px) { .step { grid-column: span 6; } }
@media (min-width: 1100px) { .step { grid-column: span 3; } }
.step .no { font-size: 12px; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; }
.step h4 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.025em; margin: 10px 0 7px; }
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* -------------------------------------------------------------- iletişim */
.contact { background: var(--deep); color: var(--ink); border-top: 1px solid var(--line); }
.contact .eyebrow { color: var(--label); }
.contact .eyebrow::before { background: var(--line-2); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(30px, 4vw, 54px) var(--gap); }
.contact-main { grid-column: 1 / 13; }
.contact-side { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (min-width: 1000px) {
  .contact-main { grid-column: 1 / 8; }
  .contact-side { grid-column: 9 / 13; grid-template-columns: 1fr; }
}
.big-link {
  display: inline-block; font-size: clamp(1.35rem, 3.4vw, 2.6rem); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1.1; margin-top: 24px; position: relative; color: var(--accent-2);
}
.big-link::after { content: ""; position: absolute; left: 0; bottom: 2px; height: 2px; width: 100%; background: var(--accent-2); transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease); }
.big-link:hover::after { transform: scaleX(1); transform-origin: left; }
.c-item h5 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 7px; }
.c-item p, .c-item a { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.c-item a:hover { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 4px; }
.socials a { border: 1px solid var(--line-dark); border-radius: 100px; padding: 8px 15px; font-size: 12.5px; transition: .35s var(--ease); }
.socials a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------------------------------------------------------------- footer */
.footer { background: var(--ink-2); color: var(--muted); padding-block: 28px; border-top: 1px solid var(--line); }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center; font-size: 12.5px; }
.footer a:hover { color: var(--accent-2); }

/* ------------------------------------------------------------ proje detay */
.pd-hero { padding-top: calc(var(--header-h) + clamp(26px, 5vh, 62px)); }
.pd-title { max-width: 18ch; }
.pd-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px var(--gap); margin-top: clamp(28px, 4vh, 46px); padding-top: 22px; border-top: 2px solid var(--line); }
@media (min-width: 800px) { .pd-facts { grid-template-columns: repeat(5, 1fr); } }
.fact h5 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.fact p { font-size: 15px; }
/* Kapak gorseli KIRPILMAZ: kutu gorselin kendi oranini alir, boylece
   gorselin ust/alt kenari ya da kenarindaki simgeler kesilmez. */
.pd-cover { position: relative; width: 100%; margin-top: clamp(28px, 5vh, 54px);
  display: block; overflow: hidden; background: var(--paper-3);
  border-radius: 4px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pd-cover img { display: block; width: 100%; height: auto;
  max-width: 100%; max-height: 80vh; object-fit: contain; margin: 0 auto; }
.pd-body { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(26px, 3vw, 44px) var(--gap); }
.pd-body .txt { grid-column: 1 / 13; display: flex; flex-direction: column; gap: 16px; color: var(--ink-soft); }
.pd-body .side { grid-column: 1 / 13; }
@media (min-width: 1000px) { .pd-body .txt { grid-column: 1 / 8; } .pd-body .side { grid-column: 9 / 13; } }
.feat { border-top: 1px solid var(--line); padding: 12px 0; display: flex; gap: 11px; align-items: baseline; font-size: 14.5px; }
.feat::before { content: ""; width: 7px; height: 7px; background: var(--ink); border-radius: 50%; flex: none; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); }
.gallery figure { grid-column: 1 / 13; overflow: hidden; background: var(--paper-3); border-radius: 4px; border: 1px solid var(--line); aspect-ratio: 4/3; cursor: pointer; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
@media (min-width: 900px) { .gallery figure { grid-column: span 4; } }
.pd-nav { display: flex; justify-content: space-between; gap: 18px; border-top: 2px solid var(--line); padding-top: 22px; }
.pd-nav a { display: flex; flex-direction: column; gap: 5px; }
.pd-nav .h3 { color: #d8d8de; transition: color .4s var(--ease); }
.pd-nav a:hover .h3 { color: #fff; }

/* -------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.96); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); padding: 4vw; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 4px; transform: scale(.97); transition: transform .5s var(--ease); }
.lightbox.open img { transform: scale(1); }
.lightbox .close { position: absolute; top: 20px; right: 24px; color: #fff; font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.lightbox .nav-btn { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 20px; padding: 16px; }
.lightbox .nav-btn.prev { left: 14px; } .lightbox .nav-btn.next { right: 14px; }

/* ------------------------------------------------- sayfa geçiş perdesi */
#transition { position: fixed; inset: 0; z-index: 800; background: var(--deep); transform: translateY(100%); pointer-events: none; }
#transition.out { animation: curtainIn .7s var(--ease) forwards; }
@keyframes curtainIn { to { transform: translateY(0); } }

/* ------------------------------------------------------------------ 404 */
.err { min-height: 100vh; display: grid; place-items: center; text-align: center; }

/* -------------------------------------------------------------- eğitimler */
.trainings { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(20px, 2.6vw, 32px) var(--gap); }
.training { grid-column: 1 / 13; }
@media (min-width: 720px) { .training { grid-column: span 6; } }
@media (min-width: 1100px) { .training { grid-column: span 4; } }
.training a {
  display: flex; flex-direction: column; height: 100%;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.training a:hover { border-color: var(--line-2); transform: translateY(-3px); }
.training .tr-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.training .tr-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.training a:hover .tr-media img { transform: scale(1.05); }
.training .chip-level {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: rgba(5,5,6,.72); backdrop-filter: blur(6px); color: #fff;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 100px; font-weight: 600;
}
.training .tr-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.training .tr-body h3 { color: #d8d8de; transition: color .4s var(--ease); }
.training a:hover .tr-body h3 { color: #fff; }
.training .tr-sum { color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
.training .tr-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); }
.training .tr-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.training .tr-price { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.training .tr-go { font-size: 12.5px; color: var(--muted); transition: color .35s var(--ease), transform .35s var(--ease); }
.training a:hover .tr-go { color: #fff; transform: translateX(4px); }

/* --------------------------------------------------------------- müfredat */
.curriculum { border-top: 1px solid var(--line); }
.cur-item {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px var(--gap);
  padding: clamp(18px, 2.4vw, 28px) 0; border-bottom: 1px solid var(--line);
}
.cur-item .no { grid-column: 1 / 3; color: var(--muted); font-size: 12.5px; letter-spacing: .16em; font-weight: 600; }
.cur-item h4 { grid-column: 3 / 13; font-size: 1.15rem; font-weight: 600; letter-spacing: -.025em; }
.cur-item p { grid-column: 3 / 13; color: var(--ink-soft); font-size: 14.5px; }
@media (min-width: 900px) {
  .cur-item .no { grid-column: 1 / 2; }
  .cur-item h4 { grid-column: 2 / 7; }
  .cur-item p { grid-column: 8 / 13; }
}

/* -------------------------------------------------------------------- SSS */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: clamp(16px, 2.2vw, 24px) 0; font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600; letter-spacing: -.02em; color: #d8d8de; transition: color .3s var(--ease);
}
.faq-q:hover, .faq-item.open .faq-q { color: #fff; }
.faq-q .sign { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .sign::before, .faq-q .sign::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: currentColor;
  transform: translate(-50%, -50%); transition: transform .4s var(--ease), opacity .3s;
}
.faq-q .sign::before { width: 15px; height: 2px; }
.faq-q .sign::after { width: 2px; height: 15px; }
.faq-item.open .faq-q .sign::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { color: var(--ink-soft); max-width: 70ch; padding-bottom: clamp(16px, 2.2vw, 24px); font-size: 15px; }

/* ------------------------------------------------------------ çağrı kutusu */
.cta-box {
  display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 40px); align-items: center; justify-content: space-between;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px;
  padding: clamp(24px, 4vw, 46px);
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ------------------------------------------------------ WhatsApp butonu */
.wa-btn {
  position: fixed; right: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px); z-index: 300;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .95);
  transform: translateY(16px) scale(.9); opacity: 0;
  transition: transform .5s var(--ease), opacity .5s var(--ease), background-color .3s;
}
.loaded .wa-btn { transform: none; opacity: 1; }
.wa-btn:hover { background: #fff; }
.wa-btn svg { width: 29px; height: 29px; fill: currentColor; }
.wa-btn .tip {
  position: absolute; right: 68px; white-space: nowrap;
  background: var(--ink); color: var(--paper); font-size: 12.5px; font-weight: 600;
  padding: 8px 13px; border-radius: 6px; opacity: 0; transform: translateX(8px);
  transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none;
}
.wa-btn:hover .tip { opacity: 1; transform: none; }
@media (max-width: 620px) { .wa-btn { width: 52px; height: 52px; } .wa-btn .tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-btn { opacity: 1; transform: none; } }
