/* ============================================================
   AYMES ELEKTRİK — Stylesheet
   Koyu, sinematik arayüz · logo kırmızısı vurgu rengi
   ============================================================ */
:root {
  --bg: #0A0E13;
  --bg-2: #0F151C;
  --card: #141B24;
  --card-2: #1A2330;
  --text: #F2F5F8;
  --muted: #95A3B1;
  --dim: #64727F;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --red: #E3262E;
  --red-hover: #F43F47;
  --red-soft: rgba(227, 38, 46, 0.14);
  --amber: #F5B83D;
  --footer-bg: #070A0E;
  --green: #22C38E;

  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;

  --nav-h: 84px;
  --pad: clamp(72px, 9vw, 120px);
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.ico { width: 20px; height: 20px; flex: none; }
.ico--sm { width: 16px; height: 16px; }
.ico--xs { width: 12px; height: 12px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--red); color: #fff; padding: 8px 16px; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 980px; }
.center { text-align: center; }
.center .btn { margin-top: 24px; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--red);
  margin-bottom: 14px;
}
.eyebrow--muted { color: var(--muted); }
.h1, .h2, .h3, .hero__title {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  line-height: 0.98; letter-spacing: -0.005em;
}
.h1 { font-size: clamp(40px, 6.5vw, 88px); }
.h2 { font-size: clamp(34px, 4.6vw, 60px); margin-bottom: 18px; }
.h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 16px; }
.h1 em, .h2 em, .hero__title em { font-style: normal; color: var(--red); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--muted); max-width: 640px; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--text); font-weight: 600; }
.prose--lg p { font-size: 17px; }
.prose .checks { margin: 8px 0 20px; }
.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); transition: gap .3s var(--ease), color .3s; }
a:hover .link, .link:hover { gap: 14px; color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  letter-spacing: 0.14em; text-transform: uppercase; line-height: 1;
  padding: 16px 30px; border: 1px solid transparent; border-radius: var(--radius);
  transition: background .25s, border-color .25s, transform .25s var(--ease), color .25s;
  white-space: nowrap;
}
.btn--sm { padding: 12px 20px; font-size: 13px; }
.btn--lg { padding: 19px 36px; font-size: 15px; }
.btn--primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn--primary:hover { background: var(--red-hover); border-color: var(--red-hover); transform: translateY(-2px); }
.btn--ghost { color: var(--text); border-color: var(--line-2); background: rgba(255, 255, 255, 0.02); }
.btn--ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn--light { background: #fff; color: #0A0E13; width: 100%; margin-top: 10px; }
.btn--light:hover { background: var(--text); transform: translateY(-2px); }
.round {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-2); background: rgba(10, 14, 19, 0.35); backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s;
}
.round:hover { background: var(--red); border-color: var(--red); }

/* ---------- Shared decorations ---------- */
.grid-lines {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
}
.accent-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 4; background: linear-gradient(90deg, transparent, var(--red), transparent); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: background .4s, height .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { --nav-h: 70px; background: rgba(10, 14, 19, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav__logo img { height: 52px; width: auto; transition: height .4s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 44px; }
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__item > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; position: relative;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.14em;
  text-transform: uppercase; color: color-mix(in srgb, var(--text) 72%, transparent); transition: color .25s;
}
.nav__item > a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--red); transition: right .35s var(--ease); }
.nav__item:hover > a, .nav__item.is-active > a { color: var(--text); }
.nav__item.is-active > a::after, .nav__item:hover > a::after { right: 0; }
.nav__item--drop { position: relative; }
.drop {
  position: absolute; top: 100%; left: -20px; padding-top: 14px; min-width: 260px;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .3s var(--ease);
}
.drop ul { background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--red); backdrop-filter: blur(14px); padding: 10px 0; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.drop a { display: block; padding: 10px 22px; font-size: 14px; color: var(--muted); transition: color .2s, padding .3s var(--ease), background .2s; }
.drop a:hover { color: var(--text); padding-left: 28px; background: rgba(255,255,255,.03); }
.nav__item--drop:hover .drop, .nav__item--drop:focus-within .drop { opacity: 1; visibility: visible; transform: none; }
.nav__right { display: flex; align-items: center; gap: 14px; }

.lang { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; background: rgba(10,14,19,.35); }
.lang button { font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: 0.1em; padding: 6px 12px; border-radius: 999px; color: var(--muted); transition: background .25s, color .25s; }
.lang button.is-on { background: var(--text); color: var(--bg); }
.lang button:not(.is-on):hover { color: var(--text); }

.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 1001; }
.burger span { position: absolute; left: 10px; width: 24px; height: 2px; background: var(--text); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mnav {
  position: fixed; inset: 0; z-index: 999; background: rgba(10, 14, 19, 0.98);
  backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  overflow-y: auto;
}
.mnav.is-open { opacity: 1; visibility: visible; }
.mnav__inner { padding: calc(var(--nav-h) + 16px) var(--gutter) 40px; display: flex; flex-direction: column; gap: 4px; min-height: 100%; }
.mnav__link { font-family: var(--font-display); font-weight: 800; font-size: 30px; text-transform: uppercase; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mnav__link--cta { color: var(--red); }
.mnav__group { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.mnav__label { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.mnav__sub { font-size: 17px; padding: 6px 0; color: var(--muted); }
.mnav__contact { display: flex; flex-direction: column; gap: 12px; margin: 28px 0 20px; color: var(--muted); }
.mnav__contact a { display: inline-flex; align-items: center; gap: 12px; }
.mnav .lang { align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; max-height: 1080px; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s linear;
}
.hero__slide.is-on { opacity: 1; transform: scale(1); }
.hero__shade {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(10,14,19,.88) 0%, rgba(10,14,19,.55) 45%, rgba(10,14,19,.15) 100%),
    linear-gradient(to bottom, rgba(10,14,19,.5) 0%, transparent 25%, transparent 55%, rgba(10,14,19,.95) 100%);
}
.hero__glow { position: absolute; z-index: 2; width: 720px; height: 720px; left: -260px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(227,38,46,.22), transparent 65%); animation: pulse 9s ease-in-out infinite; pointer-events: none; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.15); opacity: 1; } }
.hero__content { position: relative; z-index: 3; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 48px; }
.hero__eyebrow { color: rgba(242,245,248,.85); }
.hero__eyebrow .ico { color: var(--red); }
.hero__eyebrow { animation: fadeUp .9s var(--ease) both .2s; }
.hero__title { font-size: clamp(52px, 9.5vw, 136px); line-height: 0.9; margin-bottom: 26px; animation: fadeUp 1s var(--ease) both .35s; }
.hero__title span, .hero__title em { display: block; }
.hero__sub { font-size: clamp(16px, 1.6vw, 20px); color: rgba(242,245,248,.78); max-width: 560px; margin-bottom: 36px; font-weight: 300; animation: fadeUp 1s var(--ease) both .5s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp 1s var(--ease) both .65s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.hero__bar { position: relative; z-index: 3; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; padding-top: 26px; padding-bottom: 34px; border-top: 1px solid var(--line); }
.hero__caption { display: flex; align-items: center; gap: 22px; min-width: 0; }
.hero__count { font-family: var(--font-display); font-size: 15px; color: var(--muted); letter-spacing: .1em; white-space: nowrap; }
.hero__count b { font-size: 30px; color: #fff; font-weight: 800; }
.hero__caption small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.hero__caption a { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: clamp(17px, 1.7vw, 22px); text-transform: uppercase; letter-spacing: .04em; transition: color .25s; }
.hero__caption a:hover { color: var(--red); }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 38px; height: 22px; display: grid; align-items: center; }
.hero__dots i { display: block; height: 2px; background: rgba(255,255,255,.22); position: relative; overflow: hidden; }
.hero__dots i::after { content: ''; position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-on i::after { transform: scaleX(1); }
.hero__dots button.is-run i::after { transform: scaleX(0); animation: fill 6s linear forwards; }
@keyframes fill { to { transform: scaleX(1); } }
.hero__arrows { display: flex; gap: 10px; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--bg-2); padding: 20px 0; }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); white-space: nowrap; }
.marquee__track .ico { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } .hero__slide { transition: opacity .6s; transform: none; } }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--pad) 0; position: relative; }
.section--alt { background: var(--bg-2); }
.head { margin-bottom: 48px; }
.head--center { text-align: center; }
.head--center .lead { margin: 0 auto; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head-row .head { margin-bottom: 48px; }
.head-row > .btn { margin-bottom: 52px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; border-radius: var(--radius); filter: saturate(.9); }
.about__media::before { content: ''; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--line-2); border-radius: var(--radius); z-index: -1; }
.about__badge { color: #fff; position: absolute; right: -20px; bottom: 36px; background: var(--red); padding: 22px 28px; border-radius: var(--radius); box-shadow: 0 24px 50px rgba(227,38,46,.3); }
.about__badge b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; }
.about__badge span { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 36px; }
.callout { display: inline-flex; align-items: center; gap: 14px; }
.callout__ico { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); transition: background .25s, color .25s; }
.callout:hover .callout__ico { background: var(--red); color: #fff; }
.callout b { display: block; font-family: var(--font-display); font-size: 22px; letter-spacing: .03em; }
.callout small { color: var(--muted); font-size: 13px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(56px, 7vw, 96px); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 34px 26px; border-right: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); }
.stat:last-child { border-right: 0; }
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: clamp(44px, 4.6vw, 64px); line-height: 1; color: var(--text); }
.stat__num::first-letter { color: inherit; }
.stat__label { margin-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stat:nth-child(odd) .stat__num { color: var(--red); }

/* ---------- Spectrum ---------- */
.spectrum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec { position: relative; background: var(--card); padding: 36px 26px 34px; transition: background .35s; overflow: hidden; }
.spec::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: var(--c); transform: scaleX(.25); transform-origin: left; transition: transform .5s var(--ease); }
.spec:hover { background: var(--card-2); }
.spec:hover::before { transform: scaleX(1); }
.spec__code { font-family: var(--font-display); font-weight: 800; font-size: 54px; line-height: 1; color: var(--c); display: block; margin-bottom: 22px; }
.spec h3 { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.spec p { font-size: 14px; color: var(--muted); }
.spec--og { --c: #E3262E; } .spec--ag { --c: #F5B83D; } .spec--za { --c: #3FA9F5; } .spec--proje { --c: #22C38E; } .spec--enerji { --c: #A78BFA; }

/* ---------- Service cards ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.services--3 { grid-template-columns: repeat(3, 1fr); }
.services--page { grid-template-columns: repeat(2, 1fr); }
.scard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .35s, transform .5s var(--ease); }
.scard:hover { border-color: rgba(227,38,46,.5); transform: translateY(-6px); }
.scard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.scard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); filter: saturate(.85); }
.scard:hover .scard__img img { transform: scale(1.07); }
.services--page .scard__img { aspect-ratio: 16 / 8; }
.scard__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; position: relative; }
.scard__num { position: absolute; right: 22px; top: -30px; font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; color: var(--red); text-shadow: 0 4px 20px rgba(0,0,0,.5); }
.scard h3 { font-family: var(--font-display); font-weight: 800; font-size: 25px; text-transform: uppercase; line-height: 1.05; margin-bottom: 10px; }
.scard p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; flex: 1; }

/* ---------- Project cards ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 20px; }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pgrid .pcard { aspect-ratio: 4 / 3.4; }
.pcard { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--card); min-height: 260px; }
.pcard--xl { grid-column: span 2; grid-row: span 2; }
.pcard__img, .pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.pcard__img img { object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.07); }
.pcard__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,14,19,.95) 0%, rgba(10,14,19,.4) 45%, rgba(10,14,19,.05) 100%); transition: background .4s; }
.pcard:hover .pcard__shade { background: linear-gradient(to top, rgba(10,14,19,.97) 0%, rgba(10,14,19,.55) 60%, rgba(227,38,46,.12) 100%); }
.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; }
.pcard h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.02; text-transform: uppercase; margin: 12px 0 4px; }
.pcard--xl h3 { font-size: clamp(30px, 3.6vw, 48px); }
.pcard p { font-size: 14px; color: var(--muted); }
.pcard__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.pcard:hover .pcard__go, .pcard:focus-visible .pcard__go { opacity: 1; transform: none; }

.tag { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 2px; background: rgba(255,255,255,.08); color: var(--text); backdrop-filter: blur(6px); }
.tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag--ongoing { background: rgba(245,184,61,.15); color: var(--amber); }
.tag--ongoing::before { animation: blink 1.6s ease-in-out infinite; }
.tag--completed { background: rgba(34,195,142,.13); color: var(--green); }
@keyframes blink { 50% { opacity: .2; } }

.refbanner { position: relative; display: block; margin-top: 20px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.refbanner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .22; transition: opacity .5s, transform 1.2s var(--ease); }
.refbanner:hover img { opacity: .32; transform: scale(1.04); }
.refbanner__body { position: relative; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: 34px 38px; background: linear-gradient(90deg, rgba(10,14,19,.9), rgba(10,14,19,.55)); }
.refbanner__num { font-family: var(--font-display); font-weight: 800; font-size: 84px; line-height: .9; color: var(--red); }
.refbanner h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); text-transform: uppercase; line-height: 1.05; margin-bottom: 6px; }
.refbanner p { color: var(--muted); font-size: 15px; }

/* ---------- News ---------- */
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ncard { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .35s, transform .5s var(--ease); }
.ncard:hover { border-color: rgba(227,38,46,.5); transform: translateY(-6px); }
.ncard__img { aspect-ratio: 16 / 10; overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ncard:hover .ncard__img img { transform: scale(1.07); }
.ncard__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ncard time { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.ncard h3 { font-family: var(--font-display); font-weight: 800; font-size: 25px; text-transform: uppercase; line-height: 1.05; flex: 1; }

/* ---------- CTA ---------- */
.cta { overflow: hidden; text-align: center; background: radial-gradient(ellipse at center, #1A1014 0%, var(--bg) 70%); border-top: 1px solid var(--line); }
.cta__glow { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(227,38,46,.18), transparent 60%); pointer-events: none; }
.cta__inner { position: relative; z-index: 3; }
.cta .h2 { max-width: 900px; margin: 0 auto 18px; }
.cta .lead { margin: 0 auto 40px; }
.cta__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ============================================================
   INNER PAGES
   ============================================================ */
.page-hero { position: relative; min-height: clamp(380px, 56vh, 560px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.06); animation: heroZoom 14s ease-out forwards; z-index: 0; }
@keyframes heroZoom { to { transform: scale(1); } }
.page-hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(10,14,19,.65), rgba(10,14,19,.55) 40%, rgba(10,14,19,.96)); }
.page-hero__inner { position: relative; z-index: 3; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 56px; }
.page-hero .h1 { max-width: 1000px; animation: fadeUp 1s var(--ease) both .15s; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); animation: fadeUp .9s var(--ease) both; }
.crumbs a:hover { color: #fff; }
.crumbs b { color: var(--red); font-weight: 600; }
.crumbs span { opacity: .5; }

.linkcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.linkcard { padding: 34px 30px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; transition: border-color .35s, transform .5s var(--ease); }
.linkcard:hover { border-color: rgba(227,38,46,.5); transform: translateY(-6px); }
.linkcard h3 { font-family: var(--font-display); font-weight: 800; font-size: 30px; text-transform: uppercase; line-height: 1; margin-bottom: 12px; }
.linkcard p { color: var(--muted); font-size: 15px; margin-bottom: 24px; flex: 1; }

/* Vision */
.quote { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.2vw, 42px); line-height: 1.18; color: var(--text); padding-left: 32px; border-left: 3px solid var(--red); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.panel__ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); margin-bottom: 24px; }
.mission { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mission li { background: var(--card); padding: 32px 24px; }
.mission span { display: block; font-family: var(--font-display); font-weight: 800; font-size: 46px; line-height: 1; color: var(--red); margin-bottom: 18px; }
.mission p { color: var(--muted); font-size: 15px; }

/* Detail layout */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.detail__main .h2 { margin-bottom: 20px; }
.detail__main .lead { max-width: none; margin-bottom: 32px; }
.detail__cover { margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; }
.detail__cover img { width: 100%; max-height: 520px; object-fit: cover; }
.detail__side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.group { margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line); }
.group__title { display: flex; align-items: center; gap: 14px; font-family: var(--font-display); font-weight: 800; font-size: 24px; text-transform: uppercase; margin-bottom: 22px; }
.group__title span { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: var(--radius); background: var(--red-soft); color: var(--red); font-size: 18px; }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.checks li .ico { color: var(--red); margin-top: 4px; }
.prose .checks { grid-template-columns: 1fr; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: 14px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); background: rgba(255,255,255,.02); transition: border-color .25s, background .25s; }
.chips li:hover { border-color: var(--red); background: var(--red-soft); }
.section--alt > .container > .chips { justify-content: center; max-width: 980px; margin: 0 auto; }

.side { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side--accent { background: linear-gradient(160deg, #B51B22, var(--red)); border-color: transparent; }
.side__title { font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; margin-bottom: 18px; }
.side__list li + li { border-top: 1px solid var(--line); }
.side__list a { display: flex; align-items: center; gap: 14px; padding: 12px 0; color: var(--muted); transition: color .25s; }
.side__list a:hover, .side__list .is-on a { color: var(--text); }
.side__list img { width: 56px; height: 48px; object-fit: cover; border-radius: 2px; flex: none; }
.side__list span { flex: 1; font-size: 15px; line-height: 1.35; }
.side__list small { display: block; font-size: 12px; color: var(--dim); margin-top: 3px; }
.side__list .is-on span { color: var(--red); }
.side__phone { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,.18); word-break: break-all; }
.meta > div { display: flex; justify-content: space-between; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.meta > div:first-child { padding-top: 0; }
.meta > div:last-child { border-bottom: 0; padding-bottom: 0; }
.meta dt { font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); flex: none; }
.meta dd { text-align: right; font-weight: 500; }

.pics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 40px; }
.pics__item:first-child, .pics__item:nth-child(even):last-child { grid-column: span 2; }
.pics__item:nth-child(even):last-child img { aspect-ratio: 16 / 8; }
.pics__item, .masonry__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); }
.pics__item img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.pics__item:first-child img { aspect-ratio: 16 / 8; }
.pics__item span, .masonry__item span { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,14,19,.6); opacity: 0; transition: opacity .3s; }
.pics__item:hover img, .masonry__item:hover img { transform: scale(1.05); }
.pics__item:hover span, .masonry__item:hover span { opacity: 1; }
.newslink { display: flex; align-items: center; gap: 18px; margin-top: 32px; padding: 22px 26px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: var(--radius); transition: background .25s; }
.newslink:hover { background: var(--card-2); }
.newslink small { font-family: var(--font-display); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.newslink b { flex: 1; font-family: var(--font-display); font-size: 20px; text-transform: uppercase; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 40px; }
.prevnext a { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s; font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; line-height: 1.1; }
.prevnext a:last-child { justify-content: flex-end; text-align: right; }
.prevnext a:hover { border-color: var(--red); }
.prevnext small { display: block; font-size: 12px; letter-spacing: .16em; color: var(--muted); margin-bottom: 4px; font-weight: 600; }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid var(--line-2); border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: all .25s; }
.filters button small { font-size: 12px; padding: 1px 8px; border-radius: 999px; background: var(--line); }
.filters button:hover { color: var(--text); border-color: var(--text); }
.filters button.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.filters button.is-on small { background: rgba(0,0,0,.2); }

/* References */
.clients { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 56px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.clients li { flex: 1 1 180px; background: var(--card); padding: 22px 18px; text-align: center; font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); transition: color .25s, background .25s; }
.clients li:hover { color: var(--text); background: var(--card-2); }
.reftools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.search { display: flex; align-items: center; gap: 10px; flex: 1; max-width: 460px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); transition: border-color .25s; }
.search:focus-within { border-color: var(--red); }
.search input { flex: 1; background: none; border: 0; outline: 0; color: var(--text); font: inherit; padding: 13px 0; }
.reftools__count { color: var(--muted); font-size: 14px; }
.reftools__count b { font-family: var(--font-display); font-size: 24px; color: var(--red); }
.reftable { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.reftable__head, .reftable__row { display: grid; grid-template-columns: 110px minmax(200px, 1.3fr) minmax(220px, 1.6fr) minmax(140px, 1fr) 140px 110px; gap: 20px; padding: 18px 22px; align-items: start; }
.reftable__head { background: var(--card-2); font-family: var(--font-display); font-weight: 700; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.reftable__row { border-top: 1px solid var(--line); background: var(--card); transition: background .25s; font-size: 14px; color: var(--muted); }
.reftable__row:nth-child(odd) { background: color-mix(in srgb, var(--card) 80%, var(--bg)); }
a.reftable__row:hover { background: var(--card-2); }
.rt-year { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--red); line-height: 1.2; }
.rt-name b { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 700; text-transform: uppercase; line-height: 1.15; color: var(--text); margin-bottom: 8px; }
.rt-name .tag { font-size: 10px; padding: 3px 8px; }
.rt-sys .chips { gap: 6px; }
.rt-sys .chips li { font-size: 12px; padding: 4px 10px; }
.rt-client { color: var(--text); font-weight: 500; }
.rt-scope { display: flex; align-items: center; gap: 8px; color: var(--text); }
a.reftable__row .rt-scope .ico { color: var(--red); }

/* Gallery */
.masonry { columns: 3 300px; column-gap: 14px; }
.masonry__item { margin-bottom: 14px; break-inside: avoid; background: var(--card); }
.masonry__item img { width: 100%; height: auto; transition: transform 1s var(--ease); }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cinfo { display: flex; flex-direction: column; gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cinfo > li { display: flex; gap: 18px; padding: 22px 24px; background: var(--card); }
.cinfo__ico { width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.cinfo small { display: block; font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.cinfo a:not(.link), .cinfo > li > div > span { font-size: 17px; font-weight: 500; color: var(--text); }
.cinfo .link { display: flex; width: max-content; margin-top: 8px; font-size: 13px; color: var(--red); }
.cinfo > li > div { flex: 1; min-width: 0; word-break: break-word; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.hours li:last-child { border-bottom: 0; }
.hours b { color: var(--text); font-weight: 500; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.field { position: relative; }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--text); font: inherit; padding: 24px 18px 10px; outline: 0; transition: border-color .25s; resize: vertical; }
.field textarea { min-height: 160px; }
.field label { position: absolute; left: 19px; top: 17px; color: var(--muted); pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field textarea:focus { border-color: var(--red); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 7px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.form .btn { align-self: flex-start; }
.form__note { font-size: 13px; color: var(--dim); }
.form__msg { font-size: 14px; min-height: 0; }
.form__msg.is-ok { color: var(--green); }
.form__msg.is-err { color: var(--red-hover); }
.map { line-height: 0; border-top: 1px solid var(--line); }
.map iframe { width: 100%; height: 460px; border: 0; filter: grayscale(1) invert(.92) contrast(.85) hue-rotate(180deg); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 3000; background: rgba(5,7,10,.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 70px 80px; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb img { max-width: 100%; max-height: calc(100vh - 160px); object-fit: contain; border-radius: var(--radius); }
.lb figcaption { color: var(--muted); font-size: 14px; }
.lb__close { position: absolute; top: 18px; right: 18px; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb__prev { left: 18px; } .lb__next { right: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--footer-bg); border-top: 1px solid var(--line); padding-top: 80px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 48px; padding-bottom: 60px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 22px; }
.footer__brand p { color: var(--muted); font-size: 15px; max-width: 340px; margin-bottom: 24px; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); transition: all .25s; }
.social a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.social .ico { width: 18px; height: 18px; }
.footer__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 22px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a { color: var(--muted); font-size: 15px; transition: color .2s, padding .3s var(--ease); }
.footer__links a:hover { color: var(--text); padding-left: 6px; }
.footer__contact { display: grid; gap: 14px; }
.footer__contact li { display: flex; gap: 12px; color: var(--muted); font-size: 15px; }
.footer__contact .ico { color: var(--red); margin-top: 3px; }
.footer__contact a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; padding-bottom: 26px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.footer__bottom b { color: var(--muted); font-weight: 500; }
.totop { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--muted); }
.totop:hover { color: var(--red); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
  .spectrum { grid-template-columns: repeat(3, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .mission { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .reftable__head { display: none; }
  .reftable__row { grid-template-columns: 90px minmax(0, 1fr); gap: 10px 20px; }
  .rt-sys, .rt-size, .rt-client, .rt-scope { grid-column: 2; }
  .rt-size::before, .rt-client::before { content: attr(data-label) ': '; color: var(--dim); }
  .rt-scope { display: none; }
}
@media (max-width: 980px) {
  .about, .contact, .detail, .two { grid-template-columns: 1fr; }
  .about__media { max-width: 640px; }
  .detail__side, .form { position: static; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; }
  .pgrid, .news, .linkcards, .services--3 { grid-template-columns: 1fr 1fr; }
  .hero__bar { grid-template-columns: 1fr auto; }
  .hero__dots { display: none; }
  .refbanner__body { grid-template-columns: auto 1fr; }
  .refbanner__body .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 680px) {
  :root { --nav-h: 72px; }
  .nav__logo img { height: 42px; }
  .nav .lang { display: none; }
  .mnav .lang { display: inline-flex; }
  .spectrum, .services, .services--page, .services--3, .pgrid, .news, .linkcards, .mission, .checks, .bento { grid-template-columns: 1fr; }
  .bento { grid-auto-rows: 300px; }
  .pcard--xl { grid-column: auto; grid-row: auto; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-right: 1px solid var(--line) !important; border-top: 1px solid var(--line); padding: 26px 20px; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(2n) { border-right: 0 !important; }
  .stat:last-child { grid-column: span 2; border-right: 0 !important; }
  .hero__content { padding-bottom: 32px; }
  .hero__arrows .round { width: 42px; height: 42px; }
  .hero__count b { font-size: 24px; }
  .hero__caption { gap: 14px; }
  .about__badge { right: 12px; bottom: 12px; padding: 16px 20px; }
  .about__badge b { font-size: 36px; }
  .about__media::before { display: none; }
  .head-row > .btn { margin-top: -24px; }
  .refbanner__body { grid-template-columns: 1fr; gap: 16px; padding: 28px 24px; }
  .refbanner__num { font-size: 64px; }
  .pics { grid-template-columns: 1fr; }
  .pics__item:first-child { grid-column: auto; }
  .prevnext { grid-template-columns: 1fr; }
  .prevnext a:last-child { justify-content: space-between; text-align: left; }
  .reftable__row { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .rt-sys, .rt-size, .rt-client, .rt-scope { grid-column: auto; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .lb { padding: 60px 12px; }
  .lb__nav { top: auto; bottom: 14px; transform: none; }
  .quote { padding-left: 20px; }
  .map iframe { height: 340px; }
  .newslink { flex-wrap: wrap; gap: 8px 14px; }
  .newslink b { flex-basis: 100%; order: 3; }
}

.reftable__row > *, .detail > *, .about > *, .contact > * { min-width: 0; }

/* Header telefon (eski sitedeki "Bize Ulaşın" alanı) */
.nav__phone { display: none; align-items: center; gap: 10px; padding-right: 6px; color: var(--text); }
.nav__phone .ico { color: var(--red); }
.nav__phone b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: .04em; line-height: 1.1; }
.nav__phone small { display: block; font-size: 11px; color: var(--muted); line-height: 1.2; }
.nav__phone:hover b { color: var(--red); }
@media (min-width: 1440px) { .nav__phone { display: inline-flex; } }

/* CTA arka planı (eski sitenin sayfa başlığı görseli) */
.cta__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .16; z-index: 0; }
/* ============================================================
   AÇIK TEMA / LIGHT THEME  —  <html data-theme="light">
   ============================================================ */
:root[data-theme="light"] {
  --bg: #F6F7F9;
  --bg-2: #ECEFF3;
  --card: #FFFFFF;
  --card-2: #F2F4F7;
  --text: #0F151C;
  --muted: #4E5A66;
  --dim: #7B8692;
  --line: rgba(15, 21, 28, 0.10);
  --line-2: rgba(15, 21, 28, 0.20);
  --red: #D61F27;
  --red-hover: #B8171E;
  --red-soft: rgba(214, 31, 39, 0.09);
  --amber: #B7791F;
  --green: #12805C;
  --footer-bg: #E6E9EE;
  color-scheme: light;
}
body { transition: background-color .35s ease, color .35s ease; }

/* Görsel üzerindeki alanlar her iki temada da koyu kalır */
:root[data-theme="light"] :is(.hero, .page-hero, .pcard, .refbanner, .cta, .mnav, .lb, .side--accent),
:root[data-theme="light"] .nav:not(.is-scrolled),
:root[data-theme="light"] .nav.menu-open {
  --bg: #0A0E13; --bg-2: #0F151C; --card: #141B24; --card-2: #1A2330;
  --text: #F2F5F8; --muted: #95A3B1; --dim: #64727F;
  --line: rgba(255, 255, 255, 0.08); --line-2: rgba(255, 255, 255, 0.16);
  --red: #E3262E; --red-soft: rgba(227, 38, 46, 0.14); --amber: #F5B83D; --green: #22C38E;
  color: var(--text);
}
:root[data-theme="light"] .nav.is-scrolled:not(.menu-open) { background: rgba(255, 255, 255, 0.9); box-shadow: 0 6px 30px rgba(15, 21, 28, 0.06); }
:root[data-theme="light"] .map iframe { filter: none; }
:root[data-theme="light"] .scard, :root[data-theme="light"] .ncard, :root[data-theme="light"] .linkcard,
:root[data-theme="light"] .panel, :root[data-theme="light"] .form, :root[data-theme="light"] .side:not(.side--accent) { box-shadow: 0 10px 30px rgba(15, 21, 28, 0.05); }
:root[data-theme="light"] .scard__num { text-shadow: 0 4px 20px rgba(255, 255, 255, .6); }
:root[data-theme="light"] .about__media img { filter: none; }
:root[data-theme="light"] .cta { border-top: 0; }
.nav.menu-open { background: transparent !important; border-bottom-color: transparent !important; box-shadow: none !important; }

/* Logo: açık zeminde koyu yazılı sürüm */
.logo-dark { display: none !important; }
:root[data-theme="light"] .nav.is-scrolled:not(.menu-open) .logo-light,
:root[data-theme="light"] .footer .logo-light { display: none !important; }
:root[data-theme="light"] .nav.is-scrolled:not(.menu-open) .logo-dark,
:root[data-theme="light"] .footer .logo-dark { display: block !important; }

/* Tema düğmesi */
.theme-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--text); background: color-mix(in srgb, var(--bg) 35%, transparent); transition: background .25s, border-color .25s, color .25s, transform .4s var(--ease); }
.theme-btn:hover { border-color: var(--red); color: var(--red); transform: rotate(-20deg); }
.theme-btn .ico { width: 18px; height: 18px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="light"] .theme-btn .i-sun { display: block; }
:root[data-theme="light"] .theme-btn .i-moon { display: none; }
.mnav__tools { display: flex; align-items: center; gap: 12px; }
.mnav__tools .theme-btn { display: grid; }
@media (max-width: 680px) { .nav .theme-btn { display: none; } }
/* ============================================================
   MOBİL İYİLEŞTİRMELER
   ============================================================ */
@media (max-width: 680px) {
  :root { --pad: 60px; }
  /* Üst menü: dil ve tema her zaman görünür */
  .nav { gap: 10px; }
  .nav__right { gap: 8px; }
  .nav .lang { display: inline-flex; padding: 2px; }
  .nav .lang button { padding: 5px 9px; font-size: 12px; }
  .nav .theme-btn { display: grid; width: 36px; height: 36px; }
  .nav .theme-btn .ico { width: 16px; height: 16px; }
  .burger { width: 40px; margin-right: -6px; }
  .mnav__link { font-size: 24px; padding: 10px 0; }
  .mnav__sub { font-size: 16px; }

  /* Açılış */
  .hero { min-height: 600px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: .12em; }
  .hero__title { margin-bottom: 18px; }
  .hero__sub { font-size: 16px; margin-bottom: 26px; }
  .hero__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__actions .btn { padding: 15px 10px; font-size: 13px; letter-spacing: .1em; }
  .hero__bar { gap: 14px; padding-top: 18px; padding-bottom: 22px; }
  .hero__caption a { font-size: 16px; }
  .hero__count { display: none; }

  /* Bölümler */
  .head, .head-row .head { margin-bottom: 28px; }
  .head-row > .btn { margin: -8px 0 28px; }
  .spectrum { grid-template-columns: 1fr 1fr; }
  .spec { padding: 22px 18px; }
  .spec:last-child { grid-column: span 2; }
  .spec__code { font-size: 38px; margin-bottom: 12px; }
  .spec h3 { font-size: 19px; }
  .spec p { font-size: 13px; }
  .bento { grid-auto-rows: 240px; gap: 14px; }
  .pgrid { gap: 14px; }
  .pgrid .pcard { aspect-ratio: 4 / 3; }
  .pcard__body { padding: 20px; }
  .pcard h3 { font-size: 23px; }
  .pcard__go { opacity: 1; transform: none; }
  .services, .news, .linkcards { gap: 14px; }
  .scard__img, .ncard__img { aspect-ratio: 16 / 9; }
  .stats { margin-top: 48px; }
  .stat { padding: 22px 18px; }
  .page-hero { min-height: 340px; }
  .page-hero__inner { padding-bottom: 36px; }
  .group { margin-top: 28px; padding-top: 26px; }
  .clients li { flex-basis: 140px; padding: 16px 12px; font-size: 15px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); padding: 0 var(--gutter) 4px; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters button { flex: none; }
  .cta__actions .btn { width: 100%; }
  .footer { padding-top: 56px; }

  /* Proje sayfası: bilgiler içeriğin üstünde */
  [data-page="project"] .detail__side { display: contents; }
  [data-page="project"] .detail__side > .side:first-child { order: -1; }
}
@media (max-width: 360px) {
  .nav__logo img { height: 36px; }
  .nav .lang button { padding: 5px 7px; }
}