/* Ustam Türkaslanı — yedek parça ve servis.
   Renkler: bordo (Netsis'teki marka rengi, uygulamayla ortak), motor bloğu koyu gri, galvaniz açık gri; ikaz sarısı yalnızca odak ve küçük vurgu.
   Yazı: Barlow Condensed (başlık, düğme) + Barlow (metin), sitenin içinden yüklenir; dışarıya bağlantı yok. */

@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fontlar/barlow-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fontlar/barlow-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fontlar/barlow-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fontlar/barlow-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fontlar/barlow-condensed-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fontlar/barlow-condensed-latin-ext-600-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fontlar/barlow-condensed-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fontlar/barlow-condensed-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bordo: #a3282a;
  --bordo-koyu: #85201f;
  --motor: #22303a;
  --motor-acik: #33444f;
  --galvaniz: #eceff1;
  --cizgi: #cfd6db;
  --metin: #1b2329;
  --soluk: #56636b;
  --ikaz: #f2b705;
  --wa: #157a45;
  --dar: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --govde: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--galvaniz); color: var(--metin); font-family: var(--govde); font-size: 1.0625rem; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--bordo); text-underline-offset: 0.18em; }
a[href^="tel:"] { white-space: nowrap; } /* numara satır sonunda bölünmesin */
h1, h2, h3 { font-family: var(--dar); line-height: 1.05; margin: 0 0 0.5em; }
h1 { font-weight: 700; font-size: clamp(2.4rem, 6vw, 3.4rem); }
h2 { font-weight: 600; font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--motor); outline-offset: 2px; }
.giris :focus-visible, .alt :focus-visible, .hizli :focus-visible { outline-color: var(--ikaz); }

.kap { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 720px) { .kap { padding-inline: 1.5rem; } }

.atla { position: absolute; left: -9999px; top: 0.5rem; z-index: 10; background: #fff; padding: 0.5rem 1rem; }
.atla:focus { left: 0.5rem; }

/* Üst: Netsis ve uygulamayla aynı ince bordo çizgi */
.ust { background: #fff; border-top: 4px solid var(--bordo); border-bottom: 1px solid var(--cizgi); }
.ust-ic { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; }
.marka { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--motor); }
.marka img { width: 44px; height: 44px; flex: none; }
.marka-ad { font-family: var(--dar); font-weight: 600; font-size: 1.45rem; line-height: 1; }
.ust-ara { font-family: var(--dar); font-weight: 600; font-size: 1.15rem; text-decoration: none; white-space: nowrap; }
.ust-ara:hover { text-decoration: underline; }
@media (max-width: 519px) { .ust-ara { display: none; } /* telefonda alttaki sabit "Ara" düğmesi var */ }
.ana-menu { overflow-x: auto; }
.ana-menu ul { display: flex; gap: 1.4rem; margin: 0; padding: 0 0 0.1rem; list-style: none; white-space: nowrap; }
.ana-menu a { display: block; padding-block: 0.45rem; border-bottom: 3px solid transparent; color: var(--metin); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.ana-menu a:hover, .ana-menu .current-menu-item > a, .ana-menu a[aria-current="page"] { border-bottom-color: var(--bordo); }

/* Giriş: sitenin tek gösterişli öğesi, sağdan taşan iri somun */
.giris { position: relative; overflow: hidden; background: var(--motor); color: #fff; padding-block: clamp(3rem, 9vw, 6.5rem); }
.giris-somun { position: absolute; top: 50%; right: -14rem; width: clamp(22rem, 62vw, 44rem); transform: translateY(-50%); fill: none; pointer-events: none; }
.giris-somun polygon { stroke: var(--bordo); stroke-width: 2.4; }
.giris-somun circle { stroke: rgba(255, 255, 255, 0.09); stroke-width: 1.2; }
@media (max-width: 599px) { .giris-somun { right: -17rem; } } /* telefonda yazının altından geçmesin */
@media (min-width: 1100px) { .giris-somun { right: -6rem; } }
.giris-ic { position: relative; }
.giris-firma { font-weight: 600; color: var(--ikaz); margin-bottom: 0.75rem; }
.giris h1 { font-size: clamp(2.9rem, 10vw, 5.75rem); line-height: 0.92; max-width: 11ch; margin-bottom: 0.35em; letter-spacing: -0.005em; }
.giris-alt { font-size: clamp(1.1rem, 2.6vw, 1.3rem); color: rgba(255, 255, 255, 0.82); max-width: 32ch; }
.giris-dugmeler { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

.dugme { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.4rem; border-radius: 6px; font-family: var(--dar); font-weight: 600; font-size: 1.2rem; text-decoration: none; border: 2px solid transparent; }
.dugme-bordo { background: var(--bordo); color: #fff; }
.dugme-bordo:hover { background: var(--bordo-koyu); }
.dugme-cizgi { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.dugme-cizgi:hover { background: rgba(255, 255, 255, 0.08); }
.dugme-acik { border-color: var(--bordo); color: var(--bordo); background: #fff; }
.dugme-acik:hover { background: #fbf1f1; }

/* Ne yapıyoruz: iki eş iş, aralarında çizgi */
.hizmetler { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
@media (min-width: 760px) {
  .hizmetler { grid-template-columns: 1fr 1fr; gap: 0; }
  .hizmetler article:first-child { padding-right: 2.5rem; border-right: 2px solid var(--cizgi); }
  .hizmetler article:last-child { padding-left: 2.5rem; }
}
.hizmetler p { color: var(--soluk); max-width: 38ch; }
.metin-baglanti { font-family: var(--dar); font-weight: 600; font-size: 1.2rem; text-decoration-thickness: 2px; }

/* Parça sor */
.parca-sor { background: #fff; border-block: 1px solid var(--cizgi); padding-block: clamp(2.5rem, 6vw, 4.5rem); scroll-margin-top: 1rem; }
.parca-sor-ic { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .parca-sor-ic { grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 3rem; align-items: start; } }
.parca-sor-yazi p { color: var(--soluk); }

/* İletişim */
.iletisim-bolum { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.iletisim { display: grid; gap: 1.25rem 2rem; margin: 0; }
@media (min-width: 720px) { .iletisim { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.iletisim div { border-top: 2px solid var(--cizgi); padding-top: 0.75rem; }
.iletisim dt { font-family: var(--dar); font-weight: 600; font-size: 1.2rem; color: var(--motor); }
.iletisim dd { margin: 0.2rem 0 0; white-space: pre-line; }
.iletisim .dugme { margin-top: 0.6rem; }

/* İçerik sayfaları: okunur satır uzunluğu */
.icerik { max-width: 46rem; padding-block: clamp(2rem, 5vw, 3.5rem); }
.icerik.magaza { max-width: 72rem; }
.icerik h2 { font-size: 1.8rem; margin-top: 1.5em; }

/* Alt bilgi */
.alt { background: var(--motor); color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; padding-block: 2rem 1rem; }
.alt a { color: #fff; }
.alt-ic { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.alt-unvan { font-weight: 600; color: #fff; margin-bottom: 0.25rem; }
.alt-baglantilar { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin: 0; padding: 0; list-style: none; }
.alt-telif { margin-top: 1.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* Telefonda altta sabit hızlı iletişim */
.hizli { display: none; }
@media (max-width: 719px) {
  .hizli { position: fixed; inset: auto 0 0; z-index: 20; display: flex; gap: 0.5rem; padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom)); background: var(--motor); }
  .hizli a { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 6px; color: #fff; text-decoration: none; font-family: var(--dar); font-weight: 600; font-size: 1.2rem; }
  .hizli-ara { background: var(--bordo); }
  .hizli-wa { background: var(--wa); }
  body:has(.hizli) { padding-bottom: 4.5rem; }
}

/* WooCommerce: düğmeler marka rengiyle */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  background: var(--bordo); color: #fff; border-radius: 6px; font-family: var(--dar); font-weight: 600; font-size: 1.1rem;
}
.woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--bordo-koyu); color: #fff; }
.woocommerce span.onsale { background: var(--bordo); }

@media (prefers-reduced-motion: no-preference) {
  .dugme, .ana-menu a { transition: background-color 120ms ease, border-color 120ms ease; }
}
