/* Çınar Lastik — landing page
   Layout: koyu logo çubuğu (logo sarı) → sarı banner, çapraz lastik izleri → adres + Google Haritalar → altbilgi
   Aynı konseptte yeni site: "MARKA" bloğunu ve index.html içeriğini değiştirmek yeterli. */

:root {
  /* ── MARKA ─────────────────────────────── */
  --brand: #F8E018;        /* logo sarısı */
  --brand-dark: #E6CD00;   /* hover tonu */
  --brand-deep: #A68C00;   /* beyaz zeminde okunur sarı (alt çizgi) */
  --on-brand: #1B181B;
  --ink: #1B181B;          /* logodaki lastik izi siyahı */
  --chrome: #C9CCD0;

  /* Nötrler: sarıya hafif kayan sıcak gri */
  --paper: #F4F4F0;
  --surface: #FFFFFF;
  --text: #1B181B;
  --muted: #5E5A55;
  --line: #E3E1D9;
  --on-ink: #F4F4F0;
  --on-ink-muted: #B3AFA8;
  --line-dark: #34302F;

  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-3: clamp(1.75rem, 1.15rem + 2.2vw, 2.5rem);
  --step-4: clamp(2.25rem, 1rem + 4vw, 4.25rem);

  --radius: 12px;
  --wrap: 1140px;
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: light;
}

/* ── Temel ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; }
[id] { scroll-margin-top: 124px; }

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

.display {
  font-family: var(--font-display);
  font-stretch: 125%;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .98;
}

.icon {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

/* ── Butonlar ────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: .72em 1.15em;
  border: 2px solid transparent;
  border-radius: 8px;
  font-size: var(--step-0);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--lg { padding: .95em 1.4em; font-size: var(--step-1); }
.btn--primary { background: var(--brand); color: var(--on-brand); }
.btn--primary:hover { background: var(--brand-dark); }
.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 480px) {
  .cta-row { align-self: stretch; }
  .cta-row .btn { flex: 1 1 100%; }
}

/* ── Üst çubuk ───────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--ink) 94%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 80px;
}
.brand img { height: 62px; width: auto; }
.topbar__actions { display: flex; align-items: center; gap: 10px; }
.topbar .btn--ghost { border-color: var(--line-dark); color: #FFFFFF; }
.topbar .btn--ghost:hover { border-color: #FFFFFF; }

@media (max-width: 640px) {
  .topbar__inner { min-height: 62px; }
  .brand img { height: 46px; }
  .topbar__actions { gap: 8px; }
  .topbar .btn { padding: .6em .8em; font-size: .875rem; gap: 6px; }
}
@media (max-width: 400px) {
  .brand img { height: 30px; }
  .topbar .btn .icon { display: none; }
  .topbar .btn { padding: .55em .65em; }
}

/* ── Adres çubuğu (üst çubukla birlikte sabit) ── */
.addressbar {
  background: #0E0C0E;
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-ink-muted);
  font-size: var(--step--1);
  line-height: 1.4;
}
.addressbar__inner { display: flex; align-items: center; min-height: 34px; padding-block: 6px; }
.addressbar a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; }
.addressbar a:hover { color: var(--on-ink); }
.addressbar .icon { width: 15px; height: 15px; color: var(--brand); }

/* ── Banner ──────────────────────────────── */
.banner {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7vw, 96px);
  background-color: var(--brand);
  background-image: radial-gradient(circle at 76% 50%, color-mix(in srgb, #FFFFFF 38%, var(--brand)) 0, var(--brand) 52%);
  color: var(--ink);
}
/* Logodaki lastik deseninden çapraz izler */
.banner::before,
.banner::after {
  content: "";
  position: absolute;
  left: -25%;
  width: 150%;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='120'%3E%3Cpath fill='%231B181B' d='M4 6h18l16 40H20zM20 74h18L22 114H4zM0 56h48v8H0z'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-size: 48px 120px;
  transform: rotate(-12deg);
  pointer-events: none;
}
.banner::before { top: 62%; opacity: .1; }
.banner::after { top: 4%; opacity: .05; }
.banner__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}
.banner__copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }

.banner h1 { font-size: var(--step-4); }
.banner h1 span { display: block; }
.banner h1 .is-brand {
  width: fit-content;
  margin-top: .08em;
  padding: .06em .22em .1em .16em;
  background: var(--ink);
  color: var(--brand);
}
.banner .btn--primary { background: var(--ink); color: var(--brand); }
.banner .btn--primary:hover { background: #000000; }
.banner .btn--ghost { border-color: color-mix(in srgb, var(--ink) 35%, transparent); color: var(--ink); }
.banner .btn--ghost:hover { border-color: var(--ink); }

.banner__visual { justify-self: end; width: 100%; max-width: 460px; }

.wheel { width: 100%; height: auto; overflow: visible; }
.wheel__ring { stroke: var(--ink); }
.wheel__spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: wheel-spin 3.2s cubic-bezier(.12, .6, .16, 1) .2s both;
}
.wheel__brand-stroke { stroke: var(--ink); }
.wheel__caliper { fill: var(--brand); stroke: var(--brand); stroke-width: 10; stroke-linejoin: round; }
.wheel__cap { fill: var(--ink); stroke: var(--brand); stroke-width: 3; }
.sidewall {
  fill: #4A4F56;
  font-family: var(--font-display);
  font-size: 19px;
  font-stretch: 125%;
  font-style: italic;
  font-weight: 800;
  letter-spacing: .08em;
}
.sidewall--spec {
  fill: #3A3F45;
  font-size: 13px;
  font-stretch: 100%;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .14em;
}

@keyframes wheel-spin {
  from { transform: rotate(-900deg); }
  to   { transform: rotate(0deg); }
}

@media (max-width: 760px) {
  .banner__inner { grid-template-columns: minmax(0, 1fr); }
  .banner__visual { justify-self: center; max-width: 300px; }
}

/* ── Konum ───────────────────────────────── */
.location { padding-block: clamp(56px, 8vw, 104px); background: var(--surface); }
.location__inner {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 5vw, 64px);
}
.location__info { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }

.info { display: grid; gap: 18px; width: 100%; margin: 0; }
.info > div { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.info dt {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.info dd { margin: 0; font-size: var(--step-1); }
.info a { text-decoration-color: var(--brand-deep); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.info a:hover { color: var(--brand-deep); }

.map {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

@media (max-width: 860px) {
  .location__inner { grid-template-columns: minmax(0, 1fr); }
}

/* ── Altbilgi ────────────────────────────── */
.footer { padding-block: 24px; border-top: 1px solid var(--line); background: var(--paper); }
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  font-size: var(--step--1);
  color: var(--muted);
}
.footer__partner { height: 26px; width: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wheel__spin { animation: none; }
}
