/* =============================================================
   CS Tedarik — stil dosyası
   Tasarım dili: beyaz zemin, ince çizgiler, tek vurgu rengi.
   ============================================================= */

:root {
  --accent: #1c74a8;
  --accent-dark: #155c86;
  --ink: #16191a;
  --muted: #6b7375;
  --line: #e5e8e9;
  --line-strong: #c9cfd1;
  --surface: #f6f8f8;
  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --sans: 'Instrument Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -0.03em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }

#content:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ------------------------------- başlık ------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar {
  height: 76px; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px);
}
.brand { display: flex; align-items: baseline; gap: 7px; margin-right: auto; }
.brand__name { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; white-space: nowrap; }
.brand__name--footer { font-size: 18px; margin-bottom: 14px; }
.brand__tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted); white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); }
.nav__link {
  font-size: clamp(13px, 1.1vw, 14.5px); color: var(--muted);
  padding: 4px 0; border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease; white-space: nowrap;
}
.nav__link:hover { color: var(--ink); border-bottom-color: var(--ink); }
.nav__link.is-active { color: var(--ink); border-bottom-color: var(--ink); }

.site-header__actions { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 18px); }
.site-header__mobile { display: none; align-items: center; gap: 14px; }

.lang { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; }
.lang__btn {
  background: none; border: 0; padding: 6px 2px; cursor: pointer;
  color: var(--muted); font-family: var(--mono); font-size: 12px;
}
.lang__btn.is-active { color: var(--ink); font-weight: 500; }
.lang__sep { color: var(--line); }

.burger {
  width: 48px; height: 48px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
  background: none; border: 1px solid var(--line); cursor: pointer;
}
.burger span { width: 18px; height: 1px; background: var(--ink); display: block; }

.mobile-menu {
  border-top: 1px solid var(--line); background: #fff;
  padding: 8px var(--pad) 24px; display: flex; flex-direction: column;
}
.mobile-menu__link { padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); color: var(--muted); }
.mobile-menu__link.is-active { color: var(--ink); }
.mobile-menu__cta { margin-top: 20px; text-align: center; }

/* -------------------------------- bloklar -------------------------------- */
.section { padding: clamp(64px, 8vw, 120px) 0; }
.section--tight { padding: clamp(28px, 4vw, 48px) 0 clamp(72px, 9vw, 120px); }
.section--surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--bordered { border-bottom: 1px solid var(--line); }
.section__head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 16px; margin-bottom: 44px;
}

.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(36px, 5vw, 72px); }
.split--center { align-items: center; }
.split--start { align-items: start; }

.h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin-bottom: 26px; text-wrap: pretty; }
.h1--page { font-size: clamp(32px, 4.4vw, 56px); margin-bottom: 18px; }
.h1--detail { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin-bottom: 20px; }
.h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 22px; text-wrap: pretty; }
.h2--flush { margin-bottom: 0; }
.h2--narrow { max-width: 24ch; margin-bottom: 52px; }
.h2--sm { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.025em; margin-bottom: 32px; }

.lead { font-size: 16.5px; line-height: 1.65; color: var(--muted); max-width: 48ch; margin-bottom: 34px; text-wrap: pretty; }
.lead--lg { font-size: clamp(16px, 1.5vw, 19px); max-width: 46ch; margin-bottom: 40px; }
.lead--intro { max-width: 52ch; margin-bottom: 40px; }
.prose { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.7; margin-bottom: 24px; text-wrap: pretty; }
.prose--muted { color: var(--muted); margin-bottom: 0; }
.muted { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.eyebrow {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow--lg { font-size: 11px; letter-spacing: 0.18em; margin-bottom: 24px; }
.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 400; margin-bottom: 18px;
}
.label--sm { font-size: 10.5px; color: var(--muted); }
.link-mono {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--accent);
}
.link-mono:hover { color: var(--accent-dark); }

/* -------------------------------- butonlar -------------------------------- */
.btn {
  display: inline-block; padding: 16px 28px; font-size: 15px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; text-align: center;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { padding: 11px 20px; font-size: 14px; white-space: nowrap; }
.btn--mb { margin-bottom: 48px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* -------------------------------- görseller -------------------------------- */
.slot { position: relative; overflow: hidden; background: var(--surface); min-width: 0; }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.slot--empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 18px; text-align: center;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(45deg, #fff 0 10px, var(--surface) 10px 20px);
}
.slot__mark { width: 22px; height: 22px; border: 1px solid var(--line-strong); border-radius: 50%; }
.slot__text {
  font-family: var(--mono); font-size: 10.5px; line-height: 1.5;
  letter-spacing: 0.04em; color: var(--muted); max-width: 30ch;
}
.slot--fill { position: absolute; inset: 0; }

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; min-width: 0; }
.hero-grid__wide { grid-column: span 2; }

/* --------------------------------- kartlar --------------------------------- */
.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid--products { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid--related { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.card {
  display: flex; flex-direction: column; border: 1px solid var(--line);
  transition: border-color .25s ease, transform .25s ease;
}
.card:hover { border-color: var(--line-strong); }
.card__media { overflow: hidden; }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card--sm .card__body { padding: 18px 18px 20px; gap: 6px; }
.card__title { font-size: 16.5px; line-height: 1.3; }
.card__title--sm { font-size: 15px; }
.card__spec { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.card__more { margin-top: auto; padding-top: 18px; font-size: 13px; font-weight: 500; }
.card:hover .card__more { color: var(--accent); }

.cat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
.cat {
  background: #fff; padding: 26px 24px 22px; display: flex;
  flex-direction: column; gap: 20px; transition: background .25s ease;
}
.cat:hover { background: var(--surface); }
.cat__title { font-size: 16px; margin-bottom: 6px; }
.cat__count { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 8px; }
.cat__sample { font-size: 13px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }

/* -------------------------------- değerler -------------------------------- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(28px, 4vw, 48px); }
.value__num { font-family: var(--mono); font-size: 12px; color: var(--accent); margin-bottom: 18px; }
.value__rule { width: 28px; height: 1px; background: var(--ink); margin-bottom: 18px; }
.value__title { font-size: 17px; margin-bottom: 10px; }
.value__body { font-size: 14.5px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.tile { background: #fff; padding: 22px 18px; font-size: 14.5px; }

/* ------------------------------- manşet blok ------------------------------- */
.statement {
  position: relative; aspect-ratio: 21/9; min-height: 300px;
  display: flex; align-items: center; justify-content: center; padding: clamp(24px, 5vw, 72px);
}
.statement__text {
  position: relative; pointer-events: none; text-align: center; max-width: 20ch;
  font-size: clamp(28px, 5vw, 68px); line-height: 1.08; letter-spacing: -0.04em;
  text-wrap: pretty; mix-blend-mode: multiply;
}

/* -------------------------------- ürün listesi -------------------------------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end;
  justify-content: space-between; padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 11px 18px; font-size: 13.5px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); transition: all .2s ease;
}
.chip:hover { border-color: var(--line-strong); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.search { flex: 0 1 280px; }
.search input {
  width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 12px 0; min-height: 44px; outline: none; font-size: 15px; color: var(--ink);
}
.search input:focus { border-bottom-color: var(--ink); }

.count { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 24px 0 32px; }
.empty { padding: 56px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; color: var(--muted); }

/* -------------------------------- ürün detay -------------------------------- */
.crumbs { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.crumbs a:hover { color: var(--ink); }
.gallery { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

.specs { border-top: 1px solid var(--line); margin-bottom: 40px; }
.specs__row { display: flex; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.specs__row dt { flex: 0 0 42%; color: var(--muted); }
.specs__row dd { flex: 1; }
.specs--contact { margin-bottom: 0; }
.specs--contact .specs__row { padding: 16px 0; align-items: baseline; }
.specs--contact dt { flex-basis: 34%; margin-bottom: 0; }
.specs--contact dd { font-size: 15px; }
.specs--contact a:hover { color: var(--accent); }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.plain li { font-size: 14.5px; color: var(--muted); padding: 5px 0; }
.related { margin-top: clamp(64px, 8vw, 120px); }

/* ---------------------------------- form ---------------------------------- */
.form-card { border: 1px solid var(--line); padding: clamp(24px, 3.5vw, 40px); }
#contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 0; border-bottom: 1px solid var(--line); background: transparent;
  padding: 12px 0; min-height: 44px; outline: none; font-size: 15px;
  color: var(--ink); border-radius: 0; width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.field input.is-invalid, .field textarea.is-invalid { border-bottom-color: #b3261e; }
.field__error { font-size: 12px; color: #b3261e; min-height: 1em; }
.form-card__submit { grid-column: 1 / -1; justify-self: start; margin-top: 12px; padding: 16px 32px; }
.sent { padding: 40px 0; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 46ch; }

/* --------------------------------- altbilgi --------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.site-footer__grid {
  padding-top: clamp(48px, 6vw, 80px); padding-bottom: 32px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: clamp(32px, 4vw, 56px);
}
.site-footer__blurb { font-size: 14px; line-height: 1.65; color: var(--muted); max-width: 32ch; text-wrap: pretty; }
.site-footer__link { font-size: 14.5px; display: inline-block; padding: 5px 0; }
.site-footer__link:hover { color: var(--accent); }
.site-footer__meta { font-size: 14.5px; padding: 5px 0; color: var(--muted); }
.site-footer__social { display: flex; gap: 14px; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.site-footer__legal {
  padding: 24px var(--pad) 40px; border-top: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted);
}

/* -------------------------------- animasyon -------------------------------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fade-up { animation: fadeUp .8s ease both; }
.hero-grid.fade-up { animation-duration: 1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --------------------------------- duyarlı --------------------------------- */
@media (max-width: 1100px) {
  .brand__tag { display: none; }
}
@media (max-width: 880px) {
  .nav, .site-header__actions { display: none; }
  .site-header__mobile { display: flex; }
  .toolbar { align-items: stretch; }
  .search { flex: 1 1 100%; }
}
@media (max-width: 560px) {
  .statement { aspect-ratio: auto; min-height: 260px; }
  .gallery__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .form-card__submit { width: 100%; justify-self: stretch; }
}

@media print {
  .site-header, .site-footer, .btn { display: none; }
}

/* Zemin olarak kullanılan yer tutucularda etiketi köşeye al (manşet metniyle çakışmasın) */
.slot--fill.slot--empty { align-items: flex-start; justify-content: flex-end; }
.slot--fill.slot--empty .slot__mark { display: none; }
.slot--fill.slot--empty .slot__text { text-align: left; }
