/* =========================================================
   Kılıç İnşaat — site stilleri
   Tasarım şablonları: [data-preset] · Tema: [data-theme]
   ========================================================= */

/* ---------- Tasarım değişkenleri ---------- */
:root {
  --accent: #c8a25a;
  --accent-ink: #14120e;
  --bg: #f7f5f0;
  --bg-alt: #efebe2;
  --surface: #ffffff;
  --text: #16171a;
  --muted: #5e6168;
  --line: rgba(20, 20, 24, .1);
  --dark: #121316;
  --dark-2: #1b1d21;
  --on-dark: #f3f1ec;
  --on-dark-muted: rgba(243, 241, 236, .68);
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-weight: 600;
  --head-transform: none;
  --head-spacing: -.01em;
  --head-scale: 1.12;
  --radius: 4px;
  --radius-lg: 6px;
  --shadow: 0 18px 50px -20px rgba(15, 15, 20, .25);
  --shadow-sm: 0 6px 20px -10px rgba(15, 15, 20, .18);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0d0e10;
  --bg-alt: #121316;
  --surface: #17191c;
  --text: #ecebe7;
  --muted: #9b9ea5;
  --line: rgba(255, 255, 255, .09);
  --dark: #08090a;
  --dark-2: #141518;
  --shadow: 0 18px 50px -20px rgba(0, 0, 0, .7);
  --shadow-sm: 0 6px 20px -10px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* Kurumsal — Lacivert & Turuncu */
[data-preset="navy"] {
  --accent: #f2701d; --accent-ink: #fff;
  --bg: #f5f7fb; --bg-alt: #eaeef6; --text: #0f1b2d; --muted: #56627a; --line: rgba(15, 27, 45, .1);
  --dark: #0d1a2e; --dark-2: #132440; --on-dark: #eef2f9; --on-dark-muted: rgba(238, 242, 249, .7);
  --font-head: "Manrope", system-ui, sans-serif; --head-weight: 800; --head-spacing: -.03em; --head-scale: 1;
  --radius: 14px; --radius-lg: 22px;
}
[data-preset="navy"][data-theme="dark"] {
  --bg: #080f1b; --bg-alt: #0c1626; --surface: #101d31; --text: #e8edf6; --muted: #8e9bb3; --line: rgba(255, 255, 255, .08);
  --dark: #050b15; --dark-2: #0e1a2d;
}

/* Endüstriyel — Beton & Kırmızı */
[data-preset="concrete"] {
  --accent: #e03a2f; --accent-ink: #fff;
  --bg: #f1f1ef; --bg-alt: #e6e6e3; --text: #1a1a1a; --muted: #5f5f5f; --line: rgba(0, 0, 0, .12);
  --dark: #1a1a1a; --dark-2: #242424; --on-dark: #f2f2f2; --on-dark-muted: rgba(242, 242, 242, .65);
  --font-head: "Oswald", "Arial Narrow", sans-serif; --font-body: "Inter", system-ui, sans-serif;
  --head-weight: 600; --head-transform: uppercase; --head-spacing: .01em; --head-scale: .94;
  --radius: 0px; --radius-lg: 0px;
}
[data-preset="concrete"][data-theme="dark"] {
  --bg: #0f0f0f; --bg-alt: #151515; --surface: #1c1c1c; --text: #ededed; --muted: #9a9a9a; --line: rgba(255, 255, 255, .1);
  --dark: #080808; --dark-2: #161616;
}

/* Doğal — Zümrüt & Kum */
[data-preset="emerald"] {
  --accent: #2f9e77; --accent-ink: #fff;
  --bg: #f6f3ec; --bg-alt: #ece6d9; --text: #14231d; --muted: #5a6a62; --line: rgba(20, 35, 29, .11);
  --dark: #10221b; --dark-2: #173027; --on-dark: #f1efe7; --on-dark-muted: rgba(241, 239, 231, .7);
  --font-head: "Playfair Display", Georgia, serif; --head-weight: 600; --head-spacing: -.015em; --head-scale: 1.02;
  --radius: 22px; --radius-lg: 30px;
}
[data-preset="emerald"][data-theme="dark"] {
  --bg: #0a1310; --bg-alt: #0e1915; --surface: #13221c; --text: #e9eee9; --muted: #93a39b; --line: rgba(255, 255, 255, .08);
  --dark: #06100c; --dark-2: #11201a;
}

/* Arapça: tüm şablonlarda Cairo */
[dir="rtl"] { --font-head: "Cairo", system-ui, sans-serif; --font-body: "Cairo", system-ui, sans-serif; --head-transform: none; --head-spacing: 0; --head-scale: .95; --head-weight: 700; }

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  transition: background-color .4s, color .4s;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform);
  letter-spacing: var(--head-spacing); line-height: 1.12; margin: 0 0 .5em;
}
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: -999px; top: 8px; z-index: 999; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; }
.skip:focus { inset-inline-start: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 24px; }
.container-narrow { max-width: 860px; }
@media (max-width: 600px) { .container { padding-inline: 16px; } }

.ico { width: 1.25em; height: 1.25em; flex: none; }
[dir="rtl"] .btn .ico, [dir="rtl"] .link-arrow .ico, [dir="rtl"] .project-card-arrow .ico,
[dir="rtl"] .hero-arrows .ico, [dir="rtl"] .lb-nav .ico, [dir="rtl"] .project-pager small .ico { transform: scaleX(-1); }

/* ---------- Butonlar ---------- */
.btn {
  --b-bg: var(--text); --b-fg: var(--bg);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 15px 28px; border-radius: var(--radius); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  background: var(--b-bg); color: var(--b-fg); border: 1.5px solid var(--b-bg);
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ico:last-child { transform: translateX(4px); }
[dir="rtl"] .btn:hover .ico:last-child { transform: scaleX(-1) translateX(4px); }
.btn-accent { --b-bg: var(--accent); --b-fg: var(--accent-ink); }
.btn-accent:hover { box-shadow: 0 12px 30px -12px var(--accent); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--line); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: #fff; color: #111; border-color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; font-weight: 600; color: var(--text); border-bottom: 1.5px solid var(--accent); padding-bottom: 4px; transition: gap .3s; }
.link-arrow:hover { gap: .9em; color: var(--accent); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 700 12.5px/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
[dir="rtl"] .kicker { letter-spacing: 0; font-size: 14px; }
.kicker::before { content: ""; width: 34px; height: 1.5px; background: currentColor; }
.kicker-light { color: var(--accent); }

.badge {
  display: inline-block; padding: 6px 12px; border-radius: calc(var(--radius) * .6 + 2px); font-size: 12px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; background: rgba(0, 0, 0, .55); color: #fff; backdrop-filter: blur(8px);
}
.badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-inline-end: 7px; background: #4ade80; vertical-align: 1px; }
.badge-ongoing::before { background: #fbbf24; box-shadow: 0 0 0 0 rgba(251, 191, 36, .7); animation: pulse 2s infinite; }
.badge-planned::before { background: #60a5fa; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(251, 191, 36, 0); } 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0); } }

/* ---------- Üst menü ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; transition: background-color .4s, color .4s, height .4s, box-shadow .4s, transform .4s var(--ease);
}
.site-header::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .45), transparent); pointer-events: none; transition: opacity .4s; }
.site-header.is-scrolled, .page-404 .site-header {
  --header-h: 70px; color: var(--text);
  background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-scrolled::before, .page-404 .site-header::before { opacity: 0; }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { position: relative; display: flex; align-items: center; gap: 28px; height: 100%; }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-mark { width: 44px; height: 44px; color: currentColor; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font: 800 21px/1 "Manrope", var(--font-body); letter-spacing: .14em; }
.logo-sub { font: 600 10.5px/1 "Manrope", var(--font-body); letter-spacing: .5em; margin-top: 6px; opacity: .75; }
.logo-img { height: 68px; width: auto; }
.logo-for-dark { display: none; }
.site-header:not(.is-scrolled) .logo-for-light { display: none; }
.site-header:not(.is-scrolled) .logo-for-dark { display: block; }
.page-404 .site-header .logo-for-light { display: block; }
.page-404 .site-header .logo-for-dark { display: none; }
[data-theme="dark"] .site-header.is-scrolled .logo-for-light, [data-theme="dark"] .site-footer .logo-for-light { display: none; }
[data-theme="dark"] .site-header.is-scrolled .logo-for-dark, .site-footer .logo-for-dark { display: block; }
.site-footer .logo-for-light { display: none; }

.main-nav { display: flex; gap: 6px; margin-inline: auto; }
.main-nav a { position: relative; padding: 10px 14px; font-size: 15px; font-weight: 600; opacity: .88; transition: opacity .2s; }
.main-nav a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .35s var(--ease); }
[dir="rtl"] .main-nav a::after { --origin: right; }
.main-nav a:hover, .main-nav a.active { opacity: 1; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; gap: 6px; }
.tool-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; min-width: 42px; justify-content: center; padding: 0 10px; border-radius: 999px; font-size: 13px; font-weight: 700; transition: background-color .2s; }
.tool-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
.theme-toggle .i-moon { display: none; }
[data-theme="dark"] .theme-toggle .i-moon { display: block; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
.header-cta { margin-inline-start: 8px; }

.lang-switch { position: relative; }
.lang-menu {
  position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 180px; padding: 8px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .25s var(--ease);
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; gap: 10px; padding: 9px 12px; border-radius: var(--radius); font-size: 14px; }
.lang-menu a b { width: 24px; color: var(--muted); font-size: 12px; }
.lang-menu a:hover, .lang-menu a.active { background: var(--bg-alt); }
.lang-menu a.active b { color: var(--accent); }

.menu-toggle { display: none; }
.burger { position: relative; width: 22px; height: 14px; display: block; }
.burger span { position: absolute; inset-inline: 0; height: 2px; background: currentColor; border-radius: 2px; transition: .35s var(--ease); }
.burger span:nth-child(1) { top: 0; } .burger span:nth-child(2) { top: 6px; } .burger span:nth-child(3) { top: 12px; }
.menu-open .burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; padding: calc(var(--header-h) + 20px) 24px 32px;
  background: var(--dark); color: var(--on-dark); display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .6s var(--ease); overflow-y: auto;
}
[dir="rtl"] .mobile-menu { clip-path: circle(0 at 40px 40px); }
.mobile-menu.open { clip-path: circle(150% at calc(100% - 40px) 40px); }
[dir="rtl"] .mobile-menu.open { clip-path: circle(150% at 40px 40px); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font: var(--head-weight) clamp(30px, 8vw, 44px)/1.25 var(--font-head); text-transform: var(--head-transform); padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: 0; transform: translateY(20px); transition: .5s var(--ease); }
.mobile-menu.open nav a { opacity: 1; transform: none; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: .05s; } .mobile-menu.open nav a:nth-child(3) { transition-delay: .1s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: .15s; } .mobile-menu.open nav a:nth-child(5) { transition-delay: .2s; }
.mobile-menu.open nav a:nth-child(6) { transition-delay: .25s; }
.mobile-menu nav a.active { color: var(--accent); }
.mobile-menu-foot { display: grid; gap: 12px; margin-top: 30px; color: var(--on-dark-muted); }
.mobile-menu-foot a { display: flex; align-items: center; gap: 10px; }
.mobile-langs { display: flex; gap: 8px; margin-top: 8px; }
.mobile-langs a { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-weight: 700; font-size: 13px; }
.mobile-langs a.active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.menu-open .site-header { color: var(--on-dark); background: transparent; box-shadow: none; backdrop-filter: none; }
.menu-open .site-header::before { opacity: 0; }

@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-tools { margin-inline-start: auto; }
}
@media (max-width: 600px) {
  :root { --header-h: 68px; }
  .logo-mark { width: 38px; height: 38px; }
  .logo-name { font-size: 18px; }
  .logo-sub { font-size: 9px; letter-spacing: .42em; }
  .lang-switch .tool-btn span { display: none; }
}

/* ---------- Hero (slider) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; max-height: 1100px; background: var(--dark); color: #fff; overflow: hidden; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 1.2s; display: flex; align-items: center; }
.hero-slide.is-active { opacity: 1; visibility: visible; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 9s linear; }
.hero-slide.is-active .hero-media img { transform: scale(1); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--hero-dir, 90deg), rgba(8, 9, 11, .86) 0%, rgba(8, 9, 11, .55) 45%, rgba(8, 9, 11, .15) 100%), linear-gradient(0deg, rgba(8, 9, 11, .6), transparent 40%); }
[dir="rtl"] .hero-media::after { --hero-dir: 270deg; }
.hero-content { position: relative; z-index: 2; padding-top: var(--header-h); padding-bottom: 200px; }
.hero-content > * { max-width: 760px; opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero-slide.is-active .hero-content > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-content > :nth-child(2) { transition-delay: .15s; }
.hero-slide.is-active .hero-content > :nth-child(3) { transition-delay: .3s; }
.hero-slide.is-active .hero-content > :nth-child(4) { transition-delay: .45s; }
.hero-title { font-size: calc(clamp(40px, 5.6vw, 84px) * var(--head-scale)); line-height: 1.02; margin-bottom: 24px; text-wrap: balance; }
.hero-text { font-size: clamp(16px, 1.5vw, 20px); color: rgba(255, 255, 255, .8); max-width: 600px; margin-bottom: 38px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-controls { position: absolute; inset-inline: 0; bottom: 96px; z-index: 3; display: flex; justify-content: space-between; align-items: center; }
.hero-dots { display: flex; gap: 22px; }
.hero-dots button { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .55); }
.hero-dots button.is-active { color: #fff; }
.hero-dots .bar { width: 64px; height: 2px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.hero-dots .bar i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: var(--origin, left); }
[dir="rtl"] .hero-dots .bar i { --origin: right; }
.hero-dots button.is-active .bar i { animation: bar var(--interval, 6s) linear forwards; }
.hero.is-paused .hero-dots button.is-active .bar i { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: 10px; }
.hero-arrows button { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; transition: .3s; }
.hero-arrows button:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hero-scroll i { width: 1px; height: 40px; background: linear-gradient(rgba(255, 255, 255, .8), transparent); animation: scrollline 2s infinite; }
@keyframes scrollline { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Hero: bölünmüş düzen */
.hero-split .hero-slide { align-items: stretch; }
.hero-split .hero-media { inset: 0 0 0 auto; width: 52%; }
[dir="rtl"] .hero-split .hero-media { inset: 0 auto 0 0; }
.hero-split .hero-media::after { background: linear-gradient(90deg, var(--dark) 0%, transparent 30%); }
[dir="rtl"] .hero-split .hero-media::after { background: linear-gradient(270deg, var(--dark) 0%, transparent 30%); }
.hero-split .hero-content { display: flex; flex-direction: column; justify-content: center; }
.hero-split .hero-content > * { max-width: 46%; }
.hero-split .hero-title { font-size: calc(clamp(38px, 5vw, 76px) * var(--head-scale)); }
@media (max-width: 900px) {
  .hero-split .hero-media { width: 100%; }
  .hero-split .hero-media::after { background: linear-gradient(0deg, var(--dark) 15%, rgba(0, 0, 0, .45) 70%, rgba(0, 0, 0, .3)); }
  .hero-split .hero-content { justify-content: flex-end; padding-bottom: 170px; }
  .hero-split .hero-content > * { max-width: 100%; }
}
@media (max-width: 700px) {
  .hero { min-height: 580px; }
  .hero-content { padding-bottom: 120px; align-self: flex-end; }
  .hero-media::after { background: linear-gradient(0deg, rgba(8, 9, 11, .92) 10%, rgba(8, 9, 11, .5) 60%, rgba(8, 9, 11, .35)); }
  .hero-controls { bottom: 34px; }
  .hero-dots { gap: 12px; }
  .hero-dots .bar { width: 34px; }
  .hero-arrows, .hero-scroll { display: none; }
  .hero-actions .btn { flex: 1 1 auto; }
}

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(72px, 10vw, 130px); }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--on-dark); }
.section-title { font-size: calc(clamp(32px, 4.2vw, 56px) * var(--head-scale)); text-wrap: balance; max-width: 18ch; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(36px, 5vw, 60px); flex-wrap: wrap; }
.section-head .section-title { margin: 0; }
.section-dark .link-arrow { color: var(--on-dark); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); line-height: 1.75; }

.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* İstatistik bandı */
.stats-band { position: relative; z-index: 5; margin-top: -72px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 34px 30px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat strong { display: block; font: var(--head-weight) calc(clamp(34px, 3.6vw, 52px) * var(--head-scale))/1 var(--font-head); color: var(--text); margin-bottom: 10px; }
.stat strong span { font-variant-numeric: tabular-nums; }
.stat > span { color: var(--muted); font-size: 14.5px; font-weight: 500; }
.stats-band-flat { margin: 0; padding-bottom: clamp(60px, 8vw, 100px); }
.stats-band-flat .stats-grid { box-shadow: none; border: 1px solid var(--line); }
@media (max-width: 860px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stat { padding: 26px 20px; }
}

/* Hakkımızda tanıtım kolajı */
.collage { position: relative; display: grid; grid-template-columns: 1fr .8fr; grid-template-rows: 1fr 1fr; gap: 16px; aspect-ratio: 1 / .95; }
.collage figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.collage figure:hover img { transform: scale(1.06); }
.collage-1 { grid-row: 1 / 3; }
.collage-badge {
  position: absolute; inset-inline-start: -24px; bottom: 40px; padding: 24px 28px; border-radius: var(--radius-lg);
  background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow); max-width: 220px;
}
.collage-badge strong { display: block; font: var(--head-weight) 54px/1 var(--font-head); }
.collage-badge span { font-size: 14px; font-weight: 600; line-height: 1.35; display: block; margin-top: 6px; }
@media (max-width: 600px) { .collage-badge { inset-inline-start: 12px; bottom: 12px; padding: 16px 18px; } .collage-badge strong { font-size: 38px; } }

.checklist { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; }
.checklist .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); stroke-width: 2.4; margin-top: 2px; }

/* Hizmet kartları */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; padding: 38px 32px 34px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; overflow: hidden; isolation: isolate;
}
.service-card::before { content: ""; position: absolute; inset: auto 0 0; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform .5s var(--ease); }
[dir="rtl"] .service-card::before { --origin: right; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-num { position: absolute; top: 26px; inset-inline-end: 28px; font: var(--head-weight) 44px/1 var(--font-head); color: var(--line); z-index: -1; transition: color .4s; }
.service-card:hover .service-num { color: color-mix(in srgb, var(--accent) 22%, transparent); }
.service-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: calc(var(--radius) + 6px); background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); margin-bottom: 26px; flex: none; }
.service-icon .ico { width: 28px; height: 28px; }
.service-card h3 { font-size: calc(23px * var(--head-scale)); }
.service-card p { color: var(--muted); margin: 0; font-size: 15.5px; }
@media (max-width: 980px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .services-grid { grid-template-columns: 1fr; } .service-card { padding: 30px 24px; } }

/* Proje kartları */
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.featured-grid .is-large { grid-column: span 2; grid-row: span 2; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project-card { position: relative; }
.project-card > a { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); transition: box-shadow .5s, transform .5s var(--ease); }
.project-card > a:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.project-card-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-alt); }
.project-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.project-card > a:hover .project-card-img img { transform: scale(1.07); }
.project-card-img .badge { position: absolute; top: 16px; inset-inline-start: 16px; }
.project-card-body { position: relative; padding: 22px 24px 24px; flex: 1; }
.project-card-meta { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
[dir="rtl"] .project-card-meta { letter-spacing: 0; }
.project-card h3 { font-size: calc(23px * var(--head-scale)); margin: 8px 0 8px; padding-inline-end: 50px; }
.project-card-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14.5px; margin: 0; }
.project-card-loc .ico { width: 16px; height: 16px; }
.project-card-arrow { position: absolute; inset-inline-end: 22px; top: 24px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); transition: .4s var(--ease); }
.project-card > a:hover .project-card-arrow { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(-45deg); }
[dir="rtl"] .project-card > a:hover .project-card-arrow { transform: rotate(45deg); }
.project-card-arrow .ico { width: 18px; height: 18px; }

/* Büyük kart: görsel üstünde metin */
.featured-grid .is-large > a { position: relative; color: #fff; border: 0; }
.featured-grid .is-large .project-card-img { position: absolute; inset: 0; aspect-ratio: auto; }
.featured-grid .is-large .project-card-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .1) 55%); }
.featured-grid .is-large .project-card-body { margin-top: auto; z-index: 2; padding: 34px; min-height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.featured-grid .is-large h3 { font-size: calc(clamp(28px, 3vw, 40px) * var(--head-scale)); }
.featured-grid .is-large .project-card-loc { color: rgba(255, 255, 255, .78); }
.featured-grid .is-large .project-card-arrow { top: auto; bottom: 34px; inset-inline-end: 34px; border-color: rgba(255, 255, 255, .35); }
@media (max-width: 980px) {
  .featured-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid .is-large { grid-column: span 2; grid-row: auto; min-height: 420px; }
}
@media (max-width: 620px) {
  .featured-grid, .projects-grid { grid-template-columns: 1fr; gap: 18px; }
  .featured-grid .is-large { grid-column: auto; min-height: 380px; }
  .featured-grid .is-large .project-card-body { padding: 24px; }
}

/* Çalışma süreci */
.process-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.process-steps li { position: relative; padding: 38px 30px 10px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
[dir="rtl"] .process-steps li { padding: 38px 0 10px 30px; }
.process-steps li::before { content: ""; position: absolute; top: -5px; inset-inline-start: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
.step-num { display: block; font: var(--head-weight) 56px/1 var(--font-head); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); margin-bottom: 18px; }
.process-steps h3 { font-size: calc(22px * var(--head-scale)); }
.process-steps p { color: var(--on-dark-muted); font-size: 15px; }
@media (max-width: 900px) { .process-steps { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }
@media (max-width: 560px) { .process-steps { grid-template-columns: 1fr; } }

/* Galeri */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-strip .gallery-item:nth-child(n+9) { display: none; }
.masonry { columns: 3 300px; column-gap: 20px; }
.masonry .gallery-item { break-inside: avoid; margin-bottom: 20px; }
.gallery-item { margin: 0; }
.gallery-item a { position: relative; display: block; overflow: hidden; border-radius: var(--radius-lg); background: var(--bg-alt); }
.gallery-strip .gallery-item a { aspect-ratio: 1 / 1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.gallery-item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 50%); opacity: 0; transition: opacity .4s; }
.gallery-item a:hover img { transform: scale(1.06); }
.gallery-item a:hover::after { opacity: 1; }
.gallery-zoom { position: absolute; z-index: 2; inset-inline-end: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); opacity: 0; transform: scale(.6); transition: .4s var(--ease); }
.gallery-item a:hover .gallery-zoom { opacity: 1; transform: none; }
.gallery-zoom .ico { width: 18px; height: 18px; }
.gallery-item figcaption { padding: 12px 4px 0; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.gallery-item figcaption::before { content: ""; display: inline-block; width: 14px; height: 1.5px; background: var(--accent); vertical-align: middle; margin-inline-end: 8px; }
@media (max-width: 900px) { .gallery-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .masonry { columns: 1; } .gallery-strip { gap: 12px; } .gallery-strip .gallery-item figcaption { font-size: 13px; } }

/* Çağrı bandı */
.cta-band { position: relative; overflow: hidden; color: #fff; padding-block: clamp(80px, 11vw, 140px); background: var(--dark); }
.cta-band-bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; transform: translateY(var(--parallax, 0)); }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 9, 11, .9), rgba(8, 9, 11, .55)); }
.cta-band-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-band h2 { font-size: calc(clamp(32px, 4.4vw, 60px) * var(--head-scale)); max-width: 16ch; }
.cta-band p { color: rgba(255, 255, 255, .75); max-width: 560px; margin: 0; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* İç sayfa başlığı */
.page-hero { position: relative; min-height: 440px; display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: heroZoom 14s ease-out both; }
.page-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 11, .88), rgba(8, 9, 11, .45) 60%, rgba(8, 9, 11, .6)); }
@keyframes heroZoom { from { transform: scale(1.15); } to { transform: scale(1); } }
.page-hero-inner { position: relative; padding-top: calc(var(--header-h) + 50px); padding-bottom: 64px; }
.page-hero h1 { font-size: calc(clamp(38px, 5.6vw, 80px) * var(--head-scale)); margin: 0; max-width: 20ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .65); margin-bottom: 26px; }
.crumbs a:hover { color: var(--accent); }
@media (max-width: 600px) { .page-hero { min-height: 360px; } .page-hero-inner { padding-bottom: 44px; } }

/* Proje detayı */
.project-hero { position: relative; min-height: 78vh; min-height: 78svh; display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.project-hero-bg { position: absolute; inset: 0; }
.project-hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 14s ease-out both; }
.project-hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 11, .9), rgba(8, 9, 11, .2) 60%, rgba(8, 9, 11, .5)); }
.project-hero-inner { position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 64px; }
.project-hero h1 { font-size: calc(clamp(40px, 6vw, 86px) * var(--head-scale)); margin: 18px 0 12px; max-width: 18ch; }
.project-hero-loc { display: flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); font-size: 17px; }
.project-layout { display: grid; grid-template-columns: 1fr 380px; gap: clamp(40px, 6vw, 90px); align-items: start; }
.facts { position: sticky; top: calc(var(--header-h) + 24px); padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.facts h3 { font-size: calc(22px * var(--head-scale)); margin-bottom: 18px; }
.facts dl { margin: 0 0 26px; }
.facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.facts dt { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.facts dt .ico { width: 18px; height: 18px; color: var(--accent); }
.facts dd { margin: 0; font-weight: 700; text-align: end; }
@media (max-width: 960px) { .project-layout { grid-template-columns: 1fr; } .facts { position: static; } }

.project-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 60px 0; }
.project-pager a { display: flex; align-items: center; gap: 18px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: border-color .3s, box-shadow .3s; }
.project-pager a:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.project-pager img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--radius); flex: none; }
.project-pager span { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.project-pager small { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13px; }
.project-pager small .ico { width: 15px; height: 15px; }
.project-pager b { font-family: var(--font-head); font-weight: var(--head-weight); text-transform: var(--head-transform); font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pager-next { justify-content: flex-end; text-align: end; }
.pager-next small { justify-content: flex-end; }
@media (max-width: 640px) { .project-pager { grid-template-columns: 1fr; } .project-pager img { width: 72px; height: 56px; } }

/* Filtre çipleri */
.filters { display: grid; gap: 14px; margin-bottom: 40px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); background: var(--surface); transition: .25s; }
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.chips-sub .chip { padding: 7px 14px; font-size: 13px; }
.project-card.is-hidden { display: none; }

/* Metin içerik */
.prose { font-size: 17px; line-height: 1.85; }
.prose h2 { font-size: calc(clamp(28px, 3vw, 40px) * var(--head-scale)); margin-top: 1.4em; }
.prose h3 { font-size: calc(24px * var(--head-scale)); margin-top: 1.4em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-inline-start: 3px solid var(--accent); font-family: var(--font-head); font-size: 1.3em; line-height: 1.5; }
[dir="rtl"] .prose blockquote { padding: 4px 24px 4px 0; }

.about-media { position: relative; border-radius: var(--radius-lg); }
.about-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-media .collage-badge { inset-inline-start: auto; inset-inline-end: -20px; bottom: 30px; }
@media (max-width: 600px) { .about-media .collage-badge { inset-inline-end: 12px; } }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { padding: clamp(30px, 4vw, 50px); background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.vm-card h3 { font-size: calc(clamp(24px, 2.4vw, 32px) * var(--head-scale)); }
.vm-card .prose { font-size: 16px; color: var(--muted); }
@media (max-width: 800px) { .vm-grid { grid-template-columns: 1fr; } }

/* Harita */
.map-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: clamp(380px, 50vw, 540px); }
.map-wrap iframe, .map-full iframe, .footer-map iframe { width: 100%; height: 100%; border: 0; display: block; }
[data-theme="dark"] .map-wrap iframe, [data-theme="dark"] .map-full iframe { filter: invert(.92) hue-rotate(180deg) saturate(.7) brightness(.95); }
.footer-map iframe { filter: grayscale(1) invert(.9) contrast(.85); }
.map-card { position: absolute; top: 24px; inset-inline-start: 24px; width: min(340px, calc(100% - 48px)); padding: 26px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow); }
.map-card h4 { font-size: 22px; }
.map-card p { display: flex; gap: 10px; color: var(--muted); font-size: 14.5px; margin: 0 0 10px; }
.map-card .ico { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.map-full { height: clamp(360px, 45vw, 520px); }
@media (max-width: 640px) {
  .map-wrap { height: auto; display: flex; flex-direction: column-reverse; }
  .map-wrap iframe { height: 340px; }
  .map-card { position: static; width: auto; box-shadow: none; border-radius: 0; }
}

/* İletişim */
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.info-cards { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.info-cards li { display: flex; gap: 18px; align-items: center; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.info-cards .service-icon { margin: 0; width: 52px; height: 52px; }
.info-cards small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.info-cards a, .info-cards span:not(.service-icon) { font-weight: 600; }
.info-cards a:hover { color: var(--accent); }
.contact-form { padding: clamp(26px, 4vw, 48px); background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-sm); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; font: inherit; font-size: 15.5px; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.has-error input, .has-error textarea { border-color: #e5484d; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--accent); text-decoration: underline; }
.consent.has-error { color: #e5484d; }
.hp { position: absolute; inset-inline-start: -9999px; }
.alert { display: flex; gap: 10px; align-items: center; padding: 16px 18px; border-radius: var(--radius); font-weight: 600; font-size: 15px; }
.alert-ok { background: color-mix(in srgb, #22c55e 14%, transparent); color: #16a34a; }
.alert-err { background: color-mix(in srgb, #e5484d 14%, transparent); color: #e5484d; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* 404 */
.not-found { min-height: 80vh; display: grid; place-items: center; text-align: center; padding-top: var(--header-h); }
.nf-code { display: block; font: var(--head-weight) clamp(120px, 22vw, 260px)/1 var(--font-head); color: transparent; -webkit-text-stroke: 2px var(--accent); }

/* ---------- Alt bilgi ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding-top: clamp(64px, 8vw, 100px); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.1fr 1.2fr; gap: 44px; padding-bottom: 60px; }
.site-footer h4 { color: var(--on-dark); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 700; margin-bottom: 22px; }
[dir="rtl"] .site-footer h4 { letter-spacing: 0; font-size: 15px; }
.logo-footer { color: var(--on-dark); margin-bottom: 22px; }
.footer-brand p { max-width: 340px; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact .ico { width: 18px; height: 18px; color: var(--accent); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); color: var(--on-dark); transition: .3s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: translateY(-3px); }
.socials .ico { width: 18px; height: 18px; }
.footer-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 220px; border: 1px solid rgba(255, 255, 255, .08); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13.5px; }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr; gap: 36px; } }

/* WhatsApp & çerez */
.wa-float { position: fixed; z-index: 40; inset-inline-end: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .ico { width: 28px; height: 28px; }
.cookie-bar { position: fixed; z-index: 60; inset-inline-start: 22px; bottom: 22px; max-width: 420px; padding: 18px 20px; display: flex; gap: 16px; align-items: center; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: calc(var(--radius) + 8px); box-shadow: var(--shadow); font-size: 14px; }
.cookie-bar p { margin: 0; }
.cookie-bar a { color: var(--accent); text-decoration: underline; }
@media (max-width: 600px) { .cookie-bar { inset-inline: 12px; bottom: 12px; max-width: none; } .wa-float { bottom: 16px; inset-inline-end: 16px; width: 52px; height: 52px; } .cookie-bar:not([hidden]) ~ .wa-float { bottom: 110px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6, 7, 8, .95); display: grid; place-items: center; padding: 60px 80px; opacity: 0; transition: opacity .3s; }
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: var(--radius); transition: opacity .25s, transform .35s var(--ease); }
.lightbox img.is-loading { opacity: 0; transform: scale(.97); }
.lightbox figcaption { color: rgba(255, 255, 255, .85); font-size: 15px; text-align: center; max-width: 720px; }
.lb-close, .lb-nav { position: absolute; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); transition: background-color .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--accent); color: var(--accent-ink); }
.lb-close { top: 18px; inset-inline-end: 18px; }
.lb-prev { inset-inline-start: 18px; top: calc(50% - 26px); }
.lb-next { inset-inline-end: 18px; top: calc(50% - 26px); }
.lb-count { position: absolute; top: 30px; inset-inline-start: 26px; color: rgba(255, 255, 255, .6); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (max-width: 700px) { .lightbox { padding: 70px 12px 60px; } .lb-nav { width: 44px; height: 44px; top: calc(50% - 22px); background: rgba(0, 0, 0, .5); } .lb-prev { inset-inline-start: 8px; } .lb-next { inset-inline-end: 8px; } }

/* ---------- Animasyonlar ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
.d-block { display: block; }
.map-card-links { margin-top: 14px !important; font-weight: 600; }
.map-card-links a { color: var(--accent); }

/* Yol tarifi */
.directions { margin-top: 22px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; }
.map-card .directions { margin-top: 14px; padding: 0; border: 0; background: none; }
.directions-title { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14.5px; }
.directions-title .ico { width: 18px; height: 18px; color: var(--accent); }
.directions-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dir-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: var(--radius); border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; background: var(--bg); transition: .2s; }
.dir-btn .ico { width: 15px; height: 15px; }
.dir-btn:hover { border-color: var(--accent); color: var(--accent); }
.dir-google { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.dir-google:hover { color: var(--accent-ink); filter: brightness(1.06); }
.directions-open { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.map-card .directions-links { gap: 6px; }
.map-card .dir-btn { padding: 7px 10px; font-size: 12.5px; }
[dir="rtl"] .dir-btn .ico { transform: scaleX(-1); }
.masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 22px;
  columns: unset;
}

.masonry .gallery-item {
  min-width: 0;
  margin: 0;
  break-inside: auto;
}

.masonry .gallery-item a {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  background: var(--bg-alt);
  box-shadow: 0 8px 24px rgba(10, 25, 40, 0.08);
  isolation: isolate;
}

.masonry .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .55s ease, filter .35s ease;
}

.masonry .gallery-item a:hover img {
  transform: scale(1.045);
  filter: saturate(1.04);
}

.masonry .gallery-item a::after {
  opacity: 1;
  background: linear-gradient(180deg, transparent 55%, rgba(7, 22, 37, .28));
  pointer-events: none;
}

.masonry .gallery-zoom {
  opacity: 1;
  transform: none;
  width: 38px;
  height: 38px;
  inset-inline-end: 12px;
  bottom: 12px;
  background: var(--accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}

.masonry .gallery-item figcaption {
  padding: 13px 3px 0;
  color: var(--text-muted, var(--muted));
  font-size: 14px;
  line-height: 1.55;
  min-height: 35px;
}

.masonry .gallery-item figcaption::before {
  width: 18px;
  height: 2px;
  margin-inline-end: 9px;
  background: var(--accent);
}

@media (max-width: 980px) {
  .masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }
}

@media (max-width: 560px) {
  .masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .masonry .gallery-item a {
    aspect-ratio: 1 / 1;
    border-radius: 9px;
  }

  .masonry .gallery-item figcaption {
    padding-top: 9px;
    font-size: 12.5px;
    line-height: 1.4;
  }

  .masonry .gallery-zoom {
    width: 32px;
    height: 32px;
    inset-inline-end: 8px;
    bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .masonry .gallery-item img,
  .masonry .gallery-item a::after {
    transition: none;
  }
}

