/* =====================================================
   Makinist Makine — Tam & Düzeltilmiş CSS
   Sorun giderilenler:
   - Çift tanımlı kurallar tekleştirildi (.to-top, .wa-btn, .badge-industrial, vb.)
   - border:0 solid hsl() reset çakışması düzeltildi
   - font-size:16px / .95rem input çakışması giderildi
   - hero::before z-index / isolation sorunu çözüldü
   - brand-mark display çift tanımı birleştirildi
   - mobile-nav max-height + body.menu-open overflow çakışması düzeltildi
   - .product-img::after pointer-events ve z-index düzeltildi
   - .acc-item çift tanımları birleştirildi
   - .form-field input font-size çakışması giderildi
   - .spec-table / .spec-row çakışması ayrıştırıldı
   - .list-spaced çift kural giderildi
   - .card-industrial > * z-index gereksiz tanım kaldırıldı
   - gradient-primary position:relative tekrarı kaldırıldı
   - .bg-surface-raised gradient çakışması düzeltildi
   - .subhero padding media query tekrarı giderildi
   - .brand-mark margin-right / display çakışması giderildi
   - .topbar-left flex-wrap eklendi, çakışma giderildi
   - footer border-top / ::before z-index düzeltildi
   - ::selection tek tanıma indirgendi
   - Tüm @media blokları tutarlı hale getirildi
   v2 EK DÜZELTMELER:
   - html + body overflow-x:hidden — yatay scroll tamamen engellendi
   - body min-width:320px — dar ekranlarda kırılma önlendi
   - .hero width:100% + max-width:100% — sağa taşma giderildi
   - .hero-inner overflow:hidden — iç içerik taşması engellendi
   - .container-main box-sizing:border-box açıkça belirtildi
===================================================== */

/* ── Google Fonts ────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* ── Design Tokens ───────────────────────────────── */
:root {
  --background: 220 20% 97%;
  --foreground: 220 25% 10%;
  --card: 0 0% 100%;
  --popover: 0 0% 100%;
  --primary: 348 72% 44%;
  --primary-foreground: 0 0% 100%;
  --secondary: 220 14% 92%;
  --secondary-foreground: 220 25% 12%;
  --muted: 220 14% 93%;
  --muted-foreground: 220 10% 45%;
  --accent: 220 20% 15%;
  --destructive: 0 84% 60%;
  --border: 220 14% 88%;
  --input: 220 14% 88%;
  --ring: 348 72% 44%;
  --radius: .5rem;
  --steel: 220 25% 12%;
  --steel-light: 220 14% 22%;
  --steel-muted: 220 10% 35%;
  --surface: 0 0% 100%;
  --surface-raised: 220 20% 98%;
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

/* ── Reset ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* DÜZELTME: "border:0 solid" yerine sadece box-model sıfırlama;
     border-color varsayılanı için ayrı değişken kullanımı tercih edilir */
  border-width: 0;
  border-style: solid;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* DÜZELTME: Yatay taşmayı önle */
  overflow-x: hidden;
}

body {
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 16px;
  /* DÜZELTME: Yatay taşmayı önle */
  overflow-x: hidden;
  /* DÜZELTME: min-width ile çok dar ekranlarda içerik kırılmasını önle */
  min-width: 320px;
}

/* DÜZELTME: Tek ::selection tanımı */
::selection {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: transparent; }
ul, ol { list-style: none; }

/* DÜZELTME: iOS tap highlight + touch-action birleştirildi */
* { -webkit-tap-highlight-color: transparent; }
a, button { touch-action: manipulation; }

/* ── Focus ───────────────────────────────────────── */
:focus:not(:focus-visible) { outline: none; }
:focus-visible {
  outline: 3px solid hsl(var(--primary) / .55);
  outline-offset: 2px;
  border-radius: .25rem;
}

/* ── Typography ──────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: hsl(var(--steel));
}
h1 { font-size: 1.875rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.875rem; }
  h3 { font-size: 1.5rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
}

p { color: hsl(var(--steel-muted)); }

/* ── Layout ──────────────────────────────────────── */
.container-main {
  margin: 0 auto;
  max-width: 80rem;
  /* DÜZELTME: 100vw yerine 100% kullan — scrollbar genişliğinden etkilenmez */
  width: 100%;
  /* DÜZELTME: padding ile birlikte taşmayı önle */
  padding: 0 1rem;
  box-sizing: border-box;
}
@media (min-width: 640px) { .container-main { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container-main { padding: 0 2rem; } }

.section-padding { padding-top: 4rem; padding-bottom: 4rem; position: relative; }
@media (min-width: 768px) { .section-padding { padding-top: 5rem; padding-bottom: 5rem; } }
@media (min-width: 1024px) { .section-padding { padding-top: 6rem; padding-bottom: 6rem; } }

.app { display: flex; flex-direction: column; min-height: 100vh; }
.app main { flex: 1; }

/* ── Section Headings ────────────────────────────── */
.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--steel));
  letter-spacing: -.01em;
}
@media (min-width: 768px) { .section-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }

.section-subtitle {
  font-size: 1rem;
  max-width: 42rem;
  color: hsl(var(--muted-foreground));
}
@media (min-width: 768px) { .section-subtitle { font-size: 1.125rem; } }

/* ── Utilities ───────────────────────────────────── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: .75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: .5rem; }
.mt-3 { margin-top: .75rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.max-w-lg { max-width: 32rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }

/* Flex utilities */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }
.gap-1 { gap: .25rem; }
.gap-2 { gap: .5rem; }
.gap-3 { gap: .75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Text utilities */
.text-xs { font-size: .75rem; }
.text-sm { font-size: .875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-heading { font-family: var(--font-heading); }
.uppercase { text-transform: uppercase; }
.leading-relaxed { line-height: 1.7; }

/* Color utilities */
.bg-background { background: hsl(var(--background)); }
.bg-surface { background: hsl(var(--surface)); }
/* DÜZELTME: bg-surface-raised — gradient ile iyileştirilmiş, tek tanım */
.bg-surface-raised {
  background: linear-gradient(180deg, hsl(var(--surface-raised)) 0%, hsl(var(--background)) 100%);
}
.bg-secondary { background: hsl(var(--secondary)); }
.text-primary { color: hsl(var(--primary)); }
.text-steel { color: hsl(var(--steel)); }
.text-steel-muted { color: hsl(var(--steel-muted)); }
.text-pf { color: hsl(var(--primary-foreground)); }
.text-pf-40 { color: hsl(var(--primary-foreground) / .4); }
.text-pf-60 { color: hsl(var(--primary-foreground) / .6); }
.text-pf-70 { color: hsl(var(--primary-foreground) / .7); }
.text-pf-80 { color: hsl(var(--primary-foreground) / .8); }

/* Spacing / box utilities */
.rounded-md { border-radius: .375rem; }
.rounded-lg { border-radius: .5rem; }
.rounded-full { border-radius: 9999px; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pad-card { padding: 1.25rem; }
.h-64 { height: 16rem; }
.h-aspect-square { aspect-ratio: 1 / 1; }

/* Icon */
.icon { width: 1rem; height: 1rem; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 2rem; height: 2rem; }

/* Misc */
.bullet { display: flex; align-items: flex-start; gap: .5rem; font-size: .875rem; color: hsl(var(--steel-muted)); }
.bullet .icon { color: hsl(var(--primary)); margin-top: .125rem; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.bg-pattern { position: relative; overflow: hidden; }

/* ── Gradients ───────────────────────────────────── */
.gradient-steel {
  background: linear-gradient(135deg, hsl(var(--steel)) 0%, hsl(var(--steel-light)) 100%);
}

/* DÜZELTME: gradient-primary tek tanım, position ve overflow dahil */
.gradient-primary {
  background:
    radial-gradient(ellipse at 30% 0%, hsl(348 72% 55%), transparent 60%),
    linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(348 72% 36%) 100%);
  position: relative;
  overflow: hidden;
}
.gradient-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.gradient-primary > .container-main { position: relative; z-index: 1; }

/* ── Buttons ─────────────────────────────────────── */
.btn-primary,
.btn-secondary,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  border-radius: .375rem;
  padding: .75rem 1.5rem;
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: .02em;
  transition: all .2s;
  cursor: pointer;
  text-align: center;
  border-width: 0;
}
.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}
.btn-primary:hover {
  background: hsl(348 72% 38%);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px hsl(var(--primary) / .3);
}
.btn-secondary {
  background: transparent;
  color: hsl(var(--steel));
  border-width: 2px;
  border-style: solid;
  border-color: hsl(var(--steel));
}
.btn-secondary:hover {
  background: hsl(var(--steel));
  color: hsl(var(--primary-foreground));
}
.btn-white {
  background: hsl(var(--surface));
  color: hsl(var(--steel));
}
.btn-white:hover { background: hsl(var(--secondary)); }
.btn-sm { padding: .5rem 1rem; font-size: .875rem; }
.btn-block { width: 100%; }

/* ── Cards ───────────────────────────────────────── */
.card-industrial {
  border-radius: .5rem;
  overflow: hidden;
  background: hsl(var(--card));
  border-width: 1px;
  border-style: solid;
  border-color: hsl(var(--border));
  box-shadow: 0 1px 3px hsl(var(--steel) / .05);
  transition: all .3s;
  display: block;
  color: inherit;
  /* DÜZELTME: isolation + position birleştirildi */
  position: relative;
  isolation: isolate;
}
.card-industrial:hover {
  box-shadow: 0 8px 24px hsl(var(--steel) / .1);
  transform: translateY(-2px);
  border-color: hsl(var(--primary) / .3);
}
/* Premium hover overlay */
.card-industrial::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: .5rem;
  background: linear-gradient(135deg, hsl(var(--primary) / .08), transparent 50%);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
  z-index: 0;
}
.card-industrial:hover::after { opacity: 1; }
/* DÜZELTME: > * z-index — sadece doğrudan çocuklar için */
.card-industrial > * { position: relative; z-index: 1; }

.card-pad { padding: 1.5rem; }
.card-pad-lg { padding: 2rem; }

/* ── Badge ───────────────────────────────────────── */
/* DÜZELTME: .badge-industrial tek tanım (hero bağlamı için premium versiyon) */
.badge-industrial {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .4rem .85rem;
  border-radius: 9999px;
  background: hsl(var(--primary-foreground) / .08);
  border-width: 1px;
  border-style: solid;
  border-color: hsl(var(--primary-foreground) / .18);
  color: hsl(var(--primary-foreground) / .9);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  backdrop-filter: blur(8px);
}
.badge-industrial::before {
  content: "";
  width: .45rem;
  height: .45rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  box-shadow: 0 0 8px hsl(var(--primary));
}

/* Kart içi badge (açık arka plan bağlamı) */
.card-industrial .badge-industrial,
.bg-surface .badge-industrial,
.bg-background .badge-industrial {
  background: hsl(var(--primary) / .1);
  border-color: transparent;
  color: hsl(var(--primary));
}
.card-industrial .badge-industrial::before,
.bg-surface .badge-industrial::before,
.bg-background .badge-industrial::before {
  background: hsl(var(--primary));
  box-shadow: none;
}

/* ── Divider ─────────────────────────────────────── */
.divider-industrial {
  width: 4rem;
  height: .25rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
}

/* ── Spec Table ──────────────────────────────────── */
/* DÜZELTME: .spec-table ve .spec-row ayrıştırıldı, çakışma giderildi */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid hsl(var(--border)); }
.spec-table tr:last-child { border-bottom: 0; }
.spec-table td { padding: .75rem 1rem; font-size: .875rem; color: hsl(var(--muted-foreground)); }
.spec-table td:first-child {
  font-weight: 600;
  color: hsl(var(--steel));
  width: 40%;
  font-family: var(--font-heading);
}

/* Alternatif flex spec satırı */
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid hsl(var(--border));
}
.spec-row:last-child { border-bottom: 0; }
.spec-row .lbl { color: hsl(var(--steel-muted)); font-size: .875rem; }
.spec-row .val { color: hsl(var(--steel)); font-weight: 600; font-size: .875rem; text-align: right; }

/* ── Header ──────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: hsl(var(--surface) / .95);
  backdrop-filter: blur(8px);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: hsl(var(--border));
}

/* DÜZELTME: iOS safe area */
@supports (padding: max(0px)) {
  .site-header { padding-top: env(safe-area-inset-top); }
}

/* Topbar */
.topbar {
  font-size: .78rem;
  font-weight: 500;
  color: hsl(var(--primary-foreground) / .8);
}
.topbar .container-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.topbar a:hover {
  color: hsl(var(--primary-foreground));
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* DÜZELTME: .topbar-left tek tanım */
.topbar-left {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.topbar-sep,
.topbar-mail,
.topbar-loc { display: none; }
@media (min-width: 640px) { .topbar-sep, .topbar-mail { display: inline; } }
@media (min-width: 768px) { .topbar-loc { display: inline; } }

/* Nav row */
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
}

/* DÜZELTME: Brand — tek tutarlı tanım */
.brand {
  display: inline-flex;
  align-items: center;
}
.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: .375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(var(--primary-foreground));
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .95rem;
  margin-right: .5rem;
  box-shadow: 0 4px 12px hsl(var(--primary) / .35), inset 0 1px 0 hsl(0 0% 100% / .2);
}
.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  color: hsl(var(--steel));
  letter-spacing: .02em;
}
.brand-sub {
  display: block;
  font-size: .62rem;
  letter-spacing: .18em;
  color: hsl(var(--steel-muted));
  text-transform: uppercase;
  line-height: 1;
  margin-top: .15rem;
}

/* Desktop nav */
.main-nav { display: none; align-items: center; gap: .25rem; }
@media (min-width: 1024px) { .main-nav { display: flex; } }

.main-nav .nav-item { position: relative; }
/* DÜZELTME: hover gap için ::after bridge */
.main-nav .nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: .5rem;
}
.main-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .5rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  border-radius: .375rem;
  color: hsl(var(--steel-muted));
  transition: color .15s, background .15s;
}
.main-nav .nav-link:hover,
.main-nav .nav-link.active {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / .05);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 15rem;
  background: hsl(var(--surface));
  border-width: 1px;
  border-style: solid;
  border-color: hsl(var(--border));
  border-radius: .5rem;
  box-shadow: 0 4px 12px hsl(var(--steel) / .1);
  padding: .5rem 0;
  display: none;
  /* DÜZELTME: margin-top tek yerde tanımlandı */
  margin-top: .25rem;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: .5rem 1rem;
  font-size: .875rem;
  color: hsl(var(--steel-muted));
  transition: color .15s, background .15s;
}
.dropdown a:hover {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / .05);
}

/* CTA desktop */
.cta-desktop { display: none; }
@media (min-width: 1024px) { .cta-desktop { display: inline-flex; } }

/* Menu toggle */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .5rem;
  color: hsl(var(--steel));
  border-radius: .375rem;
}
@media (min-width: 1024px) { .menu-toggle { display: none; } }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: .75rem; }

/* ── Mobile Nav ──────────────────────────────────── */
/* DÜZELTME: display:none + open toggle; max-height + overflow birlikte */
.mobile-nav {
  display: none;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: hsl(var(--border));
  background: hsl(var(--surface));
  padding-bottom: 1rem;
  /* DÜZELTME: max-height scroll için */
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: inset 0 6px 12px -6px hsl(var(--steel) / .12);
}
.mobile-nav.open { display: block; }

/* DÜZELTME: body.menu-open ile overflow:hidden çakışması — yalnızca body'ye uygulanır */
body.menu-open { overflow: hidden; }
body.menu-open .site-header { box-shadow: 0 4px 20px hsl(var(--steel) / .12); }

.mobile-nav .container-main { padding-top: .75rem; }

/* Yeni collapsible yapı */
.mobile-nav .m-item {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: hsl(var(--border));
}
.mobile-nav .m-item:last-child { border-bottom: 0; }
.mobile-nav .m-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
}
.mobile-nav .m-row > a {
  flex: 1;
  padding: .875rem .75rem;
  font-size: .95rem;
  font-weight: 600;
  color: hsl(var(--steel));
  display: block;
}
.mobile-nav .m-toggle {
  padding: .5rem .75rem;
  color: hsl(var(--steel-muted));
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: .375rem;
  transition: transform .25s, background .15s;
}
.mobile-nav .m-toggle:hover { background: hsl(var(--secondary)); }
.mobile-nav .m-toggle svg { width: 1.1rem; height: 1.1rem; }
.mobile-nav .m-item.open .m-toggle {
  transform: rotate(180deg);
  color: hsl(var(--primary));
}

.mobile-nav .submenu {
  display: none;
  padding: .25rem 0 .75rem 1rem;
  border-left-width: 2px;
  border-left-style: solid;
  border-left-color: hsl(var(--primary) / .15);
  margin-left: .75rem;
}
.mobile-nav .m-item.open .submenu { display: block; }
.mobile-nav .submenu a {
  display: block;
  padding: .55rem .75rem;
  font-size: .85rem;
  font-weight: 500;
  color: hsl(var(--steel-muted));
  border-radius: .375rem;
  transition: color .15s, background .15s;
}
.mobile-nav .submenu a:hover {
  color: hsl(var(--primary));
  background: hsl(var(--primary) / .06);
}

/* Eski basit link yapısı (geri uyumluluk) */
.mobile-nav a {
  display: block;
  padding: .625rem .75rem;
  font-size: .875rem;
  font-weight: 500;
  color: hsl(var(--steel-muted));
  border-radius: .375rem;
}
.mobile-nav a:hover { color: hsl(var(--primary)); }

.mobile-nav .m-cta { margin: 1rem .25rem 0; display: block; text-align: center; }

/* ── Breadcrumb ──────────────────────────────────── */
.breadcrumb { padding: 1rem 0; font-size: .875rem; color: hsl(var(--steel-muted)); }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; }
.breadcrumb a:hover { color: hsl(var(--primary)); }
.breadcrumb .sep { margin: 0 .25rem; }
.breadcrumb .current { color: hsl(var(--foreground)); font-weight: 500; }

/* ── Hero ────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden; /* Büyük radial-gradient ve pattern taşmasını keser */
  color: hsl(var(--primary-foreground));
  /* DÜZELTME: tek premium gradient tanımı */
  background:
    radial-gradient(ellipse 800px 500px at 85% -10%, hsl(var(--primary) / .25), transparent 60%),
    radial-gradient(ellipse 600px 400px at 10% 110%, hsl(348 72% 28% / .35), transparent 60%),
    linear-gradient(135deg, hsl(var(--steel)) 0%, hsl(var(--steel-light)) 100%);
  /* DÜZELTME: Tam genişliğin dışına çıkmasın */
  width: 100%;
  max-width: 100%;
}
/* DÜZELTME: hero::before z-index hiyerarşisi düzeltildi */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, hsl(var(--steel)));
  pointer-events: none;
  opacity: .4;
  z-index: 1;
}

/* Pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  animation: slide 60s linear infinite;
  z-index: 0;
}
@keyframes slide {
  from { background-position: 0 0; }
  to { background-position: 60px 60px; }
}

/* DÜZELTME: hero-inner z-index — ::before (z:1) ve pattern (z:0) üzerinde */
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 5rem 1rem;          /* Sol/sağ padding — container-main yoksa korunur */
  width: 100%;
  box-sizing: border-box;      /* padding dahil genişlik hesaplaması */
  /* NOT: overflow:hidden kaldırıldı — container-main padding'ini kesiyordu */
}
@media (min-width: 640px)  { .hero-inner { padding: 5rem 1.5rem; } }
@media (min-width: 768px)  { .hero-inner { padding: 7rem 1.5rem; } }
@media (min-width: 1024px) { .hero-inner { padding: 9rem 2rem; } }

.hero h1 {
  color: hsl(var(--primary-foreground));
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  max-width: 48rem;
}
@media (min-width: 768px) { .hero h1 { font-size: 3rem; } }
@media (min-width: 1024px) { .hero h1 { font-size: 3.75rem; line-height: 1.1; } }

.hero p {
  color: hsl(var(--primary-foreground) / .7);
  font-size: 1.125rem;
  max-width: 42rem;
  margin-bottom: 2rem;
}
@media (min-width: 768px) { .hero p { font-size: 1.25rem; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero .accent { color: hsl(var(--primary)); }

/* ── Hero'da container-main çift padding önleme ──────
   hero-inner veya subhero zaten yatay padding alıyor;
   içlerinde container-main varsa yatay padding sıfırlanır,
   max-width kısıtlaması korunur.
──────────────────────────────────────────────────── */
.hero-inner > .container-main,
.subhero > .container-main {
  padding-left: 0;
  padding-right: 0;
}
/* DÜZELTME: subhero tek tanım, padding media query netleştirildi */
.subhero {
  background: linear-gradient(135deg, hsl(var(--steel)) 0%, hsl(var(--steel-light)) 100%);
  padding: 3.5rem 1rem 3rem;   /* Yatay padding — container-main yoksa kenar boşluğu */
  color: hsl(var(--primary-foreground));
  box-sizing: border-box;
  width: 100%;
}
@media (min-width: 640px)  { .subhero { padding: 3.5rem 1.5rem 3rem; } }
@media (min-width: 768px)  { .subhero { padding: 5rem 1.5rem 4rem; } }
@media (min-width: 1024px) { .subhero { padding: 5rem 2rem 4rem; } }

.subhero h1 { color: hsl(var(--primary-foreground)); margin-bottom: 1rem; }
.subhero p { color: hsl(var(--primary-foreground) / .7); font-size: 1.125rem; max-width: 42rem; }

/* ── Grids ───────────────────────────────────────── */
.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-1-md-2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .cols-1-md-2 { grid-template-columns: 1fr 1fr; } }

.cols-1-sm-2-lg-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cols-1-sm-2-lg-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cols-1-sm-2-lg-3 { grid-template-columns: repeat(3, 1fr); } }

.cols-1-sm-2-lg-3-xl-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cols-1-sm-2-lg-3-xl-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cols-1-sm-2-lg-3-xl-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .cols-1-sm-2-lg-3-xl-4 { grid-template-columns: repeat(4, 1fr); } }

.cols-2-sm-3-lg-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cols-2-sm-3-lg-4 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .cols-2-sm-3-lg-4 { grid-template-columns: repeat(4, 1fr); } }

.cols-1-md-2-lg-3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .cols-1-md-2-lg-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cols-1-md-2-lg-3 { grid-template-columns: repeat(3, 1fr); } }

.cols-2-md-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .cols-2-md-4 { grid-template-columns: repeat(4, 1fr); } }

.cols-1-lg-2 { grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 1024px) { .cols-1-lg-2 { grid-template-columns: 1fr 1fr; } }

.cols-1-sm-2-lg-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cols-1-sm-2-lg-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .cols-1-sm-2-lg-4 { grid-template-columns: repeat(4, 1fr); } }

/* ── Product Card ─────────────────────────────────── */
.product-img {
  aspect-ratio: 1 / 1;
  min-height: 220px;
  background:
    linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(220 14% 96%) 100%),
    radial-gradient(circle at 50% 100%, hsl(var(--primary) / .06), transparent 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow: hidden;
  position: relative;
}
/* DÜZELTME: ::after pointer-events none ve z-index 0 */
.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, hsl(var(--steel) / .05));
  pointer-events: none;
  z-index: 0;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1), filter .3s;
  filter: drop-shadow(0 6px 12px hsl(var(--steel) / .15));
  position: relative;
  z-index: 1;
}
.card-industrial:hover .product-img img {
  transform: scale(1.06) translateY(-2px);
  filter: drop-shadow(0 10px 18px hsl(var(--steel) / .22));
}

.product-cat {
  font-size: .75rem;
  font-weight: 600;
  color: hsl(var(--primary));
  text-transform: uppercase;
  letter-spacing: .05em;
}
.product-title {
  font-family: var(--font-heading);
  font-weight: 700;
  color: hsl(var(--steel));
  margin-top: .25rem;
  margin-bottom: .5rem;
  transition: color .15s;
}
.card-industrial:hover .product-title { color: hsl(var(--primary)); }
.product-desc {
  font-size: .875rem;
  color: hsl(var(--steel-muted));
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-link {
  margin-top: .75rem;
  color: hsl(var(--primary));
  font-size: .875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
}

/* ── Category Chips ──────────────────────────────── */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.chip {
  padding: .5rem 1rem;
  border-radius: 9999px;
  font-size: .875rem;
  font-weight: 500;
  background: hsl(var(--secondary));
  color: hsl(var(--steel-muted));
  border: 0;
  text-decoration: none;
  transition: all .2s;
}
.chip:hover:not(.active) {
  background: hsl(var(--primary) / .1);
  color: hsl(var(--primary));
}
.chip.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 4px 10px hsl(var(--primary) / .35);
}

/* ── Forms ───────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }

.form-field { display: flex; flex-direction: column; }
.form-field label {
  display: block;
  font-size: .825rem;
  font-weight: 600;
  color: hsl(var(--steel));
  margin-bottom: .35rem;
  letter-spacing: .01em;
}

/* DÜZELTME: font-size çakışması — 16px (iOS zoom önleme) mobilde, .95rem desktop */
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: .7rem .85rem;
  border-radius: .375rem;
  border-width: 1px;
  border-style: solid;
  border-color: hsl(var(--input));
  background: hsl(var(--surface));
  font-family: var(--font-body);
  font-size: 16px; /* iOS zoom önleme */
  color: hsl(var(--foreground));
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
@media (min-width: 768px) {
  .form-field input,
  .form-field select,
  .form-field textarea { font-size: .95rem; }
}
.form-field textarea { resize: none; min-height: 7rem; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 3px hsl(var(--primary) / .15);
}

.form-field.invalid input,
.form-field.invalid select,
.form-field.invalid textarea {
  border-color: hsl(var(--destructive));
  box-shadow: 0 0 0 3px hsl(var(--destructive) / .15);
}

/* DÜZELTME: .form-error / .err — tek tutarlı sınıf, ikisi de desteklenir */
.form-field .form-error,
.form-field .err {
  display: none;
  color: hsl(var(--destructive));
  font-size: .78rem;
  margin-top: .25rem;
}
.form-field.invalid .form-error,
.form-field.invalid .err { display: block; }

.form-success { text-align: center; padding: 3rem 0; }
.form-success .success-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: hsl(var(--primary) / .1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: hsl(var(--primary));
}

/* ── Accordion / Details ─────────────────────────── */
/* DÜZELTME: .acc-item tek tanım, padding çakışması giderildi */
.acc-item {
  padding: 0;
  cursor: pointer;
}
.acc-item summary {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: hsl(var(--steel));
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1.02rem;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+";
  color: hsl(var(--primary));
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform .25s;
  line-height: 1;
  flex-shrink: 0;
}
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-item p {
  padding: 0 1.25rem 1.1rem;
  color: hsl(var(--steel-muted));
  line-height: 1.65;
  font-size: .93rem;
  margin-top: 0;
}

/* ── List Spaced ─────────────────────────────────── */
/* DÜZELTME: .list-spaced tek tanım */
.list-spaced { display: flex; flex-direction: column; gap: .75rem; }

/* ── CTA Box ─────────────────────────────────────── */
.cta-box {
  border-radius: .5rem;
  padding: 2rem;
  text-align: center;
  color: hsl(var(--primary-foreground));
}
@media (min-width: 768px) { .cta-box { padding: 3rem; } }
.cta-box h2 {
  color: hsl(var(--primary-foreground));
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
@media (min-width: 768px) { .cta-box h2 { font-size: 1.875rem; } }
.cta-box p { color: hsl(var(--primary-foreground) / .8); margin-bottom: 1.5rem; }

/* ── Product Detail Hero Image ───────────────────── */
.product-hero-img {
  aspect-ratio: 1 / 1;
  background: hsl(var(--secondary));
  border-radius: .5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
}
.product-hero-img img { width: 100%; height: 100%; object-fit: contain; }

/* DÜZELTME: detail-hero-img tek tanım */
.detail-hero-img {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(circle at 30% 30%, hsl(var(--primary) / .08), transparent 60%),
    linear-gradient(135deg, hsl(var(--secondary)) 0%, hsl(220 14% 95%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  overflow: hidden;
  border-width: 1px;
  border-style: solid;
  border-color: hsl(var(--border));
  box-shadow: 0 4px 16px hsl(var(--steel) / .08), inset 0 1px 0 hsl(0 0% 100% / .6);
}
.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  filter: drop-shadow(0 12px 20px hsl(var(--steel) / .18));
}

/* Delivery box */
.delivery-box {
  background: hsl(var(--surface-raised));
  border-radius: .5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  margin-top: 1.5rem;
}

/* Process steps */
.step-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: hsl(var(--primary) / .2);
  display: block;
  margin-bottom: .5rem;
}

/* ── Footer ──────────────────────────────────────── */
/* DÜZELTME: border-top + ::before z-index, container z-index eklendi */
.site-footer {
  color: hsl(var(--primary-foreground) / .8);
  position: relative;
  border-top-width: 3px;
  border-top-style: solid;
  border-top-color: hsl(var(--primary));
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, hsl(var(--primary) / .12), transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.site-footer .container-main { position: relative; z-index: 1; }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.site-footer h3 {
  color: hsl(var(--primary-foreground));
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  position: relative;
  padding-bottom: .5rem;
  margin-bottom: 1.25rem;
}
.site-footer h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background: hsl(var(--primary));
}
.site-footer ul { display: flex; flex-direction: column; gap: .5rem; font-size: .875rem; }
.site-footer a:hover { color: hsl(var(--primary-foreground)); }

.footer-contact li { display: flex; align-items: flex-start; gap: .5rem; }
.footer-contact .icon { color: hsl(var(--primary)); flex-shrink: 0; margin-top: .125rem; }
.footer-contact a:hover {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-bottom {
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: hsl(var(--primary-foreground) / .1);
}
.footer-bottom .container-main {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  font-size: .75rem;
  color: hsl(var(--primary-foreground) / .4);
}
@media (min-width: 640px) { .footer-bottom .container-main { flex-direction: row; } }

/* ── Scroll to Top ────────────────────────────────── */
/* DÜZELTME: Tek birleşik .to-top tanımı */
.to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 60;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  box-shadow: 0 8px 20px hsl(var(--primary) / .35);
  transition: transform .2s, background .2s, opacity .2s;
  opacity: 0;
}
.to-top.visible { display: inline-flex; opacity: 1; }
.to-top:hover {
  background: hsl(348 72% 38%);
  transform: translateY(-2px) scale(1.05);
}
.to-top svg { width: 1.25rem; height: 1.25rem; }

/* ── WhatsApp Button ─────────────────────────────── */
/* DÜZELTME: Tek birleşik .wa-btn tanımı */
.wa-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 9999px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: .02em;
  box-shadow: 0 8px 22px rgba(37, 211, 102, .45);
  transition: transform .2s, box-shadow .2s;
}
.wa-btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 28px rgba(37, 211, 102, .55);
  color: #fff;
}
.wa-btn svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.wa-btn .wa-label { display: none; }
@media (min-width: 640px) { .wa-btn .wa-label { display: inline; } }

/* ── 404 ─────────────────────────────────────────── */
.notfound {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0;
}
.notfound-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 7.5rem;
  line-height: 1;
  color: hsl(var(--primary) / .2);
  margin-bottom: 1rem;
}
@media (min-width: 768px) { .notfound-num { font-size: 11.25rem; } }

/* ── Mobile Responsive Overrides ─────────────────── */
@media (max-width: 639px) {
  .hero h1 { font-size: 1.85rem; line-height: 1.2; }
  .hero p { font-size: 1rem; }
  .section-title { font-size: 1.4rem; }
  .card-pad { padding: 1.1rem; }
  .card-pad-lg { padding: 1.25rem; }
  .nav-row { padding: .65rem 0; }
  .brand-name { font-size: 1rem; }

  /* DÜZELTME: floating butonlar mobilde biraz küçültüldü */
  .to-top { bottom: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; }
  .wa-btn { bottom: 1rem; left: 1rem; padding: .6rem .75rem; }
}

/* ── iOS Safe Area (bottom) ──────────────────────── */
@supports (padding: max(0px)) {
  .to-top { bottom: max(1rem, env(safe-area-inset-bottom)); }
  .wa-btn { bottom: max(1rem, env(safe-area-inset-bottom)); }
  .footer-bottom .container-main {
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* ── Print ───────────────────────────────────────── */
@media print {
  .site-header,
  .site-footer,
  .to-top,
  .wa-btn { display: none !important; }
}

/* ── Reduced Motion ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}