/* ==========================================================
   Uğur Market — Ana Sayfa
   ========================================================== */

:root {
  --accent: #FFC400;
  --bone: #F4EFE6;
  --ink: #0E0E0E;
  --ink-hover: #3A3A3A;
  --muted: #4A453C;
  --line: #DCD3C3;
  --line-strong: #CFC5B3;
  --card: #FBF8F2;
  --sand: #EBE4D7;
  --ph-bg: #E9E2D4;
  --ph-border: #B9AE96;
  --ph-text: #6B6455;
  --on-dark: #F4EFE6;
  --on-dark-muted: #C9C4B8;
  --footer-muted: #9A9486;
  --footer-line: #2A2A2A;
  --input-border: #BFB4A0;
  --error: #B42318;
  --success: #1F7A3A;

  --font-display: 'Archivo', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1280px;
  --gutter: 24px;
  --section-y: 112px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

[hidden] { display: none !important; }

a { color: var(--ink); }
a:hover { color: var(--ink-hover); }

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


.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--accent);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 12px; color: var(--accent); }

/* ---------- Tipografi yardımcıları ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 900;
}

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  word-spacing: 0.08em;
  text-transform: uppercase;
}

.tag {
  align-self: flex-start;
  background: var(--accent);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 14px;
}

.eyebrow {
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 14px;
}

.pill {
  align-self: flex-start;
  background: var(--ink);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hl {
  background: var(--accent);
  padding: 0 12px;
  border-radius: 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  padding: 16px 30px;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--dark { background: var(--ink); color: var(--accent); border: 0; }
.btn--dark:hover { color: var(--accent); background: #262626; }
.btn--dark svg { transition: transform .15s ease; }
.btn--dark:hover svg { transform: translateX(3px); }

.btn--outline { border: 2px solid var(--ink); color: var(--ink); padding: 14px 30px; background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--bone); }

.btn--accent { background: var(--accent); color: var(--ink); border: 2px solid var(--ink); padding: 16px 32px; }
.btn--accent:hover { color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }

.btn--block { width: 100%; min-height: 52px; }

.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Üst şerit ---------- */
.topbar {
  background: var(--accent);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.topbar__inner {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
}
.topbar a { color: var(--ink); font-weight: 800; text-decoration: none; }
.topbar a:hover { color: var(--ink); text-decoration: underline; }
.topbar__social { display: flex; align-items: center; gap: 8px; }
.topbar__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: -5px 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  transition: transform .2s ease, color .2s ease;
}
.topbar__social svg { width: 16px; height: 16px; }
.topbar__social a:hover,
.topbar__social a:focus-visible { color: var(--on-dark); transform: scale(1.1); text-decoration: none; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-dark);
  border-top: 1px solid var(--footer-line);
  border-bottom: 1px solid var(--footer-line);
  transition: box-shadow .2s ease;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(14, 14, 14, .28); }
.header :focus-visible,
.footer :focus-visible { outline-color: var(--accent); }

.header__inner {
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  text-decoration: none;
}
/* Logo: simge + yazı ayrı görseller; --logo-h ile boyutlanır */
.brand {
  --logo-h: 36px;
  gap: calc(var(--logo-h) * 0.12);
}
.brand__mark,
.brand__word { display: block; height: var(--logo-h); }
.brand__mark { flex: none; aspect-ratio: 114 / 121; }
.brand__mark img { display: block; width: 100%; height: 100%; }
.brand__word { width: auto; min-width: 0; }

/* Açılış: simge dönerek büyür, yazı soldan açılır */
.brand__mark { animation: logo-mark-in .9s cubic-bezier(.2, .9, .3, 1.25) backwards; }
.brand__word { animation: logo-word-in .8s .3s cubic-bezier(.2, .8, .2, 1) backwards; }
/* Bekleme: simge arada bir tam tur döner; üzerine gelince hemen döner */
.brand__mark img { animation: logo-mark-idle 9s 2.5s ease-in-out infinite; }
.brand:hover .brand__mark img,
.brand:focus-visible .brand__mark img { animation: logo-mark-spin .8s cubic-bezier(.3, .7, .3, 1); }

@keyframes logo-mark-in {
  from { opacity: 0; transform: rotate(-180deg) scale(.3); }
  to { opacity: 1; transform: none; }
}
@keyframes logo-word-in {
  from { opacity: 0; transform: translateX(-14px); clip-path: inset(0 100% 0 0); }
  to { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
}
@keyframes logo-mark-idle {
  0%, 82% { transform: rotate(0); }
  100% { transform: rotate(360deg); }
}
@keyframes logo-mark-spin {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-weight: 600;
  font-size: 16px;
}
.nav__link {
  position: relative;
  color: var(--on-dark);
  text-decoration: none;
  padding: 10px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.nav__link:hover { color: var(--on-dark); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { font-weight: 800; }

.nav__cta {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: background-color .15s ease, color .15s ease;
}
/* Üzerine gelince sarı zemin, siyah yazı (kenarsız) */
.nav__cta:hover,
.nav__cta:focus-visible { color: var(--ink); background: var(--accent); }
.nav__cta[aria-current="page"] { background: var(--accent); color: var(--ink); }

.nav__extra { display: none; }

/* Mobil menü butonu: sarı hap, iki çizgi (alttaki kısa) + "Menü"; açılınca çizgiler X olur */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  min-width: 108px;
  justify-content: center;
  padding: 0 16px 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  font: 800 15px/1 var(--font-body);
  letter-spacing: .01em;
  cursor: pointer;
  flex: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform .15s ease, background-color .2s ease;
}
.nav-toggle:active { transform: scale(.95); }
.nav-toggle:focus-visible { outline: 3px solid var(--on-dark); outline-offset: 3px; }
.nav-toggle__icon {
  position: relative;
  width: 20px;
  height: 12px;
  flex: none;
}
.nav-toggle__icon span {
  position: absolute;
  left: 0;
  height: 2.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .35s cubic-bezier(.6, 0, .2, 1), width .35s cubic-bezier(.6, 0, .2, 1), top .35s cubic-bezier(.6, 0, .2, 1);
}
.nav-toggle__icon span:nth-child(1) { top: 0; width: 20px; }
.nav-toggle__icon span:nth-child(2) { top: 9.5px; width: 13px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span { top: 4.75px; width: 20px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(1) { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon span:nth-child(2) { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding-top: 88px;
  padding-bottom: 104px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.hero__text {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(56px, 8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  word-spacing: 0.1em;
  text-transform: uppercase;
}

/* Başlık animasyonu: harfler tek tek aşağıdan gelir, sonra sarı vurgu soldan sağa boyanır.
   Harflere bölme işini js/main.js yapar (data-letters); JS yoksa başlık animasyonsuz görünür. */
.js .hero__title[data-letters]:not(.is-split) {
  opacity: 0;
  animation: hero-fallback 0s 1.5s forwards; /* JS çalışmazsa 1,5 sn sonra yine de görünsün */
}
.hero__title .word { display: inline-block; white-space: nowrap; }
.slide.is-active .hero__title.is-split .char {
  display: inline-block;
  animation: hero-char-in .55s cubic-bezier(.2, .8, .2, 1.2) backwards;
  animation-delay: calc(.1s + var(--i, 0) * .05s);
}
.hero__title .hl {
  background: linear-gradient(var(--accent), var(--accent)) no-repeat;
  background-size: 100% 100%;
}
.slide.is-active .hero__title.is-split .hl {
  animation: hero-hl-wipe .6s cubic-bezier(.65, 0, .25, 1) backwards;
  animation-delay: calc(.35s + var(--letters, 20) * .05s);
}
@keyframes hero-char-in {
  from { opacity: 0; transform: translateY(.5em) scale(.6) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-hl-wipe {
  from { background-size: 0% 100%; }
  to { background-size: 100% 100%; }
}
@keyframes hero-fallback { to { opacity: 1; } }

.hero__lead {
  margin: 0;
  max-width: 520px;
  font-size: 19px;
  color: var(--muted);
}
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__media {
  flex: 1 1 440px;
  min-width: 0;
  position: relative;
}

.photo {
  margin: 0;
  height: 520px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  background: var(--ph-bg);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo__placeholder { display: none; }

/* Fotoğraf yüklenemezse yer tutucu */
.photo.is-empty {
  border: 2px dashed var(--ph-border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.photo.is-empty img { display: none; }
.photo.is-empty .photo__placeholder {
  display: block;
  color: var(--ph-text);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: center;
}

/* ---------- Slider (tam genişlik, arka plan fotoğraflı) ---------- */
.slider {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.slider__track {
  display: grid;
  touch-action: pan-y;
}
.slide {
  grid-area: 1 / 1;
  position: relative;
  min-width: 0;
  min-height: clamp(560px, 82vh, 680px);
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity .9s ease;
}

/* Slayt zemini */
.slide--dark {
  background-color: var(--ink);
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 22px);
}
.slide--accent {
  background-color: var(--accent);
  background-image: repeating-linear-gradient(-45deg, rgba(14, 14, 14, .05) 0 2px, transparent 2px 22px);
}

/* Solda yazı, sağda yuvarlak görsel */
.slide__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 64px 96px 104px; /* yanlarda okların yeri */
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  align-items: center;
  gap: 48px;
}
.slide__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}
.slide__content .hero__title { font-size: clamp(48px, 6vw, 96px); max-width: 760px; }
.slide__content .hero__lead { max-width: 540px; }

/* Yuvarlak fotoğraf alanı */
.slide__media {
  --side: clamp(260px, 27vw, 400px);
  position: relative;
  justify-self: center;
  width: calc(var(--side) + 18px);
  height: calc(var(--side) + 18px);
  display: grid;
  place-items: start;
}
.slide__media::before { /* arkadaki çerçeve */
  content: "";
  position: absolute;
  width: var(--side);
  height: var(--side);
  border: 3px solid var(--accent);
  border-radius: 50%;
  transform: translate(18px, 18px);
}
.slide--accent .slide__media::before { border-color: var(--ink); }
.photo-circle {
  position: relative;
  width: var(--side);
  height: var(--side);
  border-radius: 50%;
  overflow: hidden;
  background: #1C1C1C;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.photo-circle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.slide.is-active .photo-circle img {
  animation: photo-zoom calc(var(--slider-interval, 7000ms) + 1500ms) linear forwards;
}
.slider.is-paused .photo-circle img { animation-play-state: paused; }
@keyframes photo-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}
.photo-circle__placeholder { display: none; }
.photo-circle.is-empty { border: 2px dashed #4A4A4A; box-shadow: none; }
.photo-circle.is-empty img { display: none; }
.photo-circle.is-empty .photo-circle__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--footer-muted);
}
.slide--accent .photo-circle { background: rgba(14, 14, 14, .08); box-shadow: 0 24px 60px rgba(14, 14, 14, .18); }
.slide--accent .photo-circle.is-empty { border-color: rgba(14, 14, 14, .45); box-shadow: none; }
.slide--accent .photo-circle.is-empty .photo-circle__placeholder { color: var(--ink); opacity: .7; }

/* Aktif slaytta içerik sırayla gelir */
.slide.is-active .slide__in {
  animation: slide-in .8s cubic-bezier(.2, .8, .2, 1) backwards;
  animation-delay: calc(.1s + var(--d, 0) * .12s);
}
@keyframes slide-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* Siyah tema */
.slide--dark { color: var(--on-dark); }
.slide--dark .pill { background: var(--accent); color: var(--ink); }
.slide--dark .hero__title .hl { color: var(--ink); }
.slide--dark .hero__lead { color: var(--on-dark-muted); }
.slide--dark .btn--accent:hover { box-shadow: 4px 4px 0 var(--on-dark); }

/* Sarı tema */
.slide--accent { color: var(--ink); }
.slide--accent .hero__lead { color: var(--ink); opacity: .82; }
.slide--accent .hero__title .hl {
  background-image: linear-gradient(var(--ink), var(--ink));
  color: var(--accent);
}

/* Kenar okları */
.slider__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  border: 1px solid rgba(244, 239, 230, .35);
  background: rgba(244, 239, 230, .14);
  color: var(--on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.slider__arrow--prev { left: 20px; }
.slider__arrow--next { right: 20px; }
.slider__arrow:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); transform: scale(1.06); }
.slider[data-theme="accent"] .slider__arrow {
  border-color: rgba(14, 14, 14, .35);
  background: rgba(14, 14, 14, .1);
  color: var(--ink);
}
.slider[data-theme="accent"] .slider__arrow:hover { background: var(--ink); border-color: var(--ink); color: var(--accent); }

/* Alt orta: noktalar + durdur */
.slider__controls {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--on-dark);
  pointer-events: none;
}
.slider__controls > * { pointer-events: auto; }
.slider[data-theme="accent"] .slider__controls { color: var(--ink); }
.slider__dots { display: flex; align-items: center; gap: 6px; }
.slider__dot {
  width: 24px;
  height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  color: inherit;
  transition: width .35s ease;
}
.slider__dot.is-active { width: 64px; }
.slider__bar {
  position: relative;
  display: block;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: currentColor;
  opacity: .4;
  overflow: hidden;
  transition: opacity .2s ease;
}
.slider__dot:hover .slider__bar { opacity: .7; }
.slider__dot.is-active .slider__bar { opacity: 1; background: rgba(244, 239, 230, .3); }
.slider[data-theme="accent"] .slider__dot.is-active .slider__bar { background: rgba(14, 14, 14, .2); }
.slider__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}
.slider[data-theme="accent"] .slider__fill { background: var(--ink); }
.slider__dot.is-active .slider__fill {
  animation: slider-progress var(--slider-interval, 7000ms) linear forwards;
}
/* Durdurulunca ilerleme çubuğu da bekler */
.slider.is-paused .slider__fill { animation-play-state: paused; }
@keyframes slider-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.slider__pause {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .75;
  transition: opacity .2s ease;
}
.slider__pause:hover { opacity: 1; }
.slider__pause .icon-play { display: none; }
.slider.is-paused .slider__pause .icon-play { display: block; }
.slider.is-paused .slider__pause .icon-pause { display: none; }
.slider :focus-visible { outline-color: var(--accent); }
.slider[data-theme="accent"] :focus-visible { outline-color: var(--ink); }

/* ---------- Şerit ---------- */
.ticker {
  background: var(--accent);
  color: var(--ink);
  overflow: hidden;
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 40s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__group {
  list-style: none;
  margin: 0;
  padding: 22px 32px 22px 0;
  display: flex;
  flex: none;
  align-items: center;
  gap: 32px;
  /* Kayan şerit fontu: Inter — kelimeler sırayla ince / kalın */
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 36px;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}
/* Çocuklar: kelime, simge, kelime, simge… → 1., 5., 9. kelime ince; 3., 7., 11. kalın */
.ticker__group > li:nth-child(4n + 1) { font-weight: 200; }
.ticker__group > li:nth-child(4n + 3) { font-weight: 900; }
.ticker__dot { display: flex; }
.ticker__dot svg { width: 1.1em; height: 1.1em; display: block; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Hakkımızda ---------- */
/* Solda yuvarlak fotoğraf, sağda ortalanmış başlık ve metin */
.about {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 72px;
}
.about__media {
  --side: clamp(260px, 28vw, 380px);
  position: relative;
  width: calc(var(--side) + 16px);
  height: calc(var(--side) + 16px);
}
.about__media::before { /* arkadaki sarı halka */
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: var(--side);
  height: var(--side);
  border: 3px solid var(--accent);
  border-radius: 50%;
}
.about__photo {
  position: relative;
  width: var(--side);
  height: var(--side);
  border: 2px solid var(--ink);
  border-radius: 50%;
  overflow: hidden;
  background: var(--card);
}
.about__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__placeholder { display: none; }
.about__photo.is-empty { border: 2px dashed var(--ph-border); }
.about__photo.is-empty img { display: none; }
.about__photo.is-empty .about__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.about__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
  max-width: 640px;
  justify-self: center;
}
.about__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.about__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 18px;
}
.about__body p { margin: 0; }
.about .tag,
.about .link-arrow { align-self: center; }

/* ---------- Sarı bölüm (ana sayfa kataloglar) ---------- */
.values {
  background: var(--accent);
  color: var(--ink);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.values__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.values__title { display: flex; flex-direction: column; gap: 16px; }

.section-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

/* ---------- Sosyal Medyamız (Instagram akışı) ---------- */
.ig-section { background: var(--ink); color: var(--on-dark); }
.ig-section__inner { display: flex; flex-direction: column; gap: 48px; }
.ig-section__title { display: flex; flex-direction: column; gap: 16px; }
.ig-section .btn--accent:hover { box-shadow: 4px 4px 0 var(--on-dark); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
.ig-post {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #1C1C1C;
  color: var(--on-dark);
  text-decoration: none;
}
.ig-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.ig-post:hover img,
.ig-post:focus-visible img { transform: scale(1.06); }
.ig-post:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.ig-post__type { /* reels / çoklu gönderi işareti */
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(14, 14, 14, .65);
  color: var(--on-dark);
}
.ig-post__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 14px 14px;
  background: linear-gradient(transparent, rgba(14, 14, 14, .9));
  font-size: 13px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.ig-post:hover .ig-post__caption,
.ig-post:focus-visible .ig-post__caption { opacity: 1; transform: none; }

/* Akış adresi girilene kadar örnek kutular */
.ig-post--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: transparent;
  border: 2px dashed #3A3A3A;
  color: var(--footer-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: border-color .2s ease, color .2s ease;
}
.ig-post--empty:hover { border-color: var(--accent); color: var(--accent); }
.ig-post--loading { border: 0; background: #1C1C1C; animation: ig-pulse 1.4s ease-in-out infinite; }
@keyframes ig-pulse { 50% { opacity: .55; } }

/* ---------- Katalog kartları: dergi görünümü ---------- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 48px 40px;
}
.catalog {
  display: flex;
  flex-direction: column;
  gap: 22px;
  perspective: 1400px;
}

/* Dergi gövdesi: A4 oranı, solda cilt sırtı, sağ altta üst üste sayfalar */
.catalog__mag {
  position: relative;
  display: block;
  aspect-ratio: 210 / 297;
  margin-right: 14px; /* sayfa katmanlarına yer */
  border-radius: 3px 10px 10px 3px;
  color: inherit;
  text-decoration: none;
  transform: rotateY(-14deg) rotateZ(-1deg);
  transform-origin: left center;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s ease;
  box-shadow:
    5px 5px 0 -1px #FBF8F2,
    5px 5px 0 0 rgba(14, 14, 14, .35),
    10px 10px 0 -1px #F1ECE2,
    10px 10px 0 0 rgba(14, 14, 14, .35),
    14px 15px 0 -1px #E8E1D4,
    14px 15px 0 0 rgba(14, 14, 14, .35),
    22px 30px 40px rgba(14, 14, 14, .28);
}
.catalog:hover .catalog__mag,
.catalog__mag:focus-visible {
  transform: rotateY(0) rotateZ(0) translateY(-6px);
  box-shadow:
    5px 5px 0 -1px #FBF8F2,
    5px 5px 0 0 rgba(14, 14, 14, .35),
    10px 10px 0 -1px #F1ECE2,
    10px 10px 0 0 rgba(14, 14, 14, .35),
    14px 15px 0 -1px #E8E1D4,
    14px 15px 0 0 rgba(14, 14, 14, .35),
    26px 40px 50px rgba(14, 14, 14, .3);
}

.catalog__cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  border: 2px solid var(--ink);
}
/* Cilt sırtı ve parlama */
.catalog__cover::before,
.catalog__cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.catalog__cover::before {
  background: linear-gradient(90deg,
    rgba(0, 0, 0, .45) 0, rgba(0, 0, 0, .12) 3%, rgba(255, 255, 255, .22) 4.5%,
    rgba(0, 0, 0, .1) 6%, transparent 11%);
}
.catalog__cover::after {
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .18) 48%, transparent 62%);
  transform: translateX(-60%);
  transition: transform .8s ease;
}
.catalog:hover .catalog__cover::after { transform: translateX(60%); }

.catalog__img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Otomatik kapak */
.catalog__auto {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 9% 9% 9% 14%;
  gap: 6%;
}
.catalog__cover--dark .catalog__auto {
  background-color: var(--ink);
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 18px);
  color: var(--on-dark);
}
.catalog__cover--accent .catalog__auto {
  background-color: var(--accent);
  background-image: repeating-linear-gradient(-45deg, rgba(14, 14, 14, .06) 0 2px, transparent 2px 18px);
  color: var(--ink);
}
.catalog__masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid currentColor;
}
.catalog__logo { height: 16px; width: auto; }
.catalog__cover--accent .catalog__logo { filter: brightness(0); }
.catalog__issue { font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.catalog__mark { /* baklava süsü */
  align-self: flex-end;
  width: 30%;
  aspect-ratio: 1;
  margin: 4% 6% 0 0;
  border: 3px solid var(--accent);
  border-radius: 10%;
  transform: rotate(45deg);
  box-shadow: inset 0 0 0 6px transparent, inset 0 0 0 14px rgba(255, 196, 0, .9);
}
.catalog__cover--accent .catalog__mark { border-color: var(--ink); box-shadow: inset 0 0 0 6px transparent, inset 0 0 0 14px var(--ink); }
.catalog__headline {
  margin-top: auto;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: .95;
  text-transform: uppercase;
  word-spacing: .06em;
}
.catalog__cover--dark .catalog__headline { color: var(--accent); }
.catalog__strip {
  align-self: flex-start;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.catalog__cover--dark .catalog__strip { background: var(--accent); color: var(--ink); }
.catalog__cover--accent .catalog__strip { background: var(--ink); color: var(--accent); }

/* "BU HAFTA" çıkartması */
.catalog__badge {
  position: absolute;
  z-index: 4;
  top: -12px;
  right: -18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #E5352B;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  transform: rotate(8deg);
  box-shadow: 0 6px 14px rgba(14, 14, 14, .25);
}

.catalog__body { display: flex; flex-direction: column; gap: 4px; padding-right: 14px; }
.catalog__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: 24px;
  line-height: 1.1;
}
.catalog__date { margin: 0; color: var(--muted); font-size: 15px; font-weight: 600; }
.values .catalog__date { color: var(--ink); opacity: .75; }
.catalog__actions {
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.catalog__btn { padding: 13px 22px; font-size: 15px; }
.catalog__download {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.catalog__soon {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border: 2px dashed currentColor;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  opacity: .6;
}
.catalog-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 40px 24px;
  text-align: center;
  border: 2px dashed var(--ph-border);
  border-radius: 24px;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- Katalog görüntüleyici (dergi gibi açılan pencere) ---------- */
html.has-modal { overflow: hidden; }
.flipbook {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: transparent;
  color: var(--on-dark);
}
.flipbook[open] { display: flex; flex-direction: column; }
.flipbook::backdrop {
  background: rgba(10, 10, 10, .95);
  backdrop-filter: blur(6px);
}

/* Açılış: arka plan kararır, başlık ve alt çubuk süzülür, dergi yerine oturur */
.flipbook[open]::backdrop { animation: flipbook-fade .4s ease both; }
.flipbook[open] .flipbook__bar { animation: flipbook-rise .6s cubic-bezier(.16, 1, .3, 1) .05s both; }
.flipbook[open] .flipbook__foot { animation: flipbook-rise .6s cubic-bezier(.16, 1, .3, 1) .2s both; }
.flipbook[open] .flipbook__hint { animation: flipbook-rise .6s cubic-bezier(.16, 1, .3, 1) .3s both; }
/* Kapanış */
.flipbook.is-closing::backdrop { animation: flipbook-fade-out .28s ease both; }
.flipbook.is-closing .flipbook__bar,
.flipbook.is-closing .flipbook__foot,
.flipbook.is-closing .flipbook__hint,
.flipbook.is-closing .flipbook__stage { animation: flipbook-out .28s ease both; }
@keyframes flipbook-fade { from { opacity: 0; } }
@keyframes flipbook-fade-out { to { opacity: 0; } }
@keyframes flipbook-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes flipbook-out { to { opacity: 0; transform: scale(.97); } }

.flipbook__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
}
.flipbook__heading { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.flipbook__title {
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 900;
  font-size: 26px;
  line-height: 1.05;
  text-transform: uppercase;
}
.flipbook__date { color: var(--on-dark-muted); font-size: 14px; }
.flipbook__tools { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.flipbook__download { padding: 10px 22px; }
.flipbook__close,
.flipbook__nav {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), opacity .25s ease, background-color .2s ease, color .2s ease;
}
.flipbook__close { border: 2px solid rgba(244, 239, 230, .5); background: transparent; color: var(--on-dark); }
.flipbook__close:hover { background: var(--on-dark); color: var(--ink); transform: rotate(90deg); }
.flipbook__nav { border: 2px solid var(--ink); background: var(--accent); color: var(--ink); }
.flipbook__nav:hover:not(:disabled) { transform: scale(1.08); }
.flipbook__nav:active:not(:disabled) { transform: scale(.94); }
.flipbook__nav:disabled { opacity: .25; cursor: default; }
.flipbook__close:focus-visible,
.flipbook__nav:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.flipbook__stage {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 8px 24px 0;
}
/* Kitap: kapak tek başınayken ortaya kayar; kayma sayfa çevirme süresiyle aynı yumuşaklıkta */
.flipbook__book {
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: transform 1.1s cubic-bezier(.45, 0, .2, 1);
}
.flipbook__book.no-shift { transition: none; }
.flipbook__book.is-ready { opacity: 1; }
.flipbook__book.is-ready .stf__block { animation: flipbook-in 1s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes flipbook-in { /* dergi aşağıdan hafif eğik gelip düzleşir */
  from { opacity: 0; transform: perspective(2400px) translateY(56px) rotateX(16deg) scale(.9); }
}
.flipbook .stf__item { cursor: grab; }
.flipbook .stf__parent:active .stf__item { cursor: grabbing; }

/* Sayfa: altında yumuşak gölge, ortada (sırtta) hafif kıvrım gölgesi */
.flipbook__page {
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .75);
}
.flipbook__page img { display: block; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.flipbook__page::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  pointer-events: none;
}
.flipbook__page.--left::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, .28), rgba(0, 0, 0, .08) 30%, rgba(0, 0, 0, 0));
}
.flipbook__page.--right::after {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .28), rgba(0, 0, 0, .08) 30%, rgba(0, 0, 0, 0));
}

/* Yükleniyor */
.flipbook__status {
  position: absolute;
  inset: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
  font-weight: 600;
  color: var(--on-dark-muted);
}
.flipbook__status .link-arrow { color: var(--accent); }
.flipbook__loader { display: flex; gap: 8px; }
.flipbook__loader i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  animation: flipbook-dot 1s ease-in-out infinite;
}
.flipbook__loader i:nth-child(2) { animation-delay: .15s; }
.flipbook__loader i:nth-child(3) { animation-delay: .3s; }
@keyframes flipbook-dot {
  0%, 80%, 100% { transform: scale(.55); opacity: .35; }
  40% { transform: scale(1); opacity: 1; }
}
.flipbook__status.is-error .flipbook__loader { display: none; }

.flipbook__foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px 4px;
}
.flipbook__count { min-width: 90px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.flipbook__hint { margin: 0; padding: 4px 24px 16px; text-align: center; font-size: 13px; color: var(--footer-muted); }

@media (max-width: 640px) {
  .flipbook__bar { padding: 12px 16px; }
  .flipbook__title { font-size: 20px; }
  .flipbook__download { padding: 8px 16px; font-size: 14px; }
  .flipbook__stage { margin: 4px 16px 0; }
}

/* ---------- Bant (CTA) ---------- */
.band-wrap {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.section + .band-wrap { padding-top: 0; }
.band-wrap + .band-wrap { padding-top: 0; margin-top: calc(24px - var(--section-y)); }

.band {
  border-radius: 32px;
  background: var(--ink);
  color: var(--on-dark);
  padding: 56px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.band__text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.band__eyebrow { color: var(--accent); font-weight: 700; letter-spacing: 0.12em; font-size: 14px; }
.band__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(36px, 4vw, 56px);
  line-height: 1;
  word-spacing: 0.08em;
  text-transform: uppercase;
}
.band__lead { margin: 0; color: var(--on-dark-muted); max-width: 560px; }
.band .btn--accent { padding: 18px 32px; }
.band .btn--accent:hover { box-shadow: 4px 4px 0 var(--accent); border-color: var(--bone); }

.band--accent { background: var(--accent); color: var(--ink); border: 2px solid var(--ink); }
.band--accent .band__eyebrow { color: var(--ink); }
.band--accent .band__lead { color: var(--ink); opacity: .82; }
.band--accent .btn--accent { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.band--accent .btn--accent:hover { color: var(--accent); box-shadow: 4px 4px 0 var(--bone); border-color: var(--ink); }

/* ---------- İletişim ---------- */
.contact {
  background: var(--sand);
  border-top: 1px solid var(--line);
}
.contact__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
}
.contact__info {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.contact__head { display: flex; flex-direction: column; gap: 16px; }

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.info { display: flex; gap: 16px; align-items: flex-start; }
.info__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.info__label { font-weight: 700; }
.info__value { color: var(--muted); }
.info__value a { color: var(--muted); }
.info__value a:hover { color: var(--ink); }

/* Şubeler: tıklanan şube haritada gösterilir */
.info__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.info__note { font-weight: 500; color: var(--muted); }
.info__label--sub { margin-top: 6px; }
.branches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.branch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.branch:hover { border-color: var(--line-strong); }
.branch.is-active { border-color: var(--ink); box-shadow: 3px 3px 0 var(--accent); }
.branch__show {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.branch__show:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; border-radius: 6px; }
.branch__no { font-weight: 800; font-size: 14px; letter-spacing: 0.04em; color: var(--ink); }
.branch__addr { color: var(--muted); font-size: 15px; }
.branch__dir {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.branch__dir:hover { color: var(--ink); text-decoration-color: var(--ink); }

.map {
  height: 240px;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--ink);
  background: var(--bone);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Şube haritası: Leaflet + OpenStreetMap, numaralı iğneler (depo: "D") */
.map--branches {
  position: relative;
  z-index: 0; /* haritanın katmanları yapışkan başlığın üstüne çıkmasın */
  isolation: isolate;
  height: auto;
  aspect-ratio: 900 / 700;
  background: var(--sand);
}
.map--branches.is-unavailable::after {
  content: "Harita yüklenemedi";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-weight: 600;
}
.map--branches .leaflet-control-attribution { font-size: 11px; }
.map-pin { background: none; border: 0; }
.map-pin__in {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transform: translateX(-50%);
  transform-origin: 50% 100%;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1);
}
.branch-pin__dot { /* yuvarlak iğne; alttaki sivri ucu tam adreste */
  position: relative;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(14, 14, 14, .3);
}
.branch-pin__dot::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 12px;
  height: 12px;
  background: inherit;
  border-right: 2.5px solid var(--ink);
  border-bottom: 2.5px solid var(--ink);
  transform: translateX(-50%) rotate(45deg);
}
.branch-pin__label {
  position: absolute;
  bottom: calc(100% + 6px);
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.map-pin--depot .branch-pin__dot { background: #FFFFFF; } /* depo şubelerden ayrı görünsün */
.map-pin:hover .map-pin__in { transform: translateX(-50%) scale(1.08); }
.map-pin.is-active .map-pin__in { transform: translateX(-50%) scale(1.18); }
.map-pin.is-active .branch-pin__dot { background: var(--ink); color: var(--accent); }
.map-pin.is-active .branch-pin__label,
.map-pin:hover .branch-pin__label,
.map-pin:focus-visible .branch-pin__label { opacity: 1; transform: none; }
.map-pin:focus-visible { outline: none; }
.map-pin:focus-visible .branch-pin__dot { outline: 3px solid var(--accent); outline-offset: 3px; }
.branch__hours { color: var(--muted); font-size: 13px; }

/* Form */
.form {
  flex: 1 1 420px;
  min-width: 0;
  background: var(--card);
  border: 2px solid var(--ink);
  border-radius: 28px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: flex-start;
}
.form__title {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: 30px;
}
.form__lead { margin: 0; color: var(--muted); font-size: 16px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; font-size: 15px; }
.field input,
.field textarea,
.field select {
  font: inherit;
  font-weight: 500;
  background: #FFFFFF;
  color: var(--ink);
  border: 1px solid var(--input-border);
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 48px;
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: #9A9180; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%230E0E0E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field__optional { font-weight: 500; color: var(--ph-text); font-size: 14px; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--accent);
}
.field.has-error input,
.field.has-error textarea,
.field.has-error select { border-color: var(--error); }
.field__error {
  color: var(--error);
  font-size: 14px;
  font-weight: 600;
  min-height: 0;
}
.field__error:empty { display: none; }

.form__status {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}
.form__status:empty { display: none; }
.form__status.is-success { color: var(--success); }
.form__status.is-error { color: var(--error); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); }
.footer__inner {
  padding-top: 56px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer__brand { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.footer__logo { display: block; text-decoration: none; }
.footer__logo img { display: block; height: 48px; width: auto; max-width: 100%; }
.footer__slogan { color: var(--on-dark-muted); font-size: 15px; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-weight: 600;
  font-size: 15px;
}
.footer__nav a { color: var(--on-dark); text-decoration: none; padding: 10px 0; }
.footer__nav a:hover { color: var(--accent); }

.social { display: flex; gap: 12px; }
.social a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease;
}
.social a:hover { color: var(--ink); transform: translateY(-3px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  border-top: 1px solid var(--footer-line);
  padding-top: 24px;
  color: var(--footer-muted);
  font-size: 14px;
}

/* ---------- Alt sayfa başlığı ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: 50%;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--ink);
  transform: translateY(-50%);
  pointer-events: none;
}
.page-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 64px;
  padding-bottom: 80px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); }
.page-title {
  margin: 0;
  max-width: 900px;
  font-family: var(--font-display);
  font-stretch: 75%;
  font-weight: 900;
  font-size: clamp(52px, 7.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  word-spacing: 0.1em;
  text-transform: uppercase;
}
.page-hero__lead {
  margin: 0;
  max-width: 600px;
  font-size: 19px;
  color: var(--muted);
}

/* ---------- Ok bağlantı ---------- */
.link-arrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid var(--ink);
}
.link-arrow svg { transition: transform .15s ease; }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover svg { transform: translateX(4px); }

.h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.05;
  color: var(--ink);
}

/* Ana sayfa ek düzenleri */
.contact__map { flex: 1 1 420px; min-width: 0; display: flex; align-items: center; }
.contact__map .map { flex: 1; height: auto; min-height: 360px; }
.contact__map .map--branches { min-height: 0; }

/* ---------- Hakkımızda: görsel + metin ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}
.split__media { flex: 1 1 440px; min-width: 0; }
.split__text {
  flex: 1.2 1 480px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  color: var(--muted);
  font-size: 18px;
}
.split__text p { margin: 0; }
.photo--split { height: 480px; }

/* ---------- İletişim sayfası ---------- */
.contact--plain { border-top: 0; }

/* ---------- Kariyer sayfası ---------- */
.career__inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
/* Geniş başvuru formu */
.form--wide {
  flex: none;
  width: 100%;
  max-width: 980px;
  align-self: center;
  padding: 48px;
  gap: 36px;
}
.form__head { display: flex; flex-direction: column; gap: 12px; }
.req { color: var(--error); font-weight: 700; }

.form-section {
  border: 0;
  margin: 0;
  padding: 32px 0 0;
  min-width: 0;
  border-top: 1px dashed var(--line-strong);
}
.form-section > legend {
  float: left;
  width: 100%;
  padding: 0;
  margin: 0 0 20px;
}
.form-section > legend span {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 14px;
}
.form-grid {
  clear: both;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.field--full { grid-column: 1 / -1; }

.form-sub {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bone);
}
.form-sub__title {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 85%;
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
}

/* Ehliyet sınıfı seçimleri */
.field--checks { border: 0; margin: 0; padding: 0; min-width: 0; }
.field--checks legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.field__hint { font-weight: 500; color: var(--ph-text); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--input-border);
  border-radius: 999px;
  background: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  transition: background-color .15s ease, border-color .15s ease;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--accent); border-color: var(--ink); font-weight: 800; }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- Yukarı dön butonu ---------- */
.to-top {
  position: fixed;
  z-index: 60;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(14, 14, 14, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.9);
  transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s, background-color .2s ease, color .2s ease;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .25s ease, transform .25s ease, background-color .2s ease, color .2s ease;
}
.to-top:hover { background: var(--ink); color: var(--accent); transform: translateY(-3px); }
.to-top:hover .to-top__progress { stroke: var(--accent); }
.to-top:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.to-top > svg { grid-area: 1 / 1; }
.to-top__ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 3; }
.to-top__track { stroke: rgba(14, 14, 14, .18); }
.to-top__progress { stroke: var(--ink); stroke-linecap: round; transition: stroke .2s ease; }
.to-top__icon { transition: transform .2s ease; }
.to-top:hover .to-top__icon { transform: translateY(-2px); }

/* ---------- Görünme animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Duyarlı (responsive) ---------- */
@media (max-width: 1100px) {
  .page-hero::after { width: 300px; height: 300px; right: -170px; }
}

@media (max-width: 960px) {
  :root { --section-y: 88px; }

  .slider__arrow { top: auto; bottom: 22px; margin-top: 0; width: 44px; height: 44px; }
  .slide__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 40px var(--gutter) 96px;
  }
  .slide__media { order: -1; --side: clamp(200px, 40vw, 280px); }
  .ig-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slider__arrow--prev { left: 16px; }
  .slider__arrow--next { right: 16px; }

  .nav-toggle { display: inline-flex; }

  /* Menü paneli: header'ın altından ekranın sonuna kadar; bağlantılar sırayla süzülerek gelir */
  html.has-menu { overflow: hidden; }
  .nav {
    position: fixed;
    top: var(--menu-top, 72px);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    background: var(--ink);
    padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition: clip-path .45s cubic-bezier(.6, 0, .2, 1), opacity .3s ease, visibility 0s linear .45s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transition: clip-path .45s cubic-bezier(.6, 0, .2, 1), opacity .2s ease;
  }
  .nav > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .2s ease, transform .2s ease;
  }
  .nav.is-open > * {
    opacity: 1;
    transform: none;
    transition: opacity .4s ease, transform .5s cubic-bezier(.2, .8, .2, 1);
  }
  .nav.is-open > :nth-child(1) { transition-delay: .08s; }
  .nav.is-open > :nth-child(2) { transition-delay: .13s; }
  .nav.is-open > :nth-child(3) { transition-delay: .18s; }
  .nav.is-open > :nth-child(4) { transition-delay: .23s; }
  .nav.is-open > :nth-child(5) { transition-delay: .28s; }

  .nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 64px;
    padding: 0 4px;
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.01em;
    border-bottom: 1px solid var(--footer-line);
  }
  /* Sağda ok; bulunulan sayfa sarı */
  .nav__link::after {
    position: static;
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: none;
    border-top: 2.5px solid currentColor;
    border-right: 2.5px solid currentColor;
    transform: rotate(45deg);
    opacity: .45;
    transition: transform .2s ease, opacity .2s ease;
  }
  .nav__link:hover::after,
  .nav__link[aria-current="page"]::after { transform: rotate(45deg); }
  .nav__link:active::after { transform: translateX(4px) rotate(45deg); opacity: 1; }
  .nav__link[aria-current="page"] { color: var(--accent); font-weight: 800; }
  .nav__link[aria-current="page"]::after { opacity: 1; }

  .nav__cta {
    margin-top: 24px;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    font-size: 18px;
    background: var(--accent);
    color: var(--ink);
  }

  .nav__extra {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 28px;
  }
  .nav__phone {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 48px;
    justify-content: center;
    color: var(--on-dark);
    text-decoration: none;
  }
  .nav__phone-label { font-size: 13px; color: var(--footer-muted); font-weight: 600; }
  .nav__phone-number { font-size: 19px; font-weight: 800; }
  .nav__social { display: flex; gap: 10px; }
  .nav__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid var(--footer-line);
    color: var(--on-dark);
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
  }
  .nav__social a:hover,
  .nav__social a:active { background: var(--accent); border-color: var(--accent); color: var(--ink); }
}

@media (max-width: 640px) {
  :root { --section-y: 72px; --gutter: 16px; }
  body { font-size: 16px; }

  .topbar__inner { font-size: 13px; padding-top: 6px; padding-bottom: 6px; }
  .topbar__label { display: none; }
  .topbar__social a { width: 34px; height: 34px; margin: 0; }
  .topbar__phone { display: inline-flex; align-items: center; min-height: 34px; padding: 0 2px; font-size: 14px; }
  .branch__dir { display: inline-flex; align-items: center; min-height: 40px; }
  .header__inner { padding-top: 14px; padding-bottom: 14px; }
  .brand { --logo-h: 27px; }
  .nav__link { min-height: 60px; font-size: 24px; }

  .hero { padding-top: 48px; padding-bottom: 80px; gap: 40px; }
  .slide { min-height: 560px; }
  .slide__inner { padding-top: 32px; padding-bottom: 88px; gap: 22px; }
  .slide__content { gap: 18px; }
  .slide__media { --side: 200px; width: calc(var(--side) + 10px); height: calc(var(--side) + 10px); }
  .slide__media::before { transform: translate(10px, 10px); }
  .slider__arrow { display: none; }
  .slider__controls { bottom: 20px; }
  .hero__text, .hero__media { flex-basis: 100%; }
  .hero__lead { font-size: 17px; }
  .btn-row .btn { flex: 1 1 100%; }
  .photo { height: 360px; border-radius: 22px; }

  .ticker__group { font-size: 26px; gap: 20px; padding: 16px 20px 16px 0; }

  .about { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .about__media { --side: min(260px, 70vw); justify-self: center; }
  .ig-section__inner { gap: 32px; }
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ig-post { border-radius: 14px; }
  .about__body { font-size: 17px; }

  .values__inner { gap: 36px; }


  .band { padding: 40px 24px; border-radius: 24px; }
  .band__text { flex-basis: 100%; }
  .band .btn { width: 100%; }

  .contact__info, .form { flex-basis: 100%; }
  .form { padding: 28px 20px; border-radius: 22px; }
  .form--wide { padding: 28px 18px; gap: 28px; }
  .form-grid, .form-sub { grid-template-columns: minmax(0, 1fr); }
  .form-sub { padding: 18px 16px; }
  .career__inner { gap: 40px; }

  .footer__logo img { height: 38px; }
  .footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; width: 100%; }
  .footer__nav a { display: flex; align-items: center; min-height: 48px; padding: 0; border-bottom: 1px solid var(--footer-line); }
  .to-top { right: 16px; bottom: 16px; width: 50px; height: 50px; }

  .page-hero::after { display: none; }
  .page-hero__inner { padding-top: 32px; padding-bottom: 56px; gap: 18px; }
  .page-hero__lead { font-size: 17px; }

  .split { gap: 32px; }
  .split__media, .split__text { flex-basis: 100%; }
  .split__text { font-size: 17px; }
  .photo--split { height: 320px; }

  .contact__map { flex-basis: 100%; }
  .contact__map .map { min-height: 280px; }
  .contact__map .map--branches { min-height: 0; }

  .catalog-grid { gap: 40px 28px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .catalog__mag { transform: rotateY(-8deg); }
}

/* Çok dar telefonlarda butonda yalnızca simge (yazı ekran okuyucuya kalır) */
@media (max-width: 369px) {
  .nav-toggle { width: 44px; min-width: 0; padding: 0; }
  .nav-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Formlardaki gizli spam tuzağı: insanlar görmez, botlar doldurur */
.form__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
