/* =============================================================
   SEMA İNŞAAT — Tasarım sistemi
   Sade · Modern · Minimal · Kurumsal · Fotoğraf odaklı
   ============================================================= */

/* ---- Tasarım token'ları --------------------------------------------- */
:root {
  /* Renkler */
  --bg:          #f6f5f2;   /* kırık beyaz zemin */
  --bg-alt:      #efece6;   /* açık gri/bej blok */
  --surface:     #ffffff;
  --ink:         #181a1d;   /* ana yazı — koyu füme */
  --ink-soft:    #3c3d40;
  --muted:       #74756f;   /* ikincil yazı — gri */
  --line:        #e3e0d9;   /* ince ayraç */
  --line-strong: #d2cec5;

  --navy:        #281670;   /* MARKA laciverti (logodan) */
  --navy-deep:   #1d1056;
  --navy-700:    #34227f;
  --charcoal:    #1b1b1e;   /* ikincil ton — antrasit/füme */
  --charcoal-2:  #25252a;

  --accent:      var(--navy);
  --on-dark:     #f4f3f0;
  --on-dark-mut: #a7a6b4;

  /* Tipografi */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Archivo", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Ölçü */
  --container: 1240px;
  --container-narrow: 920px;
  --radius: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 2px rgba(24,26,29,.06), 0 4px 16px rgba(24,26,29,.05);
  --shadow-md: 0 8px 30px rgba(24,26,29,.10);
  --shadow-lg: 0 24px 60px rgba(24,26,29,.16);

  --gutter: clamp(1.25rem, 4vw, 2.75rem);
  --section-y: clamp(4rem, 9vw, 8rem);
  --ease: cubic-bezier(.22,.61,.36,1);

  --header-h: 80px;
}

/* ---- Reset --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 2px; }

/* Yatay taşma koruması: grid öğeleri içeriğin min-content'inden daha dar olabilsin */
.cards > *, .services > *, .detail-grid > *, .gallery > *, .feature-row > *,
.principles > *, .contact-grid > *, .footer-top > *, .stats > *,
.section-head--split > *, .split { min-width: 0; }

/* ---- Tipografi ----------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -.012em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.3rem); font-weight: 600; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
p { color: var(--ink-soft); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--navy);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--navy); opacity: .55; }
.eyebrow.is-light { color: var(--on-dark); }
.eyebrow.is-light::before { background: var(--on-dark); }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); line-height: 1.6; }

/* ---- Düzen yardımcıları ------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.bg-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head p { margin-top: 1rem; }
.section-head--split { max-width: var(--container); display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 1.5rem; }
.section-head--split > div { max-width: 640px; }

/* ---- Butonlar ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .9rem 1.6rem; font-size: .92rem; font-weight: 600;
  letter-spacing: .01em; border-radius: var(--radius);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); padding-inline: 0; }
.btn-ghost::after { content: ""; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--on-dark); }
.btn-outline-light { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .92rem; color: var(--navy);
  padding-bottom: 2px; border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow svg { width: 1.05em; height: 1.05em; transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: var(--navy); }
.link-arrow:hover svg { transform: translateX(3px); }

/* =============================================================
   ÜST BAR / NAVİGASYON
   ============================================================= */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; width: 100%; }
.brand { display: inline-flex; align-items: center; gap: .7rem; z-index: 2; }
.brand img { height: 30px; width: auto; transition: opacity .3s var(--ease); }
.brand .logo-light { display: block; }
.brand .logo-dark { display: none; position: absolute; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.4vw, 2.4rem); }
.nav a {
  position: relative; font-size: .92rem; font-weight: 500; letter-spacing: .01em;
  color: var(--on-dark); padding-block: .4rem; transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: currentColor; transition: width .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { font-weight: 600; }
.nav-cta { margin-left: .4rem; }

/* başlangıç: hero üzerinde şeffaf (koyu zemin) */
.site-header { color: var(--on-dark); }
.site-header .brand .logo-light { display: block; }
.site-header .brand .logo-dark { display: none; }

/* scroll sonrası / iç sayfalarda katı */
.site-header.is-solid {
  background: rgba(246,245,242,.88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
  height: 68px;
}
.site-header.is-solid .nav a { color: var(--ink); }
.site-header.is-solid .brand .logo-light { display: none; }
.site-header.is-solid .brand .logo-dark { display: block; position: static; }
.site-header.is-solid .nav-cta.btn-outline-light { border-color: var(--line-strong); color: var(--ink); }
.site-header.is-solid .nav-cta.btn-outline-light:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* sayfa hero'su olmayan iç sayfalar her zaman katı görünür */
body.solid-header .site-header { position: fixed; }
body.solid-header { padding-top: 0; }

.nav-toggle { display: none; }

/* Mobil menü */
@media (max-width: 940px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; z-index: 110; margin-right: -8px;
  }
  .nav-toggle span { display: block; height: 2px; width: 24px; background: currentColor; transition: transform .3s var(--ease), opacity .2s var(--ease); margin-inline: auto; }
  .site-header.is-solid .nav-toggle { color: var(--ink); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center;
    gap: 1.4rem; background: var(--charcoal); color: var(--on-dark);
    transform: translateX(100%); transition: transform .4s var(--ease);
    padding: 2rem;
  }
  body.nav-open .nav { transform: translateX(0); }
  body.nav-open .nav-toggle { color: var(--on-dark); }
  .nav a { color: var(--on-dark); font-size: 1.5rem; font-family: var(--font-display); }
  .nav a::after { display: none; }
  .nav-cta { margin-top: 1rem; }
  .nav .btn { font-size: 1rem; }
}

/* =============================================================
   HERO
   ============================================================= */
.hero {
  position: relative; min-height: min(94vh, 880px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
  padding-top: var(--header-h);
}
/* Slayt gösterisi (çapraz geçişli) */
.hero__media, .hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.5s var(--ease);
}
.hero__slides img.is-active { opacity: 1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(15,12,40,.45) 0%, rgba(15,12,40,.10) 38%, rgba(13,10,30,.80) 100%),
    linear-gradient(90deg, rgba(13,10,30,.55) 0%, rgba(13,10,30,0) 55%);
}
.hero__inner { width: 100%; padding-bottom: clamp(3rem, 7vw, 6rem); }
.hero__eyebrow { color: #fff; margin-bottom: 1.4rem; }
.hero__eyebrow::before { background: #fff; }
.hero h1 { color: #fff; max-width: 16ch; }
.hero__sub { color: rgba(255,255,255,.86); font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 54ch; margin-top: 1.5rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.4rem; }

/* Öne çıkan proje başlığı (slayda göre değişir, tıklanabilir) */
.hero__feature {
  position: absolute; right: var(--gutter); bottom: clamp(2rem, 4vw, 3rem); z-index: 2;
  display: flex; flex-direction: column; align-items: flex-end; gap: .3rem;
  color: #fff; text-align: right; max-width: 60vw;
  padding-right: 1.1rem; border-right: 2px solid rgba(255,255,255,.5);
}
.hero__feature-eyebrow { font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.hero__feature-name { font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.15; }
.hero__feature-loc { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; color: rgba(255,255,255,.8); transition: gap .25s var(--ease); }
.hero__feature-loc svg { width: 1em; height: 1em; }
.hero__feature:hover .hero__feature-loc { gap: .7rem; }
.hero__dots { position: absolute; left: var(--gutter); bottom: 2.2rem; z-index: 2; display: flex; gap: .5rem; }
.hero__dots button { width: 28px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.35); transition: background .3s var(--ease); }
.hero__dots button.is-active { background: #fff; }
@media (max-width: 760px){ .hero__feature { display: none; } }

/* ============================================================
   TANIM CÜMLESİ (statement)
   ============================================================= */
.statement { padding-block: clamp(3.5rem, 8vw, 7rem); }
.statement p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.28; letter-spacing: -.01em;
  color: var(--muted); max-width: 26ch;
}
.statement strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   DEV PROJE VİTRİNİ (showcase — BIG tarzı)
   ============================================================= */
.showcase { display: grid; gap: clamp(2.5rem, 6vw, 5rem); }
.showcase-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.showcase-row:nth-child(even) .showcase-row__media { order: 2; }
.showcase-row__media { position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 16/11; background: var(--bg-alt); }
.showcase-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.showcase-row:hover .showcase-row__media img { transform: scale(1.04); }
.showcase-row__index { font-family: var(--font-display); font-size: .95rem; color: var(--muted); }
.showcase-row__body .eyebrow { margin-bottom: 1rem; }
.showcase-row__title { font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.08; margin-bottom: 1rem; transition: color .25s var(--ease); }
.showcase-row:hover .showcase-row__title { color: var(--navy); }
.showcase-row__meta { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--muted); font-size: .92rem; margin-bottom: 1.6rem; }
.showcase-row__meta .dot { opacity: .5; }

/* ============================================================
   SADE HİZMET LİSTESİ (service-line)
   ============================================================= */
.service-list { border-top: 1px solid var(--line); }
.service-line {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.5rem, 3vw, 2.3rem) 0; border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease);
}
.service-line:hover { padding-left: .8rem; }
.service-line__num { font-family: var(--font-display); font-size: 1rem; color: var(--muted); }
.service-line__title { font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-family: var(--font-display); font-weight: 500; transition: color .25s var(--ease); }
.service-line:hover .service-line__title { color: var(--navy); }
.service-line__desc { display: block; font-family: var(--font-sans); font-size: .95rem; color: var(--ink-soft); margin-top: .4rem; max-width: 52ch; }
.service-line__arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--navy); transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease); }
.service-line__arrow svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.service-line:hover .service-line__arrow { background: var(--navy); color: #fff; border-color: var(--navy); }
.service-line:hover .service-line__arrow svg { transform: translateX(2px); }

/* Sayfa başlığı (iç sayfalar) */
.page-hero {
  background: var(--charcoal); color: #fff;
  padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content:""; position:absolute; inset:0; z-index:0;
  background-image: var(--ph-img); background-size: cover; background-position: center;
  opacity: .22;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 60ch; margin-top: 1rem; }
.page-hero .eyebrow { color: #fff; margin-bottom: 1.1rem; }
.page-hero .eyebrow::before { background: #fff; }

/* Breadcrumb */
.crumbs { display:flex; gap:.5rem; align-items:center; font-size:.82rem; color: var(--on-dark-mut); margin-bottom: 1.2rem; }
.crumbs a:hover { color:#fff; }
.crumbs span { opacity:.5; }

/* =============================================================
   PROJE KARTLARI
   ============================================================= */
.cards { display: grid; gap: clamp(1.4rem, 2.4vw, 2.2rem); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.project-card { display: flex; flex-direction: column; min-width: 0; }
.project-card__media {
  position: relative; aspect-ratio: 3/2; overflow: hidden;
  border-radius: var(--radius); background: var(--bg-alt);
}
.project-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.project-card:hover .project-card__media img { transform: scale(1.05); }
.project-card__media::after {
  content:""; position:absolute; inset:0; border-radius: var(--radius);
  background: linear-gradient(180deg, transparent 55%, rgba(20,16,45,.42));
  opacity: 0; transition: opacity .4s var(--ease);
}
.project-card:hover .project-card__media::after { opacity: 1; }
.project-card__tag {
  position: absolute; top: .9rem; left: .9rem; z-index: 1;
  font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(246,245,242,.92); color: var(--navy);
  padding: .4rem .7rem; border-radius: 2px; backdrop-filter: blur(4px);
}
.project-card__status {
  position:absolute; top:.9rem; right:.9rem; z-index:1;
  font-size:.66rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color:#fff; padding:.35rem .65rem; border-radius:2px;
}
.project-card__status.is-ongoing { background: var(--navy); }
.project-card__status.is-done { background: rgba(27,27,30,.78); }
.project-card__body { padding-top: 1.1rem; }
.project-card__title { font-size: 1.25rem; font-family: var(--font-display); font-weight: 500; line-height: 1.2; transition: color .25s var(--ease); }
.project-card:hover .project-card__title { color: var(--navy); }
.project-card__meta { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .55rem; font-size: .85rem; color: var(--muted); }
.project-card__meta .loc { display:inline-flex; align-items:center; gap:.32rem; }
.project-card__meta svg { width: 14px; height: 14px; opacity:.7; }
.project-card__desc { margin-top: .7rem; font-size: .92rem; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Öne çıkan ilk kart (büyük) */
.cards--feature { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; }
.cards--feature .project-card:first-child { grid-column: span 2; grid-row: span 2; }
.cards--feature .project-card:first-child .project-card__media { aspect-ratio: 16/10; height: 100%; }
.cards--feature .project-card:first-child .project-card__title { font-size: clamp(1.4rem, 2.4vw, 2rem); }

/* =============================================================
   RAKAMLARLA SEMA
   ============================================================= */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.stats--dark { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.14); }
.stat { background: var(--bg); padding: clamp(1.6rem, 3vw, 2.6rem) clamp(1rem,2vw,1.6rem); text-align: left; }
.stats--dark .stat { background: var(--charcoal); }
.stat__value { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; line-height: 1; color: var(--navy); letter-spacing: -.02em; }
.stats--dark .stat__value { color: #fff; }
.stat__value .suffix { font-size: .5em; color: var(--muted); margin-left: .2rem; }
.stats--dark .stat__value .suffix { color: var(--on-dark-mut); }
.stat__label { margin-top: .7rem; font-size: .86rem; color: var(--muted); letter-spacing: .02em; }
.stats--dark .stat__label { color: var(--on-dark-mut); }

/* =============================================================
   HAKKIMIZDA (ana sayfa bloğu) — görsel + metin
   ============================================================= */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); }
.split__media .badge {
  position: absolute; right: -1.2rem; bottom: -1.2rem;
  background: var(--navy); color: #fff; padding: 1.3rem 1.5rem; border-radius: var(--radius);
  box-shadow: var(--shadow-md); max-width: 220px;
}
.split__media .badge .n { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; }
.split__media .badge .t { font-size: .82rem; color: rgba(255,255,255,.8); margin-top: .35rem; }
.split__body h2 { margin-bottom: 1.2rem; }
.split__body p + p { margin-top: 1rem; }
.values { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.values li { font-size: .82rem; font-weight: 500; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 100px; padding: .45rem .95rem; }
.split__body .btn { margin-top: 1.8rem; }

/* =============================================================
   HİZMETLER
   ============================================================= */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2vw, 1.8rem); }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 2.4vw, 2.1rem); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(40,22,112,.07); color: var(--navy); margin-bottom: 1.3rem; }
.service__icon svg { width: 22px; height: 22px; }
.service__num { font-family: var(--font-display); font-size: .9rem; color: var(--muted); }
.service h3 { font-size: 1.18rem; margin: .5rem 0 .6rem; }
.service p { font-size: .92rem; color: var(--ink-soft); }

/* =============================================================
   CTA bandı
   ============================================================= */
.cta-band { position: relative; color: #fff; overflow: hidden; background: var(--navy-deep); }
.cta-band__media { position: absolute; inset: 0; z-index: 0; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.cta-band__inner { position: relative; z-index: 1; text-align: center; max-width: 720px; margin-inline: auto; padding-block: clamp(3.5rem, 7vw, 6rem); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); margin-top: 1rem; }
.cta-band .btn { margin-top: 2rem; }

/* =============================================================
   FİLTRE (projeler)
   ============================================================= */
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.filter {
  font-size: .85rem; font-weight: 500; color: var(--ink-soft);
  padding: .55rem 1.1rem; border: 1px solid var(--line-strong); border-radius: 100px;
  background: transparent; transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter .count { opacity: .6; font-size: .82em; margin-left: .25rem; }
.projects-meta { font-size:.86rem; color: var(--muted); margin-bottom: 1.4rem; }
.empty-state { text-align:center; padding: 4rem 1rem; color: var(--muted); }

/* =============================================================
   PROJE DETAY
   ============================================================= */
.detail-hero { position: relative; height: clamp(46vh, 60vh, 640px); min-height: 380px; color:#fff; display:flex; align-items:flex-end; overflow:hidden; padding-top: var(--header-h); }
.detail-hero__media { position:absolute; inset:0; z-index:-1; }
.detail-hero__media img { width:100%; height:100%; object-fit:cover; }
.detail-hero__media::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(15,12,40,.35), rgba(13,10,30,.82)); }
.detail-hero__inner { padding-bottom: clamp(2rem, 4vw, 3.2rem); width:100%; }
.detail-hero h1 { color:#fff; max-width: 20ch; }
.detail-hero__loc { display:inline-flex; align-items:center; gap:.45rem; color: rgba(255,255,255,.85); margin-top: 1rem; font-size: 1rem; }
.detail-hero__loc svg { width:18px; height:18px; }

.detail-grid { display:grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items:start; }
.detail-desc { font-size: clamp(1.05rem,1.4vw,1.2rem); color: var(--ink-soft); line-height:1.7; }
.detail-desc p + p { margin-top: 1rem; }
.spec-card { background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem,2.4vw,2rem); position: sticky; top: 90px; }
.spec-card h3 { font-size: 1rem; font-family: var(--font-sans); font-weight:600; letter-spacing:.02em; margin-bottom: 1rem; }
.spec-list { display:grid; gap: 0; }
.spec-list div { display:flex; justify-content:space-between; gap:1rem; padding: .85rem 0; border-bottom:1px solid var(--line); font-size:.92rem; }
.spec-list div:last-child { border-bottom:none; }
.spec-list dt { color: var(--muted); }
.spec-list dd { color: var(--ink); font-weight:500; text-align:right; }
.spec-card .btn { margin-top: 1.4rem; width:100%; justify-content:center; }

/* Galeri */
.gallery { display:grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.6rem, 1.2vw, 1rem); }
.gallery button { aspect-ratio: 3/2; overflow:hidden; border-radius: var(--radius); background: var(--bg-alt); }
.gallery img { width:100%; height:100%; object-fit:cover; transition: transform .6s var(--ease), opacity .3s var(--ease); }
.gallery button:hover img { transform: scale(1.06); }
.gallery button:nth-child(7n+1) { grid-column: span 2; grid-row: span 1; }
.gallery button:nth-child(7n+1) { aspect-ratio: 16/9; }

/* Lightbox */
.lightbox { position: fixed; inset:0; z-index:200; background: rgba(13,10,30,.94); display:none; align-items:center; justify-content:center; padding: clamp(1rem,4vw,3rem); }
.lightbox.is-open { display:flex; }
.lightbox img { max-width: 100%; max-height: 86vh; object-fit: contain; border-radius: 2px; }
.lightbox__close, .lightbox__nav { position:absolute; color:#fff; width:52px; height:52px; display:grid; place-items:center; border-radius:50%; background: rgba(255,255,255,.08); transition: background .2s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav.prev { left: 1.2rem; top:50%; transform: translateY(-50%); }
.lightbox__nav.next { right: 1.2rem; top:50%; transform: translateY(-50%); }
.lightbox__count { position:absolute; bottom:1.2rem; left:50%; transform:translateX(-50%); color:rgba(255,255,255,.7); font-size:.85rem; letter-spacing:.05em; }
@media (max-width:640px){ .lightbox__nav{ width:44px;height:44px; } }

/* =============================================================
   İLETİŞİM
   ============================================================= */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items:start; }
.info-list { display:grid; gap: 1.5rem; margin-top: .5rem; }
.info-item { display:flex; gap: 1rem; }
.info-item__icon { flex:none; width:44px; height:44px; border-radius:50%; background: rgba(40,22,112,.07); color:var(--navy); display:grid; place-items:center; }
.info-item__icon svg{ width:20px; height:20px; }
.info-item h4 { font-family: var(--font-sans); font-size:.78rem; font-weight:600; text-transform:uppercase; letter-spacing:.12em; color: var(--muted); margin-bottom:.25rem; }
.info-item p, .info-item a { color: var(--ink); font-size:1.02rem; }
.info-item a:hover { color: var(--navy); }

.form { display:grid; gap: 1.1rem; }
.form .row { display:grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display:grid; gap:.45rem; }
.field label { font-size:.82rem; font-weight:500; color: var(--ink-soft); }
.field input, .field textarea {
  background: var(--surface); border:1px solid var(--line-strong); border-radius: var(--radius);
  padding: .85rem 1rem; font-size:.95rem; transition: border-color .2s, box-shadow .2s; width:100%;
}
.field input:focus, .field textarea:focus { outline:none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(40,22,112,.12); }
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size:.82rem; color: var(--muted); }
.form-status { font-size:.92rem; padding:.85rem 1rem; border-radius: var(--radius); display:none; }
.form-status.ok { display:block; background: rgba(40,22,112,.07); color: var(--navy); }

.map-wrap { border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line); aspect-ratio: 16/7; margin-top: clamp(2rem,4vw,3rem); }
.map-wrap iframe { width:100%; height:100%; border:0; display:block; filter: grayscale(.2) contrast(1.02); }

/* =============================================================
   İÇERİK BLOKLARI (Hakkımızda / Hizmetler iç sayfa)
   ============================================================= */
.prose { max-width: 70ch; }
.prose p { margin-bottom: 1.1rem; font-size: 1.05rem; }
.feature-row { display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(1.4rem,2.4vw,2rem); }
.feature { padding-top: 1.4rem; border-top: 2px solid var(--navy); }
.feature h3 { font-size: 1.15rem; margin-bottom:.5rem; }
.feature p { font-size:.95rem; }
.principle { display:flex; gap:1.1rem; align-items:flex-start; }
.principle .num { font-family:var(--font-display); font-size:1.4rem; color:var(--navy); flex:none; width:2.4rem; }
.principle h3 { font-size:1.1rem; margin-bottom:.3rem; }
.principle p { font-size:.95rem; }
.principles { display:grid; grid-template-columns:1fr 1fr; gap: clamp(1.6rem,3vw,2.6rem) clamp(2rem,5vw,4rem); }

.service-detail { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3.5rem); align-items:center; padding-block: clamp(2rem,4vw,3rem); border-bottom:1px solid var(--line); }
.service-detail:last-child { border-bottom:none; }
.service-detail:nth-child(even) .service-detail__media { order: -1; }
.service-detail__media img { aspect-ratio: 4/3; object-fit:cover; width:100%; border-radius: var(--radius-lg); }
.service-detail .eyebrow { margin-bottom:.9rem; }
.service-detail h2 { font-size: clamp(1.5rem,2.6vw,2.1rem); margin-bottom: 1rem; }
.service-detail ul.checks { margin-top:1.2rem; display:grid; gap:.6rem; }
.service-detail ul.checks li { display:flex; gap:.6rem; align-items:flex-start; font-size:.95rem; color:var(--ink-soft); }
.service-detail ul.checks svg { width:18px; height:18px; color:var(--navy); flex:none; margin-top:.18rem; }

.countries { display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1.4rem; }
.countries li { font-size:.88rem; padding:.5rem 1rem; background: var(--surface); border:1px solid var(--line); border-radius:100px; display:inline-flex; gap:.5rem; align-items:center; }
.countries li b { color: var(--navy); font-weight:600; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--charcoal); color: var(--on-dark); padding-top: clamp(3.5rem,6vw,5rem); }
.footer-top { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.6rem,3vw,2.4rem); padding-bottom: clamp(2.5rem,4vw,3.5rem); border-bottom:1px solid rgba(255,255,255,.1); }
.footer-brand img { height: 30px; margin-bottom: 1.2rem; }
.footer-brand p { color: var(--on-dark-mut); font-size:.92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-sans); font-size:.74rem; font-weight:600; text-transform:uppercase; letter-spacing:.14em; color:#fff; margin-bottom: 1.1rem; }
.footer-col ul { display:grid; gap:.7rem; }
.footer-col a, .footer-col p { color: var(--on-dark-mut); font-size:.92rem; transition: color .2s; }
.footer-col a:hover { color:#fff; }
.footer-contact li { display:flex; gap:.6rem; align-items:flex-start; margin-bottom:.7rem; color:var(--on-dark-mut); font-size:.92rem; }
.footer-contact svg { width:16px; height:16px; flex:none; margin-top:.2rem; opacity:.7; }
.footer-bottom { display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap; padding-block: 1.6rem; font-size:.82rem; color: var(--on-dark-mut); }
.footer-bottom a:hover { color:#fff; }

/* =============================================================
   Reveal animasyonu (sade)
   ============================================================= */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 940px) {
  :root { --header-h: 70px; }
  .cards--3, .cards--feature { grid-template-columns: repeat(2, 1fr); }
  .cards--feature .project-card:first-child { grid-column: span 2; grid-row: auto; }
  .cards--feature .project-card:first-child .project-card__media { aspect-ratio: 16/10; }
  .split { grid-template-columns: 1fr; }
  .split__media { max-width: 460px; }
  .split__media img { aspect-ratio: 4/3; }
  .detail-grid { grid-template-columns: 1fr; }
  .spec-card { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail__media { order: 0; }
  .principles { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; align-items:start; }
}
@media (max-width: 760px) {
  .showcase-row { grid-template-columns: 1fr; gap: 1.2rem; }
  .showcase-row:nth-child(even) .showcase-row__media { order: 0; }
  .showcase-row__media { aspect-ratio: 16/10; }
}
@media (max-width: 680px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .cards--3, .cards--2, .cards--feature { grid-template-columns: 1fr; }
  .cards--feature .project-card:first-child { grid-column: auto; }
  .feature-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery button:nth-child(7n+1) { grid-column: auto; aspect-ratio: 3/2; }
  .form .row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 90vh; }
  .hero__slides img { object-position: var(--hf, 50% 50%); }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
}
