/* ===== Mega Export — base theme ===== */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #c9702e;
  --bg: #121417;
  --bg-card: #1a1d22;
  --bg-black: #0d0e10;
  --text: #f4f3f0;
  --text-muted: #a8adb5;
  --text-dim: #6b6f76;
  --border: rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.15);
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: #e8935a; }

.display {
  font-family: 'Bebas Neue', 'Manrope', sans-serif;
  letter-spacing: 0.02em;
}

img, svg { max-width: 100%; display: block; }

/* ===== Layout shell ===== */
.page {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 20% -10%, #1d2126 0%, #121417 55%);
  overflow: hidden;
}

.grid-texture {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 0;
}

#spotlight {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#neural-net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: transform 0.18s ease-out;
}

#neural-net .drift-group { animation: netDrift 22s ease-in-out infinite; }

@keyframes netDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(14px, -10px); }
}
@keyframes nodePulse {
  0%, 100% { opacity: 0.28; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}
@keyframes linePulse {
  0%, 100% { stroke-dashoffset: 60; opacity: 0.08; }
  50% { stroke-dashoffset: 0; opacity: 0.35; }
}
.net-node { transform-box: fill-box; transform-origin: center; animation: nodePulse 4.5s ease-in-out infinite; }
.net-line { stroke-dasharray: 5 9; animation: linePulse 5.5s ease-in-out infinite; }

.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== Header — closed by default (no flash on load), slides down once JS reveals a sector/page ===== */
header.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 72px;
  border-bottom: 1px solid transparent;
  flex-wrap: wrap;
  gap: 16px;
  position: relative;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-24px);
  transition: max-height 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), padding 0.5s ease, border-color 0.4s ease;
}
header.site-header.revealed {
  max-height: 220px;
  opacity: 1;
  transform: translateY(0);
  padding: 28px 72px 22px 72px;
  border-bottom-color: var(--border);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  cursor: pointer;
  font-size: 26px;
  order: 0;
}
.brand .accent { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 32px; order: 1; }
.main-nav a, .main-nav span {
  font-size: 13px; font-weight: 600; color: #c7cad0; cursor: pointer;
  position: relative; padding-bottom: 4px; transition: color 0.15s ease;
}
.main-nav a:hover, .main-nav span:hover { color: var(--text); }
.main-nav span.active { color: var(--accent); }
.main-nav span.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--accent);
}

.header-right { display: flex; align-items: center; gap: 16px; order: 2; }

/* ===== Mobile hamburger + collapsible nav ===== */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: none; border: none; cursor: pointer; padding: 0;
}
.hamburger span { display: block; width: 100%; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.25s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-collapse { display: contents; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.05em;
  padding: 12px 22px; border-radius: 2px; cursor: pointer; border: none;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #17130f; }
.btn-outline { background: transparent; border: 1px solid var(--border-strong); color: var(--text); }

.lang-switch {
  display: flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px;
}
.lang-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px 7px 8px; border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.04em; cursor: pointer; color: var(--text-muted); background: transparent; border: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang-pill .flag {
  width: 20px; height: 14px; border-radius: 3px; object-fit: cover; display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}
.lang-pill.active { background: var(--accent); color: #17130f; }
.lang-pill:not(.active):hover { color: var(--text); }

/* ===== Header sub-nav — sector-specific quick links (Kategoriler, Ürünler, ...) ===== */
.sub-nav {
  flex-basis: 100%; display: flex; align-items: center; gap: 24px; order: 3;
  margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--border);
}
.sub-nav:empty { display: none; }
.sub-nav span {
  font-size: 12px; font-weight: 700; letter-spacing: 0.03em; color: var(--text-dim);
  cursor: pointer; transition: color 0.15s ease;
}
.sub-nav span:hover { color: var(--accent); }

/* ===== Home screen: standalone brand mark (header is hidden here) ===== */
.home-brand {
  display: flex; align-items: baseline; justify-content: center; gap: 10px;
  font-size: 24px; padding: 40px 0 0 0; cursor: default;
}
.home-brand .accent { color: var(--accent); }


/* ===== Breadcrumb bar — shows current location, hidden on home ===== */
.breadcrumb-bar {
  max-height: 0; overflow: hidden; opacity: 0;
  border-bottom: 1px solid transparent; background: var(--bg-black);
  transition: max-height 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease, border-color 0.4s ease;
}
.breadcrumb-bar.revealed { max-height: 60px; opacity: 1; border-bottom-color: var(--border); }
.crumbs {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 13px 72px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.crumbs .crumb-link { color: var(--text-dim); cursor: pointer; transition: color 0.15s ease; }
.crumbs .crumb-link:hover { color: var(--accent); }
.crumbs .crumb-sep { color: var(--border-strong); font-weight: 400; }
.crumbs .crumb-current { color: var(--accent); }

/* ===== View sections ===== */
.view { display: none; }
.view.active { display: block; animation: viewEnter 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes viewEnter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Alternating section backgrounds for visual rhythm within long pages ===== */
.section-block.alt-bg {
  background: var(--bg-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ===== Home hero ===== */
.hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 56px 72px 0 72px;
}
.badge {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; margin-bottom: 24px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.badge span { font-size: 12px; letter-spacing: 0.14em; color: var(--text-muted); text-transform: uppercase; }

.hero h1 { font-size: 64px; line-height: 1.02; }
.hero h1 .accent { color: var(--accent); }
.hero p { max-width: 640px; margin: 22px auto 0 auto; font-size: 17px; line-height: 1.6; color: var(--text-muted); font-weight: 500; }

/* ===== Sector buttons (home) — big, bold, clearly clickable ===== */
.sector-cards {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px;
  padding: 56px 72px 0 72px;
}
.sector-card {
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; text-align: center;
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 420px;
  background-color: var(--bg-card); background-size: cover; background-position: center; background-repeat: no-repeat;
  border: 1px solid var(--border); border-radius: 14px;
  padding: 48px 32px 56px 32px; gap: 18px;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s ease, box-shadow 0.25s ease;
}
.sector-card::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(13,14,16,0.55) 0%, rgba(13,14,16,0.93) 78%);
  transition: background 0.25s ease;
}
.sector-card > * { position: relative; z-index: 1; }
.sector-card[data-sector="plastik"] { background-image: url("../img/home/card-plastik.jpg"); }
.sector-card[data-sector="kalip"] { background-image: url("../img/home/card-kalip.jpg"); }
.sector-card[data-sector="firin"] { background-image: url("../img/home/card-firin.jpg"); }
.sector-card:hover {
  transform: translateY(-8px) scale(1.015);
  border-color: var(--accent);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}
.sector-card:hover::before {
  background: linear-gradient(180deg, rgba(13,14,16,0.35) 0%, rgba(201,112,46,0.3) 100%);
}
.sector-card .icon-box {
  width: 72px; height: 72px; border-radius: 50%; background: rgba(201,112,46,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.sector-card:hover .icon-box { background: var(--accent); transform: scale(1.08); }
.sector-card:hover .icon-box svg { stroke: #17130f; }
.sector-card .name { font-size: 28px; }
.sector-card .tagline { font-size: 13.5px; color: var(--text-muted); font-weight: 600; }
.sector-card .discover {
  display: flex; align-items: center; gap: 8px; margin-top: 6px;
  font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; color: var(--accent);
  transition: gap 0.2s ease;
}
.sector-card:hover .discover { gap: 12px; }

.lang-strip {
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 40px 72px 0 72px;
}
.lang-strip-label { font-size: 12px; letter-spacing: 0.1em; color: var(--text-dim); text-transform: uppercase; }
.lang-strip-pills { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.lang-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 20px 10px 10px; cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.lang-chip:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.25); }
.lang-chip.active { border-color: var(--accent); background: rgba(201,112,46,0.1); }
.lang-chip .flag {
  width: 26px; height: 18px; border-radius: 3px; object-fit: cover; display: block;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}
.lang-chip span { font-size: 13px; font-weight: 700; color: var(--text-muted); }
.lang-chip.active span { color: var(--text); }

/* ===== Section label ===== */
.section-label {
  font-size: 12px; letter-spacing: 0.14em; color: var(--text-dim);
  text-transform: uppercase; margin-bottom: 24px; display: block;
}

/* ===== Reusable drag-slider (mouse-drag + touch-swipe + arrows) ===== */
.slider-wrap { display: flex; align-items: center; gap: 12px; width: 100%; }
.drag-slider {
  display: flex; flex-wrap: nowrap; align-items: stretch; gap: 16px;
  overflow-x: auto; scroll-behavior: smooth; cursor: grab;
  -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none;
  padding: 4px 2px; flex: 1 1 auto; min-width: 0;
}
.drag-slider::-webkit-scrollbar { display: none; }
.drag-slider.dragging { cursor: grabbing; scroll-behavior: auto; user-select: none; }
.drag-slider > * { flex: 0 0 auto; }
.slider-arrow {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: var(--bg-card);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color 0.15s ease;
}
.slider-arrow:hover { border-color: var(--accent); }

/* ===== Clients strip — square logo tiles with a hover-reveal name ===== */
.clients-section { display: flex; flex-direction: column; align-items: stretch; padding: 72px 72px 0 72px; }
.clients-section .section-label { text-align: center; }
.client-chip {
  position: relative; width: 200px; height: 200px; overflow: hidden;
  border-radius: 6px; border: 1px solid var(--border); background: var(--bg-card);
}
.client-chip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.client-chip .reveal {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58px;
  background: rgba(13,14,16,0.92); border-top: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  transform: translateY(100%); transition: transform 0.28s ease;
}
.client-chip:hover .reveal { transform: translateY(0); }
.client-chip .reveal span { font-size: 13px; font-weight: 700; color: var(--text); }

/* ===== Sector top hero slider — big, 3D depth/parallax transition, full-bleed ===== */
.hero-slider {
  position: relative; width: 100%; height: 560px; overflow: hidden;
  margin-bottom: 44px; background: var(--bg-black);
  perspective: 1800px;
}
.hero-slides { position: absolute; inset: 0; transform-style: preserve-3d; }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; z-index: 1; pointer-events: none;
  transform-style: preserve-3d; will-change: transform, opacity;
  transition: transform 1.15s cubic-bezier(0.22, 0.8, 0.24, 1), opacity 0.9s ease;
}
/* active slide: front and center */
.hero-slide[data-pos="0"] { opacity: 1; z-index: 3; pointer-events: auto; transform: translateZ(0) rotateY(0deg) scale(1); }
/* the slide about to come in / just left, on the right, tilted back in 3D */
.hero-slide[data-pos="1"] { opacity: 0; z-index: 2; transform: translateZ(-320px) translateX(7%) rotateY(-30deg) scale(0.86); }
/* the slide on the left */
.hero-slide[data-pos="-1"] { opacity: 0; z-index: 2; transform: translateZ(-320px) translateX(-7%) rotateY(30deg) scale(0.86); }
/* everything further away, parked deep behind, invisible */
.hero-slide[data-pos="far"] { opacity: 0; z-index: 1; transform: translateZ(-520px) scale(0.7); }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block; backface-visibility: hidden;
  transform: scale(1.1);
  transition: transform 6.5s cubic-bezier(0.15, 0.7, 0.3, 1);
}
.hero-slide[data-pos="0"] img { transform: scale(1); }
.hero-slider::before {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,14,16,0.35) 0%, rgba(13,14,16,0) 30%, rgba(13,14,16,0.55) 100%);
}
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(13,14,16,0.45); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.hero-arrow:hover { border-color: var(--accent); background: rgba(13,14,16,0.7); }
.hero-arrow.left { left: 28px; }
.hero-arrow.right { right: 28px; }
.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 22px; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.35); cursor: pointer; padding: 0; transition: background 0.2s ease, transform 0.2s ease; }
.hero-dot.active { background: var(--accent); transform: scale(1.3); }

@media (max-width: 980px) {
  .hero-slider { height: 420px; }
}
@media (max-width: 560px) {
  .hero-slider { height: 300px; }
  .hero-arrow { width: 36px; height: 36px; }
  .client-chip { width: 150px; height: 150px; }
}

/* ===== Testimonials ===== */
.testimonials-section { display: flex; flex-direction: column; align-items: center; padding: 72px 72px 0 72px; }
.testimonial-card {
  width: 100%; max-width: 820px; background: var(--bg-black); border: 1px solid var(--border);
  border-radius: 4px; padding: 48px 64px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 24px;
}
.testimonial-card p { margin: 0; font-size: 19px; line-height: 1.6; color: #f0f0ee; font-weight: 500; max-width: 640px; }
.testimonial-name { font-size: 13px; font-weight: 700; color: var(--accent); }
.testimonial-company { font-size: 12px; color: #8a8e94; }
.testimonial-controls { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.testi-arrow {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; cursor: pointer; background: none;
}
.testi-dots { display: flex; align-items: center; gap: 8px; }
.testi-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.2); cursor: pointer; border: none; padding: 0; }
.testi-dot.active { background: var(--accent); }

/* ===== Sector view ===== */
.sector-hero {
  display: flex; align-items: center; gap: 28px; padding: 44px 72px 0 72px;
}
.sector-hero .icon-box {
  width: 76px; height: 76px; flex-shrink: 0; border-radius: 4px; background: rgba(201,112,46,0.12);
  display: flex; align-items: center; justify-content: center;
}
.sector-hero h1 { font-size: 52px; line-height: 1; }
.sector-hero .tagline { font-size: 15px; color: var(--accent); font-weight: 700; }
.sector-subtitle { max-width: 760px; margin: 20px 0 0 0; padding: 0 72px; font-size: 16px; line-height: 1.65; color: var(--text-muted); font-weight: 500; }

.stats-row { display: flex; align-items: stretch; gap: 0; padding: 40px 72px 0 72px; }
.stat-item { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 0 32px; border-left: 1px solid var(--border); }
.stat-item .value { font-size: 34px; color: var(--accent); }
.stat-item .label { font-size: 12px; color: var(--text-muted); font-weight: 600; }

.section-block { display: flex; flex-direction: column; padding: 26px 72px; }

.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 22px 20px; }
.cat-card .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-bottom: 14px; }
.cat-card .title { font-size: 17px; }
.cat-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; margin: 8px 0 0 0; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.product-card { display: flex; flex-direction: column; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 18px; gap: 14px; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; }
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.product-thumb {
  width: 100%; height: 100px; border-radius: 4px;
  background: linear-gradient(135deg, rgba(201,112,46,0.18), rgba(255,255,255,0.03));
  display: flex; align-items: center; justify-content: center;
}
.product-card .title { font-size: 16px; }
.product-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin: 0; }

.process-line { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; position: relative; }
.process-line .rail { position: absolute; top: 19px; left: 38px; right: 38px; height: 1px; background: var(--border-strong); z-index: 0; }
.process-step { display: flex; flex-direction: column; align-items: center; gap: 16px; position: relative; z-index: 1; }
.process-step .num {
  width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #17130f;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px;
}
.process-step .label { font-size: 13px; color: #c7cad0; font-weight: 600; text-align: center; max-width: 160px; }

.machine-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.machine-card { display: flex; align-items: flex-start; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 22px; }
.machine-card .title { font-size: 14px; font-weight: 700; }
.machine-card .spec { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; }

/* ===== Rich "machine park" — highlight rows, real spec tables, footnotes ===== */
.machine-park { display: flex; flex-direction: column; gap: 28px; }
.mp-intro { font-size: 14px; color: var(--text-muted); line-height: 1.65; max-width: 900px; }
.mp-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.highlight-card { display: flex; flex-direction: column; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 18px 20px; }
.highlight-card .title { font-size: 14px; font-weight: 700; }
.highlight-card p { font-size: 12.5px; color: var(--text-muted); margin: 0; line-height: 1.5; }

.mp-group { display: flex; flex-direction: column; gap: 12px; }
.mp-badge {
  display: inline-block; align-self: flex-start; font-size: 10.5px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent);
  background: rgba(201,112,46,0.12); padding: 4px 10px; border-radius: 999px;
}
.mp-group-title { font-size: 20px; color: var(--text); }
.mp-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; }
table.mp-table { width: 100%; border-collapse: collapse; font-size: 12.5px; min-width: 560px; }
table.mp-table th {
  text-align: left; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--text-dim); font-weight: 700; padding: 12px 16px;
  background: rgba(255,255,255,0.03); border-bottom: 1px solid var(--border); white-space: nowrap;
}
table.mp-table td { padding: 12px 16px; color: var(--text-muted); border-bottom: 1px solid var(--border); vertical-align: top; }
table.mp-table tr:last-child td { border-bottom: none; }
table.mp-table td:first-child { color: var(--text); font-weight: 600; }
.mp-note { font-size: 11px; color: var(--text-dim); font-style: italic; line-height: 1.5; }
.mp-cardgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mp-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.mp-card .title { font-size: 13.5px; font-weight: 700; }
.mp-card p { font-size: 12px; color: var(--text-muted); margin: 0; line-height: 1.5; }

.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.why-card { display: flex; flex-direction: column; gap: 10px; }
.why-card .title { font-size: 14px; font-weight: 700; }
.why-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin: 0; }

.cta-row { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 52px 72px 0 72px; flex-wrap: wrap; }

/* ===== Gallery page ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.gallery-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--bg-card); transition: border-color 0.2s ease, transform 0.2s ease; }
.gallery-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.gallery-card .body { padding: 16px 18px; }
.gallery-card .title { font-size: 16px; }
.gallery-card p { font-size: 12.5px; color: var(--text-muted); margin: 6px 0 0 0; line-height: 1.5; }

/* ===== Sector-specific facility mini-gallery ===== */
.facility-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.facility-head .section-label { margin-bottom: 0 !important; }
.facility-link { font-size: 12px; font-weight: 800; letter-spacing: 0.04em; color: var(--accent); cursor: pointer; }
.facility-link:hover { color: #e8935a; }
#facility-block .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
#facility-block .gallery-card img { height: 200px; }

/* ===== Blog page ===== */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.blog-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--bg-card); display: flex; flex-direction: column; cursor: pointer; transition: border-color 0.2s ease, transform 0.2s ease; }
.blog-card:hover, .gallery-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.blog-card img { width: 100%; height: 180px; object-fit: cover; display: block; }
.blog-card .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-card .date { font-size: 11px; color: var(--text-dim); letter-spacing: 0.05em; text-transform: uppercase; }
.blog-card .title { font-size: 16px; line-height: 1.35; }
.blog-card p { font-size: 12.5px; color: var(--text-muted); line-height: 1.5; margin: 0; flex: 1; }
.blog-card .readmore { margin-top: auto; padding-top: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: 0.05em; color: var(--accent); }

/* ===== Secondary breadcrumb (product / blog post detail) ===== */
.breadcrumb2 { padding: 28px 72px 0 72px; }
.back2 { font-size: 13px; font-weight: 700; color: var(--text-muted); cursor: pointer; }
.back2:hover { color: var(--text); }

/* ===== Product detail page ===== */
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding: 32px 72px 72px 72px; align-items: start; }
.product-detail-media { border-radius: 8px; overflow: hidden; border: 1px solid var(--border); }
.product-detail-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-detail-body { display: flex; flex-direction: column; gap: 14px; }
.product-detail-body h1 { font-size: 40px; line-height: 1.05; }
.product-detail-body > p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }
.product-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 8px 0 12px 0; }
.product-spec-grid .spec-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 14px 16px; }
.product-spec-grid .spec-item .k { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 4px; }
.product-spec-grid .spec-item .v { font-size: 13.5px; color: var(--text); font-weight: 600; }
.product-detail-body .btn { align-self: flex-start; }

/* ===== Blog post detail page ===== */
.blogpost-wrap { max-width: 820px; margin: 0 auto; padding: 32px 72px 72px 72px; display: flex; flex-direction: column; gap: 16px; }
.blogpost-wrap img { width: 100%; height: 360px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.blogpost-wrap .date { font-size: 12px; color: var(--text-dim); letter-spacing: 0.05em; text-transform: uppercase; }
.blogpost-wrap h1 { font-size: 36px; line-height: 1.15; }
.blogpost-body { display: flex; flex-direction: column; gap: 16px; }
.blogpost-body p { font-size: 15px; line-height: 1.75; color: var(--text-muted); margin: 0; }

/* ===== Quote form field layout ===== */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#quote-form select {
  height: 38px; border-radius: 2px; background: var(--bg); border: 1px solid var(--border-strong);
  color: var(--text); font-family: inherit; font-size: 13px; padding: 0 12px;
}
#quote-form input[type="file"] { font-size: 12px; color: var(--text-muted); }

/* ===== Certifications (About page) ===== */
.cert-grid { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.cert-badge { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cert-badge img { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--border); background: var(--bg-card); }
.cert-badge span { font-size: 12px; font-weight: 700; color: var(--text-muted); }

/* ===== FAQ accordion ===== */
.faq-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; font-size: 14.5px; font-weight: 700; color: var(--text);
}
.faq-q .chev { flex-shrink: 0; transition: transform 0.25s ease; color: var(--accent); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-a { max-height: 240px; }
.faq-a p { margin: 0; padding: 0 22px 20px 22px; font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }

/* ===== Case studies ===== */
.case-list { display: flex; flex-direction: column; gap: 20px; }
.case-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 28px 32px; }
.case-card .industry {
  display: inline-block; font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: rgba(201,112,46,0.12); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.case-card .title { font-size: 20px; margin-bottom: 18px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.case-grid .k { font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); display: block; margin-bottom: 6px; }
.case-grid p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0; }

/* ===== Resources / downloads ===== */
.resource-list { display: flex; flex-direction: column; gap: 10px; max-width: 760px; }
.resource-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 16px 22px;
}
.resource-item .info { display: flex; align-items: center; gap: 14px; }
.resource-item .title { font-size: 14px; font-weight: 700; color: var(--text); }
.resource-item .meta { font-size: 11.5px; color: var(--text-dim); }
.resource-download {
  display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800;
  letter-spacing: 0.04em; color: var(--accent); cursor: pointer; flex-shrink: 0;
}

/* ===== Careers ===== */
.career-list { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.career-item {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 6px; padding: 18px 22px;
}
.career-item .title { font-size: 15px; font-weight: 700; color: var(--text); }
.career-item .meta { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* ===== About: video placeholder ===== */
.video-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  height: 320px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border);
}
.video-caption { font-size: 15px; font-weight: 700; color: var(--text); }
.video-note { font-size: 12px; color: var(--text-dim); }

/* ===== About: leadership team ===== */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.team-avatar {
  width: 88px; height: 88px; border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-dim);
}
.team-card .name { font-size: 14px; font-weight: 700; color: var(--text); }
.team-card .title { font-size: 12px; color: var(--text-muted); }

/* ===== About: timeline ===== */
.timeline { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--border-strong); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: ""; position: absolute; left: -32px; top: 4px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(201,112,46,0.15);
}
.timeline-item .year { font-size: 12px; font-weight: 800; letter-spacing: 0.05em; color: var(--accent); }
.timeline-item .title { font-size: 16px; margin: 4px 0 6px 0; }
.timeline-item p { font-size: 13px; color: var(--text-muted); line-height: 1.55; margin: 0; max-width: 640px; }

/* ===== Legal pages (privacy / terms of use) ===== */
.legal-body { display: flex; flex-direction: column; gap: 28px; max-width: 820px; }
.legal-section h2 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.legal-section p { font-size: 13.5px; color: var(--text-muted); line-height: 1.7; margin: 0; }

/* ===== Contact view ===== */
.contact-title { display: flex; flex-direction: column; padding: 44px 72px 0 72px; }
.contact-title h1 { font-size: 52px; line-height: 1; }
.contact-title p { max-width: 640px; margin: 16px 0 0 0; font-size: 16px; line-height: 1.6; color: var(--text-muted); font-weight: 500; }

.contact-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; padding: 40px 72px 0 72px; }
.contact-card { display: flex; flex-direction: column; gap: 10px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 22px; }
.contact-card .label { font-size: 11px; letter-spacing: 0.08em; color: var(--text-dim); text-transform: uppercase; }
.contact-card .value { font-size: 14px; font-weight: 600; }

.contact-form-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; padding: 44px 72px 72px 72px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 32px; }
.contact-form .form-title { font-size: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; color: var(--text-dim); }
.field input, .field textarea {
  height: 38px; border-radius: 2px; background: var(--bg); border: 1px solid var(--border-strong);
  color: var(--text); font-family: inherit; font-size: 13px; padding: 0 12px;
}
.field textarea { height: 84px; padding: 10px 12px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 1px solid var(--accent); }

.contact-side { display: flex; flex-direction: column; gap: 16px; }
.map-placeholder {
  flex: 1; min-height: 180px; border-radius: 4px; background: var(--bg-card); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}

/* ===== Footer — hidden by default (no flash on load), shown once JS reveals a sector/page ===== */
footer.site-footer {
  display: none; flex-direction: column; gap: 36px;
  margin-top: auto; padding: 56px 72px 28px 72px; border-top: 1px solid var(--border);
}
footer.site-footer.revealed { display: flex; }

.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.footer-brand p { margin: 14px 0 0 0; font-size: 12.5px; color: var(--text-dim); line-height: 1.6; max-width: 220px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-label { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--text-dim); text-transform: uppercase; margin-bottom: 4px; }
.footer-col a, .footer-col span.footer-link {
  font-size: 13px; color: var(--text-muted); cursor: pointer; transition: color 0.15s ease; width: fit-content;
}
.footer-col a:hover, .footer-col span.footer-link:hover { color: var(--accent); }
.footer-newsletter p { font-size: 12.5px; color: var(--text-dim); line-height: 1.5; margin: 0 0 4px 0; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; height: 40px; border-radius: 2px; background: var(--bg); border: 1px solid var(--border-strong);
  color: var(--text); font-family: inherit; font-size: 12.5px; padding: 0 12px; min-width: 0;
}
.newsletter-form button {
  flex-shrink: 0; background: var(--accent); color: #17130f; border: none; border-radius: 2px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.04em; padding: 0 16px; cursor: pointer;
}

.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);
}
footer.site-footer .copy { font-size: 12px; color: var(--text-dim); }
.footer-legal { display: flex; align-items: center; gap: 18px; }
.footer-legal span { font-size: 12px; color: var(--text-dim); cursor: pointer; }
.footer-legal span:hover { color: var(--accent); }
footer.site-footer .contacts { display: flex; align-items: center; gap: 20px; }
footer.site-footer .contacts span { font-size: 12px; color: var(--text-muted); }

/* ===== Cookie / KVKK consent banner ===== */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: -160px; z-index: 50;
  max-width: 640px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--bg-card); border: 1px solid var(--border-strong); border-radius: 6px;
  padding: 18px 22px; box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  transition: bottom 0.4s ease;
}
.cookie-banner.show { bottom: 20px; }
.cookie-banner p { margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); flex: 1 1 320px; }
.cookie-banner .btn { flex-shrink: 0; padding: 10px 20px; }

/* ===== Credit line — appears at the end of every page (not pinned to the viewport) ===== */
.dev-credit-bar {
  background: var(--bg-black); border-top: 1px solid var(--border);
  padding: 12px 16px; text-align: center;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--text-dim);
}
.dev-credit-bar .heart { color: #e5484d; }
.dev-credit-bar a { color: var(--accent); font-weight: 800; }
.dev-credit-bar a:hover { color: #e8935a; text-decoration: underline; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  header.site-header, .hero, .sector-cards, .lang-strip, .clients-section, .testimonials-section,
  .sector-hero, .sector-subtitle, .section-block, .cta-row, .contact-title,
  .contact-grid, .contact-form-wrap, footer.site-footer, .breadcrumb2, .product-detail, .blogpost-wrap, .crumbs {
    padding-left: 28px; padding-right: 28px;
  }
  .sector-cards { grid-template-columns: 1fr; }
  .cat-grid, .product-grid, .machine-grid, .why-grid, .gallery-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-form-wrap { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  #facility-block .gallery-grid { grid-template-columns: 1fr; }
  .stats-row { flex-wrap: wrap; gap: 20px; }
  .stat-item { flex: 1 1 40%; border-left: none; padding: 0; }
  .hero h1 { font-size: 42px; }
  .sector-hero h1 { font-size: 38px; }
  #header-cta { white-space: nowrap; padding: 12px 16px; font-size: 12px; }
  header.site-header.revealed { max-height: 720px; }

  .hamburger { display: flex; order: 2; }
  .header-right { order: 3; flex-basis: 100%; justify-content: space-between; }
  .nav-collapse { display: none; order: 4; flex-basis: 100%; width: 100%; }
  .nav-collapse.open { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--border); }
  .nav-collapse .main-nav { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
  .nav-collapse .sub-nav {
    flex-direction: column; align-items: flex-start; gap: 12px; width: 100%;
    border-top: 1px solid var(--border); margin-top: 12px; padding-top: 12px;
  }
  .process-line { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
  .process-line .rail { display: none; }

  .footer-top { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
  .team-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .case-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .cat-grid, .product-grid, .machine-grid, .why-grid, .contact-grid, .gallery-grid, .blog-grid { grid-template-columns: 1fr; }
  .product-spec-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .career-item, .resource-item { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 32px; }
  .testimonial-card { padding: 32px 24px; }
  .testimonial-card p { font-size: 16px; }
}
