/* ============================================================
   CONCEPTIMA — main.css
   Tek stil dosyası. Renk/aralık değişkenleri :root altında.
   ============================================================ */

:root {
  --primary: #191936;        /* koyu lacivert — ana marka rengi */
  --primary-soft: #23234d;
  --accent: #4a6cf7;         /* vurgu mavisi */
  --accent-dark: #3352d4;
  --ink: #1a1a2e;
  --text: #4a4a5e;
  --muted: #63637a;
  --bg: #ffffff;
  --bg-soft: #f5f6fa;
  --line: #e6e8f0;
  --white: #ffffff;

  /* Latin ana font + Arapça/Kiril/CJK için sistem yedekleri (per-glyph fallback) */
  --font: "Poppins", "Segoe UI", system-ui, -apple-system, "Noto Sans", "Noto Sans Arabic", "Segoe UI Arabic", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(25, 25, 54, 0.07);
  --shadow-md: 0 10px 30px rgba(25, 25, 54, 0.12);
  --shadow-lg: 0 24px 60px rgba(25, 25, 54, 0.18);

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  /* Kaydırma çubuğu yeri hep ayrılsın: menü açılıp gövde kilitlenince
     veya kısa/uzun sayfalar arasında geçişte yatay kayma olmaz. */
  scrollbar-gutter: stable;
}
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  /* Kazara yatay taşmayı kes (sticky header'ı bozmayan clip). */
  overflow-x: clip;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.25; font-weight: 600; }

/* ---------- Yardımcılar ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--primary); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255, 255, 255, 0.75); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 14px;
}
.section--dark .kicker, .hero .kicker { color: #93a6ff; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--accent-dark); color: var(--white); }
.btn--primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--light { background: var(--white); color: var(--primary); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { border: 2px solid rgba(255, 255, 255, 0.6); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--primary); }

/* ---------- Scroll animasyonu ----------
   Başlangıç gizlemesi yalnızca JS aktifken (html.js) uygulanır;
   JS kapalıyken içerik görünür kalır. */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  /* Overlay'in (1050) üstünde: mobil menü paneli header'ın stacking
     context'i içinde olduğundan header, karartma katmanının üstünde olmalı;
     aksi halde açık menü kararıyor. */
  z-index: 1200;
  background: var(--white);
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo img { height: 56px; width: auto; }

.header-right { display: flex; align-items: center; gap: 28px; }

/* --- Ana menü --- */
.main-nav ul { display: flex; }
.main-nav li { position: relative; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--accent); }
.main-nav > ul > li > a.has-sub::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

/* Alt menüler */
.main-nav ul ul {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s ease;
}
.main-nav ul ul ul { top: -10px; left: 100%; }
.main-nav li:hover > ul, .main-nav li.is-open > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav ul ul a { padding: 9px 22px; font-weight: 400; color: var(--text); }
.main-nav ul ul a:hover { color: var(--accent); background: var(--bg-soft); }
.main-nav ul ul a.has-sub::after {
  content: "";
  float: right;
  margin-top: 8px;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

/* --- Dil değiştirici (10 dilli açılır menü) --- */
.lang-switch { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-toggle:hover { border-color: var(--accent); }
.lang-toggle .lang-globe { width: 17px; height: 17px; color: var(--muted); }
.lang-toggle .lang-caret { width: 14px; height: 14px; color: var(--muted); transition: transform 0.25s ease; }
.lang-switch.is-open .lang-toggle .lang-caret { transform: rotate(180deg); }
.lang-cur { letter-spacing: 0.04em; }

.lang-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 190px;
  max-height: 60vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1210;
}
.lang-switch.is-open .lang-list { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-list a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 11px;
  padding: 9px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.18s ease, color 0.18s ease;
}
.lang-list a:hover { background: var(--bg-soft); color: var(--ink); }
.lang-list a.is-active { background: var(--primary); color: var(--white); font-weight: 600; }
.lang-list a.is-active::after { content: "✓"; font-size: 0.8rem; margin-inline-start: auto; }
/* Ülke bayrakları (dil seçici) */
.lang-list .flag,
.lang-toggle .lang-flag {
  width: 21px;
  height: auto;
  flex: 0 0 auto;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

/* --- Burger --- */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  position: relative;
  z-index: 1102;
}
.burger span, .burger span::before, .burger span::after {
  content: "";
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: all 0.3s ease;
}
.burger span { top: 21px; }
.burger span::before { left: 0; top: -8px; }
.burger span::after { left: 0; top: 8px; }
body.nav-open .burger span { background: transparent; }
body.nav-open .burger span::before { transform: rotate(45deg); top: 0; }
body.nav-open .burger span::after { transform: rotate(-45deg); top: 0; }

/* ============================================================
   HERO SLIDER (ana sayfa)
   ============================================================ */
.hero { position: relative; height: calc(100vh - var(--header-h)); height: calc(100svh - var(--header-h)); min-height: 560px; overflow: hidden; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(25, 25, 54, 0.72), rgba(25, 25, 54, 0.15) 65%, transparent);
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-content .hero-kicker {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.hero-content h1, .hero-content .hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
  line-height: 1.1;
}
.hero-content p { color: rgba(255, 255, 255, 0.85); margin-bottom: 32px; font-size: 1.05rem; }

.hero-slide .hero-content .hero-kicker,
.hero-slide .hero-content .hero-title,
.hero-slide .hero-content p,
.hero-slide .hero-content .btn {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.hero-slide.is-active .hero-content .hero-kicker { opacity: 1; transform: none; transition-delay: 0.25s; }
.hero-slide.is-active .hero-content .hero-title { opacity: 1; transform: none; transition-delay: 0.4s; }
.hero-slide.is-active .hero-content p { opacity: 1; transform: none; transition-delay: 0.55s; }
.hero-slide.is-active .hero-content .btn { opacity: 1; transform: none; transition-delay: 0.7s; }

/* Slider pagination — ikonlu butonlar */
.hero-pagi {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  gap: 4px;
  background: linear-gradient(to top, rgba(25, 25, 54, 0.6), transparent);
  padding: 18px 12px 22px;
}
.pagi-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.65);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}
.pagi-btn img, .pagi-btn svg { width: 30px; height: 30px; opacity: 0.75; transition: opacity 0.3s ease; }
.pagi-btn small { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.pagi-btn:hover { color: var(--white); }
.pagi-btn.is-active {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}
.pagi-btn.is-active img, .pagi-btn.is-active svg { opacity: 1; }

/* Slider okları */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.hero-arrow:hover { background: var(--white); color: var(--primary); }
.hero-arrow svg { width: 20px; height: 20px; }
.hero-arrow--prev { left: 28px; }
.hero-arrow--next { right: 28px; }

/* ============================================================
   İÇ SAYFA BANNER
   ============================================================ */
.page-hero {
  position: relative;
  padding: 92px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 60%, #2c2c60 100%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 108, 247, 0.35), transparent 70%);
}
.page-hero--img { background-size: cover; background-position: center; }
.page-hero--img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(25, 25, 54, 0.88), rgba(25, 25, 54, 0.55));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-size: 0.87rem; color: rgba(255, 255, 255, 0.65); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: 0.5; }

/* ============================================================
   ÜRÜN KATEGORİ KARTLARI (ana sayfa)
   ============================================================ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-sm);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(25, 25, 54, 0.85) 0%, rgba(25, 25, 54, 0.15) 55%, transparent);
  transition: background 0.4s ease;
}
.cat-card:hover img { transform: scale(1.07); }
.cat-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cat-card-body h3 { color: var(--white); font-size: 1.25rem; text-transform: uppercase; letter-spacing: 0.06em; }
.cat-card-body .cat-arrow {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}
.cat-card:hover .cat-arrow { background: var(--accent); border-color: var(--accent); }
.cat-arrow svg { width: 16px; height: 16px; }

/* ============================================================
   İSTATİSTİK BANDI
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }
.stat-item .stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.stat-item .stat-num span { color: var(--accent); }
.stat-item .stat-label {
  margin-top: 8px;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   TANITIM / HAKKIMIZDA BÖLÜMLERİ
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.split-media .split-media-badge {
  position: absolute;
  left: -26px;
  bottom: -26px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px 28px;
  box-shadow: var(--shadow-md);
}
.split-media-badge strong { display: block; font-size: 1.9rem; font-weight: 700; line-height: 1.15; }
.split-media-badge small { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.85; }
.split-body h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 20px; }
.split-body p { margin-bottom: 16px; }
.split-body .btn { margin-top: 12px; }

/* Özellik listesi (check işaretli) */
.feature-list { margin: 22px 0; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.feature-list li::before {
  content: "";
  flex: 0 0 auto;
  margin-top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 12px no-repeat, linear-gradient(#fff, #fff);
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 12px no-repeat, linear-gradient(#fff, #fff);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
}

/* ============================================================
   İKON KARTLARI (misyon/vizyon/değerler, inovasyon)
   ============================================================ */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.icon-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all 0.35s ease;
}
.icon-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.icon-card .icon-wrap {
  width: 66px;
  height: 66px;
  border-radius: 18px;
  background: rgba(74, 108, 247, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
/* Tüm ikon kutularında ikon ortalanır (aksi halde sol üste yapışıyordu) */
.icon-wrap { display: flex; align-items: center; justify-content: center; }
.icon-wrap svg, .icon-wrap img { width: 32px; height: 32px; }
.icon-card h3 { font-size: 1.15rem; margin-bottom: 12px; }
.icon-card p { font-size: 0.95rem; }
.icon-card ul { margin-top: 12px; display: grid; gap: 8px; font-size: 0.92rem; }
.icon-card ul li { padding-left: 18px; position: relative; }
.icon-card ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Üretim süreci şeridi (pamuk → iplik → kumaş → ürün) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step { text-align: center; position: relative; }
.process-step .icon-wrap { margin: 0 auto 18px; width: 84px; height: 84px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.process-step .icon-wrap svg, .process-step .icon-wrap img { width: 40px; height: 40px; }
.process-step h3 { font-size: 1rem; margin-bottom: 6px; }
.process-step p { font-size: 0.88rem; color: var(--muted); }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  left: calc(50% + 56px);
  width: calc(100% - 112px);
  border-top: 2px dashed var(--line);
}

/* ============================================================
   CTA BANDI
   ============================================================ */
.cta-band {
  border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--primary), #26265a 55%, var(--accent-dark));
  padding: 72px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin-top: 10px; max-width: 520px; }

/* ============================================================
   ÜRÜN SAYFASI BÖLÜMLERİ + GALERİ
   ============================================================ */
.product-section { padding: 72px 0; }
.product-section:nth-child(even) { background: var(--bg-soft); }
.product-head { max-width: 780px; margin-bottom: 40px; }
.product-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.product-head .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(74, 108, 247, 0.09);
  color: var(--accent-dark);
}

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery a {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery a::after {
  content: "+";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  background: rgba(25, 25, 54, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery a:hover::after { opacity: 1; }
.gallery a:hover img { transform: scale(1.06); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(12, 12, 28, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 48px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: calc(100vh - 120px);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.lightbox-btn:hover { background: var(--white); color: var(--primary); }
.lightbox-btn svg { width: 20px; height: 20px; }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-count {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* ============================================================
   SEKMELİ / FİLTRELİ GALERİ (üretim tesisi)
   ============================================================ */
.filter-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 42px; }
.filter-tab {
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.25s ease;
}
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab.is-active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.gallery .is-filtered-out { display: none; }

/* ============================================================
   SERTİFİKALAR
   ============================================================ */
.cert-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cert-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  transition: all 0.3s ease;
}
.cert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.cert-card img, .cert-card svg { width: 72px; height: 72px; }
.cert-card span { font-size: 0.82rem; font-weight: 600; color: var(--ink); line-height: 1.4; }

/* ============================================================
   POLİTİKA SAYFALARI (sidebar düzeni)
   ============================================================ */
.with-sidebar { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
}
.sidebar a {
  display: block;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}
.sidebar a:hover { color: var(--accent); background: var(--white); }
.sidebar a.is-active { background: var(--primary); color: var(--white); }

.content-body h2 { font-size: 1.6rem; margin: 34px 0 14px; }
.content-body > :first-child { margin-top: 0; }
.content-body h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.content-body p { margin-bottom: 16px; }
.content-body ul { margin: 18px 0; display: grid; gap: 12px; }
.content-body ul li { position: relative; padding-left: 30px; }
.content-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(74, 108, 247, 0.12) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%234a6cf7" stroke-width="3"><path d="M20 6L9 17l-5-5"/></svg>') center / 11px no-repeat;
}

/* ============================================================
   HABER KARTLARI
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .news-img { aspect-ratio: 16 / 10; overflow: hidden; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img img { transform: scale(1.06); }
.news-card .news-body { padding: 26px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.news-date { font-size: 0.8rem; font-weight: 600; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; }
.news-card h3 { font-size: 1.1rem; }
.news-card p { font-size: 0.93rem; }

/* ============================================================
   FORMLAR (iletişim, bülten)
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .form-field--full { grid-column: 1 / -1; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
}
.form-field .field-error { display: none; font-size: 0.8rem; color: #d64550; margin-top: 6px; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #d64550; }
.form-field.has-error .field-error { display: block; }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 22px;
  border-radius: var(--radius);
  background: rgba(46, 174, 96, 0.1);
  color: #217a43;
  font-weight: 500;
}
.form-success.is-visible { display: block; }

/* İletişim bilgi kartları */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-card .icon-wrap { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-sm); }
.contact-card .icon-wrap svg, .contact-card .icon-wrap img { width: 24px; height: 24px; }
.contact-card h2 { font-size: 1rem; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 0.92rem; color: var(--text); }
.contact-card a:hover { color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--primary); color: rgba(255, 255, 255, 0.72); }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 72px 0 56px;
}
.footer-brand img { height: 72px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 0.92rem; margin-bottom: 8px; }
.footer-brand a:hover { color: var(--white); }
.footer-col h2 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--white); }

.newsletter-form { display: flex; margin-top: 14px; border-radius: 999px; overflow: hidden; background: rgba(255, 255, 255, 0.08); }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 13px 20px;
  border: none;
  background: transparent;
  color: var(--white);
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.45); }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  padding: 0 22px;
  background: var(--accent-dark);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.25s ease;
}
.newsletter-form button:hover { background: var(--accent-dark); }
.newsletter-msg { display: none; margin-top: 10px; font-size: 0.85rem; color: #7fd6a4; }
.newsletter-msg.is-visible { display: block; }

.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.social-links svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  font-size: 0.85rem;
}
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-credit a { color: var(--white); font-weight: 600; text-decoration: none; transition: color 0.2s ease; }
.footer-credit a:hover { color: #93a6ff; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .cert-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  :root { --header-h: 72px; }
  .burger { display: block; }
  .logo img { height: 46px; }

  /* Mobil menü — telefonlarda tam ekran beyaz panel (koyu şerit / yarım logo yok) */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    width: min(400px, 100%);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 24px 40px;
  }
  /* Panel başlığı: marka logosu + alt ayraç (sağ üstteki X ile hizalı) */
  .main-nav::before {
    content: "";
    display: block;
    height: 46px;
    margin-bottom: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
    background: url("../img/logo-ima.png") left center / auto 40px no-repeat;
  }
  body.nav-open .main-nav { transform: translateX(0); }
  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(25, 25, 54, 0.45);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
  body.nav-open { overflow: hidden; }

  .main-nav ul { display: block; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav > ul > li:last-child { border-bottom: none; }
  .main-nav a { padding: 15px 6px; font-size: 1.02rem; border-radius: 8px; }
  .main-nav > ul > li > a { font-weight: 600; color: var(--ink); }
  .main-nav ul ul {
    position: static;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0 0 8px 14px;
    margin-top: -4px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .main-nav ul ul a { padding: 11px 6px; }
  .main-nav li.is-open > ul { display: block; }
  /* Açılır ok — açıkken 180° döner */
  .main-nav a.has-sub::after,
  .main-nav > ul > li > a.has-sub::after {
    float: right;
    margin-top: 7px;
    border-color: var(--muted);
    transition: transform 0.25s ease;
  }
  .main-nav li.is-open > a.has-sub::after { transform: rotate(45deg) rotate(180deg); }

  .split { grid-template-columns: 1fr; gap: 44px; }
  .split-media .split-media-badge { left: 18px; bottom: -22px; }
  .icon-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .with-sidebar { grid-template-columns: 1fr; gap: 36px; }
  .sidebar { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .process-step:not(:last-child)::after { display: none; }
  .hero-arrow { display: none; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .section { padding: 60px 0; }
  .cat-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .cta-band { padding: 44px 26px; }
  .page-hero { padding: 58px 0; }

  .hero { min-height: 480px; }
  .hero-content p { font-size: 1rem; margin-bottom: 26px; }
  /* Kategori butonları telefonda taşıyordu → sade nokta göstergesi */
  .hero-pagi { gap: 9px; padding: 0 16px 24px; justify-content: center; align-items: center; }
  .pagi-btn {
    flex-direction: row;
    gap: 0;
    padding: 0;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: none;
    background: transparent;
    overflow: visible;
    position: relative;
    text-indent: -9999px;
  }
  /* Görsel nokta küçük kalır ama dokunma alanı 24x24 (WCAG target-size) */
  .pagi-btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.3s ease, background 0.3s ease;
  }
  .pagi-btn.is-active::before { width: 22px; background: var(--white); }
  .pagi-btn img, .pagi-btn small { display: none; }

  .lightbox { padding: 16px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ============================================================
   RTL — Arapça (html[dir="rtl"])
   Fiziksel konum/yön içeren kuralların ayna görüntüsü.
   ============================================================ */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .section-head,
[dir="rtl"] .stat-item,
[dir="rtl"] .process-step,
[dir="rtl"] .cert-card { text-align: center; }

/* Yön okları yatay çevrilir */
[dir="rtl"] .btn svg,
[dir="rtl"] .cat-arrow svg,
[dir="rtl"] .split-body .btn svg,
[dir="rtl"] .cta-band .btn svg { transform: scaleX(-1); }

/* Desktop açılır menü konumları */
[dir="rtl"] .main-nav ul ul { left: auto; right: 0; }
[dir="rtl"] .main-nav ul ul ul { left: auto; right: 100%; }
[dir="rtl"] .main-nav > ul > li > a.has-sub::after { margin-left: 0; margin-right: 7px; }
[dir="rtl"] .main-nav ul ul a.has-sub::after { float: left; transform: rotate(225deg); }

/* Dil menüsü sola açılır */
[dir="rtl"] .lang-list { right: auto; left: 0; }
[dir="rtl"] .lang-toggle { direction: ltr; }

/* Liste işaretleri sağa */
[dir="rtl"] .content-body ul li { padding-left: 0; padding-right: 30px; }
[dir="rtl"] .content-body ul li::before { left: auto; right: 0; }
[dir="rtl"] .icon-card ul li { padding-left: 0; padding-right: 18px; }
[dir="rtl"] .icon-card ul li::before { left: auto; right: 0; }
[dir="rtl"] .feature-list li::before { margin-top: 5px; }

/* Split rozet ve dekoratif konumlar */
[dir="rtl"] .split-media .split-media-badge { left: auto; right: -26px; }
[dir="rtl"] .page-hero::after { right: auto; left: -140px; }

/* Hero/banner degrade yönü */
[dir="rtl"] .hero-slide::before {
  background: linear-gradient(to left, rgba(25,25,54,0.72), rgba(25,25,54,0.15) 65%, transparent);
}
[dir="rtl"] .page-hero--img::before {
  background: linear-gradient(to left, rgba(25,25,54,0.88), rgba(25,25,54,0.55));
}

/* Footer bülten / sosyal ikon yönü doğal (flex/grid otomatik) */
[dir="rtl"] .newsletter-form { direction: rtl; }

/* Mobil menü RTL: soldan içeri kayar, logo başlığı sağda */
@media (max-width: 992px) {
  [dir="rtl"] .main-nav { right: auto; left: 0; transform: translateX(-100%); }
  [dir="rtl"] body.nav-open .main-nav { transform: translateX(0); }
  [dir="rtl"] .main-nav::before { background-position: right center; }
  [dir="rtl"] .main-nav a.has-sub::after,
  [dir="rtl"] .main-nav > ul > li > a.has-sub::after { float: left; margin-right: 0; }
  [dir="rtl"] .main-nav ul ul { padding: 0 14px 8px 0; }
}

/* RTL'de telefon numaraları soldan-sağa okunmalı (+ işareti doğru tarafta) */
[dir="rtl"] a[href^="tel:"] { direction: ltr; unicode-bidi: embed; display: inline-block; }

/* ============================================================
   ÇEREZ İZNİ BANDI (Consent Mode v2)
   ============================================================ */
.cookie-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 3000;
  background: var(--primary);
  color: rgba(255, 255, 255, 0.9);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px 28px;
  flex-wrap: wrap;
  box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.22);
  transform: translateY(110%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-bar.is-visible { transform: translateY(0); }
.cookie-bar p { margin: 0; font-size: 0.9rem; line-height: 1.6; max-width: 720px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-actions button {
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.cookie-accept { background: var(--accent-dark); color: var(--white); }
.cookie-accept:hover { background: var(--accent-dark); transform: translateY(-1px); }
.cookie-reject { background: transparent; border: 1px solid rgba(255, 255, 255, 0.4); color: var(--white); }
.cookie-reject:hover { background: rgba(255, 255, 255, 0.1); }

@media (max-width: 600px) {
  .cookie-bar { padding: 14px 18px; gap: 12px; }
  .cookie-bar p { font-size: 0.85rem; text-align: center; }
  .cookie-actions { width: 100%; justify-content: center; }
  .cookie-actions button { flex: 1; max-width: 180px; }
}

/* Honeypot (spam botu tuzağı) — ekran dışı, kullanıcıya görünmez */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ============================================================
   ERİŞİLEBİLİRLİK — hareket azaltma tercihi (genel güvenlik ağı)
   Uzun animasyon/geçişleri kısar; slider oto-döngüsü main.js'te durur.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   ERİŞİLEBİLİRLİK — görünür klavye odağı + içeriğe atla linki
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 3px;
}
/* Koyu zeminlerde beyaz halka (accent mavisi görünmez kalmasın) */
.hero :focus-visible,
.site-footer :focus-visible,
.section--dark :focus-visible { outline-color: var(--white); }
/* Skip hedefi odaklanınca halka gösterme */
main:focus { outline: none; }

.skip-link {
  position: absolute;
  left: 8px;
  top: -64px;
  z-index: 2000;
  background: var(--accent);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 8px; }
[dir="rtl"] .skip-link { left: auto; right: 8px; }
