/* ==========================================================================
   Antakya360 — Gece: beton + şantiye turuncusu / Gündüz: Antakya taşı + kiremit
   Tema <html data-theme="night|day"> ile seçilir (assets/js/theme.js)
   ========================================================================== */
:root,
:root[data-theme="night"] {
  color-scheme: dark;
  --bg: #0b0b0c;
  --bg-2: #131315;
  --surface: #18181b;
  --line: rgba(236, 232, 225, 0.12);
  --line-strong: rgba(236, 232, 225, 0.28);
  --text: #ece8e1;
  --muted: #8f8b84;
  --accent: #ff6a1a;
  --accent-2: #ffb21a;
  --accent-soft: rgba(255, 106, 26, 0.14);
  --trust: #6cc597; /* güven yeşili — gece */
  --on-accent: #111;
  --glass: rgba(255, 255, 255, 0.03);
  --nav-bg: rgba(11, 11, 12, 0.72);
  --chip-bg: rgba(11, 11, 12, 0.65);
  --spot: rgba(255, 255, 255, 0.09);
  --grain: 0.06;
}
:root[data-theme="day"] {
  color-scheme: light;
  --bg: #ece6dc;
  --bg-2: #e3dccf;
  --surface: #f6f2eb;
  --line: rgba(22, 20, 18, 0.12);
  --line-strong: rgba(22, 20, 18, 0.3);
  --text: #161412;
  --muted: #5a5349;
  --accent: #b83a07;
  --accent-2: #e88a12;
  --accent-soft: rgba(194, 61, 8, 0.12);
  --trust: #2e6b4e; /* güven yeşili — gündüz */
  --on-accent: #fffaf5;
  --glass: rgba(255, 255, 255, 0.45);
  --nav-bg: rgba(236, 230, 220, 0.78);
  --chip-bg: rgba(246, 242, 235, 0.8);
  --spot: rgba(214, 71, 14, 0.1);
  --grain: 0.035;
}
:root {
  --font-display: "Archivo", "Helvetica Neue", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --text-hero: clamp(3.2rem, 1rem + 9.5vw, 10.5rem);
  --text-h2: clamp(2.2rem, 1rem + 4.4vw, 5.2rem);
  --gutter: clamp(1rem, 0.4rem + 3vw, 3rem);
  --space-section: clamp(5rem, 3rem + 7vw, 11rem);
  --radius: 18px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  transition: background-color .6s var(--ease), color .6s var(--ease);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: normal; color: var(--accent); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -4%); } 60% { transform: translate(-4%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}

/* ==========================================================================
   INTRO
   ========================================================================== */
.intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; }
.intro__panel {
  position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg);
  transition: transform 1.1s var(--ease-in-out);
}
.intro__panel--top { top: 0; border-bottom: 1px solid var(--line); }
.intro__panel--bottom { bottom: 0; }
.intro__center { position: relative; display: grid; place-items: center; transition: opacity .5s, transform .8s var(--ease); }
.intro__ring { width: min(46vw, 260px); transform: rotate(-90deg); }
.intro__ring circle { fill: none; stroke-width: 1.2; }
.intro__ring-track { stroke: var(--line); }
.intro__ring-bar { stroke: var(--accent); stroke-dasharray: 339.3; stroke-dashoffset: 339.3; stroke-linecap: round; }
.intro__deg {
  position: absolute; font-family: var(--font-display); font-weight: 800; font-stretch: 112%;
  font-size: clamp(2.6rem, 8vw, 4.2rem); letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.intro__sym { color: var(--accent); }
.intro__label {
  position: absolute; bottom: -2.6rem; font-size: .72rem; text-transform: uppercase;
  letter-spacing: .3em; color: var(--muted); white-space: nowrap;
}
.intro.is-done .intro__center { opacity: 0; transform: scale(1.3); }
.intro.is-done .intro__panel--top { transform: translateY(-101%); }
.intro.is-done .intro__panel--bottom { transform: translateY(101%); }
.intro.is-gone { display: none; }
/* nokta bulutu girişi (intro-scan.js) */
html.intro-skip .intro { display: none !important; }
html.intro-scan .intro { background: #0b0b0c; transition: background .9s var(--ease); }
html.intro-scan .intro.is-scan-out { background: transparent; }
html.intro-scan .intro__panel, html.intro-scan .intro__center { display: none; }
.intro.is-scan .intro__panel, .intro.is-scan .intro__center { display: none; }
.intro__scan { position: absolute; inset: 0; width: 100%; height: 100%; display: block; background: #0b0b0c; transition: opacity .9s var(--ease); }
.intro__logo { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); height: auto; max-width: none; opacity: 0; pointer-events: none; z-index: 1; user-select: none; transition: opacity .9s var(--ease); }
.intro__hud {
  position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(18px, 4vh, 40px); margin: 0; z-index: 2;
  font: 500 .68rem/1.4 var(--font-mono, ui-monospace, monospace); letter-spacing: .18em; color: rgba(236, 238, 242, .62);
  font-variant-numeric: tabular-nums; transition: opacity .5s;
}
.intro__tag {
  position: absolute; left: 0; right: 0; bottom: clamp(70px, 15vh, 150px); margin: 0; z-index: 2; text-align: center;
  color: #eceef2; opacity: 0; transform: translateY(10px); transition: opacity .9s var(--ease), transform .9s var(--ease);
  padding-inline: 20px; text-wrap: balance;
}
.intro__tag span { display: block; font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: clamp(1.2rem, 2.6vw, 2rem); letter-spacing: -.01em; }
.intro__tag small { display: block; margin-top: .6rem; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(236, 238, 242, .55); }
.intro.is-tag .intro__tag { opacity: 1; transform: none; }
.intro__skip {
  position: absolute; right: clamp(16px, 3vw, 40px); bottom: clamp(14px, 3.4vh, 34px); z-index: 3; cursor: pointer;
  background: rgba(255, 255, 255, .06); color: rgba(236, 238, 242, .8); border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px; padding: .55rem 1rem; font: 600 .72rem/1 var(--font-body, inherit); letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, color .25s, opacity .5s;
}
.intro__skip kbd { font: inherit; opacity: .55; margin-left: .5em; }
.intro__skip:hover, .intro__skip:focus-visible { background: var(--accent, #ff7a1a); color: #111; border-color: transparent; outline: none; }
.intro.is-scan-out .intro__scan { opacity: 0; }
.intro.is-scan-out .intro__logo { opacity: 0 !important; }
.intro.is-scan-out .intro__hud, .intro.is-scan-out .intro__skip { opacity: 0; pointer-events: none; }
.intro.is-scan-out .intro__tag { opacity: 0; transform: translateY(-8px); }
@media (max-width: 640px) { .intro__hud { letter-spacing: .1em; font-size: .6rem; max-width: 56vw; } .intro__skip kbd { display: none; } }


/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 95; pointer-events: none; border-radius: 50%; }
.cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background .3s, border-color .3s;
}
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor__label {
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .02em;
  color: var(--on-accent); opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease);
}
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); background: var(--accent-soft); }
.cursor.is-tour { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--accent); border-color: var(--accent); }
.cursor.is-tour .cursor__label { opacity: 1; transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  --h: 3.4rem;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  height: var(--h); padding: 0 1.7rem; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-family: var(--font-display); font-weight: 600; font-stretch: 105%; font-size: .98rem;
  border: 1px solid var(--line-strong); transition: border-color .3s, color .4s;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--text); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { color: var(--bg); border-color: var(--text); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--ghost { backdrop-filter: blur(8px); background: var(--glass); }
.btn--small { --h: 2.6rem; padding: 0 1.15rem; font-size: .88rem; }
.btn--block { width: 100%; }
.btn__arrow { font-style: normal; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(5px) rotate(-45deg); }
.magnetic { will-change: transform; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem; padding: 1.1rem var(--gutter);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: var(--nav-bg); backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.logo { font-family: var(--font-display); font-weight: 800; font-stretch: 115%; font-size: 1.25rem; letter-spacing: -.02em; margin-right: auto; }
.logo__num { color: var(--accent); }
.logo { display: inline-flex; align-items: center; }
.logo__img { display: block; height: 1.75rem; width: auto; object-fit: contain; object-position: left center; }
.logo__img--light { display: none; }
:root[data-theme="day"] .logo__img--dark { display: none; }
:root[data-theme="day"] .logo__img--light { display: block; }
.logo__deg { display: inline-block; color: var(--accent); transition: transform .8s var(--ease); }
.logo:hover .logo__deg { transform: rotate(360deg); }
.nav__links { display: flex; gap: 2rem; }
.nav__link { position: relative; display: block; overflow: hidden; height: 1.6em; font-size: .95rem; font-weight: 500; }
.nav__link span { display: block; transition: transform .5s var(--ease); }
.nav__link span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--accent); }
.nav__link:hover span { transform: translateY(-100%); }
.nav__burger { display: none; width: 40px; height: 40px; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ==========================================================================
   SHARED
   ========================================================================== */
.section { padding: var(--space-section) var(--gutter); position: relative; }
.section__head { margin-bottom: clamp(2.5rem, 5vw, 5rem); max-width: 70rem; }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; max-width: none; }
.section__title {
  margin: 0; font-family: var(--font-display); font-weight: 750; font-stretch: 108%;
  font-size: var(--text-h2); line-height: .98; letter-spacing: -.035em;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem;
  font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--muted);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 106, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 26, 0); } }

.reveal { opacity: 0; transform: translateY(48px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto;
  padding: 7.5rem var(--gutter) 2.5rem; overflow: hidden;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px; opacity: .35;
  mask-image: radial-gradient(ellipse at 30% 45%, #000 0%, transparent 70%);
}
.hero__content { position: relative; z-index: 2; align-self: center; max-width: 68rem; }
.hero__title {
  margin: 0 0 2rem; font-family: var(--font-display); font-weight: 820; font-stretch: 112%;
  font-size: var(--text-hero); line-height: .88; letter-spacing: -.05em;
}
/* üç satır tek ızgarada: sol sütun en geniş kelimeye göre ölçülür, hizmet etiketleri hep aynı dikey çizgide durur */
.hero__title { display: grid; grid-template-columns: max-content minmax(0, 1fr); column-gap: clamp(1rem, 2.6vw, 2.6rem); }
.hero__title .line { display: contents; }
.hero__title .wm { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .word { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.3s var(--ease); }
.hero__title em { font-weight: 300; font-style: italic; font-stretch: 85%; }
.is-ready .hero__title .word { transform: none; }
.is-ready .hero__title .line:nth-child(2) .word { transition-delay: .1s; }
.is-ready .hero__title .line:nth-child(3) .word { transition-delay: .2s; }
/* fiillerin yanındaki hizmet etiketi: ince çizgiyle bağlı, kelimeden sonra kayarak gelir */
.hero__tag {
  display: inline-flex; align-items: flex-start; align-self: start; gap: .7em; margin: .95em 0 0; text-decoration: none; min-width: 0;
  font: 600 clamp(.62rem, .5rem + .35vw, .85rem)/1 var(--font-body); font-stretch: 100%;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
  opacity: 0; transform: translateX(-12px); transition: opacity .8s var(--ease), transform 1s var(--ease), color .3s;
}
.hero__tag::before { content: ""; flex: none; width: 2.2em; height: 1px; margin-top: .5em; background: currentColor; opacity: .6; }
.hero__tag-txt b { display: block; font-weight: 600; }
@media (min-width: 561px) { .hero__tag-txt b { white-space: nowrap; } }
.hero__tag-txt > span { display: block; margin-top: .75em; font-weight: 500; letter-spacing: .04em; text-transform: none; font-size: 1.12em; line-height: 1.35; opacity: .8; text-wrap: balance; }
.is-ready .hero__tag { opacity: 1; transform: none; transition-delay: .7s; }
.is-ready .hero__title .line:nth-child(2) .hero__tag { transition-delay: .82s; }
.is-ready .hero__title .line:nth-child(3) .hero__tag { transition-delay: .94s; }
.hero__title .line:hover .hero__tag { color: var(--accent); }
.hero__trust { color: var(--trust); transition: color .6s var(--ease); }
.hero__title .line:nth-child(2):hover .hero__tag { color: var(--trust); }
.hero__eyebrow, .hero__lead, .hero__ctas, .hero__stats, .hero__scroll {
  opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.is-ready .hero__eyebrow { opacity: 1; transform: none; }
.is-ready .hero__lead { opacity: 1; transform: none; transition-delay: .35s; }
.is-ready .hero__ctas { opacity: 1; transform: none; transition-delay: .5s; }
.is-ready .hero__stats { opacity: 1; transform: none; transition-delay: .65s; }
.is-ready .hero__scroll { opacity: 1; transform: none; transition-delay: .8s; }
.hero__content { width: 100%; }
.hero__lead { max-width: none; margin: 0 0 2.2rem; color: var(--muted); font-size: clamp(.95rem, .9rem + .2vw, 1.06rem); line-height: 1.62; }
.hero__lead strong { color: var(--text); font-weight: 600; }
.hero__lead p { margin: 0; text-wrap: pretty; }
.hero__lead-head {
  margin: 0 0 1.2rem !important; max-width: none; color: var(--text); text-wrap: balance;
  font-family: var(--font-display); font-weight: 700; font-stretch: 106%; font-size: clamp(1.35rem, 1rem + 1.3vw, 2.05rem); line-height: 1.12; letter-spacing: -.02em;
}
.hero__lead-body, .hero__lead-sign { max-width: 50rem; }
.hero__lead-body > p + p { margin-top: .85em; }
.hero__lead-sign { margin-top: 1.1rem !important; color: var(--text); font-weight: 600; letter-spacing: .01em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__stats {
  position: relative; z-index: 2; display: flex; gap: clamp(1.5rem, 5vw, 5rem); margin: 3rem 0 0; padding-top: 1.6rem;
  border-top: 1px solid var(--line); max-width: 46rem;
}
.hero__stats dt { font-family: var(--font-display); font-weight: 750; font-stretch: 110%; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.hero__stats dd { margin: .45rem 0 0; font-size: .82rem; color: var(--muted); }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 2.5rem; z-index: 2; display: flex; align-items: center; gap: .8rem;
  font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl;
}
.hero__scroll-line { width: 1px; height: 64px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: scrollline 2.2s var(--ease-in-out) infinite; }
@keyframes scrollline { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   WHY
   ========================================================================== */

/* ==========================================================================
   TOURS
   ========================================================================== */
.tours { background: var(--bg-2); border-top: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  padding: .55rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; font-weight: 500;
  transition: background .3s, color .3s, border-color .3s;
}
.filter:hover { border-color: var(--text); }
.filter.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

.tours__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1rem, 2vw, 1.75rem); }
.tour { grid-column: span 6; }
.tour:nth-child(4n + 1), .tour:nth-child(4n + 4) { grid-column: span 7; }
.tour:nth-child(4n + 2), .tour:nth-child(4n + 3) { grid-column: span 5; }
.tour.is-hidden { display: none; }
.filters[hidden], .filter[hidden] { display: none; }

/* Tek proje varsa: tam genişlik, görsel solda / metin sağda */
@media (min-width: 821px) {
  .tour:only-child { grid-column: 1 / -1; }
  .tour:only-child .tour__card { flex-direction: row; }
  .tour:only-child .tour__media { flex: 1.5; aspect-ratio: auto; min-height: 460px; }
  .tour:only-child .tour__shade { background: linear-gradient(90deg, transparent 55%, var(--surface) 100%); }
  .tour:only-child .tour__body { flex: 1; margin-top: 0; padding: clamp(1.8rem, 3vw, 3rem); justify-content: center; }
  .tour:only-child .tour__title { font-size: clamp(1.8rem, 1rem + 2vw, 3rem); }
  .tour:only-child .tour__summary { max-height: none; opacity: 1; margin: .4rem 0 0; font-size: 1rem; }
  .tour:only-child .tour__foot { margin-top: 1.8rem; }
}
.tour__card {
  position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left; border-radius: var(--radius); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); cursor: none;
  transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease), border-color .4s;
}
@media (hover: none), (pointer: coarse) { .tour__card { cursor: pointer; } }
.tour__card:hover { border-color: var(--line-strong); }
.tour__card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; z-index: 3;
  background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 55%);
}
.tour__card:hover::after { opacity: 1; }
.tour__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.tour__img {
  width: 112%; max-width: none; height: 100%; object-fit: cover; transform: translateX(var(--pan, -5%)) scale(1.04);
  transition: transform 1.4s var(--ease), filter .6s; filter: saturate(.75) brightness(.8);
}
.tour__card:hover .tour__img { transform: translateX(calc(var(--pan, -5%) * -1)) scale(1.1); filter: saturate(1.05) brightness(.95); }
.tour__placeholder { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.tour__placeholder svg { width: 72%; height: auto; opacity: .45; transition: transform 1.6s var(--ease), opacity .5s; }
.tour__card:hover .tour__placeholder svg { transform: rotate(35deg) scale(1.08); opacity: .8; }
.tour__mono {
  position: absolute; font-family: var(--font-display); font-weight: 850; font-stretch: 125%;
  font-size: clamp(2.5rem, 6vw, 5.5rem); letter-spacing: -.04em; color: var(--text);
}
.tour__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 35%, transparent 50%, var(--surface) 100%); }
.tour__badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .45rem;
  padding: .4rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: var(--chip-bg); backdrop-filter: blur(10px); border: 1px solid var(--line);
}
.tour__badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.tour__badge--soon i { background: var(--muted); }
.tour__orbit {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 64px; height: 64px;
  transition: transform .8s var(--ease);
}
.tour__orbit svg { width: 100%; height: 100%; animation: spin 14s linear infinite; }
.tour__orbit text { fill: var(--text); font: 600 9.5px var(--font-body); letter-spacing: 2.6px; text-transform: uppercase; }
.tour__orbit b { position: absolute; inset: 0; display: grid; place-items: center; font: 800 .85rem var(--font-display); color: var(--accent); }
.tour__card:hover .tour__orbit { transform: scale(1.15) rotate(-20deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.tour__body { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; padding: 1.4rem 1.5rem 1.6rem; margin-top: -4.5rem; }.tour__company { margin: 0 0 .35rem; font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.tour__title {
  margin: 0 0 .35rem; font-family: var(--font-display); font-weight: 750; font-stretch: 108%;
  font-size: clamp(1.4rem, 1rem + 1.2vw, 2.1rem); line-height: 1.05; letter-spacing: -.025em;
}
.tour__meta { margin: 0 0 1rem; font-size: .85rem; color: var(--muted); }
.tour__summary {
  margin: 0; color: var(--muted); font-size: .94rem; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .7s var(--ease), opacity .5s, margin .5s;
}
.tour__card:hover .tour__summary, .tour__card:focus-visible .tour__summary { max-height: 9rem; opacity: 1; margin-top: .2rem; }
@media (hover: none) { .tour__summary { max-height: none; opacity: 1; } }
.tour__foot { display: flex; align-items: center; gap: 1rem; margin-top: auto; padding-top: 1.1rem; }
.progress { flex: 1; height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress__bar { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease); }
.tour.is-in .progress__bar { transform: scaleX(var(--p, 0)); }
.tour__pct { font: 700 .85rem var(--font-display); font-variant-numeric: tabular-nums; }
.tour__scope { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text); opacity: .8; }
.progress[hidden] { display: none; }
.tours__empty { color: var(--muted); text-align: center; padding: 3rem 0; }

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process { padding-block: var(--space-section); }
.process__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.5fr); gap: clamp(2.5rem, 7vw, 7rem); max-width: 1480px; margin-inline: auto; align-items: start; }
.process__side { position: sticky; top: 6.5rem; }
.process__lead { margin: 1.4rem 0 0; max-width: 34rem; color: var(--muted); font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.7; }
.process__assure { list-style: none; margin: 1.8rem 0 2rem; padding: 0; display: grid; gap: .75rem; }
.process__assure li { display: flex; align-items: center; gap: .75rem; font-size: .96rem; font-weight: 600; }
.process__assure li::before {
  content: "✓"; flex: none; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent); font-size: .72rem; font-weight: 700;
}

/* dikey akış: soldaki çizgi kaydırdıkça dolar, ulaşılan adımlar yanar */
.flow { --fp: clamp(2.4rem, 4vw, 3.4rem); list-style: none; margin: 0; padding: 0 0 0 var(--fp); position: relative; }
.flow::before, .flow::after { content: ""; position: absolute; left: .55rem; top: .5rem; bottom: .5rem; width: 2px; }
.flow::before { background: var(--line-strong); }
.flow::after { background: var(--accent); transform-origin: top; transform: scaleY(var(--p, 0)); }
.flow__step { position: relative; display: grid; grid-template-columns: clamp(3.6rem, 6vw, 5.6rem) minmax(0, 1fr); gap: 0 clamp(1rem, 2vw, 1.8rem); padding: clamp(1.8rem, 3.5vw, 2.8rem) 0; border-top: 1px solid var(--line); }
.flow__step:first-child { border-top: 0; padding-top: 0; }
.flow__step::before {
  content: ""; position: absolute; left: calc(.55rem + 1px - var(--fp) - 7px); top: calc(clamp(1.8rem, 3.5vw, 2.8rem) + .65rem);
  width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--line-strong); transition: background .4s, border-color .4s, transform .5s var(--ease);
}
.flow__step:first-child::before { top: .65rem; }
.flow__step.is-reached::before { background: var(--accent); border-color: var(--accent); transform: scale(1.15); }
.flow__no { font: italic 400 clamp(2.8rem, 2rem + 3vw, 5rem)/.9 var(--serif); color: var(--muted); transition: color .5s; }
.flow__step.is-reached .flow__no { color: var(--accent); }
.flow__body h3 { margin: 0 0 .7rem; font: 700 clamp(1.3rem, 1.1rem + .8vw, 1.8rem)/1.15 var(--font-display); letter-spacing: -.02em; }
.flow__body p { margin: 0; max-width: 40rem; color: var(--muted); font-size: 1.02rem; line-height: 1.7; }
.flow__out { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3rem 1rem; margin-top: 1.2rem !important; padding-top: 1rem; border-top: 1px dashed var(--line-strong); }
.flow__out span { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.flow__out b { font-weight: 600; color: var(--text); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--bg-2); border-top: 1px solid var(--line); }
.services__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; grid-template-columns: 4rem 1fr minmax(0, 24rem) 3rem; align-items: center; gap: 1.5rem;
  padding: clamp(1.4rem, 2.6vw, 2.4rem) 0; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.service:hover::before { transform: scaleY(1); }
.service:hover { color: var(--on-accent); }
.service__no { font-size: .85rem; color: var(--muted); transition: color .3s; padding-left: .5rem; }
.service__name {
  margin: 0; font-family: var(--font-display); font-weight: 750; font-stretch: 110%;
  font-size: clamp(1.5rem, 1rem + 2.6vw, 3.5rem); letter-spacing: -.035em; line-height: 1; transition: transform .6s var(--ease), font-stretch .6s;
}
.service:hover .service__name { transform: translateX(1.2rem); font-stretch: 125%; }
.service__desc { margin: 0; color: var(--muted); font-size: .94rem; transition: color .3s; }
.service:hover .service__no, .service:hover .service__desc { color: rgba(17, 17, 17, .75); }
.service__arrow { font-size: 1.8rem; transition: transform .6s var(--ease); justify-self: end; padding-right: .5rem; }
.service:hover .service__arrow { transform: rotate(45deg); }

/* ==========================================================================
   STÜDYO (SEO metni) — sol sütun sabit, sağda dergi düzeninde metin
   ========================================================================== */
.studio { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 7rem); border-top: 1px solid var(--line); }
.studio__sticky { position: sticky; top: 7rem; }
.studio__quote { margin: 2.5rem 0 0; padding: 1.4rem 0 0 1.4rem; border-left: 2px solid var(--accent); max-width: 26rem; }
.studio__quote p {
  margin: 0; font-family: var(--font-display); font-weight: 300; font-stretch: 90%; font-style: italic;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.3; color: var(--text);
}
.studio__lead { margin: 0 0 3.5rem; font-size: clamp(1.1rem, 1rem + .45vw, 1.35rem); line-height: 1.7; color: var(--muted); }
.studio__lead strong { color: var(--text); font-weight: 600; }
.studio__lead::first-letter {
  float: left; margin: .08em .12em 0 0; font-family: var(--font-display); font-weight: 820; font-stretch: 115%;
  font-size: 4.4em; line-height: .78; color: var(--accent);
}
.studio__services { display: grid; gap: 0; margin-bottom: 4rem; border-top: 1px solid var(--line); }
.studio__item {
  position: relative; display: grid; grid-template-columns: 3.5rem 1fr; gap: .4rem 1.2rem; padding: 2rem 0;
  border-bottom: 1px solid var(--line); isolation: isolate;
}
.studio__item::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease);
}
.studio__item:hover::before { transform: scaleX(1); }
.studio__idx { grid-row: span 2; font: 300 2.6rem/1 var(--font-display); font-stretch: 70%; color: var(--accent); transition: transform .6s var(--ease); }
.studio__item:hover .studio__idx { transform: translateY(-4px) scale(1.1); }
.studio__item h3 { margin: .2rem 0 0; font-family: var(--font-display); font-weight: 700; font-stretch: 106%; font-size: clamp(1.3rem, 1rem + .9vw, 1.7rem); letter-spacing: -.015em; }
.studio__item p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }
.studio__subhead { margin: 0 0 1.4rem; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -.01em; }
.studio__why { list-style: none; margin: 0 0 4rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; }
.studio__why li { position: relative; padding-left: 1.6rem; color: var(--muted); font-size: .96rem; line-height: 1.65; }
.studio__why li::before { content: "◎"; position: absolute; left: 0; top: .05em; color: var(--accent); }
.studio__why b { display: block; color: var(--text); font-weight: 600; margin-bottom: .15rem; }

/* SSS — ana sayfa ve proje sayfaları ortak */
.faq { border-bottom: 1px solid var(--line); }
.faq:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; transition: color .3s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .5s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq p { margin: 0 0 1.3rem; color: var(--muted); }

/* ==========================================================================
   CONTACT
   ========================================================================== */

.outline { color: transparent; -webkit-text-stroke: 1.5px var(--accent); transition: color .5s; }

.form__status { margin: 0; min-height: 1.4em; font-size: .9rem; color: var(--accent); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { padding: clamp(3.5rem, 7vw, 6rem) var(--gutter) 1.6rem; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr .7fr 1.2fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); max-width: 1480px; margin-inline: auto; }
.footer__brand { display: grid; gap: 1.2rem; align-content: start; justify-items: start; }
.footer__brand .logo { margin: 0; }
.footer__brand .logo__img { height: 2.3rem; }
.footer__brand p { margin: 0; max-width: 24rem; color: var(--muted); font-size: .95rem; line-height: 1.65; }
.footer__col h2 { margin: 0 0 1.1rem; font: 600 .72rem/1 var(--font-body, inherit); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; font-size: .95rem; }
.footer__col--services ul { grid-template-columns: 1fr; }
.footer__col a { transition: color .3s; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--accent); }
.footer__plain { color: var(--muted); }
.footer__contact { font-style: normal; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; max-width: 1480px; margin: 0 auto; padding-top: 1.3rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.footer__top:hover { color: var(--accent); }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: clamp(.5rem, 2vw, 2rem); }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5, 5, 6, .82); backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s; }
.modal__box {
  position: relative; width: min(1400px, 100%); height: min(860px, 100%); display: grid; grid-template-columns: 1fr 340px;
  border-radius: var(--radius); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  clip-path: inset(50% 0 50% 0 round var(--radius)); transition: clip-path .9s var(--ease-in-out);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__box { clip-path: inset(0 0 0 0 round var(--radius)); }
.modal__viewer { position: relative; background: #000; }
.modal__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.modal__loader { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 1rem; color: var(--muted); font-size: .85rem; }
.modal__loader span { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.modal__info { padding: 2.2rem 1.8rem; display: flex; flex-direction: column; gap: .6rem; overflow-y: auto; border-left: 1px solid var(--line); }
.modal__company { margin: 0; color: var(--accent); }
.modal__title { margin: 0; font-family: var(--font-display); font-weight: 750; font-stretch: 108%; font-size: 1.9rem; line-height: 1.05; letter-spacing: -.025em; }
.modal__meta { margin: 0 0 .8rem; color: var(--muted); font-size: .88rem; }
.modal__info .progress { flex: none; margin-bottom: 1rem; }
.modal.is-open .progress__bar { transform: scaleX(var(--p, 0)); transition-delay: .4s; }
.modal__text { margin: 0 0 1.4rem; color: var(--muted); font-size: .95rem; }
.modal__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }
.modal__actions [hidden] { display: none; }
.modal__close {
  position: absolute; top: .9rem; right: .9rem; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  background: var(--chip-bg); border: 1px solid var(--line-strong); transition: transform .5s var(--ease), background .3s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--accent); color: var(--on-accent); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
  .studio { grid-template-columns: 1fr; }
  .studio__sticky { position: static; }
  .modal__box { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .modal__info { border-left: 0; border-top: 1px solid var(--line); max-height: 38vh; padding: 1.4rem; }
  .modal__close { right: auto; left: 50%; margin-left: -21px; }
}
@media (max-width: 820px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; padding: var(--gutter);
    background: var(--bg); gap: 1.2rem; clip-path: circle(0 at calc(100% - 2.5rem) 2.5rem); transition: clip-path .8s var(--ease-in-out);
  }
  .nav__link { height: auto; font-family: var(--font-display); font-size: 2.6rem; font-weight: 750; overflow: visible; }
  .nav__link span::after { display: none; }
  .nav.is-open .nav__links { clip-path: circle(150% at calc(100% - 2.5rem) 2.5rem); }
  .nav__burger { display: block; }
  .nav > .btn { display: none; }

  .hero__scroll { display: none; }
  .tour, .tour:nth-child(n) { grid-column: 1 / -1; }
  .service { grid-template-columns: 2.5rem 1fr 2rem; }
  .service__desc { grid-column: 2 / 3; }
  .service__arrow { grid-row: 1; grid-column: 3; }
}
@media (max-width: 560px) {
  .studio__why { grid-template-columns: 1fr; }
  .hero__tag { margin-top: .75em; letter-spacing: .14em; }
  .hero__tag::before { width: 1.2em; }
  .hero__tag-txt > span { display: none; }
  .hero__stats { gap: 1.2rem; }
  .hero__stats dd { font-size: .74rem; }
  .btn { --h: 3.1rem; padding: 0 1.3rem; }
}

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

/* Süreç: 5 adım */

/* Teslimde elinizde olanlar */
.deliver { border-top: 1px solid var(--line); }
.deliver__head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: 1.6rem clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.deliver__lead { margin: 0; max-width: 30rem; color: var(--muted); font-size: 1.05rem; line-height: 1.7; }
.deliver__list { list-style: none; margin: .4rem 0 0; padding: 1.1rem 0 0; display: grid; gap: .8rem; border-top: 1px solid var(--line); }
.deliver__list li { position: relative; padding-left: 1.9rem; color: var(--muted); font-size: .98rem; line-height: 1.55; }
.deliver__list li::before {
  content: "✓"; position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 1.25rem; height: 1.25rem;
  border: 1.5px solid var(--sc, var(--accent)); border-radius: 50%; color: var(--text); font-size: .68rem; font-weight: 700;
}
.deliver__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(1.4rem, 3vw, 2.2rem);
  padding: 1.3rem 1.6rem; border: 1px dashed var(--line-strong); border-radius: var(--radius);
}
.deliver__foot p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.6; max-width: 46rem; }
.deliver__foot strong { color: var(--text); font-weight: 600; }
@media (max-width: 960px) { .deliver__head { grid-template-columns: 1fr; align-items: start; } }

@media (max-width: 960px) {
  .process__layout { grid-template-columns: 1fr; }
  .process__side { position: static; }
}
@media (max-width: 560px) { .flow__step { grid-template-columns: 3rem minmax(0, 1fr); } }

/* ---------- dil düğmesi (i18n.js) ---------- */
html.i18n-pending body { visibility: hidden; }
.lang-toggle {
  flex: none; padding: .5rem .72rem; border: 1px solid var(--line-strong); border-radius: 999px; background: none; color: var(--text); cursor: pointer;
  font: 700 .7rem/1 var(--font-body); letter-spacing: .16em; transition: color .3s, border-color .3s, background .3s;
}
.lang-toggle:hover, .lang-toggle:focus-visible { color: var(--accent); border-color: var(--accent); outline: none; }
@media (max-width: 820px) { .lang-toggle { padding: .46rem .6rem; margin-left: auto; } .nav .logo { margin-right: 0; } }
@media (max-width: 560px) { html[data-lang="en"] .hero__tag { letter-spacing: .1em; } }

/* Dil bağlantıları (tüm diller için) */
.lang-switch { display: inline-flex; align-items: center; gap: .15rem; margin-inline: .6rem; }
.lang-switch a {
  font-family: inherit; font-weight: 600; font-size: .72rem; line-height: 1; padding: .42rem .5rem; border-radius: 999px; color: inherit; text-decoration: none; opacity: .72;
  border: 1px solid transparent; letter-spacing: .06em;
}
.lang-switch a:hover, .lang-switch a:focus-visible { opacity: 1; border-color: currentColor; outline: none; }
.lang-switch a[aria-current="true"] { opacity: 1; border-color: currentColor; }
@media (max-width: 820px) { .lang-switch { margin-inline: auto .4rem; } .lang-switch a { padding: .4rem .42rem; } }
