/* ==========================================================================
   Kardeşler Bisiklet — Bento UI Design System
   --------------------------------------------------------------------------
   1. Tokens          5. Header           9.  Products
   2. Base / reset    6. Hero slider      10. Dealers
   3. Utilities       7. About            11. Contact & map
   4. Components      8. Services         12. Footer
                                          13. Motion & responsive
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* Marka paleti */
  --bg: #F5F5F0;
  --surface: #FFFFFF;
  --primary: #172B24;
  --secondary: #65756B;
  --accent: #D8F36A;
  --text: #18221D;
  --muted: #7B827D;           /* yalnızca dekoratif / büyük metin */
  --text-soft: #5C6B62;       /* küçük gövde metni — AA kontrast (5.1:1) */

  /* Türetilmiş tonlar */
  --primary-deep: #0F1F1A;
  --primary-soft: #223A31;
  --line: rgba(23, 43, 36, 0.09);
  --line-strong: rgba(23, 43, 36, 0.16);
  --tint: #EDEFE7;             /* ikon kutuları, çipler */
  --on-dark: #F5F5F0;
  --on-dark-soft: rgba(245, 245, 240, 0.72);
  --on-dark-line: rgba(245, 245, 240, 0.16);

  /* Tipografi */
  --font-sans: "Plus Jakarta Sans", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display: clamp(2.35rem, 1.2rem + 4.4vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.25rem + 3vw, 4rem);
  --fs-h3: clamp(1.2rem, 1.05rem + 0.6vw, 1.6rem);
  --fs-h3-lg: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem);
  --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.3rem);
  --fs-body: clamp(0.95rem, 0.92rem + 0.15vw, 1.0625rem);
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing (8pt tabanlı) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --gap: clamp(12px, 1.2vw, 18px);
  --pad-card: clamp(20px, 2.2vw, 32px);
  --section-y: clamp(72px, 9vw, 136px);

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: clamp(22px, 2.2vw, 32px);
  --r-pill: 999px;

  /* Layout */
  --container: 1360px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 76px;

  /* Elevation & motion */
  --shadow-sm: 0 1px 2px rgba(23, 43, 36, 0.05);
  --shadow-md: 0 18px 40px -18px rgba(23, 43, 36, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 180ms;
  --t-med: 420ms;
  --t-slow: 900ms;
  --slide-duration: 6500ms;
}

/* 2. BASE / RESET ========================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, figure, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

:focus-visible {
  outline: 2.5px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}
.card--dark :focus-visible,
.tile--dark :focus-visible,
.hero-slider :focus-visible,
.footer-card :focus-visible,
.product :focus-visible { outline-color: var(--accent); }

::selection { background: var(--accent); color: var(--primary); }

/* 3. UTILITIES ============================================================= */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--on-dark);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--t-fast) var(--ease);
}
.skip-link:focus { transform: none; }

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

/* 4. COMPONENTS ============================================================ */

/* --- Buttons --- */
.btn {
  --btn-h: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--btn-h);
  padding: 0 22px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition:
    background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .icon { transition: transform var(--t-med) var(--ease); }
.btn:hover .icon { transform: translate(2px, -2px); }

.btn--sm { --btn-h: 44px; padding: 0 18px; font-size: 0.9rem; }
.btn--block { width: 100%; }

.btn--dark  { background: var(--primary); color: var(--on-dark); }
.btn--dark:hover { background: var(--primary-deep); box-shadow: var(--shadow-md); }

.btn--lime  { background: var(--accent); color: var(--primary); }
.btn--lime:hover { background: #E3F88B; box-shadow: 0 14px 30px -14px rgba(216, 243, 106, 0.7); }

.btn--light { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn--light:hover { background: var(--bg); }

.btn--outline { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--outline:hover { border-color: var(--primary); }

.btn--ghost-light { background: transparent; color: var(--on-dark); border-color: var(--on-dark-line); }
.btn--ghost-light:hover { background: rgba(245, 245, 240, 0.08); border-color: rgba(245, 245, 240, 0.4); }

/* Ok ikonlu buton (hero CTA) */
.btn--icon { padding-right: 6px; gap: 14px; }
.btn__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  transition: transform var(--t-med) var(--ease);
}
.btn--icon:hover .btn__icon { transform: rotate(-45deg); }
.btn--icon:hover .btn__icon .icon { transform: none; }

/* Yuvarlak ikon buton */
.round-btn {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(245, 245, 240, 0.14);
  color: var(--on-dark);
  border: 1px solid rgba(245, 245, 240, 0.22);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.round-btn:hover { background: var(--accent); color: var(--primary); border-color: var(--accent); }
.round-btn:active { transform: scale(0.94); }
.round-btn--dark {
  background: var(--primary); color: var(--accent); border-color: var(--primary);
  -webkit-backdrop-filter: none; backdrop-filter: none;
}

/* --- Eyebrow / labels --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}
.eyebrow__num {
  display: inline-grid;
  place-items: center;
  min-width: 34px; height: 24px;
  padding: 0 8px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--accent);
  letter-spacing: 0.04em;
}
.eyebrow--light { color: var(--on-dark-soft); }
.eyebrow--dark  { color: var(--primary); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: rgba(245, 245, 240, 0.92);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tag::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--primary);
}
.tag--dark { background: var(--primary); color: var(--on-dark); }
.tag--dark::before { box-shadow: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: var(--s-5); }
.chips li {
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--tint);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--primary);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: var(--s-5);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  width: fit-content;
}
.link-arrow .icon { transition: transform var(--t-med) var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--accent); }

/* --- Icon box --- */
.icon-box {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--primary);
  font-size: 1.35rem;
  flex: none;
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.icon-box--lime { background: var(--accent); color: var(--primary); }

/* --- Bento kart temeli --- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gap);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--pad-card);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  isolation: isolate;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.card--dark  { background: var(--primary); color: var(--on-dark); border-color: transparent; }
.card--lime  { background: var(--accent); color: var(--primary); border-color: transparent; }
.card--media,
.card--flush { padding: 0; }

@media (hover: hover) {
  .card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .card:hover .icon-box { background: var(--primary); color: var(--accent); transform: rotate(-6deg); }
  .card--dark:hover .icon-box,
  .card:hover .icon-box--lime { background: var(--accent); color: var(--primary); }
}

/* --- Medya & yedek arka plan (fallback) ---
   Görsel yüklenemezse: koyu yeşil degrade + ince tekerlek deseni görünür. */
.media {
  position: relative;
  overflow: hidden;
  background-color: var(--primary-soft);
  background-image:
    radial-gradient(circle at 30% 70%, transparent 0 46px, rgba(216, 243, 106, 0.16) 47px 49px, transparent 50px),
    radial-gradient(circle at 70% 70%, transparent 0 46px, rgba(216, 243, 106, 0.16) 47px 49px, transparent 50px),
    linear-gradient(135deg, var(--primary-soft) 0%, var(--primary) 55%, var(--primary-deep) 100%);
  background-repeat: no-repeat;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-med) ease;
}
.media.is-broken img { opacity: 0; }

/* --- Section header --- */
.section { padding-block: var(--section-y) 0; }
.section:last-of-type { padding-bottom: var(--section-y); }

.section-head {
  display: grid;
  gap: var(--s-4);
  margin-bottom: clamp(28px, 4vw, 56px);
}
.section-head--split {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: var(--s-6);
}
.section-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
  text-wrap: balance;
}
.section-title em {
  font-style: normal;
  color: var(--secondary);
}
.section-lead {
  max-width: 42ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text-soft);
  justify-self: end;
}

/* 5. HEADER ================================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(245, 245, 240, 0.78);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  height: var(--header-h);
  transition: height var(--t-med) var(--ease);
}
.site-header.is-scrolled .header-inner { height: 66px; }

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  border-radius: 14px;
}
.brand__mark {
  width: 44px; height: 44px;
  transition: transform var(--t-med) var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__text { display: grid; line-height: 1; }
.brand__name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
}
.brand__sub {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--secondary);
}
.brand--light { --logo-bg: var(--accent); --logo-wheel: var(--primary); --logo-frame: var(--primary); }
.brand--light .brand__name { color: var(--on-dark); }
.brand--light .brand__sub  { color: var(--on-dark-soft); }

/* Navigasyon */
.primary-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}
.nav-link:hover { color: var(--text); background: var(--tint); }
.nav-link.is-active { color: var(--on-dark); background: var(--primary); }

.nav-mobile-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: var(--s-3); }
.header-cta { --btn-h: 46px; padding: 0 20px; }
.header-cta .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(216, 243, 106, 0.22);
}

/* Hamburger */
.nav-toggle {
  display: none;
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--primary);
}
.nav-toggle__bar {
  position: absolute;
  left: 14px;
  width: 18px; height: 2px;
  border-radius: 2px;
  background: var(--on-dark);
  transition: transform var(--t-med) var(--ease), top var(--t-med) var(--ease);
}
.nav-toggle__bar:nth-child(1) { top: 19px; }
.nav-toggle__bar:nth-child(2) { top: 25px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* 6. HERO ================================================================== */
.hero { padding-top: 8px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 24vw, 360px);
  gap: var(--gap);
}

.hero-slider {
  position: relative;
  min-height: clamp(560px, calc(100vh - var(--header-h) - 32px), 780px);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--primary);
  color: var(--on-dark);
  isolation: isolate;
  touch-action: pan-y;
}
.hero-slider:focus { outline: none; }

.hero-track, .hero-slide { position: absolute; inset: 0; }

.hero-slide {
  display: flex;
  align-items: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-slow) var(--ease), visibility 0s linear var(--t-slow);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity var(--t-slow) var(--ease), visibility 0s;
  z-index: 1;
}

.hero-slide__media { position: absolute; inset: 0; z-index: -1; }
.hero-slide__media img {
  transform: scale(1.07);
  transition: transform 7s cubic-bezier(0.2, 0.6, 0.35, 1);
}
.hero-slide.is-active .hero-slide__media img { transform: scale(1); }
.hero-slide__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 22, 18, 0.72) 0%, rgba(12, 22, 18, 0.35) 45%, rgba(12, 22, 18, 0) 75%),
    linear-gradient(180deg, rgba(12, 22, 18, 0.1) 0%, rgba(12, 22, 18, 0) 35%, rgba(12, 22, 18, 0.78) 100%);
}

.hero-slide__content {
  position: relative;
  display: grid;
  justify-items: start;
  gap: var(--s-4);
  width: 100%;
  max-width: 820px;
  padding: clamp(24px, 4vw, 56px);
  padding-bottom: calc(clamp(24px, 4vw, 56px) + 76px);
}
.hero-slide__index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.hero-slide__index span { color: var(--accent); }
.hero-slide__title {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 13ch;
  text-wrap: balance;
}
.hero-slide__text {
  max-width: 44ch;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(245, 245, 240, 0.86);
}
.hero-slide__content .btn { margin-top: var(--s-2); }

/* Slayt içeriği giriş animasyonu */
.hero-slide__content > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.hero-slide.is-active .hero-slide__content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-slide__content > :nth-child(1) { transition-delay: 150ms; }
.hero-slide.is-active .hero-slide__content > :nth-child(2) { transition-delay: 230ms; }
.hero-slide.is-active .hero-slide__content > :nth-child(3) { transition-delay: 320ms; }
.hero-slide.is-active .hero-slide__content > :nth-child(4) { transition-delay: 400ms; }

/* Kontroller */
.hero-controls {
  position: absolute;
  z-index: 5;
  left: clamp(24px, 4vw, 56px);
  right: clamp(16px, 2.5vw, 32px);
  bottom: clamp(20px, 2.5vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}
.hero-dots { display: flex; gap: 6px; }
.hero-dot {
  position: relative;
  width: clamp(44px, 6vw, 72px);
  height: 44px;              /* geniş dokunma alanı */
  display: flex;
  align-items: center;
}
.hero-dot::before,
.hero-dot__fill {
  content: "";
  position: absolute;
  left: 0;
  height: 3px;
  border-radius: 3px;
}
.hero-dot::before { right: 0; background: rgba(245, 245, 240, 0.28); }
.hero-dot__fill { width: 0; background: var(--accent); }
.hero-dot.is-done .hero-dot__fill { width: 100%; }
.hero-dot.is-active .hero-dot__fill {
  width: 100%;
  transform-origin: left;
  animation: dot-progress var(--slide-duration) linear forwards;
}
.hero-slider.is-paused .hero-dot.is-active .hero-dot__fill { animation-play-state: paused; }
.hero-slider.no-autoplay .hero-dot.is-active .hero-dot__fill { animation: none; }

@keyframes dot-progress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-arrows { display: flex; gap: 8px; }
.round-btn .icon-play { display: none; }
.hero-slider.is-user-paused .round-btn .icon-play { display: block; }
.hero-slider.is-user-paused .round-btn .icon-pause { display: none; }
.hero-slider.no-autoplay [data-hero-toggle] { display: none; }

/* Hero yan kutuları */
.hero-side {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: var(--gap);
}
.tile {
  display: flex;
  flex-direction: column;
  padding: var(--pad-card);
  border-radius: var(--r-xl);
}
.tile--lime { background: var(--accent); color: var(--primary); }
.tile--dark { background: var(--primary); color: var(--on-dark); }

.tile__title {
  margin-top: var(--s-4);
  font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.tile__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 10px 18px 10px 10px;
  border-radius: var(--r-pill);
  background: var(--primary);
  color: var(--on-dark);
  transition: transform var(--t-med) var(--ease);
  width: fit-content;
  max-width: 100%;
}
.tile--lime .tile__title { margin-bottom: var(--s-6); }
.tile__phone:hover { transform: translateY(-2px); }
.tile__phone-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  flex: none;
}
.tile__phone-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.tile__phone-number { display: block; font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap; }

.quick-list { margin-top: var(--s-3); }
.quick-list li + li { border-top: 1px solid var(--on-dark-line); }
.quick-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 46px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color var(--t-fast) var(--ease), padding var(--t-med) var(--ease);
}
.quick-list a .icon { color: var(--on-dark-soft); transition: transform var(--t-med) var(--ease), color var(--t-fast); }
.quick-list a:hover { color: var(--accent); padding-left: 6px; }
.quick-list a:hover .icon { color: var(--accent); transform: rotate(45deg); }

/* 7. ABOUT ================================================================= */
.about-grid { grid-template-rows: auto auto auto; }

.about-media {
  grid-column: 1 / 8;
  grid-row: 1 / 3;
  min-height: 520px;
}
.about-media .media { position: absolute; inset: 0; }
.about-media:hover .media img { transform: scale(1.04); }
.media-tag {
  position: absolute;
  left: var(--s-5);
  bottom: var(--s-5);
  z-index: 2;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  box-shadow: var(--shadow-md);
}

.about-story { grid-column: 8 / 13; grid-row: 1; gap: var(--s-4); }
.card__kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary);
}
.about-story__lead {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.about-story__text { color: var(--text-soft); }

.about-quote { grid-column: 8 / 13; grid-row: 2; gap: var(--s-4); }
.about-quote__mark {
  width: 48px; height: 48px;
  --logo-bg: var(--accent); --logo-wheel: var(--primary); --logo-frame: var(--primary);
}
.about-quote__text {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.about-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.feature { gap: var(--s-3); }
.feature .icon-box { margin-bottom: var(--s-4); }
.feature__title { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.feature__text  { font-size: var(--fs-small); color: var(--text-soft); line-height: 1.55; }

/* 8. SERVICES ============================================================== */
.service { gap: var(--s-3); min-height: 300px; }
.service__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-top: var(--s-4);
}
.service__text { color: var(--text-soft); max-width: 40ch; }
.service__num {
  position: absolute;
  top: var(--pad-card);
  right: var(--pad-card);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: var(--muted);
}

.service--sales { grid-column: 1 / 8; min-height: 400px; justify-content: flex-end; }
.service--sales .service__bg { position: absolute; inset: 0; z-index: -1; }
.service--sales .service__bg img { opacity: 0.55; }
.service--sales .service__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(23, 43, 36, 0.15) 0%, rgba(23, 43, 36, 0.92) 70%);
}
.service--sales:hover .service__bg img { transform: scale(1.05); }
.service--sales .service__body { display: flex; flex-direction: column; gap: var(--s-3); }
.service--sales .service__title { font-size: var(--fs-h3-lg); }
.service--sales .service__text { color: var(--on-dark-soft); font-size: var(--fs-lead); }
.service--sales .service__num { color: rgba(245, 245, 240, 0.55); }
.service--sales .chips { padding-top: var(--s-2); }

.service--repair { grid-column: 8 / 13; }

.service--acc {
  grid-column: 1 / 9;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}
.service--acc__body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  padding: var(--pad-card);
}
.service--acc__media { min-height: 100%; }
.service--acc:hover .service--acc__media img { transform: scale(1.06); }

.service-cta {
  grid-column: 9 / 13;
  gap: var(--s-4);
  min-height: 300px;
}
.service-cta__title {
  font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.service-cta__action {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  font-weight: 700;
  font-size: 0.98rem;
}
.service-cta:hover .round-btn--dark { transform: rotate(-12deg); }

/* 9. PRODUCTS ============================================================== */
.products-grid { grid-auto-rows: minmax(250px, auto); }

.product {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  isolation: isolate;
  color: var(--on-dark);
  background: var(--primary);
  min-height: 300px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.product > .media { position: absolute; inset: 0; z-index: -1; }
.product > .media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12, 22, 18, 0.05) 30%, rgba(12, 22, 18, 0.85) 100%);
  transition: opacity var(--t-med) var(--ease);
}
@media (hover: hover) {
  .product:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
  .product:hover > .media img { transform: scale(1.06); }
}

.product__overlay {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-6);
  padding: var(--pad-card);
}
.product__bottom { display: grid; justify-items: start; gap: var(--s-2); }
.product__title {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.product__text { max-width: 36ch; font-size: var(--fs-small); color: rgba(245, 245, 240, 0.85); }
.product__bottom .btn { margin-top: var(--s-3); }

/* Kontrollü farklılıklar */
.product--city { grid-column: 1 / 6;  grid-row: 1 / 3; min-height: 600px; }
.product--city .product__title { font-size: var(--fs-h3-lg); }
.product--mtb  { grid-column: 6 / 13; grid-row: 1; min-height: 320px; }
.product--mtb .product__title { font-size: var(--fs-h3-lg); }
.product--road { grid-column: 6 / 10; grid-row: 2; }
.product--kids { grid-column: 10 / 13; grid-row: 2; }

.product--acc {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  min-height: 300px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}
.product--acc > .media { position: relative; inset: auto; z-index: 0; min-height: 260px; }
.product--acc > .media::after { display: none; }
.product--acc__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-3);
  padding: clamp(24px, 3.5vw, 56px);
}
.product--acc .product__title { font-size: var(--fs-h3-lg); margin-top: var(--s-3); }
.product--acc .product__text  { color: var(--text-soft); font-size: var(--fs-body); max-width: 44ch; }
.product--acc__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }

/* 10. DEALERS ============================================================== */
.dealers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.dealer {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: clamp(22px, 2.6vw, 40px);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  transition:
    transform var(--t-med) var(--ease),
    box-shadow var(--t-med) var(--ease),
    border-color var(--t-med) var(--ease);
}
.dealer--dark {
  background: var(--primary);
  border-color: transparent;
}
.dealer img {
  width: 100%;
  height: 92px;
  object-fit: contain;
  object-position: center;
}
/* Dosyadaki boş kenarları kırp — logo kartı doldursun */
.dealer--giant img  { object-view-box: inset(36% 0% 37% 0%); }
.dealer--liv img    { height: 104px; object-view-box: inset(26% 2% 21% 5%); }
.dealer--kron img   { height: 124px; }

@media (hover: hover) {
  .dealer:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
}

/* 11. CONTACT ============================================================== */
.contact-main {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
  gap: var(--s-4);
  justify-content: space-between;
}
.contact-phone {
  display: block;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--on-dark);
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.contact-phone:hover { color: var(--accent); }
.contact-main__text { color: var(--on-dark-soft); max-width: 38ch; }
.contact-actions { display: grid; gap: var(--s-3); margin-top: var(--s-6); }

.contact-address {
  grid-column: 6 / 13;
  grid-row: 1;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5);
}
.contact-address__body { flex: 1 1 260px; display: grid; gap: 6px; }
.contact-address__text {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.contact-address__btn { flex: none; }

.contact-map { grid-column: 6 / 13; grid-row: 2; }
.map-frame {
  position: relative;
  height: clamp(260px, 26vw, 360px);
  background: var(--tint);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.02);
  transition: filter var(--t-med) var(--ease);
}
.contact-map:hover .map-frame iframe { filter: none; }
.map-link {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 38px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: var(--fs-small);
  font-weight: 600;
  box-shadow: var(--shadow-md);
}

/* 12. FOOTER =============================================================== */
.site-footer { padding-bottom: var(--gutter); }
.footer-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 56px) clamp(20px, 2.5vw, 28px);
  border-radius: var(--r-xl);
  background: var(--primary);
  color: var(--on-dark);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-6);
}
.footer-desc { margin-top: var(--s-4); max-width: 40ch; color: var(--on-dark-soft); font-size: var(--fs-small); }
.footer-label {
  margin-bottom: var(--s-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}
.footer-nav ul { display: grid; gap: 2px; }
.footer-nav a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  font-weight: 500;
  transition: color var(--t-fast) var(--ease);
}
.footer-nav a:hover { color: var(--accent); }
.footer-phone {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.footer-phone:hover { color: var(--accent); }
.footer-address { margin-top: var(--s-3); font-size: var(--fs-small); color: var(--on-dark-soft); }

.footer-wordmark {
  margin-top: clamp(32px, 5vw, 64px);
  font-size: clamp(2rem, 10.2vw, 11rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.055em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 245, 240, 0.22);
  user-select: none;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--on-dark-line);
  font-size: var(--fs-small);
  color: var(--on-dark-soft);
}
.to-top { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; font-weight: 600; color: var(--on-dark); }
.to-top:hover { color: var(--accent); }
.to-top .icon { transform: rotate(-45deg); }

/* 13. MOTION & RESPONSIVE ================================================== */

/* Scroll reveal — yalnızca JS aktifken gizle */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 800ms var(--ease) var(--d, 0ms), transform 800ms var(--ease) var(--d, 0ms),
              box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js .card[data-reveal].is-visible:hover,
.js .product[data-reveal].is-visible:hover,
.js .dealer[data-reveal].is-visible:hover { transition-delay: 0ms; }

@media (hover: hover) {
  .js .card[data-reveal].is-visible:hover,
  .js .product[data-reveal].is-visible:hover,
  .js .dealer[data-reveal].is-visible:hover { transform: translateY(-4px); }
}

/* ---- ≤1280 ---- */
@media (max-width: 1280px) {
  .nav-link { padding: 0 12px; }
}

/* ---- ≤1024 (tablet) ---- */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }

  /* Mobil menü */
  .nav-toggle { display: block; }
  .primary-nav {
    position: fixed;
    top: calc(var(--header-h) + 8px);
    left: var(--gutter);
    right: var(--gutter);
    z-index: 99;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s-4);
    max-height: calc(100dvh - var(--header-h) - 24px);
    overflow-y: auto;
    padding: var(--s-4);
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: 0 30px 60px -20px rgba(23, 43, 36, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s linear var(--t-med);
  }
  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), visibility 0s;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 0;
    background: none;
    border: 0;
  }
  .nav-link {
    height: 56px;
    padding: 0 16px;
    border-radius: var(--r-md);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  .nav-mobile-extra { display: grid; gap: var(--s-2); }
  .site-header.nav-is-open { background: rgba(245, 245, 240, 0.92); }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; }
  .hero-slider { min-height: clamp(520px, 68vh, 640px); }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }

  /* Bölüm başlıkları */
  .section-head--split { grid-template-columns: 1fr; gap: var(--s-4); }
  .section-lead { justify-self: start; }

  /* Bento → 6 sütun */
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }

  .about-media  { grid-column: 1 / -1; grid-row: auto; min-height: 440px; }
  .about-story  { grid-column: 1 / 4; grid-row: auto; }
  .about-quote  { grid-column: 4 / -1; grid-row: auto; }
  .about-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .service--sales  { grid-column: 1 / -1; }
  .service--repair { grid-column: 1 / 4; }
  .service--acc    { grid-column: 4 / -1; }
  .service-cta     { grid-column: 1 / -1; }

  .product--city { grid-column: 1 / 4; grid-row: 1 / 3; min-height: 560px; }
  .product--mtb  { grid-column: 4 / -1; grid-row: 1; }
  .product--road { grid-column: 4 / -1; grid-row: 2; }
  .product--kids { grid-column: 1 / -1; grid-row: 3; min-height: 320px; }
  .product--acc  { grid-row: 4; }

  .contact-main    { grid-column: 1 / -1; grid-row: auto; }
  .contact-address { grid-column: 1 / -1; grid-row: auto; }
  .contact-map     { grid-column: 1 / -1; grid-row: auto; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---- ≤768 ---- */
@media (max-width: 768px) {
  .header-cta { display: none; }

  .about-story, .about-quote { grid-column: 1 / -1; }

  .service--repair, .service--acc, .service-cta { grid-column: 1 / -1; }
  .service { min-height: 0; }
  .service--sales { min-height: 380px; }
  .service--acc { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .service-cta { min-height: 240px; }

  .product--city, .product--mtb, .product--road, .product--kids, .product--acc {
    grid-column: 1 / -1;
    grid-row: auto;
  }
  .product--city { min-height: 520px; }
  .product--mtb, .product--road, .product--kids { min-height: 380px; }
  .product--acc { grid-template-columns: 1fr; }
  .product--acc > .media { min-height: 220px; }

  .dealers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dealer { min-height: 136px; padding: 20px; }
  .dealer img,
  .dealer--liv img,
  .dealer--kron img { height: 76px; }
  .dealer--giant,
  .dealer--sedona,
  .dealer--corelli,
  .dealer--dahon { grid-column: 1 / -1; }

  .contact-address { flex-direction: column; align-items: flex-start; gap: var(--s-4); }
  .contact-address__body { flex: none; }
  .contact-address__btn { width: 100%; }
}

/* ---- ≤560 (mobil) ---- */
@media (max-width: 560px) {
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.05rem; }

  .hero { padding-top: 4px; }
  .hero-slider { min-height: 560px; }
  .hero-slide__content { padding: 22px 20px 96px; }
  .hero-slide__media::after {
    background: linear-gradient(180deg, rgba(12, 22, 18, 0.25) 0%, rgba(12, 22, 18, 0.35) 35%, rgba(12, 22, 18, 0.88) 100%);
  }
  .hero-controls { left: 20px; right: 14px; bottom: 16px; }
  .hero-dot { width: 34px; }
  .round-btn { width: 44px; height: 44px; }
  .hero-arrows { gap: 6px; }

  .hero-side { grid-template-columns: 1fr; }
  .tile--lime .tile__title { margin-bottom: var(--s-5); }

  .about-media { min-height: 360px; }
  .about-features { grid-template-columns: 1fr; }
  .feature { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: var(--s-4); }
  .feature .icon-box { margin-bottom: 0; width: 46px; height: 46px; }
  .feature__title { flex: 1; }
  .feature__text { flex-basis: 100%; }

  .service--acc { grid-template-columns: 1fr; }
  .service--acc__media { min-height: 200px; }

  .product--city { min-height: 460px; }
  .product--mtb, .product--road, .product--kids { min-height: 340px; }

  .contact-phone { font-size: clamp(1.75rem, 8.6vw, 2.2rem); }
  .map-frame { height: 280px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-wordmark { font-size: 9vw; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---- ≤380 (küçük mobil) ---- */
@media (max-width: 380px) {
  .btn { padding: 0 18px; font-size: 0.9rem; }
  .hero-slide__title { font-size: 2.15rem; }
  .hero-dot { width: 28px; }
  .round-btn { width: 42px; height: 42px; }
  .tile__phone { padding-right: 14px; }
}

/* Büyük ekranlar (1920) */
@media (min-width: 1680px) {
  :root { --container: 1520px; }
}

/* Hareket hassasiyeti */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero-slide__media img { transform: none !important; }
}
