@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@700&family=Montserrat:wght@500;600;700;800&display=swap');

:root {
  --bg: #0a0e16;
  --bg-elevated: #10161f;
  --surface: #141b27;
  --surface-hover: #1a2230;
  --border: #232c3d;
  --border-strong: #2e3a4f;

  --cyan: #1ec8e0;
  --cyan-deep: #0e9bb0;
  --orange: #ff8a1e;
  --orange-deep: #e56a00;

  --text: #eef2f7;
  --text-muted: #8b97ac;
  --text-faint: #5b6579;

  --glow-1: rgba(30, 200, 224, 0.14);
  --glow-2: rgba(255, 138, 30, 0.10);
  --grid-line: rgba(255, 255, 255, 0.025);
  --map-filter: grayscale(0.6) invert(0.92) contrast(0.9);
  --header-bg: rgba(10, 14, 22, 0.72);
  --cert-filter: grayscale(1) brightness(1.8);

  --radius: 14px;
  --radius-lg: 22px;
  --max-width: 1180px;

  --font-display: 'Montserrat', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  --font-logo: 'Chakra Petch', Arial, sans-serif;
  --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
}

/* Geniş ekranlarda (27" gibi) içerik sabit 1180px'de kalınca kenarlarda
   dev boşluklar oluşup site "dar" görünüyordu — büyük ekranlarda kademeli
   olarak genişletiyoruz, dizüstü/13" ölçülerine dokunmadan. */
@media (min-width: 1440px) { :root { --max-width: 1320px; } }
@media (min-width: 1800px) { :root { --max-width: 1480px; } }
@media (min-width: 2200px) { :root { --max-width: 1600px; } }

/* Açık mod — kullanıcı sağ üstteki düğmeyle seçtiğinde <html> öğesine
   data-theme="light" eklenir (main.js), tercih localStorage'da saklanır. */
:root[data-theme="light"] {
  --bg: #f4f6f9;
  --bg-elevated: #ffffff;
  --surface: #ffffff;
  --surface-hover: #eef1f6;
  --border: #e1e6ed;
  --border-strong: #c9d1dc;

  --cyan: #0d93a8;
  --cyan-deep: #0a7688;
  --orange: #d9640a;
  --orange-deep: #b04f00;

  --text: #10151d;
  --text-muted: #556174;
  --text-faint: #8590a3;

  --glow-1: rgba(13, 147, 168, 0.10);
  --glow-2: rgba(217, 100, 10, 0.08);
  --grid-line: rgba(16, 21, 29, 0.035);
  --map-filter: none;
  --header-bg: rgba(244, 246, 249, 0.78);
  --cert-filter: grayscale(1) brightness(1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Background texture ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 900px 600px at 15% -10%, var(--glow-1), transparent 60%),
    radial-gradient(ellipse 700px 500px at 105% 20%, var(--glow-2), transparent 60%),
    var(--bg);
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  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 80% 55% at 50% 0%, #000 20%, transparent 75%);
}

/* ---------- Header / Nav ---------- */
.top-bar {
  position: relative;
  background:
    linear-gradient(90deg, var(--glow-1), transparent 45%, transparent 55%, var(--glow-2)),
    var(--surface);
  overflow: hidden;
}
.top-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  opacity: 0.55;
}
.top-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 24px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.top-bar-social {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
}
.orbit--topbar {
  position: static;
  width: 34px;
  height: 34px;
  opacity: 0.7;
  flex-shrink: 0;
}
@media (max-width: 560px) {
  .top-bar-row { flex-wrap: wrap; row-gap: 6px; }
  .orbit--topbar { display: none; }
}
.top-bar .lang-switch { padding: 2px; }
.top-bar .lang-switch a svg { width: 18px; height: 12.6px; }
.top-bar .theme-toggle { width: 30px; height: 30px; border-radius: 8px; }
.top-bar .theme-toggle svg { width: 15px; height: 15px; }
.top-bar-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
}
.top-bar-social a svg { width: 18px; height: 18px; }
/* İnce/çizgisel çizilen Instagram glifi, dolu-blok Facebook/LinkedIn
   simgelerinin yanında görsel olarak daha hafif/küçük kalıyor — aynı
   kutu boyutuna rağmen. Sadece bunu biraz büyütüyoruz ki göz hizası
   eşitlensin. */
.top-bar-social a.social-instagram svg { width: 21px; height: 21px; }
.top-bar-social a:hover {
  color: var(--cyan);
  transform: translateY(-1px);
}
.top-bar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.01em;
  color: #05171b;
  white-space: nowrap;
  padding: 6px 14px 6px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  box-shadow: 0 4px 14px rgba(30, 200, 224, 0.32);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: ctaPulse 2.6s ease-in-out infinite;
}
.top-bar-cta svg { transition: transform 0.2s; }
.top-bar-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(30, 200, 224, 0.42);
  animation-play-state: paused;
}
.top-bar-cta:hover svg { transform: translateX(2px); }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(30, 200, 224, 0.32), 0 0 0 0 rgba(30, 200, 224, 0.45); }
  50% { box-shadow: 0 4px 14px rgba(30, 200, 224, 0.32), 0 0 0 5px rgba(30, 200, 224, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .top-bar-cta { animation: none; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30,200,224,0.55) 30%, rgba(255,138,30,0.55) 70%, transparent);
}
.nav-row {
  display: flex;
  align-items: center;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 52px; width: auto; }
.brand span {
  font-family: var(--font-logo);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  padding: 9px 13px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  position: relative;
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.nav-links > a:hover { color: var(--text); }
.nav-links > a:hover::after { opacity: 0.7; transform: scaleX(0.7); }
.nav-links > a.active { color: var(--text); font-weight: 600; }
.nav-links > a.active::after { opacity: 1; transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .nav-links a::after { transition: none; }
}

.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 13px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  white-space: nowrap;
  background: none;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.nav-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.nav-dropdown-trigger:hover { color: var(--text); }
.nav-dropdown-trigger:hover::after { opacity: 0.7; transform: scaleX(0.7); }
.nav-dropdown-trigger.active { color: var(--text); font-weight: 600; }
.nav-dropdown-trigger.active::after { opacity: 1; transform: scaleX(1); }
.nav-dropdown-trigger .chevron { transition: transform 0.2s; }
.nav-dropdown.open .nav-dropdown-trigger .chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
  display: none;
  z-index: 200;
  opacity: 0;
  transform: translateY(-6px);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; animation: navDropdownIn 0.2s ease forwards; }
@keyframes navDropdownIn {
  to { opacity: 1; transform: translateY(0); }
}
.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.nav-dropdown-menu a::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s, transform 0.2s;
}
.nav-dropdown-menu a:hover { background: var(--surface-hover); color: var(--text); }
.nav-dropdown-menu a:hover::before, .nav-dropdown-menu a.active::before { opacity: 1; transform: scale(1); }
.nav-dropdown-menu a.active { color: var(--cyan); }
@media (prefers-reduced-motion: reduce) {
  .nav-dropdown-trigger::after, .nav-dropdown-menu a::before { transition: none; }
  .nav-dropdown.open .nav-dropdown-menu { animation: none; opacity: 1; transform: none; }
}

.nav-controls { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.lang-switch {
  display: flex;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 3px;
  gap: 4px;
}
.lang-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 5px;
  opacity: 0.55;
  transition: opacity 0.2s, box-shadow 0.2s;
}
.lang-switch a svg { width: 20px; height: 14px; border-radius: 2.5px; display: block; }
.lang-switch a:hover { opacity: 0.85; }
.lang-switch a.active { opacity: 1; box-shadow: 0 0 0 2px var(--cyan); }

.theme-toggle {
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); }
.theme-toggle .ic-moon { display: none; }
:root[data-theme="light"] .theme-toggle .ic-moon { display: block; }
:root[data-theme="light"] .theme-toggle .ic-sun { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  color: var(--text);
  font-size: 1.3rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px;
    gap: 2px;
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  /* Açılır menüler mobilde panel içinde satır olarak genişler, kayan
     kutu olarak üste binmez. */
  .nav-dropdown-trigger { width: 100%; justify-content: center; }
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--surface);
    margin: 2px 0;
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-deep));
  color: #05171b;
  box-shadow: 0 8px 24px rgba(30, 200, 224, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(30, 200, 224, 0.38); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Hero ---------- */
/* Tam genişlik fotoğraf arka planı, üzerine koyu bir "scrim" (alttan üste
   koyulaşan gradyan) ve onun üstünde yazı — birçok gerçek kurumsal sitede
   (ör. rakip firma referansı) kullanılan, kanıtlanmış klasik desen. Önceki
   iki deneme (tam-ekran+maske, sonra iki sütuna bölme) hem karmaşıktı hem
   istenen sonucu vermedi — bu yüzden en yaygın/basit hâline dönüldü. */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  padding: 64px 0 64px;
}
.hero.hero--no-photo { display: block; min-height: 0; padding: 96px 0 80px; }
/* Dar ekranlarda sabit 560px yükseklik neredeyse dikey bir kutu oluşturup
   yatay çekilmiş fotoğrafları object-fit:cover ile aşırı kırpıp "yakınlaşmış/
   büyütülmüş" gösteriyordu — telefon/tablet genişliğinde kutuyu kısaltarak
   kırpmayı azaltıyoruz, fotoğraf daha doğal görünür. */
@media (max-width: 900px) {
  .hero { min-height: 420px; padding: 48px 0 48px; }
}
@media (max-width: 600px) {
  .hero { min-height: 360px; padding: 40px 0 40px; }
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-bg img.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { transition: none; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Yazının bulunduğu tüm alanda (alttan yukarı ~%65'e kadar) koyuluk
     GÜÇLÜ ve neredeyse sabit kalır — hangi fotoğraf yüklenirse yüklensin
     (çok parlak/beyaz bir fotoğraf dahi) yazı okunabilirliği garanti
     olsun diye. Sadece en üstte (halka grafiğinin olduğu bölge) belirgin
     şekilde açılır ki tamamen düz bir kutu gibi görünmesin. */
  background: linear-gradient(0deg, rgba(6, 9, 15, 0.93) 0%, rgba(6, 9, 15, 0.88) 45%, rgba(6, 9, 15, 0.65) 65%, rgba(6, 9, 15, 0.25) 85%, rgba(6, 9, 15, 0.08) 100%);
}
/* Fotoğraf tam kenardan kenara gidiyor ama normal .container geniş
   ekranlarda ortalanıp kenarlardan içeri çekiliyor — bu yüzden yazı,
   fotoğrafa göre "ortalanmış" gibi görünüyordu. Hero'da yazı kutusu,
   ekran genişliğinden bağımsız olarak gerçek sol kenara yakın kalsın
   diye .container'ın ortalama/max-width davranışı burada iptal edilir. */
.hero > .container {
  position: relative;
  z-index: 2;
  max-width: none;
  margin: 0;
  padding-left: max(24px, 4vw);
  padding-right: 24px;
}
.hero-content { max-width: 760px; }
.hero:not(.hero--no-photo) h1 {
  color: #fff;
}
.hero:not(.hero--no-photo) .lead { color: rgba(255, 255, 255, 0.85); }
.hero:not(.hero--no-photo) .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.hero:not(.hero--no-photo) .btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
/* Rozet çerçevesi/arka planı (cyan) aynı kalsın, sadece yazı beyaza
   dönsün — bazı fotoğraflarda cyan yazı okunmuyor/patlıyordu. */
.hero:not(.hero--no-photo) .eyebrow { color: #fff; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  background: rgba(30, 200, 224, 0.10);
  border: 1px solid rgba(30, 200, 224, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  max-width: 740px;
  min-height: 2.4em;
  text-wrap: balance;
  transition: opacity 0.4s ease;
}
.hero h1.fade { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero h1 { transition: none; }
}
.hero h1 .accent { color: var(--cyan); }
.hero .lead {
  font-size: 1.1rem;
  max-width: 620px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-orbit {
  position: absolute;
  top: 40px;
  right: -60px;
  width: 480px;
  height: 480px;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
@media (max-width: 960px) { .hero-orbit { display: none; } }

/* Fotoğraflı hero'da sağ tarafta duran, beyaz + hafif saydam varyant —
   filter ile SVG'nin kendi renkleri (cyan/turuncu) tamamen beyaza
   çevriliyor (aynı .cert-filter mantığı: brightness(0) siyaha çevirir,
   invert(1) beyaza döndürür), sonra opacity ile hafifletiliyor. */
.hero-orbit--right {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 390px;
  height: 390px;
  z-index: 1;
  pointer-events: none;
  /* İki katmanlı koyu gölge — çok parlak/beyaz bir fotoğrafın üzerinde
     bile halka her zaman seçilebilir kalsın diye (yazılardaki aynı
     "hangi fotoğraf olursa olsun garanti" mantığı). */
  filter: brightness(0) invert(1) drop-shadow(0 0 3px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 14px rgba(0, 0, 0, 0.4));
  opacity: 0.32;
}
@media (max-width: 960px) { .hero-orbit--right { display: none; } }

/* Küçük/sınırlı varyantlar — sitenin diğer bölümlerinde dekor olarak,
   kendi kabının dışına taşmayacak şekilde (bkz. overflow:hidden). */
.orbit--cta {
  top: 50%;
  right: -50px;
  width: 260px;
  height: 260px;
  opacity: 0.28;
  transform: translateY(-50%);
}
@media (max-width: 700px) { .orbit--cta { display: none; } }

.orbit--contact {
  top: -30px;
  right: -50px;
  width: 240px;
  height: 240px;
  opacity: 0.32;
}
@media (max-width: 760px) { .orbit--contact { display: none; } }

.orbit--404 {
  top: 50%;
  left: 50%;
  width: 520px;
  height: 520px;
  opacity: 0.2;
  transform: translate(-50%, -50%);
}
@media (max-width: 640px) { .orbit--404 { width: 340px; height: 340px; } }

/* ---------- 404 ---------- */
.error-404 {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}
.error-404 .container { position: relative; z-index: 1; max-width: 560px; text-align: center; margin-left: auto; margin-right: auto; }
.error-404-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 14vw, 8rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.error-404 h1 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: 12px; }
.error-404 p { color: var(--text-muted); max-width: 440px; margin: 0 auto 28px; }

/* ---------- Stats strip ---------- */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}
.stat-cell {
  background: var(--bg-elevated);
  padding: 26px 20px;
  text-align: center;
}
.stat-cell .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cyan);
}
.stat-cell .lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}
@media (max-width: 640px) { .stats-strip { grid-template-columns: 1fr; } }

/* ---------- Section ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); text-wrap: balance; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-hover); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(30,200,224,0.18), rgba(255,138,30,0.14));
  border: 1px solid var(--border-strong);
  color: var(--cyan);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.card p { font-size: 0.94rem; margin-bottom: 14px; }

/* ---------- Kalite sayfası — metin + laboratuvar/ölçüm cihazı kartı ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; } }
.lab-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.lab-card img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; background: var(--bg); }
.lab-card-body { padding: 22px 24px; }
.lab-card-body h3 { font-size: 1.05rem; margin-bottom: 8px; }
.lab-card-body p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Fotoğrafı VE başlık/açıklaması birlikte değişen ekipman kartı (bkz.
   main.js .lab-equipment-slideshow) — her slayt farklı boyutta fotoğraf
   ve metin taşıyabildiği için (ör. X-ray vs tuz testi cihazı) çapraz
   geçiş yerine basit görünür/gizli anahtarlama kullanılır. */
.lab-equipment-slide { display: none; }
.lab-equipment-slide.active { display: block; }

/* ---------- Kalite sayfası — sol taraftaki laboratuvar çalışma şeması ---------- */
.step-flow-head { margin: 0 0 20px; }
.step-flow-head .section-eyebrow { margin-bottom: 6px; }
.step-flow-head h3 { font-size: 1.15rem; margin: 0; }
.step-flow { display: flex; flex-direction: column; gap: 22px; }
.step-flow-step { position: relative; display: flex; gap: 16px; align-items: flex-start; }
.step-flow-step-num {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-flow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 36px;
  left: 17px;
  width: 2px;
  bottom: -22px;
  background: var(--border-strong);
}
.step-flow-step h4 { font-size: 0.95rem; margin-bottom: 4px; }
.step-flow-step p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ---------- Sertifika kartı — büyük belge görseli + küçük kurum logosu ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.cert-card { text-align: center; }
.cert-card-image {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius, 10px);
  box-shadow: 0 12px 28px rgba(10, 20, 30, 0.16);
  padding: 10px;
  margin-bottom: 18px;
  overflow: hidden;
}
.cert-card-image img { display: block; width: 100%; height: 380px; object-fit: contain; cursor: zoom-in; transition: opacity 0.2s; }
.cert-card-image img:hover { opacity: 0.85; }
.cert-card-logo { display: block; max-height: 40px; width: auto; margin: 0 auto 14px; }
.cert-card h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--cyan); }
.cert-card p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0; }
@media (max-width: 640px) { .cert-card-image img { height: 300px; } }

/* ---------- Sertifika lightbox — görsele tıklayınca büyütülmüş hali ---------- */
.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: rgba(6, 9, 15, 0.85);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.cert-lightbox.open { opacity: 1; pointer-events: auto; }
.cert-lightbox img {
  max-width: min(100%, 720px);
  max-height: calc(100vh - 80px);
  width: auto;
  height: auto;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  cursor: zoom-out;
}
.cert-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.cert-lightbox-close:hover { background: rgba(255, 255, 255, 0.2); }

/* ---------- Üretim — tesis fotoğrafı + özellik listesi ---------- */
.facility-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .facility-block { grid-template-columns: 1fr; } }
.facility-feature-list { display: flex; flex-direction: column; gap: 24px; }
.facility-feature-item { display: flex; gap: 16px; align-items: flex-start; }
.facility-feature-item .card-icon { margin-bottom: 0; flex-shrink: 0; }
.facility-feature-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.facility-feature-item p { font-size: 0.92rem; margin-bottom: 0; color: var(--text-muted); }
.card-link { font-size: 0.86rem; font-weight: 600; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Service detail block ---------- */
.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}
.service-block:last-child { border-bottom: none; }
.service-block .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--border-strong);
}
.service-block h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service-block p { font-size: 0.98rem; max-width: 700px; }
@media (max-width: 640px) { .service-block { grid-template-columns: 1fr; } }

/* ---------- Hizmet detay görseli ---------- */
.service-image {
  margin-top: 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.service-image img { width: 100%; display: block; }

/* Birden fazla görsel varsa 5 saniyede bir otomatik geçen slayt gösterisi
   (bkz. main.js .service-slideshow) — tek görselde normal <img> gibi davranır.
   .facility-gallery aynı görsel çapraz geçişi kullanır ama otomatik değil,
   sadece aşağıdaki ok butonlarıyla elle gezilir (bkz. main.js). */
.service-slideshow, .facility-gallery {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--surface);
}
.service-slideshow img, .facility-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}
.service-slideshow img.active, .facility-gallery img.active { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .service-slideshow img, .facility-gallery img { transition: none; }
}

.facility-gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(10, 14, 22, 0.55);
  color: #fff;
  backdrop-filter: blur(2px);
  transition: background 0.2s, transform 0.2s;
}
.facility-gallery-nav:hover { background: rgba(10, 14, 22, 0.8); }
.facility-gallery-nav.prev { left: 14px; }
.facility-gallery-nav.next { right: 14px; }

/* ---------- Hizmet avantajları — madde işaretli liste ---------- */
.advantages-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.advantages-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 1rem; color: var(--text); }
.advantages-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  width: 22px;
  height: 22px;
  padding: 3px;
  border-radius: 50%;
  background: rgba(30, 200, 224, 0.12);
  color: var(--cyan);
}

/* ---------- Proses şeması ---------- */
.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.process-step {
  position: relative;
  padding: 0 22px 8px;
  text-align: center;
}
.process-step-num {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.86rem; margin-bottom: 0; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--border-strong);
  z-index: 1;
}
@media (max-width: 860px) {
  .process-flow { grid-template-columns: 1fr; gap: 28px; }
  .process-step:not(:last-child)::after { display: none; }
}

/* ---------- Sector chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Referans logoları (kayan şerit) ---------- */
.ref-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ref-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: ref-scroll 32s linear infinite;
}
.ref-marquee:hover .ref-marquee-track { animation-play-state: paused; }
@keyframes ref-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ref-logo {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.ref-logo:hover { opacity: 1; filter: grayscale(0); }
.ref-logo img { height: 100%; width: auto; object-fit: contain; }
.ref-logo-text {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
@media (prefers-reduced-motion: reduce) {
  .ref-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: 56px;
  background: linear-gradient(120deg, rgba(30,200,224,0.14), rgba(255,138,30,0.08));
  border: 1px solid var(--border-strong);
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta-band p { max-width: 520px; margin: 0 auto 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-item { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-item .ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--cyan);
}
.contact-item h4 { font-size: 0.95rem; margin-bottom: 3px; }
.contact-item p { font-size: 0.92rem; margin: 0; }

.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 0.95rem;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--cyan); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input[type="checkbox"] { width: auto; }

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 24px;
  filter: var(--map-filter);
}

/* ---------- WhatsApp floating widget ---------- */
.whatsapp-widget { position: fixed; left: 22px; bottom: 22px; z-index: 300; }
.whatsapp-fab {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); box-shadow: 0 14px 32px rgba(0,0,0,0.34); }

.whatsapp-bubble {
  position: absolute;
  left: calc(100% + 14px);
  top: 50%;
  white-space: nowrap;
  background: var(--bg-elevated);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(0,0,0,0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(-6px) scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.whatsapp-bubble::after {
  content: '';
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: var(--bg-elevated);
}
.whatsapp-fab:hover .whatsapp-bubble,
.whatsapp-widget.bubble-pop .whatsapp-bubble {
  opacity: 1;
  transform: translateY(-50%) translateX(0) scale(1);
}
.whatsapp-widget.bubble-pop .whatsapp-bubble { animation: waBubblePop 0.5s cubic-bezier(.34,1.56,.64,1); }
@keyframes waBubblePop {
  0% { opacity: 0; transform: translateY(-50%) translateX(-14px) scale(0.7); }
  60% { opacity: 1; transform: translateY(-50%) translateX(4px) scale(1.05); }
  100% { opacity: 1; transform: translateY(-50%) translateX(0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-widget.bubble-pop .whatsapp-bubble { animation: none; }
}

.whatsapp-menu {
  position: absolute;
  left: 0;
  bottom: calc(100% + 14px);
  min-width: 230px;
  max-width: calc(100vw - 32px);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.28);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.whatsapp-menu-title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); padding: 6px 10px 12px; }
.whatsapp-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}
.whatsapp-menu-item svg { color: #25d366; flex-shrink: 0; }
.whatsapp-menu-item:hover { background: var(--surface-hover); }

@media (max-width: 640px) {
  .whatsapp-widget { left: 16px; bottom: 16px; }
  .whatsapp-fab { width: 50px; height: 50px; }
  .whatsapp-fab svg { width: 24px; height: 24px; }
  .whatsapp-bubble { font-size: 0.8rem; padding: 8px 13px; }
}

/* ---------- Teklif Alın modalı ---------- */
.quote-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 9, 15, 0.6);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
:root[data-theme="light"] .quote-modal-overlay { background: rgba(30, 38, 51, 0.45); }
.quote-modal-overlay.open { opacity: 1; pointer-events: auto; }
.quote-modal {
  position: relative;
  width: 100%;
  max-width: 440px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  padding: 30px 28px 28px;
  transform: translateY(14px) scale(0.98);
  transition: transform 0.22s ease;
}
.quote-modal-overlay.open .quote-modal { transform: translateY(0) scale(1); }
.quote-modal h3 { font-size: 1.35rem; margin: 4px 0 18px; }
.quote-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}
.quote-modal-close:hover { color: var(--text); background: var(--surface-hover); }
.quote-modal-success {
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--cyan);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.92rem;
}
.quote-modal-error { color: var(--orange); font-size: 0.85rem; margin: -6px 0 14px; }
@media (prefers-reduced-motion: reduce) {
  .quote-modal-overlay, .quote-modal { transition: none; }
}

/* ---------- Bakım modu ---------- */
.maintenance-screen {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  background: var(--bg);
}
.maintenance-card {
  position: relative;
  z-index: 1;
  max-width: 460px;
  text-align: center;
  padding: 48px 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
}
.maintenance-logo { height: 48px; width: auto; margin: 0 auto 20px; }
.maintenance-card h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 10px 0 14px; }
.maintenance-card p { margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 28px;
  background: var(--bg-elevated);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) minmax(140px, 0.75fr) minmax(190px, 0.95fr) minmax(160px, 0.8fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 36px;
}
.footer-brand .brand span { font-size: 1.1rem; }
.footer-brand p { font-size: 0.88rem; max-width: 300px; margin-top: 10px; }
.footer-certs { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 22px; }
.footer-cert-logo {
  height: 34px; width: auto; max-width: 90px;
  object-fit: contain;
  filter: var(--cert-filter);
  opacity: 0.75;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.footer-cert-logo:hover { filter: grayscale(0); opacity: 1; }
.footer-col { min-width: 0; }
.footer-col h5 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-faint); margin-bottom: 14px; }
.footer-col a, .footer-col p { display: block; font-size: 0.9rem; color: var(--text-muted); margin-bottom: 9px; overflow-wrap: break-word; }
.footer-col a:hover { color: var(--cyan); }
.footer-col p.footer-info { display: flex; align-items: flex-start; gap: 9px; }
.footer-ic { flex-shrink: 0; color: var(--cyan); opacity: 0.85; margin-top: 3px; }
.footer-info span { min-width: 0; overflow-wrap: break-word; }
.footer-address { max-width: 220px; line-height: 1.5; }
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
  font-size: 0.82rem; color: var(--text-muted);
}
.made-by { display: flex; align-items: center; gap: 10px; }
.cibis-link { display: inline-flex; align-items: center; opacity: 0.9; transition: opacity 0.2s ease; }
.cibis-link:hover { opacity: 1; }
.cibis-logo { height: 26px; width: auto; }
.cibis-logo-light { display: none; }
:root[data-theme="light"] .cibis-logo-dark { display: none; }
:root[data-theme="light"] .cibis-logo-light { display: block; }
.footer-legal-link { color: var(--text-muted); margin-left: 14px; text-decoration: none; }
.footer-legal-link:hover { color: var(--cyan); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-orbit g { animation: none !important; }
}

/* ---------- Galeri ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--surface);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  font-size: 0.85rem; font-weight: 500;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
}

/* Bal küpü (honeypot) — formlardaki gizli spam-önleme alanı, gerçek
   kullanıcılar hiç görmez (bkz. iletisim-gonder.php). */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-muted);
}

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card { overflow: hidden; padding: 0; }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-card .blog-card-body { padding: 22px; }
.blog-card .date { font-size: 0.78rem; color: var(--text-faint); margin-bottom: 8px; }
.blog-card h3 { font-size: 1.05rem; }
.blog-post-content { max-width: 720px; margin: 0 auto; font-size: 1.02rem; }
.blog-post-content p { color: var(--text); }
.blog-post-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px; border: 1px solid var(--border); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 64px 0 48px; border-bottom: 1px solid var(--border); }
.page-hero .section-eyebrow { color: var(--cyan); }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.page-hero > .container { position: relative; z-index: 1; }

/* Üretim/Kalite/Blog/İletişim gibi iç sayfa başlıklarının arkasındaki
   fotoğraf — anasayfadaki .hero-bg-slideshow ile aynı görseller/mantık,
   sadece daha kısa banner alanına uyarlandı. Sağ kenara doğru fade-out
   maskesi var ki köşedeki dönen atom halkası grafiğinin (.hero-orbit)
   arkasında karman çorman durmasın, yumuşakça sayfa zeminine karışsın. */
.page-hero-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  mask-image: linear-gradient(to right, #000 0%, #000 55%, transparent 88%);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 55%, transparent 88%);
}
.page-hero-bg-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.page-hero-bg-slideshow img.active { opacity: 1; }
.page-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: var(--bg);
  opacity: 0.68;
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-bg-slideshow img { transition: none; }
}
