/* Renderlike — one blueprint-blue world: white line work on #0041F5, render revealed by drag */
:root {
  --blue: #0041f5;          /* sampled from the sketch background */
  --blue-deep: #0030c2;     /* panels, pressed states */
  --white: #ffffff;
  --mist: #c8d5ff;          /* secondary text on blue */
  --line: rgba(255, 255, 255, 0.26);
  --ink: #0b1640;           /* text on white surfaces */
  --font: "Urbanist", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
  --step-3: clamp(2.25rem, 1.4rem + 3.6vw, 4.25rem);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }a { color: inherit; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }
.wrap {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.label {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mist);
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Menu: white dot, items open left → right ---------- */
.menu {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 18px);
  left: calc(env(safe-area-inset-left, 0px) + 18px);
  z-index: 50;
  display: flex;
  align-items: center;
}
.menu-dot {
  width: 56px; height: 56px;
  border: 0; padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid; place-items: center;
  position: relative; z-index: 2;
  border-radius: 50%;
}
.menu-dot span {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 0 var(--white);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s, box-shadow .25s;
}
.menu-dot:hover span { transform: scale(1.08); }
.menu[data-open="true"] .menu-dot span {
  background: transparent;
  box-shadow: inset 0 0 0 3px var(--white);
  transform: scale(.7);
}
.menu-panel {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  height: 56px;
  display: flex; align-items: center;
  padding-left: 68px; padding-right: 8px;
  background: var(--blue-deep);
  /* Şeffaf (buzlu cam) versiyon — istenirse yukarıdaki satırın yerine:
     background: rgba(16, 30, 84, 0.34);
     -webkit-backdrop-filter: blur(22px) saturate(180%);
     backdrop-filter: blur(22px) saturate(180%);
     border: 1px solid rgba(255, 255, 255, 0.28);
     box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 10px 40px rgba(0, 16, 70, 0.22);
     text-shadow: 0 1px 2px rgba(0, 16, 70, 0.25);  */
  border-radius: 28px;
  clip-path: inset(0 100% 0 0 round 28px);
  transition: clip-path .55s cubic-bezier(.32,.72,0,1), visibility 0s linear .55s;
  visibility: hidden;
}
.menu[data-open="true"] .menu-panel { clip-path: inset(0 0 0 0 round 28px); visibility: visible; transition-delay: 0s; }
.menu-list {
  position: relative;
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2px;
}
.menu-list a, .lang button {
  position: relative; z-index: 1;
  display: block;
  padding: 8px 15px;
  font-size: 1.0625rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 20px;
  transition: color .2s, opacity .2s;
}
.menu-list:hover a:not(:hover) { opacity: .72; }
/* fareyi takip eden cam vurgu */
.menu-glow {
  position: absolute; top: 0; left: 0;
  height: 100%;
  width: var(--w, 0px);
  transform: translateX(var(--x, 0px));
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transition: transform .45s cubic-bezier(.32,.72,0,1), width .45s cubic-bezier(.32,.72,0,1), opacity .25s;
  opacity: 0;
  pointer-events: none;
}
.menu-glow.on { opacity: 1; }
.menu-glow.instant { transition: opacity .25s; }
.menu-list li, .lang {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity .3s, transform .45s cubic-bezier(.32,.72,0,1);
}
.menu[data-open="true"] .menu-list li,
.menu[data-open="true"] .lang { opacity: 1; transform: none; }
.menu[data-open="true"] .menu-list li:nth-child(1) { transition-delay: .14s; }
.menu[data-open="true"] .menu-list li:nth-child(2) { transition-delay: .19s; }
.menu[data-open="true"] .menu-list li:nth-child(3) { transition-delay: .24s; }
.menu[data-open="true"] .menu-list li:nth-child(4) { transition-delay: .29s; }
.menu[data-open="true"] .menu-list li:nth-child(5) { transition-delay: .34s; }
.menu[data-open="true"] .lang { transition-delay: .39s; }
.lang {
  display: flex; gap: 2px;
  margin-left: 10px; padding-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
}
.lang button {
  background: none; border: 0; color: rgba(255, 255, 255, 0.7); cursor: pointer;
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: .08em;
  padding: 8px 10px;
  transition: background .25s, color .2s;
}
.lang button:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.lang button[aria-pressed="true"] { color: var(--white); background: rgba(255, 255, 255, 0.2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }

@media (max-width: 760px) {
  .menu-panel {
    position: fixed;
    inset: 0;
    transform: none;
    height: auto;
    border-radius: 0;
    /* Şeffaf versiyon: background: rgba(10, 26, 90, 0.32); backdrop-filter: blur(30px) saturate(180%); */
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: calc(env(safe-area-inset-top, 0px) + 96px) var(--gutter-r) calc(env(safe-area-inset-bottom, 0px) + 40px) var(--gutter-l);
    clip-path: inset(0 100% 0 0);
  }
  .menu[data-open="true"] .menu-panel { clip-path: inset(0 0 0 0); }
  .menu-list .menu-glow { display: none; }
  .menu-list { flex-direction: column; align-items: flex-start; gap: 6px; }
  .menu-list a { font-size: var(--step-3); font-weight: 500; padding: 4px 0; line-height: 1.15; border-radius: 0; }
  .menu-list:hover a:not(:hover) { opacity: 1; }
  .menu-list a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
  .menu-list li { transform: translateX(-32px); }
  .lang { margin: 40px 0 0; padding: 0; border: 0; }
}

/* ---------- Hero: sketch → render slider ---------- */
.hero { position: relative; }
.compare {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 100vh;            /* tam ekran */
  height: 100svh;           /* mobilde adres çubuğu dahil doğru yükseklik */
  min-height: 420px;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  cursor: ew-resize;
  --pos: 50%;
}
.compare picture, .compare img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% 60%;
  pointer-events: none;
}
.compare .after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle {
  position: absolute; top: 0; bottom: 0;
  left: var(--pos);
  width: 0;
  z-index: 3;
}
.compare-handle::before {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -1px;
  width: 2px;
  background: var(--white);
}
.compare-grip {
  position: absolute; top: 50%; left: 0;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(0, 20, 90, .28);
  transition: transform .2s;
}
.compare.dragging .compare-grip { transform: translate(-50%, -50%) scale(.92); }
.compare-grip svg { width: 26px; height: 26px; }
.compare-tag {
  position: absolute; top: calc(env(safe-area-inset-top, 0px) + 96px);   /* menü noktasının altında */
  z-index: 2;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 4px;
  pointer-events: none;
}
.compare-tag.t-after { left: calc(var(--pos) - 12px); transform: translateX(-100%); background: var(--white); color: var(--blue); }
.compare-tag.t-before { left: calc(var(--pos) + 12px); border: 1px solid var(--white); color: var(--white); }
.compare picture img { transition: opacity .25s ease; }
.compare.swapping picture img { opacity: 0; }
.scene-dots {
  position: absolute; right: calc(var(--gutter-r) + 12px); top: calc(env(safe-area-inset-top, 0px) + 40px);   /* her ekranda sağ üst */
  z-index: 5; display: flex; gap: 10px;
}
.scene-dots button {
  width: 12px; height: 12px; padding: 0; border-radius: 50%;
  border: 2px solid var(--white); background: rgba(255, 255, 255, .25);
  box-shadow: 0 1px 6px rgba(0, 20, 90, .4); cursor: pointer; transition: background .2s, transform .2s;
}
.scene-dots button[aria-pressed="true"] { background: var(--white); transform: scale(1.15); }
@media (max-width: 760px) { .scene-dots { right: var(--gutter-r); } }
.hero-logo {
  position: absolute;
  right: calc(var(--gutter-r) + 12px);
  bottom: 24px;
  width: clamp(120px, 14vw, 210px);
  z-index: 4;
  pointer-events: none;
}
.hero-logo img { width: 100%; height: auto; }
@media (max-width: 760px) {
  .compare img { object-position: 54% 55%; }
  .compare-tag { top: auto; bottom: 86px; }
  .hero-logo { bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); right: var(--gutter-r); width: 120px; }
}

/* ---------- Intro + services ---------- */
.intro { padding-block: clamp(56px, 9vw, 120px) clamp(40px, 6vw, 80px); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: end;
}
.intro h1 {
  margin: 0;
  font-size: var(--step-3);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.intro p { margin: 0; max-width: 46ch; font-size: var(--step-1); color: var(--mist); line-height: 1.5; }
.intro .label { margin-bottom: 18px; display: block; }
.intro-side { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.intro-side .maps-links { margin: 0; }
@media (max-width: 760px) { .intro-grid { grid-template-columns: 1fr; } }
/* Başlık ve açıklama alt alta, masaüstünde ikisi de tek satır */
.intro .intro-grid { grid-template-columns: 1fr; align-items: start; gap: 22px; max-width: 1280px; }
.intro .intro-side p { max-width: none; }
@media (min-width: 1000px) {
  .intro h1 { white-space: nowrap; font-size: min(var(--step-3), 5.3vw); }
  .intro .intro-side p { white-space: nowrap; font-size: min(var(--step-1), 1.5vw); }
  html[lang="en"] .intro .intro-side p { font-size: min(1.125rem, 1.3vw); }   /* İngilizce metin daha uzun */
}

.services { padding-block: 0 clamp(64px, 9vw, 120px); }
.services-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) 32px;
  gap: 20px;
  align-items: center;
  padding-block: 22px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding .3s cubic-bezier(.2,.8,.2,1);
}
.service-name { font-size: var(--step-2); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.service-desc { color: var(--mist); min-width: 0; }
.service-arrow { width: 28px; height: 28px; justify-self: end; transition: transform .3s; }
.service-list a:hover { padding-left: 12px; }
.service-list a:hover .service-arrow { transform: translateX(4px); }
@media (max-width: 760px) {
  .service-list a { grid-template-columns: minmax(0, 1fr) 28px; gap: 6px 16px; }
  .service-desc { grid-column: 1; grid-row: 2; font-size: .9375rem; }
  .service-arrow { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- İç sayfalar ---------- */
.page-head { padding-block: calc(env(safe-area-inset-top, 0px) + clamp(120px, 16vw, 200px)) clamp(48px, 7vw, 96px); }
.page-head .label { display: block; margin-bottom: 18px; }
.page-head h1 {
  margin: 0 0 24px;
  max-width: 18ch;
  font-size: var(--step-3);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.page-head p { margin: 0; max-width: 56ch; font-size: var(--step-1); color: var(--mist); }
.page .service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: baseline;
  padding-block: 28px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.service-row:target .service-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
@media (max-width: 760px) { .service-row { grid-template-columns: 1fr; gap: 8px; } }
.page-cta { padding-block: 0 clamp(64px, 9vw, 120px); }
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: start;
}
.cta-grid h2 { margin: 0; font-size: var(--step-2); font-weight: 500; line-height: 1.15; }
.cta-grid p { margin: 0 0 12px; color: var(--mist); max-width: 46ch; }
.cta-mail { font-size: var(--step-1); text-decoration: none; border-bottom: 1px solid var(--white); }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Tek ekran sayfa + sabit açık sekme çubuğu ---------- */
html:has(body.one-screen), body.one-screen { height: 100%; overflow: hidden; }
.svc {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(20px, 3.2vh, 40px);
  padding-block: calc(env(safe-area-inset-top, 0px) + 86px) calc(env(safe-area-inset-bottom, 0px) + 28px);  /* bar, menü noktasının bir alt satırında */
}
.tabs-scroll {
  display: flex;            /* bar yatayda ortada */
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin-inline: -6px;
  padding: 6px;
}
.tabs-scroll::-webkit-scrollbar { display: none; }
.tabs {
  position: relative;
  margin-inline: auto;
  display: inline-flex;
  gap: 2px;
  padding: 6px;
  border-radius: 28px;
  background: var(--blue-deep);
}
.tabs [role="tab"] {
  position: relative; z-index: 1;
  border: 0; background: none; color: var(--white);
  font: 500 1.0625rem var(--font);
  padding: 10px 18px;
  border-radius: 22px;
  white-space: nowrap;
  cursor: pointer;
  opacity: .72;
  transition: opacity .2s;
}
.tabs [role="tab"][aria-selected="true"], .tabs [role="tab"]:hover { opacity: 1; }
.tabs .menu-glow { border-radius: 22px; height: var(--h, 44px); transform: translate(var(--x, 0px), var(--y, 6px)); }
.svc-panels { position: relative; min-height: 0; overflow: hidden; }
.svc-panel {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  animation: svcIn .5s cubic-bezier(.32,.72,0,1);
}
.svc-panel:focus { outline: none; }
.svc-text { min-width: 0; }
.svc-panel h2 {
  margin: 0 0 20px;
  font-size: clamp(2.75rem, 1.4rem + 4.6vw, 6rem);
  font-weight: 600;
  line-height: .95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.svc-panel p { margin: 0; max-width: 42ch; font-size: var(--step-1); color: var(--mist); }
/* Görsel alanı: ölçüler sonra netleşecek; şimdilik sağ sütunu dolduruyor */
.svc-media {
  align-self: stretch;
  min-height: 0;
  max-width: 100%;
  background: var(--white);
  border-radius: 6px;
  display: grid; place-items: center;
  overflow: hidden;
}
.svc-media span { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }
.svc-text .maps-links { margin-top: 24px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 14px; max-width: 48ch; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); column-gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--mono); font-size: var(--step--1); color: var(--mist); padding-top: 4px; font-variant-numeric: tabular-nums; }
.steps b { font-weight: 600; font-size: var(--step-1); }
.steps span { color: var(--mist); }
@media (max-width: 760px) { .steps { gap: 8px; } .steps li { padding-top: 8px; } .steps span { font-size: .9375rem; } }
.svc-text .coords { margin-top: 6px; }
.svc-text .addr { color: var(--white); }
.svc-text p + p { margin-top: 18px; }
@media (max-width: 760px) {
  .svc-panel { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); align-items: start; gap: 18px; }
  .svc-panel h2 { margin-bottom: 10px; }
  .svc-panel p { font-size: 1rem; }
}
@keyframes svcIn { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .svc { padding-block: calc(env(safe-area-inset-top, 0px) + 86px) calc(env(safe-area-inset-bottom, 0px) + 20px); }
  .tabs { display: flex; flex-wrap: wrap; justify-content: center; border-radius: 24px; }
  .tabs [role="tab"] { font-size: 1rem; padding: 9px 15px; }
}

/* Sayfa görselleri slaytı */
.svc-media { position: relative; }
.has-slides > span { display: none; }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; transition: opacity 1s ease; }
.slide.on { opacity: 1; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.slide-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 1.5px solid var(--white); background: rgba(255, 255, 255, .35); cursor: pointer; box-shadow: 0 1px 4px rgba(0, 20, 90, .35); transition: background .2s, transform .2s; }
.slide-dots button[aria-current="true"] { background: var(--white); transform: scale(1.2); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* Hizmetler, Hakkımızda ve İletişim sayfalarında görsel alanları daha yuvarlak */
body.has-logo .svc-media { border-radius: 28px; }
.page-contact .map-credit { left: 16px; bottom: 12px; }
@media (max-width: 760px) { body.has-logo .svc-media { border-radius: 20px; } }

/* ---------- İletişim > Teklif Al: WhatsApp ---------- */
.wa-btn { gap: 10px; }
.wa-btn svg, .qr-mobile svg { width: 20px; height: 20px; flex: none; }
.qr-media { position: relative; display: grid; place-items: center; padding: 24px; }
.qr-desk, .qr-mobile { display: none; }
.qr-missing { margin: 0; max-width: 30ch; text-align: center; color: var(--blue); }
.qr-ready .qr-missing { display: none; }
.qr-ready .qr-desk { display: grid; justify-items: center; gap: 18px; text-align: center; }
.qr-code { width: min(300px, 62vh, 100%); aspect-ratio: 1; max-width: 100%; }
.qr-code svg { width: 100%; height: 100%; display: block; }
.qr-desk p { margin: 0; max-width: 30ch; color: var(--blue); font-weight: 500; }
@media (max-width: 760px), (hover: none) and (pointer: coarse) {
  .qr-ready .qr-desk { display: none; }
  .qr-ready .qr-mobile {
    display: grid; justify-items: center; gap: 12px; text-align: center;
    color: var(--blue); text-decoration: none; font-weight: 600; font-size: var(--step-1);
  }
  .qr-mobile svg { width: 56px; height: 56px; }
  .qr-media span { font-family: var(--font); text-transform: none; letter-spacing: 0; color: var(--blue); }
}

/* ---------- İletişim: canlı harita ---------- */
.map-media { position: relative; display: block; }
.map { position: absolute; inset: 0; }
.map-fake { position: absolute; inset: 0; display: none; }
.map-fake img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; display: block; }
.map-credit { position: absolute; left: 8px; bottom: 6px; margin: 0; display: none; font-size: .625rem; color: var(--blue); background: rgba(255,255,255,.75); padding: 1px 6px; border-radius: 3px; }
.map-demo .map-credit { display: block; }
.map-pin-fake { position: absolute; left: 50%; top: 50%; transform: translate(-50%, calc(-100% + 11px)); flex-direction: column-reverse; align-items: center; gap: 6px; display: none; }
.map-demo .map-fake, .map-demo .map-pin-fake { display: block; }
.map-demo .map-pin-fake { display: flex; }
.map-demo .map { display: none; }
.map-status {
  position: absolute; inset: 0; margin: 0; display: none; place-items: center;
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; color: var(--blue);
}
.map-loading .map-status { display: grid; }
.map-fallback {
  position: absolute; inset: 0; display: none;
  place-content: center; justify-items: center; gap: 8px; text-align: center; padding: 24px;
  color: var(--blue);
}
.map-fallback strong { font-size: var(--step-1); font-weight: 600; }
.map-fallback span { color: var(--blue); opacity: .8; max-width: 32ch; }
.map-failed .map-fallback { display: grid; }
.map-failed .map, .map-failed .map-status { display: none; }
.map-fallback-dot, .map-pin-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--blue), 0 4px 14px rgba(0, 30, 120, .35);
}
.map-fallback span.map-fallback-dot { opacity: 1; max-width: none; margin-bottom: 6px; }
.map-pin { display: flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer; }
.map-pin-dot { position: relative; flex: none; }
.map-pin-dot::after {
  content: ""; position: absolute; inset: -9px; border-radius: 50%;
  background: rgba(0, 65, 245, .25);
  animation: pinPulse 2.2s ease-out infinite;
}
@keyframes pinPulse { 0% { transform: scale(.5); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.map-pin-label {
  background: var(--white); color: var(--blue);
  font: 600 .8125rem var(--font); white-space: nowrap;
  padding: 5px 10px; border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 30, 120, .2);
}
.map-pin:hover .map-pin-label, .map-pin:focus-visible .map-pin-label { background: var(--blue); color: var(--white); }
.map-media .maplibregl-ctrl-attrib, .map-media .maplibregl-ctrl-attrib a { color: var(--blue); }
.map-media .map-pin-label, .map-media .map-fallback span { font-family: var(--font); text-transform: none; letter-spacing: 0; }
.map-media .map-pin-label { font-size: .8125rem; font-weight: 600; }
.map-media .map-fallback span { font-size: .9375rem; }
@media (prefers-reduced-motion: reduce) { .map-pin-dot::after { animation: none; } }

/* Logo: "renderlike® studio" — görsel + yazı; sağ bitiş noktası eskisiyle aynı */
.hero-logo, .page-logo {
  --lh: clamp(20.3px, 2.37vw, 35.5px);   /* logo görselinin yüksekliği (eski genişlik ölçüsüne eşdeğer) */
  width: auto !important;
  display: flex; align-items: baseline; gap: calc(var(--lh) * .32);
}
body .hero-logo img, body .page-logo img { height: var(--lh); width: auto; max-width: none; }
.logo-studio { font: 400 calc(var(--lh) * 1.417)/1 var(--font); color: var(--white); letter-spacing: -0.005em; white-space: nowrap; }
.logo-r { font-size: .3em; font-weight: 500; vertical-align: 1.62em; margin-left: .12em; line-height: 0; }
@media (max-width: 760px) { .hero-logo, .page-logo { --lh: 20.3px; } }

/* Sayfa adı: menü noktasının yanında, harf yüksekliği noktayla aynı (40px) */
.page-title {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 18px);
  left: calc(env(safe-area-inset-left, 0px) + 18px + 56px + 10px);
  height: 56px;
  display: flex; align-items: center;
  font-size: min(56px, calc((100vw - 100px) / 5.5));   /* dar telefonda en uzun ad sığsın */
  font-weight: 600; line-height: 1; letter-spacing: -0.02em;
  white-space: nowrap;
  z-index: 49;
  pointer-events: none;
}

/* Sağ alt köşe logo (ana sayfadaki ile aynı ölçü ve konum) */
.page-logo {
  position: fixed;
  right: calc(var(--gutter-r) + 12px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  width: clamp(120px, 14vw, 210px);
  z-index: 4;
  pointer-events: none;
}
.page-logo img { width: 100%; height: auto; }
body.has-logo .svc { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + clamp(64px, 3vw + 48px, 92px)); }
@media (max-width: 760px) {
  .page-logo { right: var(--gutter-r); bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); width: 120px; }
  body.has-logo .svc { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 56px); }
}

/* ---------- Projeler: iki satır film şeridi ---------- */
.projects { gap: clamp(16px, 2.4vh, 28px); }
.strips {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(10px, 1.6vh, 16px);
  transition: opacity .3s ease;
}
.strips.switching { opacity: 0; }
.strips { position: relative; }
.strip { min-height: 0; overflow: hidden; }
.strips-empty { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--mist); font-size: var(--step-1); }
.strip-track {
  display: flex;
  gap: clamp(10px, 1.6vh, 16px);
  height: 100%;
  width: max-content;
  animation: var(--anim, none) var(--dur, 60s) linear infinite;
  will-change: transform;
}
.strip-left .strip-track { --anim: stripLeft; }
.strip-right .strip-track { --anim: stripRight; }
.strip:hover .strip-track, .strip:focus-within .strip-track { animation-play-state: paused; }
@keyframes stripLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes stripRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.tile {
  position: relative;
  flex: none;
  height: 100%;
  aspect-ratio: 3 / 2;
  max-width: none;
  padding: 0; border: 0;
  border-radius: 12px;   /* film şeridi kareleri */
  overflow: hidden;
  background: var(--white);
  color: var(--blue);
  cursor: zoom-in;
  font: inherit; text-align: left;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.32,.72,0,1); }
.tile:hover img { transform: scale(1.03); }
.tile-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; opacity: .55; }
.tile-title {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  font-size: .875rem; font-weight: 500; line-height: 1.25;
}
.tile.has-img .tile-title { color: var(--white); text-shadow: 0 1px 8px rgba(0, 10, 40, .55); opacity: 0; transition: opacity .25s; }
.tile.has-img:hover .tile-title, .tile.has-img:focus-visible .tile-title { opacity: 1; }
.tile:focus-visible { outline: 2px solid var(--white); outline-offset: -4px; }
@media (prefers-reduced-motion: reduce) {
  .strip { overflow-x: auto; scrollbar-width: none; }
  .strip-track { animation: none; }
}

/* ---------- Tam ekran görüntüleyici ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0, 20, 90, 0.96);
  display: grid; place-items: center;
  padding: calc(env(safe-area-inset-top, 0px) + 64px) max(72px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 56px) max(72px, env(safe-area-inset-left, 0px));
  touch-action: pan-y;
  animation: lbIn .3s ease;
}
@keyframes lbIn { from { opacity: 0; } }
.lb-stage { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 100%; max-height: 100%; min-height: 0; }
.lb-media { display: grid; place-items: center; max-width: 100%; min-height: 0; }
.lb-media img { max-width: 100%; max-height: calc(100svh - 190px); width: auto; height: auto; border-radius: 4px; }
.lb-media .lb-ph {
  width: min(84vw, calc((100svh - 190px) * var(--r, 1.5))); aspect-ratio: 3 / 2; max-width: 100%;
  background: var(--white); color: var(--blue); border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase;
}
.lightbox figcaption { display: flex; gap: 16px; align-items: baseline; justify-content: center; flex-wrap: wrap; text-align: center; }
.lb-count { font-family: var(--mono); font-size: var(--step--1); color: var(--mist); font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: var(--white);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-prev { left: max(14px, env(safe-area-inset-left, 0px)); top: 50%; transform: translateY(-50%); }
.lb-next { right: max(14px, env(safe-area-inset-right, 0px)); top: 50%; transform: translateY(-50%); }
.lb-close { right: max(14px, env(safe-area-inset-right, 0px)); top: calc(env(safe-area-inset-top, 0px) + 14px); }
@media (max-width: 760px) {
  .lightbox { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .lb-prev, .lb-next { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 12px); transform: none; }
  .lb-prev { left: max(16px, env(safe-area-inset-left, 0px)); }
  .lb-next { right: max(16px, env(safe-area-inset-right, 0px)); }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 48px calc(env(safe-area-inset-bottom, 0px) + 96px); }   /* altta WhatsApp butonuna yer */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.footer-grid h2 { margin: 0 0 12px; }
.footer-grid p, .footer-grid ul { margin: 0; }
.footer-grid ul { list-style: none; padding: 0; display: grid; gap: 6px; }
.footer-grid a { text-decoration: none; border-bottom: 1px solid var(--line); }
.footer-grid a:hover { border-color: var(--white); }
.coords { margin-top: 10px; font-family: var(--mono); font-size: var(--step--1); color: var(--mist); font-variant-numeric: tabular-nums; }
.maps-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--white);
  background: none; color: var(--white);
  font: 500 .9375rem var(--font);
  text-decoration: none; cursor: pointer;
}
.footer-grid a.btn { border-bottom: 1px solid var(--white); }
.btn:hover, .footer-grid a.btn:hover { background: var(--white); color: var(--blue); }
.btn.solid { background: var(--white); color: var(--blue); }
.btn.solid:hover { background: var(--mist); }
.copy { margin-top: 48px; display: flex; justify-content: flex-end; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; text-align: right; }
.copy-note { text-transform: none; letter-spacing: .02em; }
.footer-grid { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: clamp(48px, 10vw, 160px); }
.footer-grid .social { list-style: none; margin: 18px 0 0; padding: 0; display: flex; gap: 10px; }
.footer-grid .social a {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  color: var(--white); text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.footer-grid .social a:hover, .footer-grid .social a:focus-visible { background: var(--white); color: var(--blue); border-color: var(--white); }
.social svg { width: 20px; height: 20px; }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Alt bilgi: Adres · İletişim · Telif, üç eşit sütun, ortalı */
.site-footer { padding-block: 40px calc(env(safe-area-inset-bottom, 0px) + 40px); }
.site-footer .footer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 32px; row-gap: 28px;
  align-items: start;
  text-align: center;
}
.site-footer .footer-grid > div { min-width: 0; display: grid; justify-items: center; align-content: start; }
.site-footer .footer-grid .social { justify-content: center; margin-top: 12px; }
.site-footer .copy { margin: 0; display: grid; justify-items: center; gap: 6px; text-align: center; padding-top: 23px; }
.site-footer .copy-note { max-width: 30ch; }
@media (max-width: 760px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; }
  .site-footer .copy { padding-top: 0; }
  .site-footer { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); }   /* sol alttaki WhatsApp butonuna yer */
}

/* ---------- WhatsApp ---------- */
.wa {
  position: fixed;
  left: calc(env(safe-area-inset-left, 0px) + 18px);   /* tüm sayfalarda sol alt */
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 40;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--white);
  color: var(--blue);
  display: grid; place-items: center;
  box-shadow: 0 8px 28px rgba(0, 20, 90, .35);
  transition: transform .2s;
}
.wa:hover { transform: scale(1.06); }
.wa svg { width: 28px; height: 28px; }

body.has-cookie .wa { display: none; }   /* çerez kartı sol altta açıkken gizli */

/* Logolu sayfalarda WhatsApp butonu sol alt köşede (sağ altta logo var) */
body.has-logo .wa { right: auto; left: calc(env(safe-area-inset-left, 0px) + 18px); bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); width: 48px; height: 48px; }
body.has-logo .wa svg { width: 24px; height: 24px; }
body.has-logo.has-cookie .wa { display: none; }
@media (max-width: 760px) { body.has-logo .wa { bottom: calc(env(safe-area-inset-bottom, 0px) + 4px); width: 44px; height: 44px; } }

/* Projeler sayfasında sabit WhatsApp butonu yok */
body.projects-page .wa { display: none !important; }

/* ---------- Cookie notice ---------- */
.cookie {
  position: fixed;
  left: calc(env(safe-area-inset-left, 0px) + 18px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px);
  z-index: 45;
  width: min(380px, calc(100% - 36px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)));
  background: var(--white);
  color: var(--ink);
  padding: 18px 18px 16px;
  border-radius: 14px;
  box-shadow: 0 16px 48px rgba(0, 20, 90, .35);
}
.cookie p { margin: 0 0 14px; font-size: .9375rem; line-height: 1.45; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { border-color: var(--blue); color: var(--blue); }
.cookie .btn.solid { background: var(--blue); color: var(--white); }
.cookie .btn:hover { background: var(--blue-deep); color: var(--white); border-color: var(--blue-deep); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}

/* İletişim > E-posta ve Sosyal Medya görsel alanları: beyaz zemin yok, sayfanın mavisiyle bütün.
   Ölçü ve yuvarlak köşeler aynı; panelden yüklenen görseller aynı alanda gösterilir. */
.page-contact .svc-media[data-slot="iletisim.e-posta"],
.page-contact .svc-media[data-slot="iletisim.sosyal"] { background: transparent; }
.page-contact .svc-media[data-slot="iletisim.e-posta"] > span,
.page-contact .svc-media[data-slot="iletisim.sosyal"] > span { color: rgba(255, 255, 255, .35); }

/* Uzun metinli bölüm (Hakkımızda > Stüdyo): daha küçük punto, sığmazsa yalnızca metin kayar */
.svc-text.long { max-height: 100%; overflow-y: auto; padding-right: 8px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.35) transparent; overscroll-behavior: contain; }
.svc-text.long h2 { font-size: clamp(2.5rem, 1.4rem + 3.2vw, 4.5rem); margin-bottom: 16px; }
.svc-panel .svc-text.long p { max-width: 58ch; font-size: clamp(.9375rem, .85rem + .25vw, 1.0625rem); line-height: 1.55; }
.svc-panel .svc-text.long p + p { margin-top: 10px; }
.svc-panel .svc-text.long p.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.35; color: var(--white); font-weight: 500; margin-bottom: 4px; }
.svc-panel .svc-text.long p.em { color: var(--white); margin-top: 16px; }
.svc-panel .svc-text.long p.sign { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .04em; color: var(--white); opacity: .8; }
@media (max-width: 760px) {
  .svc-panel:has(.svc-text.long) { grid-template-rows: minmax(0, 1fr) minmax(160px, 32svh); align-items: stretch; }
  .svc-text.long h2 { font-size: 2.5rem; margin-bottom: 10px; }
}
.svc-text.long.more { -webkit-mask-image: linear-gradient(#000 calc(100% - 48px), transparent); mask-image: linear-gradient(#000 calc(100% - 48px), transparent); }

/* Panelden ayarlanan kadraj (görünen nokta ve yakınlaştırma) */
.compare img[data-frame], .slides img[data-frame], .tile img[data-frame] {
  object-position: var(--fx, 50%) var(--fy, 50%);
  transform-origin: var(--fx, 50%) var(--fy, 50%);
  transform: scale(var(--z, 1));
}
.tile:hover img[data-frame] { transform: scale(calc(var(--z, 1) * 1.03)); }
.compare { overflow: hidden; }
