/* =========================================================
   İVA Reklam Ajansı — ana stil dosyası
   ========================================================= */

:root {
  --lime: #c9f31d;
  --lime-dark: #b5dc12;
  --blush: #f9eff1;
  --ink: #121212;
  --dark: #171717;
  --text: #2b2b2b;
  --muted: #6b6b6b;
  --line: #e6e6e6;
  --white: #ffffff;

  --font-head: "Plus Jakarta Sans", sans-serif;
  --font-body: "DM Sans", sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 96px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); color: var(--ink); line-height: 1.12; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Başlık stili: ilk kısım kalın, devamı ince (sitedeki imza tipografi) */
.split-title, .section-title {
  font-weight: 300;
  letter-spacing: -0.02em;
}
.split-title strong, .section-title strong { font-weight: 800; display: block; }
.section-title { font-size: clamp(34px, 4.4vw, 56px); }
.section-title--inline strong { display: inline; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .02em;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn--dark { background: var(--dark); color: var(--white); }
.btn--dark:hover { background: var(--lime); color: var(--ink); }
.btn--lime { background: var(--lime); color: var(--ink); }

/* Sitedeki "yazı + yuvarlak ok" ikili buton */
.pill-btn {
  display: inline-flex; align-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink);
}
.pill-btn__label {
  display: inline-flex; align-items: center;
  height: 48px;
  background: var(--lime);
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 100px;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.pill-btn__icon {
  width: 48px; height: 48px; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--lime);
  border: 1px solid transparent;
  border-radius: 50%;
  margin-left: 2px;
  overflow: hidden;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pill-btn__icon svg {
  width: 18px; height: 18px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.pill-btn:hover .pill-btn__label,
.pill-btn:hover .pill-btn__icon { background: var(--ink); color: var(--white); }
/* Ok: yönünü değiştirmeden sağ üstten çıkıp sol alttan geri girer */
.pill-btn:hover .pill-btn__icon svg { animation: arrow-swap .5s var(--ease); }
@keyframes arrow-swap {
  0%   { transform: translate(0, 0); }
  45%  { transform: translate(140%, -140%); }
  46%  { transform: translate(-140%, 140%); }
  100% { transform: translate(0, 0); }
}

.pill-btn--outline .pill-btn__label,
.pill-btn--outline .pill-btn__icon { background: transparent; border: 1px solid var(--line); }
.pill-btn--outline:hover .pill-btn__label,
.pill-btn--outline:hover .pill-btn__icon { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: sticky; top: 0; z-index: 100;
  isolation: isolate;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
/* Bulanık arka plan ayrı katmanda: header'da backdrop-filter olursa
   mobildeki sabit menü paneli header kutusuna hapsolur */
.header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 30px rgba(0, 0, 0, .05); }
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 40px;
  transition: height .3s var(--ease);
}
.header.is-scrolled .header__inner { height: 76px; }
.logo img { height: 72px; width: auto; transition: height .3s var(--ease); }
.header.is-scrolled .logo img { height: 56px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 36px; }
.nav__list > li > a,
.nav__sub-toggle {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  padding: 8px 0;
}
.nav__list > li > a::after {
  content: ""; position: absolute; left: 0; bottom: 2px;
  width: 100%; height: 2px; background: var(--lime);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__list > li > a:hover::after,
.nav__list > li > a.is-active::after { transform: scaleX(1); transform-origin: left; }

.has-sub { position: relative; }
.nav__sub {
  position: absolute; top: calc(100% + 14px); left: -24px;
  min-width: 270px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .1);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.has-sub:hover .nav__sub,
.has-sub.is-open .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 15px; font-weight: 500;
  transition: background .2s;
}
.nav__sub a:hover { background: var(--lime); }
.nav__sub-toggle svg { transition: transform .3s; }
.has-sub.is-open .nav__sub-toggle svg { transform: rotate(180deg); }
.nav__cta-mobile { display: none; }

.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--ink); border-radius: 6px; position: relative; margin-left: auto; }
.burger span {
  position: absolute; left: 11px; width: 19px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: clamp(50px, 8vw, 110px) 0 clamp(50px, 6vw, 80px); }
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 600;
  font-size: 15px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--ink);
  margin-bottom: 18px;
}
.eyebrow__line { position: relative; width: 44px; height: 1px; background: var(--ink); }
.eyebrow__line::after { content: ""; position: absolute; right: 0; top: 5px; width: 26px; height: 1px; background: var(--ink); }
.hero__title {
  font-size: clamp(44px, 8.6vw, 124px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: .98;
}
.hero__title strong { display: block; font-weight: 800; }
.hero__bottom {
  margin-top: clamp(28px, 4vw, 48px);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
}
.hero__text { max-width: 640px; font-weight: 500; color: var(--ink); }

/* ---------- Banner ---------- */
.banner { height: clamp(320px, 52vw, 720px); overflow: hidden; }
.banner__img {
  display: block;
  width: 100%;
  height: 120%;
  object-fit: cover;
  background: #ddd;
  will-change: transform;
}

/* =========================================================
   FEATURES (lime blok)
   ========================================================= */
.features { background: var(--lime); padding: clamp(60px, 8vw, 120px) 0; }
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(36px, 5vw, 70px); }
.feature__icon { width: 50px; height: 50px; color: var(--ink); margin-bottom: 22px; }
.feature h2 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 16px; }
.feature p { font-weight: 500; color: var(--ink); font-size: 17px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: clamp(70px, 10vw, 140px) 0; }
.services__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.services__intro { position: sticky; top: 130px; }
.services__note {
  margin-top: 26px; max-width: 280px;
  font-family: var(--font-head); font-size: 22px; line-height: 1.35; color: var(--ink);
}
.services__note em { font-weight: 800; }
.service {
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service h3 { font-size: clamp(26px, 2.6vw, 34px); margin-bottom: 10px; }
.service p { font-weight: 500; font-size: 16px; color: var(--text); max-width: 460px; }
.service .pill-btn { flex-shrink: 0; }

/* =========================================================
   PORTFOLIO
   ========================================================= */
.works { padding: 0 0 clamp(70px, 9vw, 130px); }
.works__title {
  text-align: center;
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.works__title span { display: block; font-weight: 600; }
.works__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px) clamp(24px, 3vw, 40px); }
.work:nth-child(1) { grid-column: 1 / -1; }
.work__media { display: block; overflow: hidden; border-radius: 4px; aspect-ratio: 16 / 10; background: #eee; }
.work:nth-child(1) .work__media { aspect-ratio: 16 / 7.5; }
.work__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.work:hover .work__media img { transform: scale(1.06); }
.work__title { margin-top: 18px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; letter-spacing: -0.02em; }
.work__title strong { font-weight: 800; }
.work__cat { margin-top: 4px; font-family: var(--font-head); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--ink); }
.works__more { margin-top: clamp(40px, 5vw, 64px); display: flex; justify-content: center; }

/* =========================================================
   STATS
   ========================================================= */
.stats { background: var(--blush); padding: clamp(70px, 9vw, 130px) 0; }
.stats__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.stats__text p { margin-top: 24px; font-weight: 500; color: var(--ink); max-width: 440px; }

.chart { position: relative; padding-top: 70px; }
.chart__tags { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; }
.tag {
  padding: 6px 18px; border: 1.5px solid var(--ink); border-radius: 100px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; background: var(--white);
}
.chart__board { position: relative; margin-left: 12%; background: var(--lime); aspect-ratio: 600 / 420; }
.chart__svg { position: absolute; inset: 0; width: 100%; height: 88%; overflow: visible; }
.chart__guide { stroke: var(--ink); stroke-width: 1.3; stroke-dasharray: 4 5; fill: none; opacity: .7; }
.chart__curve {
  fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2.2s var(--ease) .2s;
}
.chart__dot { fill: var(--ink); transform-box: fill-box; transform-origin: center; transform: scale(0); transition: transform .5s var(--ease); }
.chart.is-visible .chart__curve { stroke-dashoffset: 0; }
.chart.is-visible .chart__dot { transform: scale(1); }
.chart.is-visible .chart__dot:nth-of-type(1) { transition-delay: .4s; }
.chart.is-visible .chart__dot:nth-of-type(2) { transition-delay: 1s; }
.chart.is-visible .chart__dot:nth-of-type(3) { transition-delay: 1.6s; }
.chart__years {
  position: absolute; left: 0; right: 0; bottom: 4%;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink);
}
.chart__years span { position: absolute; transform: translateX(-50%); }
.chart__years span:nth-child(1) { left: 10%; }
.chart__years span:nth-child(2) { left: 40%; }
.chart__years span:nth-child(3) { left: 78.3%; }
.chart__badge {
  position: absolute; left: 0; top: 32%;
  background: var(--dark); color: var(--white);
  padding: 20px 34px;
  display: flex; flex-direction: column; align-items: center;
}
.chart__num { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 3.6vw, 48px); line-height: 1; }
.chart__label { margin-top: 6px; font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }

/* =========================================================
   CLIENTS
   ========================================================= */
.clients { padding: clamp(70px, 9vw, 130px) 0; }
.clients__grid {
  margin-top: clamp(36px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.client {
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  aspect-ratio: 3 / 2;
  display: grid; place-items: center;
  overflow: hidden;
  background: var(--white);
}
.client img {
  width: 100%; height: 100%; object-fit: contain;
  filter: grayscale(1); opacity: .75;
  transition: filter .4s, opacity .4s, transform .5s var(--ease);
}
.client:hover img { filter: none; opacity: 1; transform: scale(1.05); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--dark) url("../uploads/2024/06/footer-bg-shape.webp") right bottom / auto 100% no-repeat;
  color: #cfcfcf;
  padding: clamp(70px, 9vw, 120px) 0 40px;
}
.footer__cta {
  display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end;
  padding-bottom: clamp(50px, 6vw, 80px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.footer__title {
  color: var(--white);
  font-size: clamp(44px, 7vw, 96px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}
.footer__title strong { font-weight: 800; color: var(--lime); }
.footer__cta-side p { margin-bottom: 28px; font-size: 17px; }

.footer__bottom {
  padding-top: 44px;
  display: grid; grid-template-columns: auto 1fr 1fr auto; gap: 40px; align-items: start;
}
.footer__logo img { height: 66px; width: auto; filter: brightness(0) invert(1); }
.footer__col h4 { color: var(--white); font-size: 16px; margin-bottom: 12px; }
.footer__col a { display: block; font-size: 16px; line-height: 1.9; transition: color .2s; }
.footer__col a:hover { color: var(--lime); }
.footer__social { display: flex; gap: 18px; }
.footer__copy { font-size: 14px; text-align: right; color: #9a9a9a; }

/* ---------- Yukarı çık ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Kaydırma animasyonu ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chart__curve { stroke-dashoffset: 0; }
  .chart__dot { transform: scale(1); }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .header__cta { display: none; }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__bottom { grid-template-columns: 1fr 1fr; }
  .footer__copy { text-align: left; }
}

@media (max-width: 960px) {
  :root { --header-h: 82px; }
  .logo img { height: 58px; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    z-index: 99;
    background: var(--white);
    padding: 30px var(--gutter);
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
  }
  .header.is-scrolled .nav { top: 76px; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__list > li > a, .nav__sub-toggle { width: 100%; justify-content: space-between; padding: 18px 0; font-size: 20px; }
  .nav__list > li > a::after { display: none; }
  .nav__sub {
    position: static; opacity: 1; visibility: hidden; transform: none;
    box-shadow: none; padding: 0; min-width: 0;
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease), padding .4s var(--ease), visibility .4s;
  }
  /* Dokunmatik ekranda :hover takılı kalıp kapalı menüyü açık göstermesin */
  .has-sub:hover .nav__sub { transform: none; visibility: hidden; }
  .has-sub.is-open .nav__sub { max-height: 400px; padding: 0 0 12px; visibility: visible; }
  .nav__cta-mobile { display: inline-flex; margin-top: 30px; }
  body.menu-open { overflow: hidden; }

  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .features__grid { grid-template-columns: 1fr; }
  .services__grid, .stats__grid { grid-template-columns: 1fr; }
  .services__intro { position: static; }
  .footer__cta { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .service { flex-direction: column; align-items: flex-start; gap: 18px; }
  .works__grid { grid-template-columns: 1fr; }
  .work .work__media, .work:nth-child(1) .work__media { aspect-ratio: 16 / 11; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .chart__badge { padding: 14px 20px; }
  .tag { padding: 5px 12px; font-size: 11px; }
  .footer__bottom { grid-template-columns: 1fr; gap: 28px; }
}

/* =========================================================
   ALT SAYFALAR
   ========================================================= */

/* ---------- Sayfa başlığı ---------- */
.page-hero { padding: clamp(40px, 6vw, 90px) 0 clamp(36px, 5vw, 70px); }
.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
  margin-bottom: 22px;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span[aria-current] { color: var(--ink); }
.breadcrumb__sep { width: 18px; height: 1px; background: currentColor; }
.page-hero__title {
  font-size: clamp(42px, 7vw, 100px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}
.page-hero__title strong { font-weight: 800; display: block; }
.page-hero__lead { margin-top: 28px; max-width: 680px; font-weight: 500; color: var(--ink); }

/* ---------- Tam genişlik görsel ---------- */
.page-media { height: clamp(260px, 44vw, 620px); overflow: hidden; background: #eee; }
.page-media img { width: 100%; height: 120%; object-fit: cover; will-change: transform; }

/* ---------- Hizmet giriş bloğu ---------- */
.intro { padding: clamp(60px, 8vw, 120px) 0; }
.intro__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.checklist { margin-top: 30px; display: grid; gap: 14px; }
.checklist li {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; color: var(--ink);
}
.checklist li::before {
  content: ""; flex-shrink: 0;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23121212' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.intro__text p + p { margin-top: 20px; }
.intro__text p { color: var(--text); }
.intro__text p:first-child { font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; color: var(--ink); line-height: 1.5; }

/* ---------- Numaralı özellik kartları ---------- */
.cards { background: var(--blush); padding: clamp(60px, 8vw, 120px) 0; }
.cards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--white); padding: 34px 28px 32px; border-radius: 6px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .45s var(--ease), background .35s var(--ease);
}
.card:hover { transform: translateY(-8px); background: var(--lime); }
.card__num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--muted); }
.card:hover .card__num { color: var(--ink); }
.card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; }
.card p { font-size: 16px; }

/* ---------- Galeri ---------- */
.gallery { padding: clamp(60px, 8vw, 120px) 0 0; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: #eee; border-radius: 4px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--white); color: var(--ink);
  padding: 6px 14px; border-radius: 100px;
  font-family: var(--font-head); font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .03em;
  transform: translateY(8px); opacity: 0; transition: .35s var(--ease);
}
.gallery__item:hover figcaption { transform: none; opacity: 1; }

/* ---------- Görsel + metin bölümü ---------- */
.split { padding: clamp(70px, 9vw, 130px) 0; }
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: 4px; }
.split__media::before {
  content: ""; position: absolute; inset: auto -18px -18px auto;
  width: 45%; height: 45%; background: var(--lime); z-index: -1; border-radius: 4px;
}
.split--reverse .split__media::before { inset: -18px auto auto -18px; }
.split__title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 300; letter-spacing: -0.03em; margin-bottom: 26px; }
.split__title strong { font-weight: 800; }
.split p + p { margin-top: 18px; }
.split .pill-btn { margin-top: 32px; }
.split__badge { display: inline-block; margin-top: 30px; }
.split__badge img { height: 56px; width: auto; border-radius: 4px; }

/* ---------- İşlerimiz filtresi ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 4vw, 50px); }
.filter button {
  padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 100px;
  font-family: var(--font-head); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .03em;
  transition: .25s;
}
.filter button:hover { border-color: var(--ink); }
.filter button.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.work.is-hidden { display: none; }
.work { scroll-margin-top: 120px; }
.portfolio { padding-bottom: clamp(70px, 9vw, 130px); }
.portfolio .works__grid .work:nth-child(1) { grid-column: auto; }
.portfolio .works__grid .work:nth-child(1) .work__media { aspect-ratio: 16 / 10; }

/* ---------- İletişim ---------- */
.contact { padding: 0 0 clamp(70px, 9vw, 130px); }
.contact__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.contact__photo { border-radius: 6px; overflow: hidden; position: sticky; top: 120px; }
.contact__photo img { width: 100%; }
.contact__cards { display: grid; gap: 20px; }
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
  background: var(--blush); border-radius: 6px; overflow: hidden;
}
.contact-card--lime { background: var(--lime); }
.contact-card__body { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.contact-card__eyebrow { font-family: var(--font-head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.contact-card--lime .contact-card__eyebrow { color: var(--ink); opacity: .7; }
.contact-card h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.02em; }
.contact-card a.contact-card__link { font-weight: 600; color: var(--ink); line-height: 1.7; }
.contact-card a.contact-card__link:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-card__img { background: #ddd; min-height: 200px; }
.contact-card__img img { width: 100%; height: 100%; object-fit: cover; }

.form { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 40px); }
.form h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 800; letter-spacing: -0.02em; }
.form > p { margin: 8px 0 24px; color: var(--muted); font-size: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; margin-bottom: 16px; font-family: var(--font-head); font-weight: 700; font-size: 13px; color: var(--ink); }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: 8px;
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 8px;
  font: 500 16px var(--font-body); color: var(--ink); background: var(--white);
  transition: border-color .2s, box-shadow .2s;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(201, 243, 29, .5);
}
.form button { margin-top: 6px; }
.form__note { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12, 12, 12, .92);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 20px;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox__figure img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox__figure figcaption { margin-top: 14px; color: var(--white); font-family: var(--font-head); font-weight: 600; }
.lightbox__close { position: absolute; top: 14px; right: 20px; color: var(--white); font-size: 44px; line-height: 1; }
.lightbox__nav {
  flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-size: 30px; line-height: 1;
}

/* ---------- Alt sayfa responsive ---------- */
@media (max-width: 1100px) {
  .cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .intro__grid, .split__grid, .contact__grid { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact__photo { position: static; max-width: 480px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards__grid, .gallery__grid { grid-template-columns: 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-card__img { min-height: 180px; }
  .form__row { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
  .split__media::before { inset: auto -10px -10px auto; }
  .split--reverse .split__media::before { inset: -10px auto auto -10px; }
}
.nav__sub-toggle.is-current { color: var(--ink); }
.nav__sub-toggle.is-current::after {
  content: ""; position: absolute; left: 0; bottom: 2px; width: calc(100% - 18px); height: 2px; background: var(--lime);
}
.nav__sub a.is-active { background: var(--lime); }
@media (max-width: 960px) { .nav__sub-toggle.is-current::after { display: none; } }

/* =========================================================
   PROJE DETAY
   ========================================================= */
.project-meta { padding-bottom: clamp(36px, 5vw, 60px); }
.project-meta__grid {
  display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.meta { padding: 26px 28px 26px 0; }
.meta + .meta { padding-left: 28px; border-left: 1px solid var(--line); }
.meta__label {
  display: block; margin-bottom: 10px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.meta__value { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); }
.meta__link { display: inline-block; border-bottom: 2px solid var(--lime); transition: background .2s; }
.meta__link:hover { background: var(--lime); }
.meta__note { display: block; margin-top: 8px; font-size: 13px; color: var(--muted); }
.meta__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.meta__tags li {
  padding: 6px 14px; border-radius: 100px; background: var(--blush);
  font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink);
}

.problem { background: var(--lime); padding: 34px 32px; border-radius: 6px; position: sticky; top: 120px; }
.problem .meta__label { color: var(--ink); opacity: .65; }
.problem p { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; color: var(--ink); letter-spacing: -0.02em; }
.project-text p:first-of-type { font-size: clamp(19px, 1.7vw, 22px); font-weight: 500; color: var(--ink); line-height: 1.5; }
.project-text p + p { margin-top: 18px; }
.motto {
  margin: 34px 0 0; padding: 26px 0 0 28px;
  border-left: 4px solid var(--lime);
  font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; color: var(--ink);
}
.gallery--project { padding-top: 0; }
.gallery--project .gallery__grid { grid-template-columns: repeat(2, 1fr); }
.gallery--project .gallery__item:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 7; }

.project-nav { padding: clamp(60px, 8vw, 110px) 0; }
.project-nav__grid {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  border-top: 1px solid var(--line); padding-top: 36px;
}
.project-nav__link strong { display: block; font-family: var(--font-head); font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; transition: color .2s; }
.project-nav__link:hover strong { color: var(--muted); }
.project-nav__link--next { text-align: right; }
.project-nav__all {
  width: 56px; height: 56px; border-radius: 50%; background: var(--lime);
  display: grid; place-items: center; transition: transform .4s var(--ease), background .3s;
}
.project-nav__all:hover { transform: rotate(90deg); background: var(--ink); color: var(--white); }
.project-nav__all svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }

@media (max-width: 960px) {
  .project-meta__grid { grid-template-columns: 1fr 1fr; }
  .meta--wide { grid-column: 1 / -1; order: 3; border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--line); }
  .problem { position: static; }
}
@media (max-width: 640px) {
  .project-meta__grid { grid-template-columns: 1fr; }
  .meta + .meta { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .gallery--project .gallery__grid { grid-template-columns: 1fr; }
  .gallery--project .gallery__item:first-child { aspect-ratio: 4 / 3; }
  .project-nav__grid { grid-template-columns: 1fr 1fr; }
  .project-nav__all { display: none; }
}
/* Mobil menü açıkken header tam opak olsun */
body.menu-open .header::before { background: var(--white); }

/* =========================================================
   Metin seçme engeli (form alanları hariç)
   ========================================================= */
body {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;   /* iOS uzun basma menüsü */
}
input, textarea, select, [contenteditable] {
  -webkit-user-select: text;
  -moz-user-select: text;
  user-select: text;
}
img { -webkit-user-drag: none; }
