/* Şahinler Otomotiv — production stylesheet
   Breakpoints mirror the original design logic:
     phone  : < 640px
     narrow : < 1120px
     wide   : >= 1120px                                        */

:root {
  --ink: #0B0B0C;
  --ink-2: #57575B;
  --ink-3: #6E6E72;
  --line: #E4E4E3;
  --line-2: #2A2A2E;
  --line-3: #3A3A3E;
  --surface: #F5F5F4;
  --white: #FFFFFF;
  --red: #E11B22;
  --red-dark: #B4141A;
  --red-light: #FF4D4D;
  --green: #2FA84F;
  --dim: #8C8C92;
  --dim-2: #D6D6D8;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "General Sans", Inter, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(20px, 5.5vw, 80px);
  --sec-y: clamp(56px, 6vw, 96px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --hdr-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
blockquote { margin: 0; }
figcaption { display: block; }

a {
  color: var(--red);
  text-decoration: none;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease;
}
a:hover { color: var(--ink); }

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

.num { font-variant-numeric: tabular-nums; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--white);
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ---------- icons ---------- */
.ico { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.ico--24 { width: 24px; height: 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}
.btn--sm  { min-height: 44px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn--lg  { min-height: 56px; padding: 0 28px; font-size: 18px; }

.btn--red { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); }

.btn--white { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--white:hover { background: var(--surface); border-color: var(--surface); color: var(--ink); }

.btn--outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--ink); }

.btn--outline-dark { background: var(--white); border-color: var(--ink); color: var(--ink); }
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }

.btn--outline-dim { border-color: var(--line-3); color: var(--white); }
.btn--outline-dim:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.iconbtn {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, opacity .25s ease;
}
.iconbtn:hover:not(:disabled) { background: var(--ink); color: var(--white); }
.iconbtn:disabled { opacity: .35; cursor: default; }
.iconbtn .ico { width: 22px; height: 22px; }

/* ---------- layout helpers ---------- */
.wrap { max-width: 1200px; margin: 0 auto; }
.wrap--narrow { max-width: 820px; }
.sec { padding: var(--sec-y) var(--pad); }
.sec--alt {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); }

.h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
  letter-spacing: -.02em;
  max-width: 760px;
  text-wrap: pretty;
}
.h2--mb { margin-bottom: clamp(32px, 4vw, 48px); }

.h3 {
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

.lead {
  margin: 16px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 640px;
  text-wrap: pretty;
}
.lead--mb { margin-bottom: clamp(32px, 4vw, 48px); }
.muted { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.sm { font-size: 14px; color: var(--ink-3); }

.card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  transition: transform .3s var(--ease), border-color .3s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--ink); }

/* ---------- header ---------- */
.hdr {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  animation: dropIn .8s var(--ease) .75s both;
}
.hdr.is-solid { background: var(--white); border-bottom-color: var(--line); }

.hdr__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad);
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.hdr__logo { position: relative; height: 34px; flex: 0 0 auto; display: flex; align-items: center; }
.hdr__logo-img { height: 34px; width: auto; transition: opacity .25s ease; }
.hdr__logo-img--dark { position: absolute; inset: 0 auto auto 0; opacity: 0; }
.hdr.is-solid .hdr__logo-img--light { opacity: 0; }
.hdr.is-solid .hdr__logo-img--dark  { opacity: 1; }

.hdr__nav {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 22px;
  white-space: nowrap;
}
.hdr__nav a { color: rgba(255,255,255,.88); font-size: 15px; }
.hdr.is-solid .hdr__nav a { color: var(--ink-2); }
.hdr.is-solid .hdr__nav a:hover { color: var(--ink); }

.hdr__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.hdr__cta { min-height: 44px; padding: 0 18px; font-size: 15px; gap: 8px; }
.hdr__tel {
  min-height: 44px;
  padding: 0 16px;
  font-size: 15px;
  gap: 8px;
  border-color: var(--white);
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.hdr.is-solid .hdr__tel { border-color: var(--ink); color: var(--ink); }
.hdr.is-solid .hdr__tel:hover { background: var(--ink); color: var(--white); }

.hdr__burger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid var(--white);
  border-radius: 8px;
  cursor: pointer;
}
.hdr__burger span { height: 1.5px; background: var(--white); display: block; transition: background-color .25s ease; }
.hdr.is-solid .hdr__burger { border-color: var(--ink); }
.hdr.is-solid .hdr__burger span { background: var(--ink); }

.hdr__progress {
  position: absolute;
  inset: auto 0 -1px 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 50%;
}

.hdr__mobile {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 8px var(--pad) 16px;
  display: flex;
  flex-direction: column;
}
.hdr__mobile a {
  color: var(--ink);
  padding: 12px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.hdr__mobile a:last-child { border-bottom: 0; }
.hdr__mobile[hidden] { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(1024px, 100svh);
  display: flex;
  align-items: center;
  padding: clamp(96px, 14vh, 140px) var(--pad) clamp(56px, 10vh, 96px);
  background: var(--ink);
}
.hero__bg {
  position: absolute;
  inset: -90px 0;
  z-index: -2;
  background: url("hero-bina.jpg") center 42% / cover no-repeat;
  will-change: transform;
}
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: rgba(11,11,12,.72); }

.hero__inner {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge {
  margin: 0 0 28px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 14px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.hero__badge-txt {
  padding-left: 10px;
  font-size: clamp(9px, 2.6vw, 12px);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
}
.hero__badge-year {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  background: var(--red);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--white);
}
.hero__badge-year b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.hero__badge-year span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--white);
  text-wrap: pretty;
}
.hero__lead {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.5;
  color: #E8E8EA;
  max-width: 640px;
  text-wrap: pretty;
}
.hero__cta {
  margin-top: 32px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.hero__cta .btn { flex: 1 1 220px; max-width: 300px; }

/* ---------- trust strip ---------- */
.trust { background: var(--red); padding: 32px var(--pad); }
.trust__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 0;
}
.trust__item {
  padding: 0 24px;
  border-left: 1px solid rgba(255,255,255,.3);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
}
.trust__t { margin: 0; font-weight: 600; font-size: 16px; }
.trust__d { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }

/* ---------- services ---------- */
.svc__grid {
  margin-top: clamp(32px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ---------- products ---------- */
.urun__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.urun__head .h2 { max-width: 680px; }
.urun__head .lead { max-width: 620px; }
.urun__head .btn { flex: 0 0 auto; }

.chips { margin: 32px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 14px;
  color: var(--ink-2);
}

.urun__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.prod {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  color: var(--ink);
  transition: transform .3s var(--ease), border-color .3s ease;
}
.prod:hover { transform: translateY(-3px); border-color: var(--ink); color: var(--ink); }
.prod__ph {
  aspect-ratio: 4 / 3;
  border-bottom: 1px solid var(--line);
  background: repeating-linear-gradient(135deg, #F0F0EF 0 8px, #FAFAF9 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-3);
}
.prod__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.prod__body { display: block; padding: 16px; }
.prod__stock {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.prod__stock i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.prod__name { display: block; font-weight: 600; font-size: 16px; line-height: 1.4; }
.prod__oem { display: block; margin-top: 10px; font-family: var(--mono); font-size: 14px; color: var(--red-dark); }
.prod__meta { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-3); }

/* ---------- brands ---------- */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.brand {
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--white);
  transition: transform .3s var(--ease), border-color .3s ease;
}
.brand:hover { transform: translateY(-3px); border-color: var(--ink); }
.brand img { max-height: 48px; max-width: 170px; width: auto; height: auto; object-fit: contain; }
.brand img.brand--sq   { max-height: 56px; max-width: 56px; }
.brand img.brand--vw   { max-height: 58px; max-width: 60px; }
.brand img.brand--audi { max-height: 52px; max-width: 92px; }

/* ---------- reviews ---------- */
.rev__head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.rev__score {
  margin: 24px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  font-size: 16px;
  color: var(--ink-2);
}
.rev__score b { color: var(--ink); }
.rev__sep { width: 1px; height: 18px; background: var(--line); }
.stars { display: inline-flex; gap: 3px; color: var(--red-dark); font-size: 15px; letter-spacing: .06em; }

.rev__bar {
  margin-top: clamp(32px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rev__nav { display: flex; gap: 8px; }

.rev__track {
  margin-top: 24px;
  display: flex;
  align-items: stretch;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 8px;
  cursor: grab;
  scrollbar-width: none;
}
.rev__track::-webkit-scrollbar { display: none; }
.rev__track.is-drag { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }

.rev {
  flex: 0 0 min(84vw, 368px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.rev__q {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
}
.rev__q p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; flex: 1 1 auto; text-wrap: pretty; }
.rev__q::after {
  content: "";
  position: absolute;
  left: 32px;
  bottom: -9px;
  width: 16px;
  height: 16px;
  background: var(--surface);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transform: rotate(45deg);
}
.rev__who { margin: 22px 0 0 12px; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.rev__av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  flex: 0 0 auto;
}
.rev__more { margin-top: clamp(32px, 4vw, 48px); display: flex; justify-content: center; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__i { border-bottom: 1px solid var(--line); }
.faq__q {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: 0 0 auto; width: 16px; height: 16px; }
.faq__plus::before, .faq__plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.faq__plus::before { top: 7px; left: 0; width: 16px; height: 1.5px; }
.faq__plus::after  { top: 0; left: 7px; width: 1.5px; height: 16px; transition: transform .3s var(--ease); }
.faq__i[open] .faq__plus::after { transform: rotate(90deg); }
.faq__a { margin: 0; padding: 0 48px 24px 0; color: var(--ink-2); text-wrap: pretty; animation: fadeDown .35s ease both; }

/* ---------- footer ---------- */
.ft {
  background: var(--ink);
  color: var(--white);
  padding: clamp(56px, 6vw, 88px) var(--pad) 28px;
}
.ft__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .9fr;
  gap: clamp(40px, 5vw, 64px) 40px;
}
.ft__brand { display: flex; flex-direction: column; gap: 24px; }
.ft__brand img { height: 40px; width: auto; align-self: flex-start; }
.ft__brand p { margin: 0; color: var(--dim-2); max-width: 320px; text-wrap: pretty; }
.ft__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.ft__cta .btn { padding: 0 20px; }

.ft__h {
  margin: 0 0 20px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.ft__list { display: flex; flex-direction: column; gap: 16px; }
.ft__list li { display: flex; gap: 12px; }
.ft__list .ico { margin-top: 3px; color: var(--dim); }
.ft__list a, .ft__list address, .ft__list span { color: var(--dim-2); font-size: 15px; }
.ft__list address { max-width: 260px; }
.ft__list a:hover { color: var(--red-light); }
.ft__strong { color: var(--white) !important; font-weight: 600; font-size: 16px !important; }
.ft__dir { margin-top: 20px; min-height: 44px; padding: 0 18px; font-size: 15px; }

.ft__nav { display: flex; flex-direction: column; gap: 12px; }
.ft__nav a { color: var(--dim-2); font-size: 15px; }
.ft__nav a:hover { color: var(--white); }

.ft__bot {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 40px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--dim);
}
.ft__legal { max-width: 640px; }
.ft__top { margin-left: auto; }

/* ---------- sticky bottom bar (phone only) ---------- */
.bottombar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 70;
  height: 64px;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: none;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
}
.bottombar .btn { flex: 1 1 0; min-height: 44px; padding: 0 12px; }

/* ---------- animations ---------- */
@keyframes dropIn  { from { opacity: 0; transform: translateY(-100%); } to { opacity: 1; transform: none; } }
@keyframes heroUp  { from { opacity: 0; transform: translateY(20px); }   to { opacity: 1; transform: none; } }
@keyframes fadeDown{ from { opacity: 0; transform: translateY(-6px); }   to { opacity: 1; transform: none; } }

[data-hero] { opacity: 0; animation: heroUp .9s var(--ease) both; }
[data-hero="1"] { animation-delay: .15s; }
[data-hero="2"] { animation-delay: .30s; }
[data-hero="3"] { animation-delay: .45s; }
[data-hero="4"] { animation-delay: .60s; }

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- responsive: narrow (< 1120px) ---------- */
@media (max-width: 1119px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__burger { display: flex; }
  .trust__grid, .urun__grid { grid-template-columns: repeat(2, 1fr); }
  .ft__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- responsive: phone (< 640px) ---------- */
@media (max-width: 639px) {
  html { scroll-padding-top: 84px; }
  body { padding-bottom: 64px; }
  .hdr__tel { display: none; }
  .bottombar { display: flex; }
  .trust__grid, .urun__grid, .svc__grid, .ft__grid { grid-template-columns: 1fr; }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 24px; }
  .rev__q { padding: 24px; }
  .ft__bot { flex-direction: column; align-items: flex-start; }
  .ft__top { margin-left: 0; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hdr, [data-hero], [data-reveal], .faq__a {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .card:hover, .prod:hover, .brand:hover { transform: none; }
  .rev__track { scroll-behavior: auto; }
  .hero__bg { transform: none !important; }
}

/* ---------- print ---------- */
@media print {
  .hdr, .bottombar, .rev__nav, .skip-link { display: none !important; }
  body { padding: 0; }
  .hero { min-height: auto; background: none; color: var(--ink); }
  .hero__bg, .hero__scrim { display: none; }
  .hero__title, .hero__lead { color: var(--ink); }
  [data-reveal], [data-hero] { opacity: 1 !important; transform: none !important; }
}
