/* ==========================================================================
   WCHUDISK — wchudisk.com.tr
   Renk: siyah gövde + Wchudisk kırmızısı. Tipografi: Saira Condensed (başlık),
   IBM Plex Sans (metin), IBM Plex Mono (teknik veri).
   İmza öğe: logodaki şimşek çentiğinden türetilen eğik "slash" motifi.
   ========================================================================== */

:root {
  --ink:      #0b0b0d;
  --panel:    #131317;
  --panel-2:  #191920;
  --line:     #2a2a32;
  --line-2:   #3a3a45;
  --red:      #e11b22;
  --red-dim:  #a5121a;
  --red-glow: rgba(225, 27, 34, .28);
  --fg:       #f4f5f7;
  --muted:    #9aa0ac;
  --data:     #c9ced8;

  --display: "Saira Condensed", "Arial Narrow", sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  --wrap: 1240px;
  --pad: 24px;
  --r: 4px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 12px; top: 12px; z-index: 100;
  background: var(--red); color: #fff; padding: 10px 16px;
}

/* ------------------------------------------------------------- tipografi */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -.005em;
  margin: 0;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.6rem, 7vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }

p { margin: 0 0 1em; }

.lead { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }

/* İmza: eğik kırmızı çentik + etiket */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 16px; height: 20px;
  background: var(--red);
  clip-path: polygon(38% 0, 100% 0, 62% 100%, 0 100%);
  flex: none;
}

.section { padding: clamp(64px, 9vw, 118px) 0; }
.section--panel { background: var(--panel); }
.section--edge { border-top: 1px solid var(--line); }

.section-head { max-width: 66ch; margin-bottom: 44px; }

/* -------------------------------------------------------------- butonlar */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r);
  cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.btn svg { width: 16px; height: 16px; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: #f42a31; transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--fg); }
.btn--ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.btn--sm { padding: 9px 16px; font-size: .86rem; }

/* --------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__in {
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { height: 26px; width: auto; }
.brand span {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .16em;
  color: var(--muted); text-transform: uppercase; border-left: 1px solid var(--line-2);
  padding-left: 12px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .16s, border-color .16s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--fg); border-color: var(--red); }

.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r);
  color: var(--fg); padding: 8px 12px; cursor: pointer; font-family: var(--mono);
}

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(900px 480px at 78% 22%, rgba(225,27,34,.16), transparent 62%),
    var(--ink);
}
.hero::after {           /* imza slash */
  content: "";
  position: absolute; inset: -10% auto -10% 46%;
  width: 190px;
  background: linear-gradient(180deg, rgba(225,27,34,.9), rgba(225,27,34,.15));
  transform: skewX(-18deg);
  opacity: .1;
  pointer-events: none;
}
.hero__in {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px;
  align-items: center;
  padding: clamp(52px, 8vw, 104px) 0;
}
.hero h1 span { color: var(--red); display: block; }
.hero__art img { width: 100%; height: auto; }

.spec-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.chip {
  font-family: var(--mono); font-size: .76rem; letter-spacing: .06em;
  color: var(--data);
  border: 1px solid var(--line-2); border-radius: 999px;
  padding: 6px 14px;
}
.chip b { color: var(--red); font-weight: 500; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ------------------------------------------------------------ kategori */
.grid { display: grid; gap: 18px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.cat {
  position: relative;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 24px 24px;
  display: flex; flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  transition: border-color .18s, transform .18s;
}
.cat:hover { border-color: var(--red); transform: translateY(-3px); }
.cat::before {
  content: ""; position: absolute; top: 0; right: 22px; width: 34px; height: 6px;
  background: var(--red);
  clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.cat img { margin: 8px 0 auto; align-self: center; max-height: 128px; width: auto; }
.cat h3 { margin-bottom: 6px; }
.cat p { font-size: .92rem; color: var(--muted); margin: 0; }
.cat__spec {
  font-family: var(--mono); font-size: .74rem; color: var(--data);
  border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px;
}

/* --------------------------------------------------------------- seri */
.serie {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel-2);
  padding: 36px;
  margin-bottom: 20px;
}
.serie--flip .serie__art { order: 2; }
.serie__art { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.serie h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.serie__tag {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em;
  color: var(--red); text-transform: uppercase;
}

/* hız barı — okuma/yazma görselleştirmesi */
.speed { margin: 20px 0 22px; }
.speed__row { display: grid; grid-template-columns: 78px 1fr 108px; align-items: center; gap: 12px; margin-bottom: 9px; }
.speed__lbl { font-family: var(--mono); font-size: .72rem; color: var(--muted); letter-spacing: .1em; }
.speed__bar { height: 8px; background: #0e0e11; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.speed__bar i { display: block; height: 100%; background: var(--red); }
.speed__bar i.dim { background: var(--red-dim); }
.speed__val { font-family: var(--mono); font-size: .78rem; color: var(--data); text-align: right; }

/* -------------------------------------------------------- spec tablosu */
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.spec-table th, .spec-table td {
  text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th {
  font-family: var(--mono); font-weight: 400; font-size: .76rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  width: 42%;
}
.spec-table td { color: var(--data); font-family: var(--mono); font-size: .82rem; }

/* ------------------------------------------------------------- ürünler */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filter {
  font-family: var(--display); text-transform: uppercase; letter-spacing: .05em;
  font-size: .95rem; font-weight: 600;
  background: none; border: 1px solid var(--line-2); color: var(--muted);
  border-radius: var(--r); padding: 9px 18px; cursor: pointer;
  transition: all .16s;
}
.filter:hover { color: var(--fg); border-color: var(--fg); }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.prod {
  display: flex; flex-direction: column;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden;
  transition: border-color .18s, transform .18s;
}
.prod:hover { border-color: var(--red); transform: translateY(-3px); }
.prod__media {
  background: linear-gradient(160deg, #17171c, #0e0e11);
  border-bottom: 1px solid var(--line);
  padding: 26px; display: grid; place-items: center; min-height: 190px;
}
.prod__media img { max-height: 140px; width: auto; }
.prod__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.prod__kind {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.prod h3 { font-size: 1.25rem; margin-bottom: 12px; }
.prod__specs { list-style: none; margin: 0 0 18px; padding: 0; }
.prod__specs li {
  font-family: var(--mono); font-size: .78rem; color: var(--data);
  display: flex; justify-content: space-between; gap: 12px;
  padding: 6px 0; border-bottom: 1px dashed var(--line);
}
.prod__specs li span:first-child { color: var(--muted); }
.prod__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* -------------------------------------------------------------- güvence */
.assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.assure > div { background: var(--panel-2); padding: 30px 24px; }
.assure b {
  display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1;
  color: var(--red); text-transform: uppercase; margin-bottom: 10px;
}
.assure p { font-size: .9rem; color: var(--muted); margin: 0; }

/* --------------------------------------------------------------- belge */
.doc {
  display: grid; grid-template-columns: 260px 1fr; gap: 30px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; margin-bottom: 20px;
}
.doc__thumb { background: #fff; border-radius: 2px; overflow: hidden; border: 1px solid var(--line-2); }
.doc__thumb img { width: 100%; height: auto; }
.doc h3 { margin-bottom: 12px; }
.doc__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

details.faq {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--panel-2); margin-bottom: 10px;
}
details.faq summary {
  cursor: pointer; padding: 16px 20px; list-style: none;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.08rem; font-weight: 600;
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--red); font-family: var(--mono); font-size: 1.3rem; }
details.faq[open] summary::after { content: "–"; }
details.faq .faq__body { padding: 0 20px 20px; color: var(--muted); font-size: .95rem; }
details.faq .faq__body ul { margin: 0; padding-left: 18px; }
details.faq .faq__body li { margin-bottom: 6px; }

/* --------------------------------------------------------------- form */
.form-card {
  background: var(--panel-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px;
}
.form-card h3 { margin-bottom: 8px; }
.form-card > p { color: var(--muted); font-size: .93rem; }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-family: var(--mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%; background: #0e0e11; color: var(--fg);
  border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 12px 14px; font-family: var(--body); font-size: .95rem;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-glow);
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-status {
  margin-top: 14px; font-family: var(--mono); font-size: .82rem;
  padding: 12px 14px; border-radius: var(--r); display: none;
}
.form-status.ok { display: block; background: rgba(28,120,60,.18); border: 1px solid #2f7d44; color: #7fe0a0; }
.form-status.err { display: block; background: rgba(225,27,34,.14); border: 1px solid var(--red-dim); color: #ff9aa0; }

.hp { position: absolute; left: -9999px; }

/* ----------------------------------------------------------- iletişim */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li {
  display: grid; grid-template-columns: 132px 1fr; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-size: .95rem;
}
.contact-list span {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); padding-top: 3px;
}
.contact-list a:hover { color: var(--red); }

.map { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; height: 320px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.86); }

/* --------------------------------------------------------- marka bandı */
.owner {
  display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: center;
  border: 1px solid var(--line); border-left: 3px solid var(--red);
  background: var(--panel-2); border-radius: var(--r); padding: 32px;
}
.owner__no { font-family: var(--mono); font-size: .82rem; color: var(--data); }

/* --------------------------------------------------------------- CTA */
.cta-band {
  background:
    radial-gradient(700px 320px at 20% 0%, rgba(225,27,34,.18), transparent 60%),
    var(--panel);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-band .btn { margin: 6px; }

/* ------------------------------------------------------------- footer */
.site-footer { background: var(--ink); border-top: 1px solid var(--line); padding: 58px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 34px; }
.footer-grid h4 {
  font-size: .84rem; font-family: var(--mono); font-weight: 400; letter-spacing: .16em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 9px; font-size: .92rem; color: var(--muted); }
.footer-grid a:hover { color: var(--red); }
.footer-grid img { height: 24px; margin-bottom: 16px; }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-family: var(--mono); font-size: .74rem; color: #6b7080;
}

/* --------------------------------------------------------- WhatsApp FAB */
.wa {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.wa svg { width: 28px; height: 28px; fill: #fff; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .assure { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--panel); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: block; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; }
  .serie, .serie--flip .serie__art { grid-template-columns: 1fr; order: 0; }
  .doc { grid-template-columns: 1fr; }
  .doc__thumb { max-width: 260px; }
  .owner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .assure { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .speed__row { grid-template-columns: 64px 1fr 88px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
}
