/* =========================================================
   Abdullah Sağlam – ana stil dosyası
   ========================================================= */

/* Renk paleti: seobaz.com (turuncu marka, sıcak kırık beyaz zemin) */
:root {
  --accent: #ff6b00;        /* marka turuncusu */
  --accent-2: #ff9a4d;      /* açık turuncu (gradyan) */
  --accent-deep: #d94e00;   /* koyu turuncu (gradyan sonu) */
  --accent-ink: #ffffff;    /* turuncu zemin üstündeki metin */
  --bg: #fdfcfa;
  --bg-alt: #f6f1ea;
  --surface: #ffffff;
  --ink: #16110c;
  --muted: #574f47;
  --line: #ebe6de;
  --shadow: 0 2px 6px rgb(22 17 12 / .04), 0 18px 40px -20px rgb(22 17 12 / .22);
  --shadow-lg: 0 8px 24px -8px rgb(22 17 12 / .12), 0 40px 80px -32px rgb(22 17 12 / .28);
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: "Outfit", "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 80px;
  --glass: rgb(255 255 255 / .72);
  --glass-2: rgb(22 17 12 / .05);
  --glass-line: rgb(22 17 12 / .09);
  --dark: #070707;
  --on-dark: #f6f1ea;
  --on-dark-2: rgb(246 241 234 / .62);
  color-scheme: light;
}

:root[data-theme="dark"] {
  --bg: #070707;
  --bg-alt: #0e0e0e;
  --surface: #171717;
  --ink: #f6f1ea;
  --muted: #a39d95;
  --line: #262320;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
  --shadow-lg: 0 24px 60px -20px rgb(0 0 0 / .7);
  --glass: rgb(14 14 14 / .62);
  --glass-2: rgb(255 255 255 / .07);
  --glass-line: rgb(255 255 255 / .11);
  color-scheme: dark;
}

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h3, h4 { font-weight: 600; }
/* İnce başlık + kalın vurgu (em_title) */
h1 strong, h2 strong { font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--accent-ink); }

@view-transition { navigation: auto; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { --container: 820px; }
.accent { color: var(--accent); }

.skip { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

.icon { flex: none; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .75em 1.25em; border-radius: 999px; border: 1px solid transparent;
  font: 600 .88rem/1.2 var(--font); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: transform .2s, background-color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: 1em 1.7em; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -10px var(--accent); }
.btn--primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn--ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--dark); }
.btn--outline-light { border-color: rgb(255 255 255 / .5); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgb(255 255 255 / .1); }
.btn .icon { transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
}
.icon-btn:hover { border-color: var(--ink); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.12rem; letter-spacing: -.03em; }
.logo-mark { display: block; flex: none; }
.logo em { font-style: normal; font-weight: 600; color: var(--accent); margin-left: 3px; }
.logo--light { color: #fff; }

.theme-icon { display: grid; }
.theme-icon--sun, [data-theme="dark"] .theme-icon--moon { display: none; }
[data-theme="dark"] .theme-icon--sun { display: grid; }

/* ---------- Header: yüzen kapsül ---------- */
.site-header { position: sticky; top: 0; z-index: 80; padding: 14px 16px 0; pointer-events: none; transition: padding .3s; }
.site-header.is-scrolled { padding-top: 8px; }
.nav-inner {
  pointer-events: auto; max-width: var(--container); height: 66px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px; padding: 10px 12px 10px 20px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 40px -18px rgb(0 0 0 / .35);
}
.nav-links { margin-left: clamp(24px, 4vw, 56px); }
.nav-links > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links > ul > li > a, .nav-links > ul > li > button {
  display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px; border-radius: 999px;
  color: var(--muted); font: 500 1rem var(--font); background: none; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav-links > ul > li > a:hover, .nav-links > ul > li > button:hover, .nav-links a[aria-current], .nav-links .is-current, .has-dd.open > button { color: var(--ink); background: var(--glass-2); }
.has-dd { position: relative; }
.has-dd > button .icon { transition: transform .2s; opacity: .7; }
.has-dd:hover > button .icon, .has-dd.open > button .icon { transform: rotate(180deg); }
.dd {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 600px; padding: 10px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: .2s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-dd:hover > .dd, .has-dd:focus-within > .dd, .has-dd.open > .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd-grid { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.dd-grid a { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; line-height: 1.35; }
.dd-grid a:hover { background: var(--bg-alt); }
.dd-grid small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; margin-top: 2px; }
.dd-icon { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent); }
.dd-all { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--bg-alt); color: var(--ink); font-weight: 700; font-size: .88rem; text-decoration: none; }
.dd-all .icon:last-child { margin-left: auto; color: var(--accent); transition: transform .2s; }
.dd-all:hover .icon:last-child { transform: translateX(3px); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.nav-pill { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--glass-line); }
.nav-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: none; border: 0; cursor: pointer; }
.nav-icon:hover { color: var(--ink); background: var(--glass); }
.btn--sm { height: 42px; padding: 0 18px; font-size: .88rem; }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; background: var(--glass-2); border: 1px solid var(--glass-line); color: var(--ink); cursor: pointer; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
}
@media (max-width: 640px) {
  .site-header { padding: 10px 10px 0; }
  .nav-inner { height: 60px; padding: 8px 8px 8px 16px; }
  .nav-cta { display: none; }
  .nav-pill .nav-icon:not([data-theme-toggle]) { display: none; }
  .logo span { font-size: 1rem; }
}

/* ---------- Mobil çekmece (tam ekran) ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 90; background: rgb(0 0 0 / .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.drawer {
  position: fixed; inset: 0; z-index: 100; height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  padding: 14px 20px calc(32px + env(safe-area-inset-bottom));
  background: radial-gradient(700px 420px at 100% 0, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%), var(--bg);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity .35s, transform .35s, visibility 0s .35s;
}
.drawer-open .drawer { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .35s; }
.drawer > * { max-width: 680px; margin-inline: auto; }
.drawer-open { overflow: hidden; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; height: 62px; padding: 0 4px 0 6px; margin-bottom: 18px; }
.drawer-close { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-2); border: 1px solid var(--line); color: var(--ink); cursor: pointer; }
.drawer-nav { list-style: none; margin-bottom: 22px; }
.drawer-nav > li { border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .4s; }
.drawer-open .drawer-nav > li { opacity: 1; transform: none; }
.drawer-open .drawer-nav > li:nth-child(2) { transition-delay: .03s; }
.drawer-open .drawer-nav > li:nth-child(3) { transition-delay: .06s; }
.drawer-open .drawer-nav > li:nth-child(4) { transition-delay: .09s; }
.drawer-open .drawer-nav > li:nth-child(5) { transition-delay: .12s; }
.drawer-open .drawer-nav > li:nth-child(n+6) { transition-delay: .15s; }
.drawer-nav > li > a, .drawer-group > button {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 4px;
  color: var(--ink); font: 700 clamp(19px, 5vw, 24px) var(--font); letter-spacing: -.01em; text-decoration: none;
  background: none; border: 0; cursor: pointer; text-align: left;
}
.drawer-nav > li > a .icon, .drawer-group > button .icon { color: var(--accent); transition: transform .2s; }
.drawer-nav > li > a:hover .icon { transform: translateX(3px); }
.drawer-group.open > button .icon { transform: rotate(180deg); }
.drawer-group > ul { display: none; list-style: none; padding-bottom: 12px; }
.drawer-group.open > ul { display: grid; gap: 2px; }
.drawer-group > ul a { display: flex; align-items: center; gap: 12px; padding: 9px 6px; border-radius: var(--radius-sm); color: var(--muted); font-weight: 600; font-size: .95rem; text-decoration: none; }
.drawer-group > ul a:hover { color: var(--ink); background: var(--bg-alt); }
.drawer-group .dd-icon { width: 32px; height: 32px; border-radius: 10px; }
.drawer-nav .drawer-highlight { color: var(--accent); }
.drawer-contact { display: grid; gap: 10px; }
@media (min-width: 600px) { .drawer-contact { grid-template-columns: repeat(3, 1fr); } }
.drawer-contact a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.drawer-contact a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.drawer-contact small { display: block; color: var(--muted); font-size: .75rem; font-weight: 600; }
.dc-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--bg-alt); color: var(--accent); }
.dc-icon--wa { background: #25d366; color: #fff; }

/* ---------- Yukarı çık (ilerleme halkalı) ---------- */
.to-top {
  position: fixed; right: max(22px, env(safe-area-inset-right)); bottom: 90px; z-index: 70;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  color: #fff; background: var(--dark); border: 0;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .3s, transform .3s, visibility 0s .3s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, background-color .2s; }
.to-top:hover { background: var(--accent); transform: translateY(-3px); }
.to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring { fill: none; stroke: rgb(255 255 255 / .14); stroke-width: 2.5; }
.to-top .ring-progress { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 138.2; stroke-dashoffset: 138.2; transition: stroke-dashoffset .1s linear; }
.to-top:hover .ring-progress { stroke: #fff; }
.to-top .arrow { position: relative; width: 18px; height: 18px; transform: none; }
.drawer-open .to-top, .drawer-open .wa-float { opacity: 0; visibility: hidden; }
@media (max-width: 720px) { .to-top { right: 16px; bottom: 82px; width: 44px; height: 44px; } }

/* ---------- Bölümler ---------- */
.section { padding-block: clamp(56px, 8vw, 112px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3rem); font-weight: 300; line-height: 1.1; letter-spacing: -.02em; }
.section__lead { color: var(--muted); font-size: 1.12rem; line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgb(34 197 94 / 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent);
  filter: blur(20px);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.4rem, 1.4rem + 3vw, 3.5rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.12; }
.hero__title .accent { font-weight: 700; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .25vw, 1.18rem); line-height: 1.65; color: var(--muted); max-width: 58ch; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 28px 40px; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 48px); margin: 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dt { color: var(--muted); font-size: .9rem; }
.stats dd { margin: 0; font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; }

.hero__visual { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__photo {
  aspect-ratio: 4 / 5; border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%; overflow: hidden;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow-lg);
  animation: morph 12s ease-in-out infinite;
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@keyframes morph { 50% { border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%; } }
.hero__chips { list-style: none; }
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .9rem;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.chip .icon { color: var(--accent); }
.chip--1 { top: 8%; left: -10%; }
.chip--2 { top: 48%; right: -12%; animation-delay: -2s; }
.chip--3 { bottom: 4%; left: 2%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: min(78%, 340px); }
  .chip--1 { left: -14%; }
  .chip--2 { right: -14%; }
}
@media (max-width: 480px) {
  .chip { font-size: .78rem; padding: 7px 12px; }
  .chip--1 { left: -6%; }
  .chip--2 { right: -6%; }
}

/* ---------- Kartlar / bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  padding: clamp(22px, 3vw, 32px); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); text-decoration: none;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card p { color: var(--muted); margin: 0; }
.card--service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card--wide { background:
  radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 60%), var(--surface); }
.card__icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; flex: none; margin-bottom: 8px;
  border-radius: 14px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.card__title { font-size: 1.05rem; font-weight: 600; margin: 0; }
.card p { font-size: .9rem; line-height: 1.55; }
.card__more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .92rem; color: var(--accent); }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .card--wide { grid-column: auto; } }

/* ---------- Projeler ---------- */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.project {
  --ease: cubic-bezier(.22, .61, .36, 1);
  border-radius: 16px; background: var(--surface); border: 1px solid var(--line); overflow: hidden;
  box-shadow: 0 12px 30px -20px rgb(17 16 19 / .18);
  transition: transform .28s var(--ease), border-color .25s ease, box-shadow .28s ease;
}
.project[hidden] { display: none; }
.project:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); box-shadow: 0 30px 55px -26px rgb(17 16 19 / .34); }
.project__link { display: flex; flex-direction: column; text-decoration: none; height: 100%; }
.project__thumb { position: relative; display: block; }
.project__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.project__bar i { width: 8px; height: 8px; border-radius: 50%; }
.project__bar i:nth-child(1) { background: #ff5f57; } .project__bar i:nth-child(2) { background: #febc2e; } .project__bar i:nth-child(3) { background: #28c840; }
.project__media { margin: 0; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.project__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .5s var(--ease); }
.project:hover .project__media img { transform: scale(1.04); }
.project__badge { position: absolute; left: 12px; bottom: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: rgb(17 16 19 / .82); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .02em; backdrop-filter: blur(4px); }
.project__go { position: absolute; top: 43px; right: 12px; z-index: 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--accent) 70%, transparent); opacity: 0; transform: translateY(6px) scale(.85); transition: opacity .25s, transform .25s; }
.project:hover .project__go, .project__link:focus-visible .project__go { opacity: 1; transform: none; }
.project__body { display: flex; flex-direction: column; gap: 3px; padding: 17px 19px 20px; }
.project__title { font-size: 1.06rem; font-weight: 600; line-height: 1.3; margin: 0; transition: color .2s; }
.project:hover .project__title { color: var(--accent); }
.project__tags { font-size: .84rem; color: var(--muted); margin: 0; }
@media (hover: none) { .project__go { opacity: 1; transform: none; } }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); font: 600 .9rem var(--font); cursor: pointer; transition: all .2s;
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filters__empty { color: var(--muted); }

/* ---------- Süreç ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step__no { display: block; font-size: 2.6rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; margin-bottom: 16px;
  background: linear-gradient(180deg, var(--accent), transparent 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step h3 { font-size: 1.1rem; }
.step p, .journey p { font-size: .92rem; line-height: 1.6; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Yolculuk (zaman çizgisi) ---------- */
.journey { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 20px; position: relative; padding-top: 28px; }
.journey::before { content: ""; position: absolute; top: 7px; left: 8px; right: 8px; height: 2px; background: linear-gradient(90deg, var(--accent), var(--line)); }
.journey__item { position: relative; }
.journey__item::before { content: ""; position: absolute; top: -28px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--accent); }
.journey__item:last-child::before { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 18%, transparent); }
.journey__when { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .04em; color: var(--accent); margin-bottom: 6px; }
.journey h3 { font-size: 1.1rem; margin-bottom: 6px; }
.journey p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 960px) {
  .journey { grid-auto-flow: row; gap: 24px; padding: 0 0 0 32px; }
  .journey::before { top: 8px; bottom: 8px; left: 7px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--accent), var(--line)); }
  .journey__item::before { top: 2px; left: -32px; }
}

/* ---------- SSS ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { font-size: 1.1rem; margin: 0; font-weight: 600; }
.faq__item summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .25s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; margin: 0; color: var(--muted); }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .3s, content-visibility .3s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }
:root { interpolate-size: allow-keywords; }

/* ---------- CTA ---------- */
.cta {
  display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  padding: clamp(32px, 5vw, 64px); border-radius: calc(var(--radius) + 8px); color: #fff;
  background: radial-gradient(120% 140% at 0% 0%, var(--accent-2), var(--accent) 45%, var(--accent-deep));
  box-shadow: var(--shadow-lg);
}
.cta__title { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.8rem); font-weight: 300; letter-spacing: -.02em; }
.cta p { max-width: 52ch; opacity: .92; margin: 0; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Alt sayfa başlığı ---------- */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(16px, 3vw, 32px); }
.page-hero__title { font-size: clamp(2.1rem, 1.3rem + 2.4vw, 2.7rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.2; }
.page-hero__lead { color: var(--muted); font-size: clamp(1.12rem, 1rem + .6vw, 1.5rem); font-weight: 500; line-height: 1.5; letter-spacing: -.01em; max-width: 62ch; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ---------- Metin ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-weight: 600; line-height: 1.2; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.answer { font-size: 1.15em; font-weight: 500; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.checklist { list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { color: var(--accent); margin-top: 4px; }
.checklist--inline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .92rem; color: var(--muted); }

/* ---------- Hakkımda ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.about__photo { position: sticky; top: calc(var(--header-h) + 24px); border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.about__photo img { display: block; width: 100%; height: auto; }
.skills { display: grid; gap: 20px; margin-top: 28px; }
.skills h3 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
@media (max-width: 800px) { .about { grid-template-columns: 1fr; } .about__photo { position: static; max-width: 320px; } }

.resume { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
.resume__title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 600; margin-bottom: 24px; }
.resume__title .icon { color: var(--accent); }
.timeline { list-style: none; border-left: 2px solid var(--line); padding-left: 24px; display: grid; gap: 28px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -31px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline time { font-size: .85rem; font-weight: 700; color: var(--accent); }
.timeline h4 { font-size: 1.05rem; margin: 4px 0; }
.timeline p { color: var(--muted); margin: 0; }
.timeline .timeline__org { color: var(--ink); font-weight: 600; font-size: .92rem; margin-bottom: 4px; }
@media (max-width: 800px) { .resume { grid-template-columns: 1fr; } }

.certs { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.cert { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); }
.cert__icon { color: var(--accent); }
.cert h3 { font-size: 1rem; margin-bottom: 2px; }
.cert p { font-size: .9rem; color: var(--muted); margin: 0; }
/* ---------- Hizmet listesi ---------- */
.service-list { display: grid; gap: 16px; }
.service-row { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.service-row h2 { font-size: 1.3rem; font-weight: 600; }
.service-row h2 a { text-decoration: none; }
.service-row h2 a:hover { color: var(--accent); }
.service-row p { color: var(--muted); }
@media (max-width: 700px) { .service-row { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Detay + kenar çubuğu ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 16px; }
.sidebar__box { padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 12px; }
.sidebar__box p { color: var(--muted); margin: 0; }
.sidebar__title { font-size: 1.1rem; margin: 0; }
.sidebar__list { list-style: none; }
.sidebar__list a { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.sidebar__list li:last-child a { border-bottom: 0; }
.sidebar__list a:hover { color: var(--accent); }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .sidebar { position: static; } }

/* ---------- Proje detayı (referans: dijital ajans portföy şablonu) ---------- */
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .section__lead { margin-inline: auto; }

.ref-hero { position: relative; padding-block: clamp(28px, 4vw, 48px) 0; overflow: hidden;
  background: radial-gradient(900px 420px at 15% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%); }
.ref-eyebrow { display: flex; align-items: center; gap: 12px; margin: 8px 0 14px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.ref-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.ref-title { font-size: clamp(2.4rem, 1.4rem + 3vw, 3.5rem); font-weight: 300; letter-spacing: -.02em; line-height: 1.12; margin-bottom: 22px; }
.ref-title .accent, .ref-about .accent, .ref-preview .accent, .ref-cta .accent, #benzer-baslik .accent { font-weight: 700; }
.ref-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.ref-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .2s, color .2s; }
.ref-btn:hover { background: var(--ink); color: var(--bg); }
.ref-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; text-decoration: none; }
.ref-link:hover { color: var(--accent); }

/* Dizüstü + telefon maketi */
.ref-devices { position: relative; max-width: 1040px; margin: clamp(36px, 5vw, 64px) auto 0; padding: 0 clamp(40px, 9vw, 120px) clamp(28px, 4vw, 48px); }
.laptop { position: relative; }
.laptop__screen { position: relative; padding: 14px 14px 18px; border-radius: 18px 18px 0 0; background: #111; border: 1px solid #2b2b2b; box-shadow: var(--shadow-lg); }
.laptop__screen::before { content: ""; position: absolute; top: 5px; left: 50%; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #333; }
.laptop__screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 4px; background: var(--bg-alt); }
.laptop__base { position: relative; height: 18px; margin: 0 -7%; border-radius: 0 0 18px 18px; background: linear-gradient(#d9d9dc, #a8a8ad); box-shadow: 0 18px 30px -14px rgb(0 0 0 / .45); }
.laptop__base::before { content: ""; position: absolute; top: 0; left: 50%; width: 16%; height: 7px; transform: translateX(-50%); border-radius: 0 0 10px 10px; background: #8c8c91; }
.ref-devices > .phone { position: absolute; right: 0; bottom: 0; width: clamp(96px, 20vw, 220px); }
.phone { padding: 9px; border-radius: 36px; background: #0e0e0e; border: 1px solid rgb(255 255 255 / .08); box-shadow: var(--shadow-lg); }
.phone-screen { aspect-ratio: 585 / 1266; overflow: hidden; border-radius: 28px; background: var(--bg-alt); }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.ref-live { position: absolute; z-index: 2; left: clamp(0px, 3vw, 40px); top: 18%; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); font-size: .8rem; font-weight: 700; }
.ref-live__dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgb(34 197 94 / .2); }

/* Bilgi şeridi */
.ref-facts-wrap { border-block: 1px solid var(--line); background: var(--surface); }
.ref-facts { display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); margin-block: 0; }
.ref-facts div { padding: 26px 22px; border-left: 1px solid var(--line); min-width: 0; }
.ref-facts div:first-child { border-left: 0; padding-left: 0; }
.ref-facts dt { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ref-facts dd { margin: 8px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.ref-facts a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.ref-facts a:hover { color: var(--accent); }

/* Neler yaptım + proje kapsamı */
.ref-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ref-kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.ref-kicker--center { justify-content: center; }
.ref-kicker--center::before { display: none; }
.ref-about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.ref-about__text p { color: var(--muted); max-width: 62ch; }
.ref-about__text strong { color: var(--ink); }
.ref-about__text a { color: var(--accent); text-decoration: underline; }
.ref-highlight { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
.ref-highlight .icon { color: var(--accent); }
.ref-highlight p { margin: 0; color: var(--ink); font-weight: 700; }
.ref-quote { margin: 24px 0 0; padding-left: 20px; border-left: 3px solid var(--accent); }
.ref-quote blockquote { margin: 0 0 6px; font-size: 1.08rem; font-weight: 600; }
.ref-quote figcaption { color: var(--muted); font-size: .9rem; }
.ref-scope { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; border-radius: calc(var(--radius) + 4px); background: var(--bg-alt); border: 1px solid var(--line); }
.ref-scope h3 { margin-bottom: 14px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ref-scope h3 + .ref-chips { margin-bottom: 0; }
.ref-checks { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.ref-checks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ref-checks .icon { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; color: var(--accent); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.ref-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.ref-chips li { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .82rem; font-weight: 700; }

/* Canlı önizleme */
.ref-preview { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 6%, var(--bg)), var(--bg) 40%); }
.ref-preview__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.ref-preview__head .section__lead { margin: 0; max-width: 46ch; }
.ref-toggle { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.ref-toggle button { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--muted); font: 700 .88rem var(--font); cursor: pointer; }
.ref-toggle button.is-active { background: var(--ink); color: var(--bg); }
.ref-window { border-radius: calc(var(--radius) + 2px); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ref-window__bar { display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 16px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.ref-window__dots { display: flex; gap: 7px; }
.ref-window__dots i { width: 11px; height: 11px; border-radius: 50%; }
.ref-window__dots i:nth-child(1) { background: #ff5f57; } .ref-window__dots i:nth-child(2) { background: #febc2e; } .ref-window__dots i:nth-child(3) { background: #28c840; }
.ref-window__url { flex: 1; max-width: 460px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 6px; height: 30px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .8rem; color: var(--muted); overflow: hidden; white-space: nowrap; }
.ref-window__open { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--muted); }
.ref-window__open:hover { color: var(--ink); background: var(--surface); }
.ref-window__view { position: relative; height: clamp(420px, 62vh, 680px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg-alt); scrollbar-width: thin; }
.ref-window__view:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.ref-page { display: block; width: 100%; height: auto; }
.ref-mobile { display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); align-items: center; }
.ref-stage.is-mobile .ref-window { display: none; }
.ref-stage.is-mobile .ref-mobile { display: grid; }
.ref-phone { position: relative; justify-self: center; width: min(100%, 340px); padding: 12px; border-radius: 48px; background: #0e0e0e; border: 1px solid rgb(255 255 255 / .1); box-shadow: 0 0 0 2px #2a2a2a, var(--shadow-lg); }
.ref-phone__island { position: absolute; z-index: 2; top: 22px; left: 50%; width: 100px; height: 26px; border-radius: 999px; background: #0e0e0e; transform: translateX(-50%); }
.ref-phone__view { position: relative; height: clamp(520px, 72vh, 660px); overflow-y: auto; overscroll-behavior: contain; border-radius: 36px; background: var(--bg-alt); scrollbar-width: none; }
.ref-phone__view::-webkit-scrollbar { display: none; }
.ref-phone__view:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ref-mobile__info { list-style: none; display: grid; gap: 28px; max-width: 360px; }
.ref-mobile__info li { display: flex; gap: 16px; align-items: flex-start; }
.ref-mobile__icon { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--accent); }
.ref-mobile__info h3 { margin: 0 0 4px; font-size: 1.05rem; }
.ref-mobile__info p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.6; }
@media (max-width: 760px) {
  .ref-mobile { grid-template-columns: 1fr; }
  .ref-mobile__info { justify-self: center; }
}
.ref-scroll-hint { position: sticky; bottom: 18px; left: 0; display: flex; width: max-content; margin: -54px auto 18px; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgb(14 14 14 / .82); color: #fff; font-size: .8rem; font-weight: 700; pointer-events: none; transition: opacity .3s; }
.is-scrolled > .ref-scroll-hint { opacity: 0; }

.ref-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.ref-feature { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.ref-feature__icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 10px; color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent); }
.ref-feature h3 { font-size: 1.05rem; margin-bottom: 4px; }
.ref-feature p { margin: 0; color: var(--muted); font-size: .88rem; }

/* Önceki / sonraki referans */
.ref-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.ref-pager__item { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 800; }
.ref-pager__item small { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
.ref-pager__item--next { justify-content: flex-end; text-align: right; }
.ref-pager__arrow { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); font-size: 1.1rem; transition: background-color .2s, color .2s, border-color .2s; }
.ref-pager__item--next .ref-pager__arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
.ref-pager__item:hover .ref-pager__arrow { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.ref-pager__site { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; text-decoration: none; }
.ref-pager__site:hover { color: var(--accent); }

/* Koyu çağrı bandı */
.ref-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(40px, 6vw, 64px); padding: clamp(28px, 4vw, 48px); border-radius: calc(var(--radius) + 6px); color: var(--on-dark);
  background: radial-gradient(600px 220px at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%), var(--dark); border: 1px solid rgb(255 255 255 / .1); }
.ref-cta h2 { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); font-weight: 300; margin-bottom: 6px; color: #fff; }
.ref-cta p { margin: 0; color: var(--on-dark-2); }

/* Benzer projeler */
.ref-similar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ref-card { display: flex; flex-direction: column; padding: 10px 10px 18px; border-radius: calc(var(--radius) + 2px); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: transform .3s, box-shadow .3s; }
.ref-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ref-card__shot { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); }
.ref-card__dots { display: flex; gap: 5px; padding: 8px 10px; background: var(--surface); border-bottom: 1px solid var(--line); }
.ref-card__dots i { width: 7px; height: 7px; border-radius: 50%; }
.ref-card__dots i:nth-child(1) { background: #ff5f57; } .ref-card__dots i:nth-child(2) { background: #febc2e; } .ref-card__dots i:nth-child(3) { background: #28c840; }
.ref-card__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.ref-card__badge { position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 999px; background: rgb(14 14 14 / .82); color: #fff; font-size: .72rem; font-weight: 700; }
.ref-card__title { margin: 14px 6px 2px; font-weight: 600; line-height: 1.3; }
.ref-card__type { margin: 0 6px; font-size: .85rem; color: var(--muted); }

@media (max-width: 960px) {
  .ref-about { grid-template-columns: 1fr; }
  .ref-scope { position: static; }
  .ref-facts { grid-template-columns: repeat(3, 1fr); }
  .ref-facts div:nth-child(3n + 1) { border-left: 0; padding-left: 0; }
  .ref-facts div:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .ref-features, .ref-similar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ref-devices { padding-inline: 0 56px; }
  .ref-devices > .phone { padding: 4px; border-radius: 16px; }
  .ref-devices > .phone .phone-screen { border-radius: 12px; }
  .ref-live { top: auto; bottom: -6px; left: 0; }
  .laptop__screen { padding: 8px 8px 10px; border-radius: 12px 12px 0 0; }
  .ref-facts { grid-template-columns: 1fr 1fr; }
  .ref-facts div { padding: 18px 16px; }
  .ref-facts div:nth-child(n) { border-left: 1px solid var(--line); padding-left: 16px; border-top: 0; }
  .ref-facts div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .ref-facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .ref-window__url { display: none; }
  .ref-window__bar { justify-content: space-between; }
  .ref-features, .ref-similar { grid-template-columns: 1fr; }
  .ref-pager { grid-template-columns: 1fr 1fr; }
  .ref-pager__site { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
  .ref-pager__arrow { width: 44px; height: 44px; }
}

/* ---------- İletişim ---------- */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 600; transition: border-color .2s, transform .2s; word-break: break-word; }
a.contact-card:hover { border-color: var(--accent); transform: translateX(4px); }
.contact-card .card__icon { margin: 0; }
.contact-card small { display: block; font-weight: 500; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form-wrap { padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.field [aria-invalid="true"] { border-color: #dc2626; }
.field__err { color: #dc2626; font-size: .88rem; margin: 0; }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 10px; }
.field--check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent); }
.field--check label { font-weight: 400; color: var(--muted); }
.field--check .field__err { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: 10px; align-items: center; padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-weight: 500; }
.alert--ok { background: rgb(34 197 94 / .12); color: #15803d; }
.alert--err { background: rgb(220 38 38 / .1); color: #dc2626; }
[data-theme="dark"] .alert--ok { color: #4ade80; }
[data-theme="dark"] .alert--err, [data-theme="dark"] .field__err { color: #f87171; }

/* ---------- 404 ---------- */
.notfound { text-align: center; }
.notfound .hero__actions { justify-content: center; }
.notfound__code { font-size: clamp(5rem, 3rem + 10vw, 10rem); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -.06em; }
.notfound .section__lead { margin-inline: auto; }

/* ---------- Footer (her iki temada koyu) ---------- */
.footer { --f-line: rgb(255 255 255 / .11); --f-muted: var(--on-dark-2); padding-top: 72px; background: var(--dark); color: var(--f-muted); font-size: .9rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 36px; padding-bottom: 44px; }
.footer-brand p { max-width: 330px; margin: 18px 0 22px; }
.footer-label { display: block; margin-bottom: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.footer-brand address { margin-bottom: 14px; }
.footer-contact { list-style: none; display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; overflow-wrap: anywhere; }
.footer-col h2 { margin-bottom: 16px; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { color: var(--f-muted); background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: left 100%; padding-bottom: 1px; transition: color .5s, background-size .5s; }
.footer-col a:hover { color: #fff; background-size: 100% 2px; }
.footer-chips { padding: 32px 0; border-top: 1px solid var(--f-line); }
.footer-chips h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-size: .98rem; color: #fff; letter-spacing: 0; }
.footer-chips h2 .icon { color: var(--accent); }
.footer-chips p { margin: 0 0 14px; font-size: .86rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; font-size: .86rem; font-weight: 600; background: rgb(255 255 255 / .05); border: 1px solid var(--f-line); transition: .25s; }
.footer .chip-link:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0 28px; border-top: 1px solid var(--f-line); font-size: .84rem; }
.footer-bottom-right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.social { display: flex; gap: 8px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .05); border: 1px solid var(--f-line); font-size: .74rem; font-weight: 800; }
.footer .social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.llms-pill { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 8px 0 14px; border-radius: 999px; background: rgb(255 255 255 / .05); border: 1px solid var(--f-line); font-weight: 700; font-size: .82rem; }
.llms-pill span { padding: 3px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); font-size: .7rem; font-weight: 800; }
@media (max-width: 1000px) { .footer-top { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-top { grid-template-columns: 1fr 1fr; } }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgb(37 211 102 / .7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Kaydırmaya bağlı görünme animasyonu ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(28px); } }
  }
}

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

@media print {
  .site-header, .footer, .wa-float, .to-top, .cta, .sidebar { display: none; }
}
