/* =====================================================================
   AKAŞ YAPI — İnşaat & Taahhüt
   Design language: Exaggerated Minimalism (architectural / editorial)
   Palette: Charcoal · Bone · Maroon (Akaş Yapı brick red)
   Type: Fraunces (display serif) + Manrope (sans / UI)
   Author: Design system v1.0
   ===================================================================== */

/* -------------------------------------------------- *
 * 1. DESIGN TOKENS
 * -------------------------------------------------- */
:root {
  /* --- Color: light (bone) surfaces --- */
  --bone:        #F4F1EA;
  --bone-2:      #ECE7DB;
  --paper:       #FBFAF6;
  --ink:         #16140E;
  --ink-soft:    #2C2820;

  /* --- Color: dark (charcoal) surfaces --- */
  --charcoal:    #19160F;
  --charcoal-2:  #211D15;
  --on-dark:     #ECE7DB;
  --on-dark-mut: #A29B89;

  /* --- Accent: brand maroon / brick red (from the Akaş Yapı logo).
         NOTE: kept the variable name --bronze to avoid touching ~50 call
         sites; the VALUE is now the brand red. --- */
  --bronze:      #D4143A;   /* brand red — Akaş logo crimson — on light surfaces */
  --bronze-deep: #A50E2C;   /* deep red */
  --bronze-lite: #EE5C74;   /* lighter red — on dark surfaces */

  /* --- Neutral text --- */
  --stone:       #6C665A;   /* muted on light */
  --stone-2:     #948D7D;

  /* --- Lines --- */
  --line:        rgba(22, 20, 14, 0.14);
  --line-strong: rgba(22, 20, 14, 0.28);
  --line-dark:   rgba(236, 231, 219, 0.16);

  /* --- Typography --- */
  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans:    "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-eyebrow: clamp(0.72rem, 0.68rem + 0.2vw, 0.8rem);
  --fs-body:    clamp(1rem, 0.97rem + 0.18vw, 1.125rem);
  --fs-lead:    clamp(1.18rem, 1.06rem + 0.6vw, 1.5rem);
  --fs-h3:      clamp(1.35rem, 1.1rem + 1.1vw, 1.9rem);
  --fs-h2:      clamp(2rem, 1.3rem + 3vw, 3.6rem);
  --fs-display: clamp(2.9rem, 1.2rem + 7.6vw, 8.5rem);

  /* --- Spacing / layout --- */
  --container: 1280px;
  --gutter: clamp(1.25rem, 1rem + 3vw, 4rem);
  --section-y: clamp(4.5rem, 3rem + 7vw, 9.5rem);
  --radius: 2px;
  --radius-lg: 4px;

  /* --- Motion --- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur: 0.6s;
  --dur-slow: 0.9s;

  --shadow-soft: 0 1px 2px rgba(22,20,14,.04), 0 12px 40px -20px rgba(22,20,14,.25);
  --shadow-lift: 0 30px 60px -28px rgba(22,20,14,.45);

  color-scheme: light;
}

/* -------------------------------------------------- *
 * 2. RESET
 * -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
  border-radius: 1px;
}

/* -------------------------------------------------- *
 * 3. TYPOGRAPHY
 * -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.018em;
  color: var(--ink);
  font-optical-sizing: auto;
}

.display {
  font-size: var(--fs-display);
  line-height: 0.96;
  letter-spacing: -0.03em;
  font-weight: 500;
}
.h2 { font-size: var(--fs-h2); letter-spacing: -0.022em; }
.h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.01em; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--ink-soft);
  font-weight: 400;
  max-width: 46ch;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 1.8rem; height: 1px;
  background: var(--bronze);
  display: inline-block;
}
.eyebrow.is-centered { justify-content: center; }

.serif-accent { font-family: var(--font-display); font-style: italic; font-weight: 400; }
.muted { color: var(--stone); }
.measure { max-width: 60ch; }
.text-balance { text-wrap: balance; }

/* -------------------------------------------------- *
 * 4. LAYOUT PRIMITIVES
 * -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1480px; }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }

.grid { display: grid; gap: clamp(1.5rem, 1rem + 2.5vw, 3.5rem); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.flow > * + * { margin-top: 1.2em; }
.stack-sm > * + * { margin-top: 0.6rem; }

.section-head {
  display: grid;
  gap: 1.4rem;
  max-width: 64ch;
  margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
}
.section-head--split {
  max-width: none;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .section-head--split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 2.5rem;
  }
}

.is-dark {
  background: var(--charcoal);
  color: var(--on-dark);
}
.is-dark h1, .is-dark h2, .is-dark h3, .is-dark h4 { color: var(--on-dark); }
.is-dark .lead { color: var(--on-dark-mut); }
.is-dark .muted { color: var(--on-dark-mut); }
.is-dark .eyebrow { color: var(--bronze-lite); }
.is-dark .eyebrow::before { background: var(--bronze-lite); }

/* -------------------------------------------------- *
 * 5. BUTTONS & LINKS
 * -------------------------------------------------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bone);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: 1.05em 1.8em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
  isolation: isolate;
}
.btn::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--bronze);
  transform: translateY(101%);
  transition: transform var(--dur) var(--ease-out);
  z-index: -1;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:hover::after { transform: translateY(0); }
.btn .btn-arrow { transition: transform var(--dur) var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: var(--bone); }
.is-dark .btn--ghost { --btn-fg: var(--on-dark); border-color: var(--line-dark); }
.is-dark .btn--ghost::after { background: var(--bronze); }
.is-dark .btn--ghost:hover { color: var(--ink); }

.btn--bronze { --btn-bg: var(--bronze); --btn-fg: #fff; }
.btn--bronze::after { background: var(--ink); }
.btn--bronze:hover { color: var(--bone); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--bronze), var(--bronze));
  background-size: 0% 1.5px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--dur) var(--ease-out);
}
.link-arrow svg { transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { background-size: 100% 1.5px; }
.link-arrow:hover svg { transform: translateX(5px); }
.is-dark .link-arrow { color: var(--on-dark); }

/* -------------------------------------------------- *
 * 6. SITE HEADER / NAV
 * -------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding-block: clamp(1rem, 0.6rem + 1vw, 1.6rem);
  transition: background-color var(--dur) var(--ease-out), padding var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.site-header::before {
  content: "";
  position: absolute; inset: 0;
  background: var(--bone);
  opacity: 0;
  transition: opacity var(--dur) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled { padding-block: 0.8rem; }
.site-header.is-scrolled::before {
  opacity: 0.92;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* brand / logo lockup */
/* AKAŞ YAPI — official logo (raster). Two versions swap by context:
   --light (cream) over dark hero/footer, --dark (colored) over bone. */
.brand { display: inline-flex; align-items: center; z-index: 2; }
.brand__img { height: 46px; width: auto; display: block; }
.brand__img--dark { display: none; }
.site-header.is-scrolled .brand__img--light { display: none; }
.site-header.is-scrolled .brand__img--dark { display: block; }
@media (max-width: 600px) { .brand__img { height: 40px; } }

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 0.5rem + 1.6vw, 2.6rem);
}
.nav__link {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  position: relative;
  padding: 0.4rem 0;
  transition: color var(--dur) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur) var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--ink); }

.nav__cta { display: inline-flex; }
.nav__actions { display: flex; align-items: center; gap: 1.2rem; }

/* hamburger */
.nav__toggle {
  display: none;
  width: 46px; height: 46px;
  position: relative;
  z-index: 2;
}
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease-out), opacity 0.25s var(--ease-out), background-color var(--dur) var(--ease-out);
}
.nav__toggle span:nth-child(1) { top: 17px; }
.nav__toggle span:nth-child(2) { top: 23px; }
.nav__toggle span:nth-child(3) { top: 29px; }
body.menu-open .nav__toggle span { background: var(--on-dark); }
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu panel */
.nav__panel {
  position: fixed; inset: 0;
  background: var(--charcoal);
  color: var(--on-dark);
  padding: clamp(5rem, 18vw, 8rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform 0.7s var(--ease-out), visibility 0.7s;
  z-index: 1;
}
body.menu-open .nav__panel { transform: translateY(0); visibility: visible; }
.nav__panel a {
  font-family: var(--font-display);
  font-size: clamp(2rem, 9vw, 3rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--on-dark);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s var(--ease-out);
}
.nav__panel a:hover { color: var(--bronze-lite); }
body.menu-open .nav__panel a { opacity: 1; transform: translateY(0); }
body.menu-open .nav__panel a:nth-child(1) { transition-delay: 0.18s; }
body.menu-open .nav__panel a:nth-child(2) { transition-delay: 0.24s; }
body.menu-open .nav__panel a:nth-child(3) { transition-delay: 0.30s; }
body.menu-open .nav__panel a:nth-child(4) { transition-delay: 0.36s; }
body.menu-open .nav__panel a:nth-child(5) { transition-delay: 0.42s; }
.nav__panel-foot {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-dark);
  display: grid; gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--on-dark-mut);
}
.nav__panel-foot a { font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; opacity: 1; transform: none; }

/* -------------------------------------------------- *
 * 7. HERO
 * -------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: clamp(7rem, 16vh, 10rem);
  padding-bottom: clamp(3rem, 7vh, 6rem);
  overflow: hidden;
  background: var(--charcoal);
  color: var(--on-dark);
}
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media .media-fill {
  position: absolute; inset: 0;
  transform: scale(1.08);
  animation: kenburns 18s var(--ease-in-out) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to   { transform: scale(1.14) translate3d(-1.5%, -1.5%, 0); }
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to top, rgba(15,13,9,0.96) 0%, rgba(15,13,9,0.78) 28%, rgba(15,13,9,0.42) 58%, rgba(15,13,9,0.55) 100%),
    linear-gradient(100deg, rgba(15,13,9,0.7) 0%, rgba(15,13,9,0.08) 62%);
}
/* hero ghost button: light text on the dark photo, bronze fill on hover */
.hero .btn--ghost { --btn-fg: var(--on-dark); border-color: rgba(236, 231, 219, 0.55); }
.hero .btn--ghost::after { background: var(--bronze); }
.hero .btn--ghost:hover { color: var(--ink); }
/* alt sayfa hero'ları da koyu zeminli: ghost butonun kenarlığı görünür olsun */
.page-hero .btn--ghost { --btn-fg: var(--on-dark); border-color: rgba(236, 231, 219, 0.55); }
.page-hero .btn--ghost::after { background: var(--bronze); }
.page-hero .btn--ghost:hover { color: var(--ink); }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero__inner { display: grid; gap: clamp(1.8rem, 1rem + 3vw, 3rem); }
.hero__title { color: var(--on-dark); max-width: 16ch; }
.hero__title .serif-accent { color: var(--bronze-lite); }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--line-dark);
  padding-top: 1.8rem;
}
.hero__lead { color: var(--on-dark-mut); max-width: 42ch; }
.hero__cta-group { display: flex; flex-wrap: wrap; gap: 1rem; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-dark-mut);
}
.scroll-cue .line { width: 1px; height: 46px; background: var(--line-dark); position: relative; overflow: hidden; }
.scroll-cue .line::after {
  content: ""; position: absolute; top: -50%; left: 0; width: 100%; height: 50%;
  background: var(--bronze-lite);
  animation: scrolldown 2.4s var(--ease-in-out) infinite;
}
@keyframes scrolldown {
  0% { transform: translateY(-100%); } 60%,100% { transform: translateY(300%); }
}
/* the scroll cue is decorative; hide it where hero content would crowd it */
@media (max-width: 860px), (max-height: 720px) {
  .scroll-cue { display: none; }
}

/* media + image placeholder system (works online with real photo, degrades to on-brand gradient) */
.media {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--charcoal) 0%, var(--charcoal-2) 55%, #2c1a1a 100%);
  border-radius: var(--radius-lg);
}
.media::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(238,92,116,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238,92,116,0.10) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  mix-blend-mode: screen;
}
.media img {
  position: relative;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 1.1s var(--ease-out), opacity 0.8s var(--ease-out);
}
.media img.img-failed { opacity: 0; }
.media[data-ratio="4/5"] { aspect-ratio: 4/5; }
.media[data-ratio="3/4"] { aspect-ratio: 3/4; }
.media[data-ratio="1/1"] { aspect-ratio: 1/1; }
.media[data-ratio="16/10"] { aspect-ratio: 16/10; }
.media[data-ratio="3/2"] { aspect-ratio: 3/2; }
.media-fill img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* -------------------------------------------------- *
 * 8. MARQUEE STRIP
 * -------------------------------------------------- */
.marquee {
  border-block: 1px solid var(--line-dark);
  padding-block: 1.4rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: marquee 38s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.8rem);
  color: var(--on-dark-mut);
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}
.marquee__track span::after { content: "✦"; color: var(--bronze-lite); font-size: 0.7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------------------------------------------------- *
 * 9. STATS
 * -------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.is-dark .stats { background: var(--line-dark); border-color: var(--line-dark); }
.stat {
  background: var(--bone);
  padding: clamp(1.8rem, 1rem + 2.5vw, 3rem) clamp(1.2rem, 1rem + 1vw, 2rem);
}
.is-dark .stat { background: var(--charcoal); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
}
.is-dark .stat__num { color: var(--on-dark); }
.stat__num .suffix { font-size: 0.5em; color: var(--bronze); margin-left: 0.1em; }
.is-dark .stat__num .suffix { color: var(--bronze-lite); }
.stat__label {
  margin-top: 0.8rem;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--stone);
  max-width: 22ch;
}
.is-dark .stat__label { color: var(--on-dark-mut); }

/* -------------------------------------------------- *
 * 10. SERVICE CARDS
 * -------------------------------------------------- */
.svc-list { border-top: 1px solid var(--line); }
.is-dark .svc-list { border-top-color: var(--line-dark); }
.svc {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(1rem, 0.5rem + 2vw, 3rem);
  align-items: center;
  padding-block: clamp(1.6rem, 1rem + 1.6vw, 2.6rem);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: padding-inline var(--dur) var(--ease-out);
}
.is-dark .svc { border-bottom-color: var(--line-dark); }
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 0;
  background: var(--bronze);
  opacity: 0.06;
  transition: width var(--dur) var(--ease-out);
  z-index: 0;
}
.svc:hover::before { width: 100%; }
.svc:hover { padding-inline: clamp(0.5rem, 2vw, 1.6rem); }
.svc > * { position: relative; z-index: 1; }
.svc__idx {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--bronze);
  font-weight: 500;
}
.is-dark .svc__idx { color: var(--bronze-lite); } /* lighter red for contrast on charcoal */
.svc__body { max-width: 60ch; }
.svc__title { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
.svc__desc { color: var(--stone); font-size: 1rem; }
.is-dark .svc__desc { color: var(--on-dark-mut); }
.svc__icon {
  width: 54px; height: 54px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
  transition: transform var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
  flex: none;
}
.is-dark .svc__icon { border-color: var(--line-dark); color: var(--on-dark); }
.svc:hover .svc__icon { background: var(--bronze); border-color: var(--bronze); color: #fff; transform: rotate(-45deg); }

/* card grid (services page / about values) */
.feature-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 1rem + 1.6vw, 2.4rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--line-strong); }
.feature-card__ic {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  color: var(--bronze);
  background: var(--bone-2);
  border-radius: 50%;
}
.feature-card h3 { font-size: var(--fs-h3); }
.feature-card p { color: var(--stone); font-size: 1rem; }

/* -------------------------------------------------- *
 * 11. PROJECT CARDS / GALLERY
 * -------------------------------------------------- */
.project-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.2rem, 0.5rem + 2vw, 2.4rem); }
.project { grid-column: span 6; }
.project--wide { grid-column: span 6; }
.project--tall { grid-column: span 6; }

.project__media { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.project__media .media { border-radius: 0; }
.project__media::after {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(15,13,9,0.75), rgba(15,13,9,0) 55%);
  opacity: 0.85;
  transition: opacity var(--dur) var(--ease-out);
  pointer-events: none;
}
.project:hover .project__media::after { opacity: 1; }
.project:hover .media img { transform: scale(1.06); }
.project__overlay {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  color: var(--on-dark);
}
.project__cat {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--bronze-lite);
}
.project__name { font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1.4vw, 2.1rem); font-weight: 500; line-height: 1.05; color: #fff; margin-top: 0.4rem; }
.project__loc { font-size: 0.85rem; color: var(--on-dark-mut); margin-top: 0.4rem; }
.project__go {
  width: 50px; height: 50px; flex: none;
  border: 1px solid rgba(236,231,219,0.4);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.project:hover .project__go { background: var(--bronze); border-color: var(--bronze); transform: rotate(-45deg); }

/* filter bar */
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.6rem; }
.filter-btn {
  padding: 0.6em 1.2em;
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.01em;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--stone);
  transition: color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
}
.filter-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.filter-btn.is-active { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.project.is-hidden { display: none; }

/* -------------------------------------------------- *
 * 12. PROCESS / TIMELINE
 * -------------------------------------------------- */
.process { counter-reset: step; display: grid; gap: 0; }
.process__item {
  display: grid;
  grid-template-columns: clamp(3rem,8vw,6rem) 1fr;
  gap: clamp(1.2rem,4vw,3rem);
  padding-block: clamp(1.8rem,1rem+2vw,3rem);
  border-top: 1px solid var(--line-dark);
}
.process__item:last-child { border-bottom: 1px solid var(--line-dark); }
.process__num {
  font-family: var(--font-display);
  font-size: clamp(1.4rem,1rem+1.5vw,2.4rem);
  color: var(--bronze-lite);
  font-weight: 500;
}
.process__title { font-size: var(--fs-h3); margin-bottom: 0.7rem; }
.process__body { color: var(--on-dark-mut); max-width: 52ch; }

/* -------------------------------------------------- *
 * 13. QUOTE / TESTIMONIAL
 * -------------------------------------------------- */
.quote { max-width: 24ch; }
.quote__mark { font-family: var(--font-display); font-size: 5rem; line-height: 0.5; color: var(--bronze); height: 0.5em; display: block; }
.quote blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 2.6vw, 3rem);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.is-dark .quote blockquote { color: var(--on-dark); }
.quote__cite { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.quote__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--bronze); display: grid; place-items: center; color:#fff; font-family: var(--font-display); font-size: 1.2rem; flex: none; }
.quote__who { font-weight: 600; }
.quote__role { font-size: 0.85rem; color: var(--stone); }
.is-dark .quote__role { color: var(--on-dark-mut); }

/* -------------------------------------------------- *
 * 14. CTA BAND
 * -------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__inner {
  display: grid; gap: 2rem;
  align-items: center;
  position: relative; z-index: 2;
}
@media (min-width: 880px) {
  .cta-band__inner { grid-template-columns: 1.4fr auto; }
}
.cta-band__title { font-size: var(--fs-h2); max-width: 18ch; }

/* -------------------------------------------------- *
 * 15. PAGE HERO (interior pages)
 * -------------------------------------------------- */
.page-hero {
  background: var(--charcoal);
  color: var(--on-dark);
  padding-top: clamp(8rem, 18vh, 12rem);
  padding-bottom: clamp(3.5rem, 6vw, 6rem);
  position: relative;
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: 0; z-index: 0; opacity: 0.32; }
.page-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to right, var(--charcoal) 10%, rgba(25,22,15,0.5)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__title { color: var(--on-dark); max-width: 18ch; margin-top: 1.4rem; }
.page-hero__lead { color: var(--on-dark-mut); max-width: 50ch; margin-top: 1.6rem; }
.breadcrumb { display: flex; gap: 0.6rem; font-size: 0.82rem; color: var(--on-dark-mut); letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--bronze-lite); }
.breadcrumb span { color: var(--bronze-lite); }

/* -------------------------------------------------- *
 * 16. FORMS
 * -------------------------------------------------- */
.form { display: grid; gap: 1.4rem; }
.field { display: grid; gap: 0.5rem; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--stone); }
.field label .req { color: var(--bronze); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.95em 1.1em;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background-color var(--dur) var(--ease-out);
  min-height: 52px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--bronze);
  box-shadow: 0 0 0 3px rgba(212,20,58,0.14);
  background: #fff;
}
.field--row { display: grid; gap: 1.4rem; }
@media (min-width: 620px) { .field--row { grid-template-columns: 1fr 1fr; } }
.field .err { font-size: 0.8rem; color: #b4451f; min-height: 1em; }
.field.has-error input, .field.has-error textarea { border-color: #b4451f; }
.form__note { font-size: 0.82rem; color: var(--stone); }
.form__status {
  display: none;
  align-items: center; gap: 0.7rem;
  padding: 1em 1.2em;
  background: rgba(212,20,58,0.1);
  border: 1px solid var(--bronze);
  border-radius: var(--radius);
  color: var(--bronze-deep);
  font-weight: 600;
}
.form__status.is-visible { display: flex; }

/* contact info list */
.contact-info { display: grid; gap: 2rem; }
.contact-item { display: grid; gap: 0.3rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.contact-item__label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze); }
.contact-item__value { font-size: 1.15rem; font-weight: 500; }
.contact-item a:hover { color: var(--bronze); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  filter: grayscale(0.3) contrast(1.05);
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* -------------------------------------------------- *
 * 17. FOOTER
 * -------------------------------------------------- */
.site-footer {
  background: var(--charcoal);
  color: var(--on-dark);
  padding-top: clamp(4rem, 3rem + 4vw, 7rem);
}
.footer-grid {
  display: grid;
  gap: clamp(2.5rem, 1rem + 4vw, 5rem);
  grid-template-columns: 1fr;
  padding-bottom: clamp(3rem,5vw,5rem);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer .brand { color: var(--on-dark); }
.site-footer .brand__akas { color: var(--bronze-lite); }
.footer-about { color: var(--on-dark-mut); max-width: 38ch; margin-top: 1.6rem; }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.76rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bronze-lite); margin-bottom: 1.4rem; }
.footer-col ul { display: grid; gap: 0.85rem; }
.footer-col a, .footer-col li { color: var(--on-dark-mut); font-size: 0.96rem; transition: color var(--dur) var(--ease-out); }
.footer-col a:hover { color: var(--on-dark); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-block: 2rem;
  border-top: 1px solid var(--line-dark);
  font-size: 0.84rem;
  color: var(--on-dark-mut);
}
.footer-social { display: flex; gap: 0.8rem; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--on-dark-mut);
  transition: background-color var(--dur) var(--ease-out), color var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.footer-social a:hover { background: var(--bronze); color: #fff; border-color: var(--bronze); transform: translateY(-3px); }

/* -------------------------------------------------- *
 * 18. SCROLL REVEAL ANIMATIONS
 * -------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* line-by-line clip reveal (hero headline) */
.reveal-lines { }
.reveal-lines .line-mask { display: block; overflow: hidden; padding-bottom: 0.04em; }
.reveal-lines .line-inner {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
  transition-delay: var(--line-delay, 0s);
}
.reveal-lines.is-visible .line-inner { transform: translateY(0); }

/* -------------------------------------------------- *
 * 19. RESPONSIVE
 * -------------------------------------------------- */
@media (max-width: 1024px) {
  .project { grid-column: span 6; }
}
@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
  .split { grid-template-columns: 1fr; }
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .svc { grid-template-columns: auto 1fr; }
  .svc__icon { display: none; }
  .hero__meta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 620px) {
  .project-grid { grid-template-columns: 1fr; }
  .project, .project--wide, .project--tall { grid-column: span 1; }
  .cols-4, .cols-3, .cols-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 1.4rem; }
}

/* -------------------------------------------------- *
 * 20. REDUCED MOTION
 * -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], .reveal-lines .line-inner { opacity: 1 !important; transform: none !important; }
  .hero__media .media-fill, .marquee__track, .scroll-cue .line::after { animation: none !important; }
}

/* utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px;
  background: var(--ink); color: var(--bone);
  padding: 0.8em 1.2em; border-radius: var(--radius); z-index: 1000;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }
.divider { height: 1px; background: var(--line); border: 0; }
.is-dark .divider { background: var(--line-dark); }

/* -------------------------------------------------- *
 * 21. HEADER-OVER-DARK THEMING
 * All pages open with a dark hero, so the header sits over dark at the
 * top (light text), then flips to dark text once the bone bg fades in.
 * -------------------------------------------------- */
.site-header .brand { color: var(--on-dark); transition: color var(--dur) var(--ease-out); }
.site-header .brand__akas { color: var(--bronze-lite); }
.site-header .nav__link { color: var(--on-dark-mut); }
.site-header .nav__link:hover,
.site-header .nav__link.is-active { color: var(--on-dark); }
.site-header .nav__toggle span { background: var(--on-dark); }

.site-header.is-scrolled .brand { color: var(--ink); }
.site-header.is-scrolled .brand__akas { color: var(--bronze); }
.site-header.is-scrolled .nav__link { color: var(--ink-soft); }
.site-header.is-scrolled .nav__link:hover,
.site-header.is-scrolled .nav__link.is-active { color: var(--ink); }
.site-header.is-scrolled .nav__toggle span { background: var(--ink); }

/* nav CTA stays bronze in both states for guaranteed contrast */
.nav__cta.btn { --btn-bg: var(--bronze); --btn-fg: #fff; }
.nav__cta.btn::after { background: var(--ink); }
.nav__cta.btn:hover { color: var(--bone); }

/* when the full-screen menu is open, force the hamburger/X light over the dark panel */
body.menu-open .site-header .nav__toggle span { background: var(--on-dark); }

/* -------------------------------------------------- *
 * 22. SERVICE DETAIL BLOCKS + TICK LIST
 * -------------------------------------------------- */
@media (min-width: 861px) {
  .split--media-left > .media { order: -1; }
}
.svc-detail { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem); border-bottom: 1px solid var(--line); }
.svc-detail:last-child { border-bottom: 0; }
.svc-detail__idx {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 1.5rem + 3vw, 4rem);
  color: var(--bronze);
  line-height: 1;
  display: block;
}
.tick-list { display: grid; gap: 0.85rem; margin-top: 0.4rem; }
.tick-list li { display: flex; gap: 0.7rem; align-items: flex-start; color: var(--stone); font-size: 1rem; }
.tick-list svg { color: var(--bronze); flex: none; margin-top: 0.25em; }
.is-dark .tick-list li { color: var(--on-dark-mut); }

/* -------------------------------------------------- *
 * 23. PORTFOLIO GALLERY (filterable)
 * -------------------------------------------------- */
.gallery {
  display: grid;
  gap: clamp(1.2rem, 0.5rem + 2vw, 2.2rem);
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .gallery { grid-template-columns: 1fr; } }
.gallery .project { grid-column: auto; }

/* -------------------------------------------------- *
 * 24. KURUMSAL REFERANSLAR / TAMAMLANAN İŞLER
 * -------------------------------------------------- */
.ref-block { border-top: 1px solid var(--line-dark); padding-block: clamp(2.4rem, 1.5rem + 2.5vw, 3.8rem); }
.ref-block:first-of-type { border-top: 0; padding-top: 0; }
.ref-list { display: grid; gap: 1.5rem; margin-top: 1.4rem; }
.ref-item { display: grid; grid-template-columns: 6.8rem 1fr; column-gap: 1.4rem; row-gap: 0.2rem; align-items: start; }
.ref-item__year { font-family: var(--font-display); font-size: 1rem; color: var(--bronze-lite); font-weight: 500; padding-top: 2px; }
.ref-item__inst { font-size: 1.06rem; font-weight: 600; color: var(--on-dark); }
.ref-item__desc { grid-column: 2; color: var(--on-dark-mut); font-size: 0.93rem; margin-top: 0.1rem; }
@media (max-width: 560px) {
  .ref-item { grid-template-columns: 1fr; row-gap: 0.15rem; }
  .ref-item__desc { grid-column: 1; }
}

/* referans kurumları şeridi (ana sayfa) */
.ref-logos { display: flex; flex-wrap: wrap; gap: 0.7rem 0.8rem; }
.ref-logos span {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.2rem);
  font-weight: 500;
  color: var(--on-dark);
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  padding: 0.5em 1.15em;
  white-space: nowrap;
}

/* ===================================================================
   25. Form eklentileri — KVKK onayı, honeypot, durum (başarı/hata)
   =================================================================== */
/* spam tuzağı: botlar doldurur, gerçek kullanıcı görmez */
.form__honey { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; pointer-events: none; }

/* KVKK açık rıza satırı */
.field--check { grid-template-columns: auto 1fr; column-gap: 0.65rem; row-gap: 0.35rem; align-items: start; margin-top: 0.2rem; }
.field--check input[type="checkbox"] {
  width: 1.15rem; height: 1.15rem; min-height: 0; padding: 0; margin: 0.15rem 0 0;
  accent-color: var(--bronze); cursor: pointer; flex: none; border-radius: 4px;
}
.field--check input[type="checkbox"]:focus { box-shadow: 0 0 0 3px rgba(212,20,58,0.18); outline: none; }
.field--check label {
  grid-column: 2; margin: 0; font-size: 0.9rem; line-height: 1.5;
  letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--stone); cursor: pointer;
}
.field--check label a { color: var(--bronze); text-decoration: underline; text-underline-offset: 2px; }
.field--check label .req { color: var(--bronze); }
.field--check .err { grid-column: 1 / -1; }
.field--check.has-error input[type="checkbox"] { outline: 2px solid #b4451f; outline-offset: 2px; }

/* durum kutusu: varsayılan = başarı (yeşil), .is-error = kırmızı */
.form__status { background: rgba(31,122,74,0.10); border-color: #2f9160; color: #1c6b42; }
.form__status.is-error { background: rgba(180,69,31,0.10); border-color: #b4451f; color: #9b3a1a; }
.form__status.is-error .form__status-icon { display: none; }
.form__status-icon { flex: none; }

/* ===================================================================
   26. Yasal metin (gizlilik / KVKK)
   =================================================================== */
.legal { max-width: 800px; }
.legal .legal-lead { color: var(--ink); font-size: 1.08rem; line-height: 1.7; }
.legal h2 { margin-top: 2.8rem; font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.7rem); }
.legal p { color: var(--stone); line-height: 1.75; margin-top: 0.9rem; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal ul { margin: 1rem 0 0; padding-left: 1.25rem; display: grid; gap: 0.55rem; }
.legal ul li { list-style: disc; color: var(--stone); line-height: 1.7; }
.legal a { color: var(--bronze); text-decoration: underline; text-underline-offset: 2px; }
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: var(--on-dark); text-decoration: underline; }

/* ===================================================================
   27. Özel İşler — referans tablosu
   =================================================================== */
.oi-band {
  background: var(--bronze); color: #fff;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  font-size: 0.82rem; text-align: center; padding: 0.85em 1em;
  border-radius: var(--radius) var(--radius) 0 0;
}
.oi-wrap { overflow-x: auto; border: 1px solid var(--line); border-top: 0; -webkit-overflow-scrolling: touch; }
.oi-table { border-collapse: collapse; width: 100%; min-width: 840px; font-size: 0.9rem; background: #fff; }
.oi-table thead th {
  position: sticky; top: 0; z-index: 2;
  background: var(--charcoal); color: var(--on-dark);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.85em 0.9em; text-align: left; white-space: nowrap;
  border-right: 1px solid rgba(236,231,219,0.12);
}
.oi-table tbody td { padding: 0.68em 0.9em; border-bottom: 1px solid var(--line); border-right: 1px solid rgba(22,20,14,0.06); vertical-align: middle; color: var(--ink); }
.oi-table th:last-child, .oi-table td:last-child { border-right: 0; }
.oi-table tbody tr:hover td { background: rgba(212,20,58,0.045); }
.oi-no { color: var(--stone); text-align: center; width: 44px; font-variant-numeric: tabular-nums; }
.oi-logo { width: 172px; }
.oi-logo img { height: 38px; width: auto; max-width: 150px; object-fit: contain; display: block; }
.oi-yr { text-align: center; font-variant-numeric: tabular-nums; white-space: nowrap; }
.oi-price { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.oi-det { color: var(--stone); max-width: 34ch; }
.oi-dash { color: var(--line-dark, #ccc); }
@media (max-width: 640px) { .oi-band { font-size: 0.72rem; } .oi-table { font-size: 0.84rem; } }
