/* ========================================
   EKSEN GÜVENLİK — ANA STİL DOSYASI
   Dark / Light çift tema · Tactical UI
   ======================================== */

/* === GOOGLE FONTS === */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@300;400;500;600;700;800;900&family=Barlow:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ═══════════════════════════════════════
   TEMA TOKENLARI — KOYU (VARSAYILAN)
   ═══════════════════════════════════════ */
:root,
html[data-theme="dark"] {
  color-scheme: dark;

  --black:       #080808;
  --dark-1:      #0d0d0d;
  --dark-2:      #111111;
  --dark-3:      #181818;
  --dark-4:      #1e1e1e;
  --dark-5:      #242424;
  --grey-1:      #2a2a2a;
  --grey-2:      #3a3a3a;
  --grey-3:      #838383; /* WCAG AA: koyu zeminde en az 4.5:1 */
  --grey-4:      #8d8d8d;
  --grey-5:      #b0b0b0;
  --white:       #f0f0f0;
  --white-pure:  #ffffff;

  --red-primary:  #cc1111;
  --red-dark:     #991111;
  --red-light:    #e82020;
  --red-glow:     rgba(204, 17, 17, 0.3);
  --red-subtle:   rgba(204, 17, 17, 0.08);

  /* Küçük punto kırmızı YAZI için — koyu zeminde 4.5:1 sağlar.
     Dolgu/kenarlıklarda marka rengi (--red-primary) kullanılmaya devam eder. */
  --red-text:     #f4595a;

  /* Kırmızı zemin üstündeki yazı — her iki temada da beyaz kalmalı */
  --on-accent:    #ffffff;

  --hairline:    rgba(255, 255, 255, 0.07);
  --hairline-2:  rgba(255, 255, 255, 0.04);
  --border-dark: 1px solid var(--hairline);
  --border-red:  1px solid rgba(204, 17, 17, 0.4);

  --nav-bg:      rgba(8, 8, 8, 0.94);
  --overlay-bg:  rgba(8, 8, 8, 0.98);
  --glass:       rgba(255, 255, 255, 0.04);

  --logo-filter: brightness(0) invert(1);
  --map-filter:  grayscale(70%) invert(90%) hue-rotate(180deg);
  --grid-line:   rgba(204, 17, 17, 0.045);

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:     0 8px 40px rgba(0,0,0,0.8);
  --shadow-red:    0 0 20px rgba(204, 17, 17, 0.25);
  --shadow-red-lg: 0 0 40px rgba(204, 17, 17, 0.35);

  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --font-ui:      'Inter', sans-serif;

  --nav-height:   80px;
  --transition:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out-expo:   cubic-bezier(0.16, 1, 0.3, 1);
}

/* ═══════════════════════════════════════
   TEMA TOKENLARI — AÇIK
   ═══════════════════════════════════════ */
html[data-theme="light"] {
  color-scheme: light;

  --black:       #ffffff;
  --dark-1:      #f1f3f7;
  --dark-2:      #f8f9fb;
  --dark-3:      #ffffff;
  --dark-4:      #f4f6fa;
  --dark-5:      #edf0f5;
  --grey-1:      #dde2e9;
  --grey-2:      #c4cbd4;
  --grey-3:      #6b737d; /* WCAG AA: açık zeminde en az 4.5:1 */
  --grey-4:      #576069;
  --grey-5:      #333a43;
  --white:       #10151b;
  --white-pure:  #000000;

  --red-primary:  #c00d0d;
  --red-dark:     #8d0909;
  --red-light:    #e01414;
  --red-glow:     rgba(192, 13, 13, 0.2);
  --red-subtle:   rgba(192, 13, 13, 0.06);
  --red-text:     #b00c0c;

  --hairline:    rgba(12, 18, 28, 0.11);
  --hairline-2:  rgba(12, 18, 28, 0.06);
  --border-red:  1px solid rgba(192, 13, 13, 0.35);

  --nav-bg:      rgba(255, 255, 255, 0.92);
  --overlay-bg:  rgba(255, 255, 255, 0.98);
  --glass:       rgba(12, 18, 28, 0.03);

  --logo-filter: brightness(0);
  --map-filter:  grayscale(25%) contrast(1.05);
  --grid-line:   rgba(192, 13, 13, 0.055);

  --shadow-sm:     0 2px 8px rgba(16, 24, 40, 0.06);
  --shadow-md:     0 6px 24px rgba(16, 24, 40, 0.09);
  --shadow-lg:     0 14px 48px rgba(16, 24, 40, 0.14);
  --shadow-red:    0 6px 24px rgba(192, 13, 13, 0.18);
  --shadow-red-lg: 0 12px 44px rgba(192, 13, 13, 0.22);
}

/* Koyu kalması gereken bölümler (hero, footer) — token'ları yerel olarak sabitler */
.force-dark {
  color-scheme: dark;
  --black:      #080808;
  --dark-1:     #0d0d0d;
  --dark-2:     #111111;
  --dark-3:     #181818;
  --dark-4:     #1e1e1e;
  --dark-5:     #242424;
  --grey-1:     #2a2a2a;
  --grey-2:     #3a3a3a;
  --grey-3:     #838383;
  --grey-4:     #8d8d8d;
  --grey-5:     #b0b0b0;
  --white:      #f0f0f0;
  --white-pure: #ffffff;
  --hairline:   rgba(255, 255, 255, 0.07);
  --hairline-2: rgba(255, 255, 255, 0.04);
  --logo-filter: brightness(0) invert(1);
  --glass:      rgba(255, 255, 255, 0.04);
  --red-text:   #f4595a;
}

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color .4s ease, color .4s ease;
}

img, svg, video, iframe {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

button { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--red-primary);
  outline-offset: 3px;
}

/* Ekran okuyucu metni */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 4000;
  background: var(--red-primary);
  color: var(--on-accent);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: 12px 22px;
  transition: top .25s ease;
}
.skip-link:focus { top: 16px; }

/* === UTILITY === */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad    { padding: 100px 0; }
.section-pad-sm { padding: 60px 0; }

.text-red   { color: var(--red-primary); }
.text-grey  { color: var(--grey-4); }
.text-white { color: var(--white); }
.font-condensed { font-family: var(--font-heading); }

.grid-texture {
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* === BÖLÜM BAŞLIKLARI === */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red-primary);
  transform-origin: left;
  animation: labelLine .8s var(--ease-out-expo) both;
}

@keyframes labelLine {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--white);
  overflow-wrap: break-word;
}

.section-title span { color: var(--red-primary); }

.section-subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--grey-4);
  line-height: 1.7;
  max-width: 560px;
  margin-top: 16px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, var(--red-primary), transparent);
}

/* ═══════════════════════════════════════
   SCROLL İLERLEME ÇUBUĞU
   ═══════════════════════════════════════ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--red-dark), var(--red-primary), var(--red-light));
  z-index: 1200;
  pointer-events: none;
  will-change: transform;
}

/* ═══════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════ */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 24px;
  transition: opacity .6s ease, visibility .6s ease;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
}

.preloader-mark {
  font-family: var(--font-heading);
  font-size: clamp(38px, 9vw, 68px);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  text-indent: .22em;
}
.preloader-mark span { color: var(--red-primary); }

.preloader-bar {
  width: min(220px, 50vw);
  height: 2px;
  background: var(--hairline);
  overflow: hidden;
}

.preloader-bar::after {
  content: '';
  display: block;
  height: 100%;
  width: 40%;
  background: var(--red-primary);
  animation: preloadSlide 1.1s ease-in-out infinite;
}

@keyframes preloadSlide {
  0%   { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}

/* ═══════════════════════════════════════
   NAVIGASYON
   ═══════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color .35s ease, box-shadow .35s ease,
              border-color .35s ease, transform .45s var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--hairline);
  box-shadow: var(--shadow-md);
}

/* Sayfa en üstteyken navbar şeffaftır ve arkasında KOYU hero durur.
   Navbar <main> dışında olduğu için hero'nun .force-dark kapsamına girmez;
   açık temada koyu metin üretip koyu zemin üstünde okunmaz hâle geliyordu.
   Bu yüzden şeffaf navbar her zaman koyu-zemin paletini kullanır. */
/* SADECE arkasında koyu hero olan sayfalarda (ana sayfa). İç sayfaların
   .page-hero zemini açık temada AÇIK olduğu için orada bu palet uygulanırsa
   beyaz yazı açık zeminde kaybolur — bu yüzden .navbar-over-dark ile sınırlı. */
html[data-theme="light"] .navbar.navbar-over-dark:not(.scrolled) {
  --white:      #f0f0f0;
  --grey-1:     #2a2a2a;
  --grey-2:     #3a3a3a;
  --grey-3:     #838383;
  --grey-4:     #a5a5a5;
  --grey-5:     #d0d0d0;
  --red-text:   #f4595a;
  --hairline:   rgba(255, 255, 255, 0.14);
  --glass:      rgba(255, 255, 255, 0.08);
}

/* Şeffaf navbarda logo zaten koyu hero üzerinde; plaket gereksiz.
   Kaydırınca navbar beyazlayınca plaket devreye girer. */
html[data-theme="light"] .navbar.navbar-over-dark:not(.scrolled) .nav-logo img {
  background: transparent;
  box-shadow: none;
}

/* Aşağı kaydırırken gizlen, yukarı kaydırırken göster */
.navbar.nav-hidden { transform: translateY(-100%); }

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  min-width: 0;
}

.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: transform .4s var(--ease-out-expo);
}

.nav-logo:hover img { transform: scale(1.06) rotate(-2deg); }

/* Logodaki "EKSEN GÜVENLİK" yazısı beyaz ve zemin şeffaf; açık temada beyaz
   navbar üzerinde kayboluyor. Bu yüzden açık temada logoyu koyu bir plakete
   oturtuyoruz. box-shadow yayılımı kullanılıyor — düzeni etkilemediği için
   tüm kırılım noktalarında logo boyutu aynı kalır. */
html[data-theme="light"] .nav-logo img {
  background: #0d0d0d;
  box-shadow: 0 0 0 7px #0d0d0d;
  border-radius: 2px;
}

html[data-theme="light"] .nav-logo {
  /* Plaketin komşu metne değmemesi için biraz daha boşluk */
  gap: 21px;
  margin-left: 3px;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-logo-text .brand {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  white-space: nowrap;
}

.nav-logo-text .sub {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-4);
  line-height: 1;
  margin-top: 3px;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-4);
  padding: 8px 15px;
  transition: color .3s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 15px;
  right: 15px;
  height: 1.5px;
  background: var(--red-primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active { color: var(--white); }

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--on-accent);
  padding: 10px 22px;
  background: var(--red-primary);
  border: 1px solid var(--red-primary);
  transition: var(--transition);
  margin-left: 10px;
  white-space: nowrap;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.nav-cta:hover {
  background: var(--red-light);
  box-shadow: var(--shadow-red);
}

/* ═══════════════════════════════════════
   TEMA ANAHTARI (switch)
   ═══════════════════════════════════════ */
.theme-switch {
  --ts-w: 58px;
  --ts-h: 30px;
  --ts-pad: 3px;
  --ts-knob: calc(var(--ts-h) - (var(--ts-pad) * 2) - 2px);

  position: relative;
  flex-shrink: 0;
  width: var(--ts-w);
  height: var(--ts-h);
  margin-left: 10px;
  padding: 0;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: var(--glass);
  cursor: pointer;
  transition: border-color .3s ease, background-color .3s ease;
  -webkit-tap-highlight-color: transparent;
}

.theme-switch:hover { border-color: var(--red-primary); }

/* Görsel boyutu bozmadan dokunma hedefini ~44px'e çıkar */
.theme-switch::after {
  content: '';
  position: absolute;
  inset: -9px -6px;
}

.ts-track {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  pointer-events: none;
}

.ts-ico {
  width: 13px;
  height: 13px;
  color: var(--grey-3);
  transition: opacity .3s ease, color .3s ease;
}

/* Aktif olmayan taraftaki ikon vurgulanır (knob diğerini zaten örtüyor) */
.ts-ico-moon { opacity: .35; }
.ts-ico-sun  { opacity: 1; }

html[data-theme="light"] .ts-ico-moon { opacity: 1; }
html[data-theme="light"] .ts-ico-sun  { opacity: .35; }

.ts-knob {
  position: absolute;
  top: var(--ts-pad);
  left: var(--ts-pad);
  width: var(--ts-knob);
  height: var(--ts-knob);
  border-radius: 50%;
  background: var(--red-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  display: grid;
  place-items: center;
  color: var(--on-accent);
  pointer-events: none;
  transition: transform .42s var(--ease-out-expo), background-color .3s ease;
}

html[data-theme="light"] .ts-knob {
  transform: translateX(calc(var(--ts-w) - var(--ts-h)));
}

.ts-knob svg {
  position: absolute;
  width: 13px;
  height: 13px;
  transition: opacity .28s ease, transform .42s var(--ease-out-expo);
}

.ts-knob .ts-knob-moon { opacity: 1; transform: rotate(0) scale(1); }
.ts-knob .ts-knob-sun  { opacity: 0; transform: rotate(-90deg) scale(.6); }

html[data-theme="light"] .ts-knob .ts-knob-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
html[data-theme="light"] .ts-knob .ts-knob-sun  { opacity: 1; transform: rotate(0) scale(1); }

.theme-switch:focus-visible {
  outline: 2px solid var(--red-primary);
  outline-offset: 3px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1002;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === MOBİL MENÜ === */
.mobile-menu {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  background: var(--overlay-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 40px 24px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  /* Kapanışta önce solsun, sonra gizlensin */
  transition: opacity .3s ease, visibility 0s linear .3s;
}

/* Açık durum doğrudan CSS'te tanımlı; animasyon yalnızca yumuşak giriş.
   Geçiş/animasyon çalışmasa bile menü görünür olur (kilitli ekranda kalma riski yok). */
.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transition: opacity .3s ease, visibility 0s linear 0s;
  animation: menuIn .3s ease backwards;
}

@keyframes menuIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.mobile-menu .nav-link {
  font-size: 20px;
  letter-spacing: 0.15em;
  padding: 15px 32px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  border: 1px solid var(--grey-1);
  color: var(--white);
  display: block;
}

/* Duruş hâli CSS'te tanımlı; animasyon yalnızca giriş efekti (backwards fill).
   Böylece animasyon çalışmasa bile bağlantılar görünür kalır. */
.mobile-menu.active .nav-link {
  animation: mobileItemIn .5s var(--ease-out-expo) backwards;
}

.mobile-menu.active .nav-link:nth-child(1) { animation-delay: .06s; }
.mobile-menu.active .nav-link:nth-child(2) { animation-delay: .12s; }
.mobile-menu.active .nav-link:nth-child(3) { animation-delay: .18s; }
.mobile-menu.active .nav-link:nth-child(4) { animation-delay: .24s; }
.mobile-menu.active .nav-link:nth-child(5) { animation-delay: .30s; }

@keyframes mobileItemIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu .nav-link::after { display: none; }

.mobile-menu .nav-link:hover,
.mobile-menu .nav-link.active {
  border-color: var(--red-primary);
  background: var(--red-subtle);
  color: var(--red-text);
}

/* === İÇ SAYFA HERO === */
.page-hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: var(--dark-1);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, var(--red-subtle) 0%, transparent 70%),
    linear-gradient(135deg, var(--red-subtle) 0%, transparent 50%);
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 0%, transparent 75%);
  pointer-events: none;
}

.page-hero > .container { position: relative; z-index: 1; }

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 20px;
}

.page-hero-label::before {
  content: '';
  display: inline-block;
  width: 40px;
  height: 2px;
  background: var(--red-primary);
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 7vw, 90px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  overflow-wrap: break-word;
}

.page-hero h1 span { color: var(--red-primary); }

.page-hero-sub {
  font-size: 17px;
  color: var(--grey-4);
  margin-top: 20px;
  max-width: 600px;
}

.page-hero-line {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--red-primary), transparent);
  margin-top: 32px;
}

/* === BUTONLAR === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 30px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  text-align: center;
  max-width: 100%;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--bx, 50%) var(--by, 50%), rgba(255,255,255,.28), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--red-primary);
  color: var(--on-accent);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-primary:hover {
  background: var(--red-light);
  box-shadow: var(--shadow-red-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--grey-2);
  clip-path: polygon(10px 0%, 100% 0%, calc(100% - 10px) 100%, 0% 100%);
}

.btn-outline:hover {
  border-color: var(--red-primary);
  color: var(--red-text);
  transform: translateY(-2px);
}

.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* === İSTATİSTİK === */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  padding: 32px 24px;
  background: var(--dark-3);
  border: var(--border-dark);
  border-top: 2px solid var(--red-primary);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.stat-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--red-primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover {
  background: var(--dark-4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.stat-card:hover::before { opacity: 1; }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 900;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.stat-number span { color: var(--red-primary); }

.stat-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-top: 8px;
}

/* === HİZMET KARTLARI === */
.service-card {
  background: var(--dark-3);
  border: var(--border-dark);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 0;
  background: var(--red-primary);
  transition: height .6s var(--ease-out-expo);
  z-index: 2;
}

/* İmleç takipli ışık */
.service-card::after,
.value-card::after,
.founder-card::after,
.mv-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--red-subtle), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}

.service-card:hover::after,
.value-card:hover::after,
.founder-card:hover::after,
.mv-card:hover::after { opacity: 1; }

.service-card:hover {
  background: var(--dark-4);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.service-card:hover::before { height: 100%; }

.service-card > * { position: relative; z-index: 1; }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--red-subtle);
  border: 1px solid rgba(204, 17, 17, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--red-primary);
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
  transform: rotate(-6deg) scale(1.05);
}

.service-icon svg {
  width: 26px;
  height: 26px;
  color: var(--red-primary);
  transition: var(--transition);
}

.service-card:hover .service-icon svg { color: var(--on-accent); }

.service-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.service-desc {
  font-size: 15px;
  color: var(--grey-4);
  line-height: 1.75;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red-text);
  transition: gap .3s ease;
}

.card-link:hover { gap: 14px; }
.card-link svg { width: 14px; height: 14px; }

/* ═══════════════════════════════════════
   KURUCU KARTLARI — fotoğrafsız, kompakt
   ═══════════════════════════════════════ */
.founder-card {
  position: relative;
  overflow: hidden;
  background: var(--dark-3);
  border: var(--border-dark);
  border-top: 2px solid var(--red-primary);
  padding: 34px 32px;
  transition: transform .45s var(--ease-out-expo), box-shadow .45s ease, border-color .3s ease, background-color .3s ease;
  display: flex;
  flex-direction: column;
}

.founder-card > * { position: relative; z-index: 1; }

.founder-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle at top right, var(--red-subtle), transparent 70%);
  pointer-events: none;
}

.founder-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-red-lg);
  border-color: rgba(204, 17, 17, 0.25);
  background: var(--dark-4);
}

.founder-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Monogram — fotoğraf yerine baş harfler */
.founder-monogram {
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .06em;
  color: var(--red-primary);
  background: var(--red-subtle);
  border: 1px solid rgba(204, 17, 17, 0.28);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  transition: var(--transition);
  position: relative;
}

.founder-monogram::after {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(204, 17, 17, 0.18);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  transition: var(--transition);
}

.founder-card:hover .founder-monogram {
  background: var(--red-primary);
  color: var(--on-accent);
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red);
}

.founder-card:hover .founder-monogram::after { border-color: rgba(255,255,255,.35); }

.founder-name {
  font-family: var(--font-heading);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}

.founder-title {
  font-family: var(--font-heading);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-top: 6px;
  line-height: 1.4;
}

.founder-rule {
  height: 1px;
  background: linear-gradient(90deg, var(--red-primary), var(--hairline) 45%, transparent);
  margin: 22px 0 18px;
}

.founder-bio {
  font-size: 14.5px;
  color: var(--grey-4);
  line-height: 1.75;
  flex: 1;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.founder-tag {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--grey-4);
  border: 1px solid var(--hairline);
  background: var(--glass);
  padding: 5px 11px;
  transition: var(--transition);
}

.founder-card:hover .founder-tag {
  border-color: rgba(204, 17, 17, 0.25);
  color: var(--grey-5);
}

.founder-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: var(--border-dark);
}

.founder-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--grey-4);
  border: 1px solid var(--hairline);
  padding: 8px 13px;
  transition: var(--transition);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.founder-contact a:hover {
  color: var(--red-text);
  border-color: rgba(204, 17, 17, 0.35);
  background: var(--red-subtle);
  transform: translateY(-2px);
}

.founder-contact svg { width: 14px; height: 14px; flex-shrink: 0; }

/* === LOGO IZGARASI === */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1px;
  background: var(--hairline-2);
  border: var(--border-dark);
}

.logo-item {
  background: var(--dark-3);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition);
  min-height: 140px;
  overflow: hidden;
  text-align: center;
}

.logo-item:hover {
  background: var(--dark-4);
  box-shadow: inset 0 0 0 1px var(--red-primary);
}

.logo-item img {
  max-width: 100%;
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: var(--logo-filter);
  opacity: .5;
  transition: opacity .3s ease, transform .4s var(--ease-out-expo);
}

.logo-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}

.logo-item-name {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--grey-4);
  line-height: 1.35;
}

/* === SERTİFİKA === */
.cert-card {
  background: var(--dark-3);
  border: var(--border-dark);
  border-top: 3px solid var(--red-primary);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
}

.cert-badge {
  width: 72px;
  height: 72px;
  background: var(--red-subtle);
  border: 1px solid rgba(204, 17, 17, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.cert-badge svg { width: 34px; height: 34px; color: var(--red-primary); }

.cert-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}

.cert-detail { font-size: 13px; color: var(--grey-4); margin-top: 8px; }

/* === İLETİŞİM === */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 28px 0;
  border-bottom: var(--border-dark);
}

.contact-info-item:last-child { border-bottom: none; }

.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--red-subtle);
  border: 1px solid rgba(204, 17, 17, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-item:hover .contact-icon {
  background: var(--red-primary);
  border-color: var(--red-primary);
}

.contact-info-item:hover .contact-icon svg { color: var(--on-accent); }

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--red-primary);
  transition: var(--transition);
}

.contact-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 6px;
}

.contact-value { font-size: 16px; color: var(--white); font-weight: 500; overflow-wrap: anywhere; }
.contact-value-sub { font-size: 13px; color: var(--grey-4); margin-top: 2px; }

/* === FORM === */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-4);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: var(--dark-4);
  border: 1px solid var(--grey-1);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  outline: none;
  transition: var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

select.form-control {
  background-image: linear-gradient(45deg, transparent 50%, var(--grey-3) 50%),
                    linear-gradient(135deg, var(--grey-3) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.form-control:focus {
  border-color: var(--red-primary);
  background-color: var(--dark-5);
  box-shadow: 0 0 0 3px var(--red-subtle);
}

.form-control::placeholder { color: var(--grey-3); }

textarea.form-control { resize: vertical; min-height: 140px; }

/* === FOOTER === */
.footer {
  background: var(--dark-1);
  border-top: 1px solid var(--hairline);
  padding: 60px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline);
}

.footer-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  color: var(--grey-4);
  line-height: 1.8;
  max-width: 320px;
}

.footer-social { display: flex; gap: 10px; margin-top: 24px; }

.social-btn {
  width: 40px;
  height: 40px;
  background: var(--glass);
  border: var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--grey-4);
}

.social-btn:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--on-accent);
  transform: translateY(-3px);
  box-shadow: var(--shadow-red);
}

.social-btn svg { width: 18px; height: 18px; }

.footer-heading {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--red-primary);
  display: inline-block;
}

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a {
  font-size: 14px;
  color: var(--grey-4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  overflow-wrap: anywhere;
}

.footer-links a::before {
  content: '›';
  color: var(--red-primary);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.footer-links a:hover { color: var(--white); padding-left: 4px; }

.footer-address {
  font-size: 13px;
  color: var(--grey-4);
  line-height: 1.7;
  font-style: normal;
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 13px; color: var(--grey-3); }

.footer-legal {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
}

.footer-legal a { color: var(--grey-3); transition: var(--transition); }
.footer-legal a:hover { color: var(--red-text); }

.footer-powered {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--grey-3);
  font-family: var(--font-ui);
}

.footer-powered a {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: .7;
  transition: opacity .25s ease;
}

.footer-powered a:hover { opacity: 1; }

.footer-powered img {
  height: 22px;
  width: auto;
  object-fit: contain;
  filter: var(--logo-filter);
}

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.breadcrumb a,
.breadcrumb span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-4);
}

.breadcrumb a:hover { color: var(--red-text); }
.breadcrumb .sep { color: var(--red-text); }
.breadcrumb .current { color: var(--white); }

/* ═══════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out-expo), transform .8s var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.visible { opacity: 1; transform: none; }

.reveal-left  { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-scale { transform: scale(.94); }

.reveal-clip {
  opacity: 1;
  transform: none;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 1s var(--ease-out-expo);
}
.reveal-clip.visible { clip-path: inset(0 0 0 0); }

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }

/* === TAKTİK KÖŞE === */
.tactical-box { position: relative; }

.tactical-box::before,
.tactical-box::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--red-primary);
  border-style: solid;
}

.tactical-box::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.tactical-box::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

/* === HARİTA === */
.map-container {
  width: 100%;
  height: 360px;
  background: var(--dark-3);
  border: var(--border-dark);
  overflow: hidden;
  position: relative;
}

.map-container iframe,
.map-frame {
  width: 100%;
  height: 100%;
  border: none;
  filter: var(--map-filter);
}

/* === AKORDİYON === */
.accordion-item {
  border: var(--border-dark);
  background: var(--dark-3);
  margin-bottom: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.open { border-color: rgba(204, 17, 17, 0.28); }

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  user-select: none;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  transition: var(--transition);
}

.accordion-header:hover { color: var(--red-text); }

.accordion-header .acc-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--red-primary);
  transition: transform 0.4s var(--ease-out-expo);
}

.accordion-item.open .acc-icon { transform: rotate(135deg); }

.accordion-body {
  padding: 0 24px;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease-out-expo), padding .3s ease;
}

.accordion-body > div { overflow: hidden; }

.accordion-item.open .accordion-body {
  grid-template-rows: 1fr;
  padding: 0 24px 24px;
}

.accordion-body p { font-size: 15px; color: var(--grey-4); line-height: 1.75; }

/* === ZAMAN ÇİZELGESİ === */
.timeline { position: relative; padding-left: 32px; }

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--red-primary), transparent);
}

.timeline-item { position: relative; margin-bottom: 40px; }

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px; top: 6px;
  width: 12px; height: 12px;
  background: var(--red-primary);
  border: 2px solid var(--black);
  box-shadow: 0 0 0 2px var(--red-primary);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-text);
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}

.timeline-desc { font-size: 14px; color: var(--grey-4); line-height: 1.7; }

/* === UYARI BANDI === */
.alert-banner {
  background: linear-gradient(90deg, var(--red-dark), var(--red-primary));
  padding: 12px 0;
  text-align: center;
}

.alert-banner p {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-accent);
}

/* === SERTİFİKA LIGHTBOX === */
.cert-preview {
  cursor: zoom-in;
  transition: var(--transition);
  border: 2px solid transparent;
}

.cert-preview:hover {
  border-color: var(--red-primary);
  box-shadow: var(--shadow-red-lg);
}

/* Duruş hâli GÖRÜNÜR. Animasyon yalnızca giriş efekti (backwards fill);
   animasyon/geçiş çalışmasa bile lightbox açılır. */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  cursor: zoom-out;
  padding: 24px;
  opacity: 1;
  animation: lightboxIn .28s ease backwards;
}

@keyframes lightboxIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox.closing {
  opacity: 0;
  animation: none;
  transition: opacity .25s ease;
}

.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 2px solid var(--red-primary);
  box-shadow: 0 0 60px rgba(204,17,17,.35);
  animation: lightboxImgIn .4s var(--ease-out-expo) backwards;
}

@keyframes lightboxImgIn {
  from { transform: scale(.94); }
  to   { transform: scale(1); }
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--red-primary);
  border: none;
  color: var(--on-accent);
  cursor: pointer;
  z-index: 1;
}

.lightbox-close svg { width: 20px; height: 20px; }

/* === WHATSAPP === */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: var(--transition);
  animation: pulse-green 2.4s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg { width: 28px; height: 28px; color: #fff; }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50%      { box-shadow: 0 4px 32px rgba(37, 211, 102, 0.7); }
}

/* === YUKARI ÇIK === */
.to-top {
  position: fixed;
  bottom: 92px;
  right: 28px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--dark-3);
  border: 1px solid var(--hairline);
  color: var(--grey-4);
  cursor: pointer;
  z-index: 989;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}

.to-top.show { opacity: 1; visibility: visible; transform: none; }

.to-top:hover {
  color: var(--red-text);
  border-color: var(--red-primary);
  transform: translateY(-3px);
}

.to-top svg { width: 18px; height: 18px; }

/* ═══════════════════════════════════════
   ÇEREZ BANNER (KVKK)
   ═══════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 720px;
  margin: 0 auto;
  z-index: 2000;
  background: var(--dark-3);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--red-primary);
  box-shadow: var(--shadow-lg);
  padding: 24px 26px;
  display: none;
  gap: 22px;
  align-items: center;
  transform: translateY(140%);
  transition: transform .6s var(--ease-out-expo);
}

.cookie-banner.mounted { display: flex; }
.cookie-banner.show    { transform: translateY(0); }

.cookie-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--red-subtle);
  border: 1px solid rgba(204, 17, 17, 0.25);
  color: var(--red-text);
}

.cookie-icon svg { width: 22px; height: 22px; }

.cookie-body { flex: 1; min-width: 0; }

.cookie-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 6px;
}

.cookie-text {
  font-size: 13.5px;
  color: var(--grey-4);
  line-height: 1.65;
}

.cookie-text a {
  color: var(--red-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 12px 22px;
  cursor: pointer;
  border: 1px solid var(--grey-2);
  background: transparent;
  color: var(--white);
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-btn:hover { border-color: var(--red-primary); color: var(--red-text); }

.cookie-btn.accept {
  background: var(--red-primary);
  border-color: var(--red-primary);
  color: var(--on-accent);
}

.cookie-btn.accept:hover {
  background: var(--red-light);
  border-color: var(--red-light);
  color: var(--on-accent);
  box-shadow: var(--shadow-red);
}

/* === KAYDIRMA ÇUBUĞU === */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--dark-2); }
::-webkit-scrollbar-thumb { background: var(--red-primary); }
::-webkit-scrollbar-thumb:hover { background: var(--red-light); }

::selection { background: var(--red-primary); color: var(--on-accent); }

/* === SAYFA GİRİŞİ ===
   DİKKAT: <body> üzerinde ASLA transform/filter/perspective animasyonu kullanma.
   `forwards` dolgusu transform'u "matrix(...)" olarak bırakır ve transform'lu bir
   body, position:fixed olan TÜM alt elemanlar için içeren blok hâline gelir —
   navbar, WhatsApp butonu, yukarı çık, çerez bandı ve lightbox bozulur.
   Bu yüzden burada yalnızca opacity animasyonu var. */
.page-transition { animation: pageIn .45s ease both; }

@keyframes pageIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
   DUYARLI KIRILIM NOKTALARI
   ═══════════════════════════════════════ */

@media (max-width: 1200px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
}

/* Tablet */
@media (max-width: 1024px) {
  .nav-menu, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-logo img { height: 50px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-top > div:last-child { grid-column: auto; }

  .section-title { font-size: clamp(28px, 5vw, 48px); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  .cookie-banner { flex-wrap: wrap; }
  .cookie-actions { width: 100%; }
  .cookie-actions .cookie-btn { flex: 1; }
}

/* Mobil */
@media (max-width: 768px) {
  :root { --nav-height: 72px; }

  .section-pad { padding: 70px 0; }
  .container { padding: 0 20px; }

  .nav-logo img { height: 44px; }
  .nav-logo { gap: 10px; }
  .nav-logo-text .brand { font-size: 15px; }
  .nav-logo-text .sub { font-size: 8.5px; letter-spacing: 0.1em; }

  .mobile-menu { padding: 88px 20px 32px; gap: 6px; justify-content: flex-start; }
  .mobile-menu .nav-link { font-size: 17px; padding: 14px 20px; }

  .page-hero { padding-top: calc(var(--nav-height) + 44px); padding-bottom: 52px; }
  .page-hero h1 { font-size: clamp(34px, 11vw, 60px); }
  .page-hero-sub { font-size: 15.5px; }

  .section-label { font-size: 10px; }
  .section-subtitle { font-size: 15.5px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-desc { max-width: none; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 14px; }
  .footer-powered { justify-content: center; }
  .footer-legal { justify-content: center; }

  .btn { padding: 13px 22px; font-size: 11.5px; }

  .founder-card { padding: 28px 22px; }
  .founder-name { font-size: 20px; }
  .founder-monogram { width: 54px; height: 54px; font-size: 19px; }
  .founder-contact a { font-size: 12.5px; padding: 8px 11px; }

  .contact-info-item { gap: 16px; padding: 22px 0; }

  .whatsapp-float { width: 48px; height: 48px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 24px; height: 24px; }
  .to-top { width: 40px; height: 40px; bottom: 76px; right: 18px; }

  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 20px; gap: 16px; }
  .cookie-icon { display: none; }
  .cookie-actions { flex-direction: column; }

  .accordion-header { font-size: 14.5px; padding: 17px 18px; }
  .accordion-body, .accordion-item.open .accordion-body { padding-left: 18px; padding-right: 18px; }

  /* Dokunma hedefleri en az ~40px yükseklik */
  .footer-links a,
  .footer-legal a,
  .card-link,
  .breadcrumb a,
  .person-info-links a,
  .contact-value[href],
  .err-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  .footer-links { gap: 2px; }
  .footer-legal { gap: 6px 18px; }

  .timeline { padding-left: 26px; }
  .timeline-item::before { left: -32px; }
}

/* Küçük mobil */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .nav-logo img { height: 40px; }
  .nav-logo-text .brand { font-size: 14px; }
  .nav-logo-text .sub { font-size: 8px; }
  .theme-switch { --ts-w: 52px; --ts-h: 27px; margin-left: 6px; }

  .stat-grid { grid-template-columns: 1fr; }
  .stat-number { font-size: 40px; }

  .logo-grid { grid-template-columns: repeat(2, 1fr); }

  .mobile-menu .nav-link { font-size: 16px; padding: 13px 16px; }

  .btn { width: 100%; }
  .btn.btn-inline { width: auto; }

  .founder-head { gap: 14px; }
  .founder-contact { flex-direction: column; align-items: stretch; }
  .founder-contact a { justify-content: flex-start; }
}

/* ═══════════════════════════════════════
   ERİŞİLEBİLİRLİK — hareket azaltma
   ═══════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal { opacity: 1 !important; transform: none !important; }
  .reveal-clip { clip-path: none !important; }
  .preloader { display: none !important; }
}

/* === YAZDIRMA === */
@media print {
  .navbar, .mobile-menu, .whatsapp-float, .to-top,
  .cookie-banner, .scroll-progress, .preloader, .hamburger { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
