/* ==========================================================================
   MER-MAN OTOMOTİV — Kurumsal Web Sitesi
   Tasarım dili: MAN Truck & Bus (man.eu) referans alınmıştır
   ========================================================================== */

/* --- 1. Tokenlar ---------------------------------------------------------- */
:root {
  --ink:        #14181d;
  --ink-2:      #2b3138;
  --navy:       #16263c;
  --navy-2:     #1f3350;
  --accent:     #e40045;
  --accent-dk:  #b8003a;
  --muted:      #6b7480;
  --line:       #dfe3e8;
  --bg:         #ffffff;
  --bg-soft:    #f2f4f6;
  --bg-dark:    #14181d;

  --ff-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --ff-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1280px;
  --gut: 24px;

  --shadow-sm: 0 1px 3px rgba(20, 24, 29, .10);
  --shadow-md: 0 8px 28px rgba(20, 24, 29, .14);
  --shadow-lg: 0 18px 50px rgba(20, 24, 29, .18);

  --head-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* katman sırası */
  --z-fab:    90;
  --z-header: 100;
  --z-scrim:  140;
  --z-drawer: 150;
  --z-modal:  200;
  --z-skip:   300;
}

/* --- 2. Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
a, button, label, summary, [role="button"] { touch-action: manipulation; }
ul { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  letter-spacing: .01em;
  margin: 0 0 .5em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { margin: 0 0 1rem; }

::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* --- 3. Yardımcı sınıflar ------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding: clamp(56px, 7vw, 104px) 0; }
.section--soft { background: var(--bg-soft); }
/* koyu bölümlerde ince diyagonal tarama dokusu — atölye/endüstriyel his */
.section--dark {
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .022) 0 2px, transparent 2px 9px),
    var(--bg-dark);
  color: #c9ced6;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.center { text-align: center; }
.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;
}

/* klavye kullanıcıları için içeriğe atlama bağlantısı */
.skip-link {
  position: fixed;
  top: 8px; left: 8px;
  z-index: var(--z-skip);
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ff-head);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .22s var(--ease);
}
.skip-link:focus { transform: none; }

.eyebrow {
  font-family: var(--ff-head);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--accent); flex: none; }
.center .eyebrow { justify-content: center; }

.sec-head { max-width: 660px; margin-bottom: 44px; }
.sec-head.center { margin-inline: auto; }
.sec-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

.lead { font-size: 1.12rem; color: var(--ink-2); }

/* --- 4. Butonlar ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--ff-head);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
  transition: background .22s var(--ease), border-color .22s var(--ease), color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); border-color: var(--ink); }
.btn--dark:hover { background: var(--accent); border-color: var(--accent); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--sm { padding: 11px 20px; font-size: .92rem; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 0;   /* dokunma alanı 44px */
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--accent);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .22s var(--ease); }
.arrow-link:hover svg { transform: translateX(5px); }

/* --- 5. Üst bilgi çubuğu -------------------------------------------------- */
.topbar {
  background: var(--navy);
  color: #b9c4d2;
  font-size: .85rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.topbar-info { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.topbar-info a, .topbar-info span { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar-info a { min-height: 44px; }   /* dokunma hedefi */
.topbar-info a:hover { color: #fff; }
.topbar-info svg { width: 14px; height: 14px; color: var(--accent); flex: none; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  transition: background .2s;
}
.topbar-social a:hover { background: var(--accent); color: #fff; }
.topbar-social svg { width: 15px; height: 15px; }

/* --- 6. Ana menü ---------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--shadow-md); }
.header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--head-h); }

.brand { display: flex; align-items: center; flex: none; padding-block: 4px; }
.brand img { height: 40px; width: auto; }

.nav { margin-left: auto; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block;
  padding: 10px 14px;
  font-family: var(--ff-head);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav a:hover { color: var(--accent); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--accent); }

.header-cta { flex: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  margin-left: auto;
  place-items: center;
  flex: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  position: relative;
  transition: background .2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 24px; height: 2px; background: var(--ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after  { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* --- 6b. Mobil çekmece (off-canvas) menü ------------------------------------ */
.drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: var(--z-scrim);
  background: rgba(9, 12, 16, .62);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .32s var(--ease), visibility .32s;
}
.drawer-scrim.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: var(--z-drawer);
  width: min(340px, 86vw);
  display: flex;
  flex-direction: column;
  background: var(--navy);
  color: #c3cede;
  box-shadow: -18px 0 48px rgba(0, 0, 0, .38);
  transform: translateX(102%);
  visibility: hidden;
  transition: transform .38s var(--ease), visibility .38s;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer.is-open { transform: none; visibility: visible; }

/* kırmızı kenar şeridi — MAN dilindeki vurgu çizgisi */
.drawer::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--accent);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.drawer-logo { height: 34px; width: auto; filter: brightness(0) invert(1); }
.drawer-close {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .08);
  transition: background .2s;
}
.drawer-close:hover { background: var(--accent); }
.drawer-close svg { width: 20px; height: 20px; }

.drawer-nav { padding: 10px 20px; }
.drawer-nav li { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.drawer-nav a {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  min-height: 48px;
  font-family: var(--ff-head);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #fff;
  transition: color .2s var(--ease), transform .2s var(--ease);
}
.drawer-nav a i {
  font-style: normal;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--accent);
  min-width: 22px;
}
.drawer-nav a:hover { color: var(--accent); transform: translateX(4px); }
.drawer-nav a[aria-current="page"] { color: var(--accent); }

/* açılışta sıralı beliriş */
.js .drawer-nav li { opacity: 0; transform: translateX(20px); }
.js .drawer.is-open .drawer-nav li { animation: drawerItem .42s var(--ease) forwards; }
.js .drawer.is-open .drawer-nav li:nth-child(1) { animation-delay: .10s; }
.js .drawer.is-open .drawer-nav li:nth-child(2) { animation-delay: .15s; }
.js .drawer.is-open .drawer-nav li:nth-child(3) { animation-delay: .20s; }
.js .drawer.is-open .drawer-nav li:nth-child(4) { animation-delay: .25s; }
.js .drawer.is-open .drawer-nav li:nth-child(5) { animation-delay: .30s; }
.js .drawer.is-open .drawer-nav li:nth-child(6) { animation-delay: .35s; }
@keyframes drawerItem { to { opacity: 1; transform: none; } }

.drawer-foot { margin-top: auto; padding: 22px 20px 26px; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.drawer-foot p { margin: 16px 0 0; font-size: .9rem; line-height: 1.6; color: #9aa8bc; }
.drawer-social { display: flex; gap: 8px; margin-top: 16px; }
.drawer-social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background .2s;
}
.drawer-social a:hover { background: var(--accent); }
.drawer-social svg { width: 18px; height: 18px; }

/* çekmece açıkken arka plan kaymasın */
body.is-locked { overflow: hidden; }

/* --- 7. Hero slider ------------------------------------------------------- */
.hero {
  position: relative;
  height: clamp(520px, 86vh, 840px);
  height: clamp(520px, 86dvh, 840px);   /* mobil tarayıcı çubukları için */
  background: var(--ink);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s var(--ease), visibility .9s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s linear;
}
.hero-slide.is-active .hero-media img,
.hero-slide.is-active .hero-media video { transform: scale(1); }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(11, 15, 20, .94) 0%, rgba(11, 15, 20, .80) 38%, rgba(11, 15, 20, .42) 70%, rgba(11, 15, 20, .28) 100%),
    linear-gradient(to top, rgba(11, 15, 20, .55) 0%, transparent 32%);
}

.hero-body {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 60px;
}
.hero-copy { max-width: 720px; color: #fff; }
.hero-copy .eyebrow { color: #fff; }
.hero-copy .eyebrow::before { background: var(--accent); }
.hero-copy h1, .hero-copy h2 {
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 4.5rem);
  margin-bottom: 18px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}
.hero-copy p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255, 255, 255, .9);
  max-width: 560px;
  margin-bottom: 30px;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* slide içeriği animasyonu */
.hero-slide .hero-copy > * {
  opacity: 0;
  transform: translateY(26px);
}
.hero-slide.is-active .hero-copy > * {
  animation: heroIn .8s var(--ease) forwards;
}
.hero-slide.is-active .hero-copy > *:nth-child(1) { animation-delay: .16s; }
.hero-slide.is-active .hero-copy > *:nth-child(2) { animation-delay: .28s; }
.hero-slide.is-active .hero-copy > *:nth-child(3) { animation-delay: .40s; }
.hero-slide.is-active .hero-copy > *:nth-child(4) { animation-delay: .52s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* slider kontrolleri — alt ortada tek grup */
.hero-controls {
  position: absolute;
  left: 0; right: 0; bottom: 24px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.hero-nav {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .32);
  color: #fff;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background .22s, border-color .22s;
}
.hero-nav:hover { background: var(--accent); border-color: var(--accent); }
.hero-nav svg { width: 18px; height: 18px; }

.hero-dots { display: flex; gap: 12px; }
/* görünen çubuk 4px, dokunma alanı 44px */
.hero-dots button {
  position: relative;
  width: 46px; height: 44px;
  background: transparent;
}
.hero-dots button::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 20px;
  height: 4px;
  background: rgba(255, 255, 255, .32);
}
.hero-dots button span {
  position: absolute;
  left: 0; right: 0; top: 20px;
  height: 4px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dots button[aria-selected="true"] span { animation: dotFill linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

.hero-badge {
  position: absolute;
  right: 24px; top: 24px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px;
  background: rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  font-family: var(--ff-head);
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-badge svg { width: 14px; height: 14px; color: var(--accent); }

/* --- 8. Hızlı erişim şeridi ----------------------------------------------- */
.quickbar { background: #fff; border-bottom: 1px solid var(--line); }
.quickbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.quick {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 22px;
  border-left: 1px solid var(--line);
  transition: background .22s var(--ease);
}
.quick::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .28s var(--ease);
}
.quick:hover::after { transform: scaleX(1); }
.quick:last-child { border-right: 1px solid var(--line); }
.quick:hover { background: var(--bg-soft); }
.quick-ico {
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--accent);
  transition: background .22s, color .22s;
}
.quick:hover .quick-ico { background: var(--accent); color: #fff; }
.quick-ico svg { width: 22px; height: 22px; }
.quick b {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.12rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}
.quick small { color: var(--muted); font-size: .88rem; }

/* --- 9. Kart ızgarası ----------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: box-shadow .28s var(--ease), transform .28s var(--ease), border-color .28s;
}
/* hover'da alttan büyüyen kırmızı vurgu çizgisi */
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.card:hover::after { transform: scaleX(1); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-tag {
  position: absolute;
  left: 0; top: 18px;
  padding: 6px 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--ff-head);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: 12px; }
.card-body p { color: var(--muted); font-size: .97rem; }
.card-list { margin: 0 0 20px; }
.card-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 7px;
  font-size: .96rem;
  color: var(--muted);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 9px; height: 2px;
  background: var(--accent);
}
.card .arrow-link { margin-top: auto; }

/* --- 10. Metin + görsel bloğu --------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.split--flip .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media::before {
  content: "";
  position: absolute;
  left: -18px; top: -18px;
  width: 120px; height: 120px;
  border-left: 5px solid var(--accent);
  border-top: 5px solid var(--accent);
}
.split-badge {
  position: absolute;
  right: -18px; bottom: -18px;
  background: var(--accent);
  color: #fff;
  padding: 20px 26px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.split-badge b {
  display: block;
  font-family: var(--ff-head);
  font-size: 2.6rem;
  line-height: 1;
}
.split-badge span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

/* --- 11. Sayaçlar --------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, .12); }
.stats--light { background: var(--line); }
.stat { background: var(--bg-dark); padding: 36px 24px; text-align: center; }
.stats--light .stat { background: #fff; }
.stat b {
  display: block;
  font-family: var(--ff-head);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  margin-bottom: 6px;
}
.stats--light .stat b { color: var(--accent); }
.stat span {
  font-size: .88rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #98a2af;
}
.stats--light .stat span { color: var(--muted); }

/* --- 12. Marka şeridi ----------------------------------------------------- */
.brands { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.brand-cell {
  background: #fff;
  display: grid;
  place-items: center;
  padding: 34px 18px;
  transition: background .22s;
}
.brand-cell:hover { background: var(--bg-soft); }
.brand-cell img {
  max-width: 118px;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .28s, opacity .28s, transform .28s var(--ease);
}
.brand-cell:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* --- 13. Galeri ----------------------------------------------------------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-soft);
  cursor: zoom-in;
}
.gallery-item.is-wide { grid-column: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 34px 18px 16px;
  background: linear-gradient(transparent, rgba(11, 15, 20, .85));
  color: #fff;
  font-family: var(--ff-head);
  font-size: 1.02rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .28s, transform .28s var(--ease);
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 12, 16, .94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 70px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 84vh; object-fit: contain; }
.lightbox-cap {
  position: absolute;
  left: 0; right: 0; bottom: 26px;
  text-align: center;
  color: #cfd5dd;
  font-family: var(--ff-head);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.lightbox button {
  position: absolute;
  width: 50px; height: 50px;
  display: grid; place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .25);
  transition: background .2s;
}
.lightbox button:hover { background: var(--accent); border-color: var(--accent); }
.lightbox button svg { width: 20px; height: 20px; }
.lb-close { top: 26px; right: 26px; }
.lb-prev  { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 20px; top: 50%; transform: translateY(-50%); }

/* --- 14. Sayfa başlığı (iç sayfalar) -------------------------------------- */
.pagehead {
  position: relative;
  padding: clamp(70px, 10vw, 130px) 0 clamp(46px, 6vw, 72px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}
.pagehead img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .38;
}
.pagehead::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(11, 15, 20, .9), rgba(11, 15, 20, .45));
}
.pagehead .wrap { position: relative; z-index: 2; }
.pagehead h1 { color: #fff; margin-bottom: 10px; }
.pagehead p { color: rgba(255, 255, 255, .8); max-width: 640px; margin: 0; }
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .88rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 16px;
}
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: var(--accent); }

/* --- 15. Hizmet detay blokları -------------------------------------------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 4.5vw, 64px);
  align-items: center;
  padding: clamp(44px, 5vw, 70px) 0;
  border-bottom: 1px solid var(--line);
}
.service-row:last-child { border-bottom: 0; }
.service-row:nth-child(even) .service-media { order: 2; }
.service-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-no {
  font-family: var(--ff-head);
  font-size: 3.6rem;
  line-height: 1;
  color: var(--line);
  font-weight: 700;
  margin-bottom: 4px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 16px; height: 9px;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}

/* --- 16. İletişim --------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 4vw, 60px); }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li:first-child { padding-top: 0; }
.info-ico {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  background: var(--bg-soft);
  color: var(--accent);
}
.info-ico svg { width: 20px; height: 20px; }
.info-list b {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.05rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--ink);
}
.info-list a { display: inline-flex; align-items: center; min-height: 44px; }
.info-list a:hover { color: var(--accent); }

.form { background: var(--bg-soft); padding: clamp(26px, 3.5vw, 42px); }
.form > h3 { margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--accent); }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--ff-head);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  font-family: var(--ff-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(228, 0, 69, .12);
}
.field textarea { min-height: 130px; resize: vertical; }
.field-hint { display: block; margin-top: 6px; font-size: .85rem; color: var(--muted); }
.form-note { font-size: .86rem; color: var(--muted); margin: 14px 0 0; }
.form-note a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; }
.form-msg {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  background: #e8f6ec;
  border-left: 4px solid #29a55a;
  color: #1b6b3a;
  font-size: .95rem;
}
.form-msg.is-visible { display: block; }

.map-wrap { border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.35); }

/* --- 17. CTA şeridi ------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: clamp(56px, 7vw, 96px) 0;
  background: var(--ink);
  overflow: hidden;
}
.cta-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .3;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(11, 15, 20, .92), rgba(11, 15, 20, .55));
}
.cta-band .wrap {
  position: relative; z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .82); margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* --- 18. Alt bilgi -------------------------------------------------------- */
.footer { background: var(--bg-dark); color: #98a2af; padding: clamp(50px, 6vw, 76px) 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 46px;
}
.footer-logo { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 20px; }
.footer h3 {
  color: #fff;
  font-size: 1.12rem;
  letter-spacing: .11em;
  margin-bottom: 20px;
  padding-bottom: 12px;
  position: relative;
}
.footer h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  background: var(--accent);
}
.footer p { font-size: .95rem; }
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;   /* dokunma alanı 44px */
  font-size: .95rem;
  transition: color .2s, transform .2s var(--ease);
}
.footer-links a::before { content: "›"; color: var(--accent); font-size: 1.15rem; line-height: 1; }
.footer-links a:hover { color: #fff; transform: translateX(4px); }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: .95rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 4px; }
.footer-contact a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-contact a:hover { color: #fff; }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07);
  transition: background .2s;
}
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-social svg { width: 17px; height: 17px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .88rem;
}
.footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom a:hover { color: #fff; }

/* --- 19. Yüzen aksiyonlar ------------------------------------------------- */
.fab {
  position: fixed;
  right: 20px;
  z-index: 90;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform .22s var(--ease), opacity .22s;
}
.fab:hover { transform: translateY(-3px); }
.fab svg { width: 24px; height: 24px; }
.fab--wa { bottom: 84px; background: #25d366; }
.fab--top { bottom: 20px; background: var(--ink); opacity: 0; pointer-events: none; }
.fab--top.is-visible { opacity: 1; pointer-events: auto; }

/* --- 20. Görünürlük animasyonu -------------------------------------------- */
/* JS kapalıysa içerik gizlenmemeli: efekt yalnızca .js sınıfı varken uygulanır */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- 21. Duyarlı düzen ---------------------------------------------------- */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .brands { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .quickbar .wrap { grid-template-columns: repeat(2, 1fr); }
  .quick:nth-child(2) { border-right: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .header-cta { display: none; }
  .nav { display: none; }            /* masaüstü menü gizlenir, yerine çekmece gelir */
  .nav-toggle { display: grid; }

  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .split, .service-row, .contact-grid { grid-template-columns: 1fr; }
  .split--flip .split-media, .service-row:nth-child(even) .service-media { order: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.is-wide { grid-column: span 2; }
  .topbar-info span:not(.tb-phone) { display: none; }
  .lightbox { padding: 20px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

@media (max-width: 640px) {
  :root { --gut: 18px; }
  .grid--4 { grid-template-columns: 1fr; }
  .quickbar .wrap { grid-template-columns: 1fr; }
  .quick { border-right: 1px solid var(--line); }
  .brands { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .topbar .wrap { justify-content: center; padding-block: 8px; }
  .topbar-social { display: none; }
  .topbar-info { gap: 8px 16px; justify-content: center; font-size: .8rem; }
  .btn { padding: 14px 20px; font-size: .95rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 140px; justify-content: center; }
  /* sağ alttaki WhatsApp butonuyla çakışmasın diye kontroller sola alınır */
  .hero-controls { justify-content: flex-start; padding-inline: var(--gut); }
  .hero { height: 78vh; height: 78dvh; min-height: 480px; }
  .hero-badge { display: none; }
  .split-badge { right: 0; bottom: 0; padding: 14px 18px; }
  .split-media::before { display: none; }
  .cta-band .wrap { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .js .drawer-nav li { opacity: 1; transform: none; }
  .hero-slide .hero-copy > * { opacity: 1; transform: none; }
}

/* --- 22. Yazdırma --------------------------------------------------------- */
@media print {
  .header, .topbar, .footer, .fab, .hero-nav, .hero-dots, .cta-band { display: none !important; }
  body { color: #000; }
}
