/* =========================================================
   YK DESIGN — Tasarım Sistemi
   Konsept: "Teknik Veri Föyü" — ürünler bir laboratuvar/servis
   arşivinin parçası gibi, kılavuz & driver indirmeleri kesikli
   çizgiyle ayrılmış bir "kupon" şeridi olarak sunulur.
   ========================================================= */

:root {
  /* --- Renkler --- */
  --ink: #15181C;
  --ink-soft: #3A3F46;
  --steel: #6B7178;
  --line: #DEDBD3;
  --line-strong: #C7C3B8;
  --paper: #F3F2EE;
  --panel: #FFFFFF;
  --red: #72BB3D;
  --red-dark: #5A9A2E;
  --red-tint: #EAF6E1;
  --ok: #1E7B45;

  /* --- Tipografi --- */
  --f-display: 'Big Shoulders Display', 'Archivo Narrow', sans-serif;
  --f-body: 'Inter', -apple-system, sans-serif;
  --f-mono: 'JetBrains Mono', 'Courier New', monospace;

  /* --- Ölçü --- */
  --radius: 3px;
  --container: 1240px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
svg { width: 20px; height: 20px; flex-shrink: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

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

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--red);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.02;
  margin: 0;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.3rem; }

.section { padding: 76px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
}
.section-head h2 { margin-top: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .1s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn.btn-red { background: var(--red); border-color: var(--red); }
.btn.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.btn-outline:hover { border-color: var(--ink); }
.btn.btn-sm { padding: 9px 16px; font-size: 0.72rem; }
.btn svg { width: 15px; height: 15px; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 242, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px;
  border: 2.5px solid var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--red);
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}
.brand-word {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.32rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-transform: uppercase;
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav a.nav-link {
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 14px;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.main-nav a.nav-link:hover { color: var(--red); background: var(--red-tint); }

.nav-item.has-dropdown { position: relative; }
.dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(20,20,20,0.1);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
}
.nav-item.has-dropdown:hover .dropdown-panel,
.nav-item.has-dropdown:focus-within .dropdown-panel {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-panel a {
  display: block;
  padding: 9px 12px;
  font-size: 0.85rem;
  border-radius: var(--radius);
  color: var(--ink-soft);
}
.dropdown-panel a:hover { background: var(--paper); color: var(--red); }

.header-tools { display: flex; align-items: center; gap: 10px; }
.search-toggle, .menu-toggle {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
}
.search-toggle:hover, .menu-toggle:hover { border-color: var(--red); color: var(--red); }
.menu-toggle { display: none; }

.search-drawer {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  overflow: hidden;
  max-height: 0;
  transition: max-height .22s ease;
}
.search-drawer.open { max-height: 110px; }
.search-drawer form {
  display: flex;
  gap: 10px;
  padding: 20px 0;
}
.search-drawer input {
  flex: 1;
  padding: 13px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 1rem;
  background: var(--paper);
}
.search-drawer input:focus { outline: none; border-color: var(--red); }

/* ---------------- Hero ---------------- */
.hero {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(230,0,19,0.035), transparent 55%),
    var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  padding: 72px 0 0;
  align-items: center;
}
.hero-copy h1 { margin: 16px 0 20px; }
.hero-copy h1 .hl { color: var(--red); }
.hero-desc { color: var(--ink-soft); font-size: 1.08rem; max-width: 480px; margin-bottom: 30px; }

.model-finder {
  display: flex;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 480px;
  background: var(--panel);
}
.model-finder input {
  flex: 1;
  border: none;
  padding: 16px 18px;
  font-family: var(--f-mono);
  font-size: 0.95rem;
  background: transparent;
}
.model-finder input:focus { outline: none; }
.model-finder button {
  border: none;
  background: var(--ink);
  color: #fff;
  padding: 0 22px;
  font-family: var(--f-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 8px;
}
.model-finder button:hover { background: var(--red); }
.hero-hint { margin-top: 12px; font-size: 0.8rem; color: var(--steel); font-family: var(--f-mono); }

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 20px 0;
}
.hero-tile {
  aspect-ratio: 1 / 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-tile:nth-child(2) { margin-top: 34px; }
.hero-tile:nth-child(3) { margin-top: -34px; }
.hero-tile img { width: 100%; height: 100%; object-fit: cover; }
.hero-tile svg { width: 42px; height: 42px; color: var(--line-strong); }
.hero-tile .tile-tag {
  position: absolute; top: 10px; left: 10px;
  font-family: var(--f-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  background: var(--ink);
  color: #fff;
  padding: 4px 8px;
  border-radius: 2px;
  text-transform: uppercase;
}

.stat-strip {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-strip .stat {
  padding: 22px 28px;
  border-right: 1px solid var(--line);
}
.stat-strip .stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--steel);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 6px;
}

/* ---------------- Kategori Grid ---------------- */
.kategori-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.kategori-card {
  background: var(--panel);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background .15s ease;
  min-height: 190px;
  position: relative;
}
.kategori-card:hover { background: #FCFAF7; }
.kategori-card:hover .kategori-icon { border-color: var(--red); color: var(--red); }
.kategori-icon {
  width: 46px; height: 46px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft);
  transition: border-color .15s, color .15s;
}
.kategori-icon svg { width: 20px; height: 20px; }
.kategori-card h3 { text-transform: none; font-size: 1.08rem; font-weight: 700; }
.kategori-count {
  font-family: var(--f-mono);
  font-size: 0.74rem;
  color: var(--steel);
  margin-top: auto;
}
.kategori-arrow {
  position: absolute; top: 26px; right: 24px;
  color: var(--line-strong);
  transition: transform .15s, color .15s;
}
.kategori-card:hover .kategori-arrow { color: var(--red); transform: translate(3px,-3px); }

/* ---------------- Ürün "Spec Ticket" Kartı ---------------- */
.urun-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.urun-kart {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.urun-kart:hover { border-color: var(--ink); box-shadow: 0 14px 30px rgba(20,20,20,0.08); transform: translateY(-3px); }

.urun-media {
  aspect-ratio: 4/3;
  background: var(--paper);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px dashed var(--line-strong);
}
.urun-media img { width: 100%; height: 100%; object-fit: contain; padding: 18px; }
.urun-media svg { width: 44px; height: 44px; color: var(--line-strong); }
.urun-kategori-tag {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--f-mono);
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--ink);
  color: #fff;
  padding: 4px 9px;
  border-radius: 2px;
}
.urun-body { padding: 18px 20px 6px; flex: 1; }
.urun-model {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  color: var(--red);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
}
.urun-body h3 { text-transform: none; font-size: 1.06rem; font-weight: 700; margin-bottom: 6px; }
.urun-desc { color: var(--steel); font-size: 0.87rem; line-height: 1.5; }

.urun-stub {
  margin-top: 14px;
  border-top: 1px dashed var(--line-strong);
  position: relative;
  display: flex;
}
.urun-stub::before, .urun-stub::after {
  content: '';
  position: absolute;
  top: -7px;
  width: 14px; height: 14px;
  background: var(--paper);
  border-radius: 50%;
  border: 1px solid var(--line);
}
.urun-stub::before { left: -21px; }
.urun-stub::after { right: -21px; }
.urun-stub a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 13px 8px;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  border-right: 1px dashed var(--line-strong);
}
.urun-stub a:last-child { border-right: none; }
.urun-stub a svg { width: 14px; height: 14px; }
.urun-stub a:hover { color: var(--red); background: var(--red-tint); }
.urun-stub a.disabled { color: var(--line-strong); pointer-events: none; }

/* ---------------- Breadcrumb ---------------- */
.breadcrumb {
  font-family: var(--f-mono);
  font-size: 0.76rem;
  color: var(--steel);
  padding: 22px 0;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb .sep svg { width: 13px; height: 13px; }
.breadcrumb .current { color: var(--ink); }

.nav-link svg { width: 13px; height: 13px; vertical-align: -1px; }

/* ---------------- Kategori sayfası ---------------- */
.kategori-page-head {
  padding: 10px 0 40px;
  border-bottom: 1px solid var(--line);
}
.kategori-page-head .eyebrow { margin-bottom: 14px; }
.kategori-page-head p { color: var(--steel); max-width: 620px; margin-top: 14px; }

.subcat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.subcat-pills a {
  padding: 8px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.subcat-pills a.active, .subcat-pills a:hover { border-color: var(--red); color: var(--red); background: var(--red-tint); }

/* ---------------- Ürün Detay ---------------- */
.urun-detay {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  padding: 20px 0 70px;
}
.galeri-ana {
  aspect-ratio: 1/1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.galeri-ana img { width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.galeri-ana svg { width: 60px; height: 60px; color: var(--line-strong); }
.galeri-kucuk { display: flex; gap: 10px; margin-top: 12px; }
.galeri-kucuk button {
  width: 68px; height: 68px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 6px;
  overflow: hidden;
}
.galeri-kucuk button.active, .galeri-kucuk button:hover { border-color: var(--red); }
.galeri-kucuk img { width: 100%; height: 100%; object-fit: contain; }

.detay-baslik .urun-model { font-size: 0.82rem; }
.detay-baslik h1 { text-transform: none; font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 8px 0 16px; letter-spacing: 0; }
.detay-ozet { color: var(--ink-soft); font-size: 1.03rem; margin-bottom: 26px; }

.detay-cta { display: flex; gap: 10px; margin-bottom: 34px; flex-wrap: wrap; }

.tab-bar { display: flex; gap: 2px; border-bottom: 2px solid var(--line); margin-bottom: 26px; }
.tab-btn {
  padding: 13px 4px;
  margin-right: 26px;
  background: none; border: none;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}
.tab-btn.active { color: var(--red); border-color: var(--red); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(4px);} to { opacity:1; transform:none; } }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid var(--line); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 13px 6px; font-size: 0.92rem; }
.spec-table td:first-child {
  font-family: var(--f-mono);
  color: var(--steel);
  width: 42%;
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}
.spec-table td:last-child { font-weight: 600; }

.dosya-liste { display: flex; flex-direction: column; gap: 10px; }
.dosya-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.dosya-icon {
  width: 38px; height: 38px;
  border-radius: var(--radius);
  background: var(--red-tint);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dosya-icon svg { width: 18px; height: 18px; }
.dosya-meta { flex: 1; min-width: 0; }
.dosya-meta strong { display: block; font-size: 0.93rem; font-weight: 700; }
.dosya-meta span { font-family: var(--f-mono); font-size: 0.72rem; color: var(--steel); }
.dosya-row .btn { flex-shrink: 0; }
.dosya-empty { color: var(--steel); font-size: 0.9rem; padding: 20px 0; }

/* ---------------- Sayfa (Hakkımızda / İletişim) ---------------- */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { text-transform: none; letter-spacing: 0; margin-top: 14px; }
.content-block { padding: 50px 0; max-width: 760px; }
.content-block p { color: var(--ink-soft); margin-bottom: 18px; font-size: 1.02rem; }

.iletisim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 50px 0 80px;
}
.iletisim-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--panel);
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}
.iletisim-card .ic {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--red);
  color: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.iletisim-card .ic svg { width: 19px; height: 19px; }
.iletisim-card strong { display: block; margin-bottom: 4px; }
.iletisim-card span, .iletisim-card a { color: var(--steel); font-size: 0.92rem; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--steel);
  margin-bottom: 7px;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--panel);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---------------- Boş durum ---------------- */
.empty-state {
  text-align: center;
  padding: 90px 20px;
  color: var(--steel);
}
.empty-state svg { width: 44px; height: 44px; margin-bottom: 16px; color: var(--line-strong); }

/* ---------------- Sayfalama ---------------- */
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 50px; }
.pagination a, .pagination span {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--f-mono);
  font-size: 0.82rem;
}
.pagination a:hover { border-color: var(--red); color: var(--red); }
.pagination .active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--ink); color: #C9CBCE; padding: 64px 0 0; margin-top: 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid #2A2E33;
}
.footer-brand .brand-word { color: #fff; }
.footer-brand p { margin-top: 16px; font-size: 0.88rem; color: #9DA1A6; max-width: 280px; }
.site-footer h4 {
  font-family: var(--f-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 18px;
  font-weight: 700;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { font-size: 0.88rem; color: #9DA1A6; }
.site-footer ul a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; font-size: 0.78rem; color: #6B6F74; font-family: var(--f-mono);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .urun-detay { grid-template-columns: 1fr; gap: 30px; }
  .galeri-ana { position: static; }
  .kategori-grid { grid-template-columns: repeat(2, 1fr); }
  .urun-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .iletisim-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .kategori-grid, .urun-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.5rem; }
  .section { padding: 50px 0; }
}
