/* anahtar. evden eve taşımacılık: İskandinav mimarlık stüdyosu sadeliği.
   Tek hareket ailesi: çerçeve açılır (clip-path inset). */

@font-face { font-family: 'Hanken'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('f/hanken-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Hanken'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('f/hanken-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('f/plexmono-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('f/plexmono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* yazı tipi gelmezse taşmasın: dar yedek */
@font-face { font-family: 'Hanken Yedek'; src: local('Arial'); size-adjust: 96%; }

:root {
  --zemin: #fbfbfa;
  --panel: #f1f2f4;
  --murekkep: #12141a;
  --soluk: #5d6370;
  --cizgi: #e1e3e8;
  --kobalt: #1c4dff;
  --gut: 40px;
  --en: 1280px;
  --bant: 32px;
  --menu: 64px;
  --kose: 18px;
  --egri: cubic-bezier(.23, 1, .32, 1);
  --yazi: 'Hanken', 'Hanken Yedek', system-ui, sans-serif;
  --mono: 'Plex Mono', ui-monospace, 'Consolas', monospace;
}
@media (max-width: 760px) { :root { --gut: 16px; --menu: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--menu); }
body {
  margin: 0; background: var(--zemin); color: var(--murekkep);
  font: 400 1rem/1.6 var(--yazi); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, figure { margin: 0; }
ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--kobalt); outline-offset: 3px; }
.sar { width: min(var(--en), 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- örnek bandı ---------- */
.ornek-bant { height: var(--bant); border-bottom: 1px solid var(--cizgi); font: 400 .75rem/1 var(--mono); color: var(--soluk); }
.ornek-bant .sar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; white-space: nowrap; }
.ornek-bant b { font-weight: 400; color: var(--murekkep); }
.ornek-bant .bant-sag { display: flex; gap: 1.5rem; }
.ornek-bant a { text-decoration: none; }
.ornek-bant a:hover { color: var(--kobalt); }

/* ---------- menü ---------- */
.menu { position: sticky; top: 0; z-index: 20; height: var(--menu); background: color-mix(in srgb, var(--zemin) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--cizgi); }
.menu-ic { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.marka { font-weight: 500; font-size: 1.45rem; letter-spacing: -.045em; text-decoration: none; line-height: 1; }
.marka span { color: var(--kobalt); }
.menu-bag { display: flex; gap: 2.25rem; font-size: .9rem; }
.menu-bag a { text-decoration: none; color: var(--soluk); transition: color .2s ease; }
.menu-bag a:hover { color: var(--murekkep); }
.menu .dugme { justify-self: end; }

/* ---------- düğme ---------- */
.dugme {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; white-space: nowrap;
  height: 2.9rem; padding: 0 1.4rem; border-radius: 999px; background: var(--murekkep); color: #fbfbfa;
  font: 500 .92rem/1 var(--yazi); text-decoration: none; letter-spacing: -.005em;
  transition: background-color .2s ease, transform .16s var(--egri);
}
.dugme:hover { background: var(--kobalt); }
.dugme:active { transform: scale(.97); }
.dugme--kucuk { height: 2.35rem; padding: 0 1.1rem; font-size: .85rem; }

/* ---------- yolculuk: oda çerçevesi ekranda kalır, üç durağın yazıları iki yanından akar ----------
   --L katman yüksekliği (menü altı ekran), --F çerçeve yüksekliği, --W genişliği.
   Durakların başlığı çerçevenin üst çizgisine, açıklama + düğme alt çizgisine hizalı. */
.yolculuk {
  --L: calc(100svh - var(--menu));
  --F: calc(var(--L) * .74);
  --W: min(calc(var(--F) * .75), 34vw);
  position: relative; background: var(--zemin);
}
/* kap yolculuğun tamamını kaplar; yapışkan katman onun içinde durur, yolculuk bitince onunla birlikte gider */
.urun-kap { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.urun-katman {
  position: sticky; top: var(--menu);
  height: var(--L);
  display: grid; place-items: center;
}
.urun {
  position: relative; width: var(--W); height: var(--F);
  border-radius: var(--kose); overflow: hidden; background: #d9cdbf;
  box-shadow: 0 1px 0 rgb(18 20 26 / .04), 0 30px 60px -30px rgb(60 44 30 / .35);
}
.urun canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* çerçevenin altındaki aşama satırı */
.adimlar {
  position: absolute; left: 50%; top: calc((var(--L) + var(--F)) / 2 + .9rem); transform: translateX(-50%);
  display: flex; align-items: center; white-space: nowrap;
  font: 400 .76rem/1 var(--mono); letter-spacing: .01em;
}
.adimlar li { color: var(--soluk); padding-block: .2rem; transition: color .25s ease;
  text-decoration: underline 1px transparent; text-underline-offset: .45rem; }
.adimlar li:not(:last-child)::after {
  content: ''; display: inline-block; vertical-align: middle; width: 1.4rem; height: 1px;
  margin: -.15rem .55rem 0 .6rem; background: var(--soluk); opacity: .45;
}
.adimlar li.etkin { color: var(--murekkep); text-decoration-color: var(--kobalt); }

.durak { position: relative; z-index: 2; min-height: var(--L); display: grid; }
.durak-ic {
  display: grid; grid-template-columns: minmax(0, 1fr) var(--W) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 4rem);
  padding-block: calc((var(--L) - var(--F)) / 2);
}
.durak-bas { grid-column: 1; align-self: start; container-type: inline-size; }
.durak-yan { grid-column: 3; align-self: end; display: grid; gap: 1.1rem; justify-items: start; }
.durak h1, .durak h2 {
  font-weight: 300; letter-spacing: -.045em; line-height: .98; text-wrap: balance;
  font-size: min(19cqw, 10svh, 5.75rem);
}
.durak-yan p { color: var(--soluk); font-size: .98rem; line-height: 1.55; max-width: 32ch; }
.metin-bag { font-size: .92rem; font-weight: 500; text-decoration: underline 1px; text-underline-offset: .35rem;
  text-decoration-color: color-mix(in srgb, var(--murekkep) 30%, transparent); transition: text-decoration-color .2s ease, color .2s ease; }
.metin-bag:hover { color: var(--kobalt); text-decoration-color: var(--kobalt); }

/* ---------- önce / sonra ---------- */
.once-sonra { padding-block: clamp(5rem, 12vw, 9rem) clamp(4rem, 9vw, 7rem); }
.once-sonra h2, .hizmet-bas h2 { font-weight: 300; letter-spacing: -.04em; line-height: 1.02; font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.alt-yazi { color: var(--soluk); margin-top: .9rem; }
.surgu {
  position: relative; margin-top: clamp(2rem, 4vw, 3rem); aspect-ratio: 16 / 9; border-radius: var(--kose); overflow: hidden;
  background: var(--panel); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize;
}
.surgu img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.surgu .surgu-ust { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.surgu-cizgi { position: absolute; top: 0; bottom: 0; left: var(--x); width: 44px; margin-left: -22px; display: grid; place-items: center; outline: none; }
.surgu-cizgi::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: #fbfbfa; }
.surgu-tutamak {
  position: relative; width: 44px; height: 44px; border-radius: 999px; background: var(--kobalt);
  box-shadow: 0 6px 20px rgb(18 20 26 / .18); transition: transform .16s var(--egri);
}
.surgu-tutamak::before, .surgu-tutamak::after {
  content: ''; position: absolute; top: 50%; width: 7px; height: 7px; border: solid #fbfbfa; border-width: 0 0 1.5px 1.5px;
}
.surgu-tutamak::before { left: 12px; transform: translateY(-50%) rotate(45deg); }
.surgu-tutamak::after { right: 12px; transform: translateY(-50%) rotate(-135deg); }
.surgu.tutuluyor .surgu-tutamak, .surgu-cizgi:focus-visible .surgu-tutamak { transform: scale(1.08); }
.surgu-cizgi:focus-visible .surgu-tutamak { outline: 2px solid #fbfbfa; outline-offset: 2px; }
.surgu-alt { display: flex; justify-content: space-between; gap: 1rem; margin-top: .9rem; font: 400 .78rem/1.4 var(--mono); color: var(--soluk); }

/* ---------- ilke ---------- */
.ilke { padding-block: clamp(3rem, 7vw, 6rem); }
.ilke-ic { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.ilke-kare { position: relative; aspect-ratio: 4 / 5; border-radius: var(--kose); overflow: hidden; background: var(--panel); }
.ilke-kare img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.ilke-yazi { display: grid; gap: 1.5rem; padding-bottom: .5rem; }
.ilke-yazi .buyuk { font-weight: 300; letter-spacing: -.03em; line-height: 1.18; font-size: clamp(1.6rem, 2.7vw, 2.4rem); text-wrap: pretty; }
.ilke-yazi p:not(.buyuk) { color: var(--soluk); max-width: 46ch; }

/* ---------- hizmetler: çizim künyesi ---------- */
.hizmetler { padding-block: clamp(5rem, 11vw, 9rem); }
.hizmet-bas { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.hizmet-bas p { color: var(--soluk); }
.kunye-tablo { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--murekkep); border-radius: 4px; }
.kunye-tablo li {
  display: grid; grid-template-rows: auto 1fr auto; gap: .6rem; min-height: 13.5rem; padding: 1.1rem 1.15rem 1.35rem;
  transition: background-color .2s ease;
}
.kunye-tablo li + li { border-left: 1px solid var(--murekkep); }
.kunye-tablo .no { font: 400 .75rem/1 var(--mono); color: var(--soluk); }
.kunye-tablo h3 { grid-row: 3; font-weight: 500; font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.2; }
.kunye-tablo p { grid-row: 4; color: var(--soluk); font-size: .9rem; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .kunye-tablo li:hover { background: var(--panel); } .kunye-tablo li:hover .no { color: var(--kobalt); } }

/* ---------- kapanış ---------- */
.kapanis { padding-block: clamp(5rem, 12vw, 10rem) clamp(3rem, 6vw, 5rem); border-top: 1px solid var(--cizgi); }
.kapanis .sar { container-type: inline-size; }
.kapanis h2 { font-weight: 300; letter-spacing: -.05em; line-height: .98; font-size: 8.4cqw; text-wrap: balance; }
.kapanis-alt { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.4rem; border-top: 1px solid var(--cizgi); }
.kapanis-alt p { color: var(--soluk); max-width: 44ch; }

/* ---------- alt bilgi ---------- */
.alt { border-top: 1px solid var(--cizgi); padding-block: 1.6rem 2rem; font: 400 .75rem/1.6 var(--mono); color: var(--soluk); }
.alt .sar { display: flex; justify-content: space-between; gap: .5rem 2rem; flex-wrap: wrap; }
.alt a { color: var(--murekkep); }

/* ---------- açılan çerçeve (görseller sayfaya girerken) ---------- */
.hareket [data-gor] { clip-path: inset(7% 7% round var(--kose)); transition: clip-path 1.1s var(--egri); }
.hareket [data-gor].gor { clip-path: inset(0 0 round var(--kose)); }

/* ---------- kısa ekran (980x440 vb.) ---------- */
@media (max-height: 600px) and (min-width: 761px) {
  .yolculuk { --F: calc(var(--L) * .7); }
  .durak-yan p { display: none; }
  .adimlar { font-size: .7rem; top: calc((var(--L) + var(--F)) / 2 + .55rem); }
}

/* ---------- tablet ---------- */
@media (max-width: 1080px) {
  .menu-bag { gap: 1.5rem; }
  .kunye-tablo { grid-template-columns: minmax(0, 1fr); }
  .kunye-tablo li { grid-template-columns: 3.5rem minmax(0, 14rem) minmax(0, 1fr); grid-template-rows: none; min-height: 0; align-items: baseline; padding: 1.25rem 1.15rem; gap: 1rem; }
  .kunye-tablo li + li { border-left: 0; border-top: 1px solid var(--murekkep); }
  .kunye-tablo h3, .kunye-tablo p { grid-row: auto; }
}
@media (max-width: 900px) {
  .menu-bag { display: none; }
  .menu-ic { grid-template-columns: 1fr auto; }
}

/* ---------- telefon ---------- */
@media (max-width: 760px) {
  .ornek-bant { font: 400 .72rem/1 var(--yazi); }
  .ornek-bant .uzun { display: none; }
  .ornek-bant .bant-sag { gap: .9rem; }
  /* telefonda çerçeve ekranın ortasında: başlık ve açıklama üstte, düğme altta.
     Durak değişirken yazılar çerçevenin ARKASINDAN geçer (pencerenin arkasından geçen sayfa gibi). */
  .yolculuk { --F: 40svh; --W: calc(100vw - 2 * var(--gut)); }
  .urun-kap { z-index: 3; }
  .urun { border-radius: 14px; }
  .adimlar { font-size: .72rem; top: calc((var(--L) + var(--F)) / 2 + .4rem); padding: .35rem .6rem .45rem; background: var(--zemin); border-radius: 999px; }
  .adimlar li:not(:last-child)::after { width: .8rem; margin-inline: .4rem .45rem; }
  .durak-ic { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto;
    row-gap: .75rem; padding-block: 1.1rem 3.25rem; }
  .durak-bas, .durak-yan { grid-column: 1; }
  .durak-bas { grid-row: 1; }
  .durak-yan { display: contents; }
  .durak-yan p { grid-row: 2; font-size: .95rem; }
  .durak-yan .dugme, .durak-yan .metin-bag { grid-row: 4; justify-self: start; }
  .durak h1, .durak h2 { font-size: min(10.5cqw, 5.6svh); }
  .surgu { aspect-ratio: 4 / 5; }
  .surgu img { object-position: 46% 50%; }
  .ilke-ic { grid-template-columns: minmax(0, 1fr); }
  .ilke-kare { aspect-ratio: 4 / 3; }
  .kunye-tablo li { grid-template-columns: 2.25rem minmax(0, 1fr); row-gap: .35rem; padding: 1.1rem 1rem; }
  .kunye-tablo p { grid-column: 2; }
  .kapanis h2 { font-size: 13cqw; }
  .kapanis-alt { flex-direction: column; align-items: flex-start; }
  .kapanis-alt .dugme { width: 100%; }
}
@media (max-width: 360px) { .ornek-bant { font-size: .66rem; } .ornek-bant .bant-sag { gap: .6rem; } }
