/* Design system: ../design.md — kömür + beton + Maksan kırmızısı, Barlow Condensed italik / Barlow.
   Yapı: WEBSITE_BUILD_STANDARD.md — scroll-scrub hero (30 kare × 12vh = 360vh). */
:root {
  --red: #B8191B;
  --red-d: #8E1214;
  --coal: #111111;
  --concrete: #1C1C1C;
  --c-line: #2E2E2E;
  --paper: #F3F1ED;
  --ink: #151515;
  --steel: #6B6B6B;
  --smoke: #A3A3A3;
  --white: #FFFFFF;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --pad-x: clamp(1rem, 5vw, 4.5rem);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 60px; }
body {
  background: var(--coal); color: var(--white);
  font-family: 'Barlow', system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif; font-weight: 700; line-height: .95; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; font-weight: 800; color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--red); color: #fff; padding: .6rem 1rem; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- ortak parçalar ---------- */
.slash {
  display: inline-block; width: 26px; height: 4px; background: var(--red);
  transform: skewX(-28deg); margin-right: .7rem; vertical-align: middle; border-radius: 1px;
}
.tag, .eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .85rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center;
}
.dark .tag, .tag.light, .eyebrow { color: #E9E6E1; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.7rem; border: 0; cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); /* logo italiği */
  transition: transform .22s var(--ease), background .22s, color .22s, box-shadow .22s; white-space: nowrap;
}
.btn-sm { min-height: 40px; padding: .55rem 1.25rem; font-size: .95rem; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-d); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.btn-block { width: 100%; }
.grid-tex {
  position: absolute; inset: 0; pointer-events: none; opacity: .045;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ---------- header ---------- */
#site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem var(--pad-x);
  transition: background .3s, padding .3s, box-shadow .3s;
}
#site-header.scrolled {
  background: rgba(17, 17, 17, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: .65rem; padding-bottom: .65rem; box-shadow: 0 1px 0 var(--c-line);
}
.brand img { width: clamp(140px, 16vw, 186px); height: auto; }
nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.navlink {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase;
  color: #D6D3CE; position: relative; padding: .4rem 0;
}
.navlink::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--red); transition: right .25s var(--ease); }
.navlink:hover { color: #fff; }
.navlink:hover::after { right: 0; }
@media (max-width: 900px) { .navlink { display: none; } }

/* ---------- hero: scroll-scrub ---------- */
#hero-section { position: relative; height: 360vh; /* 30 kare × 12vh (standart) */ background: var(--coal); }
.hero-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .86) 0%, rgba(10, 10, 10, .55) 38%, rgba(10, 10, 10, 0) 68%),
    linear-gradient(0deg, rgba(10, 10, 10, .7) 0%, rgba(10, 10, 10, 0) 30%),
    linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, 0) 18%);
}
#hero-overlay {
  position: absolute; z-index: 2; left: var(--pad-x); right: var(--pad-x); top: 50%;
  transform: translateY(-46%); max-width: 720px; will-change: opacity, transform;
}
#hero-overlay h1 { font-size: clamp(3.2rem, 8.6vw, 7.4rem); margin: 1.1rem 0 1.3rem; }
#hero-overlay h1 em { display: inline-block; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: #DAD6D0; max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.build-meter {
  position: absolute; z-index: 2; right: var(--pad-x); bottom: clamp(1.5rem, 6vh, 3.2rem);
  display: grid; grid-template-columns: auto auto; gap: .35rem 1.2rem; align-items: end; min-width: 220px;
}
.bm-label { font-family: 'Barlow Condensed', sans-serif; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--smoke); }
.bm-val { font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 800; font-size: 2.3rem; line-height: 1; text-align: right; }
.bm-bar { grid-column: 1 / -1; height: 4px; background: rgba(255, 255, 255, .16); overflow: hidden; transform: skewX(-28deg); }
.bm-bar i { display: block; height: 100%; width: 0; background: var(--red); }
#scroll-hint {
  position: absolute; z-index: 2; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: .3em; text-transform: uppercase; font-size: .72rem; color: #CFCBC5;
}
#scroll-hint .line { width: 1px; height: 42px; background: linear-gradient(#fff, transparent); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 720px) {
  .build-meter { left: var(--pad-x); right: auto; min-width: 0; bottom: 5.6rem; }
  #scroll-hint { display: none; }
  .hero-shade { background: linear-gradient(0deg, rgba(10,10,10,.9) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.35) 100%); }
  #hero-overlay { top: auto; bottom: 9.5rem; transform: none; }
}

/* ---------- güven şeridi ---------- */
.strip {
  position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--red); color: #fff;
}
.strip-item { padding: 1.9rem var(--pad-x) 1.9rem 2rem; border-right: 1px solid rgba(255, 255, 255, .22); }
.strip-item:first-child { padding-left: var(--pad-x); }
.strip-item:last-child { border-right: 0; }
.strip-item b { display: block; font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1; }
.strip-item span { font-size: .95rem; opacity: .92; }
@media (max-width: 860px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip-item, .strip-item:first-child { padding: 1.4rem var(--pad-x); }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .22); }
}

/* ---------- bloklar ---------- */
.block { position: relative; padding: clamp(4.5rem, 10vw, 8rem) var(--pad-x); overflow: hidden; }
.block.light { background: var(--paper); color: var(--ink); }
.block.dark { background: var(--coal); }
.sec-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head h2 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); margin: .9rem 0 1rem; }
.sec-head p { color: var(--steel); font-size: 1.1rem; }
.dark .sec-head p { color: var(--smoke); }

/* hizmetler */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #DCD8D1; border: 1px solid #DCD8D1; max-width: 1240px; margin: 0 auto; }
.svc { position: relative; background: var(--paper); padding: 2.4rem 2rem 2.6rem; transition: background .25s; }
.svc::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--red); transition: width .35s var(--ease); }
.svc:hover { background: #fff; }
.svc:hover::after { width: 100%; }
.svc .no { position: absolute; top: 1.6rem; right: 1.8rem; font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 800; font-size: 1.4rem; color: #C9C4BC; }
.svc .ico { width: 40px; height: 40px; color: var(--red); margin-bottom: 1.4rem; }
.svc h3 { font-size: 1.85rem; margin-bottom: .6rem; }
.svc p { color: var(--steel); font-size: 1rem; }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .svc-grid { grid-template-columns: 1fr; } }

/* süreç */
.process { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; max-width: 1240px; margin: 0 auto; }
.process-img { position: relative; clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%); }
.process-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% center; }
.process-img::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 8px; background: var(--red); }
.steps { list-style: none; display: grid; gap: 0; }
.steps li { display: grid; grid-template-columns: 70px 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--c-line); }
.steps li:last-child { border-bottom: 1px solid var(--c-line); }
.step-no { font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--red); }
.steps h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.steps p { color: var(--smoke); font-size: 1rem; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; }
  .process-img { clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
  .process-img img { aspect-ratio: 16 / 11; }
}

/* vitrin */
.showcase { position: relative; min-height: 100vh; display: flex; align-items: flex-end; overflow: hidden; }
.showcase-media { position: absolute; inset: -12% 0; }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.showcase-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, .78) 0%, rgba(8, 8, 8, .35) 45%, rgba(8, 8, 8, 0) 70%),
    linear-gradient(0deg, rgba(8, 8, 8, .95) 0%, rgba(8, 8, 8, .5) 42%, rgba(8, 8, 8, .08) 100%);
}
.showcase-text h2 em { color: #fff; position: relative; z-index: 0; }
.showcase-text h2 em::after { content: ""; position: absolute; left: 2%; right: 4%; bottom: .02em; height: .12em; background: var(--red); transform: skewX(-28deg); z-index: -1; }
.showcase-text { position: relative; padding: 0 var(--pad-x) clamp(3.5rem, 9vh, 6rem); max-width: 860px; }
.showcase-text h2 { font-size: clamp(3rem, 7.4vw, 6.4rem); margin: 1rem 0 1rem; }
.showcase-text p { font-size: 1.2rem; color: #E2DED8; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 1.4rem; }
.chips li { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: .9rem; padding: .45rem 1rem; border: 1px solid rgba(255, 255, 255, .4); transform: skewX(-12deg); }
.caption { color: #B5B1AB; font-size: .85rem; }

/* neden */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1240px; margin: 0 auto; }
.why { border-top: 4px solid var(--ink); padding-top: 1.4rem; }
.why .big { font-family: 'Barlow Condensed', sans-serif; font-style: italic; font-weight: 800; font-size: 3.6rem; line-height: 1; color: var(--red); }
.why h3 { font-size: 1.7rem; margin: .5rem 0 .5rem; }
.why p { color: var(--steel); font-size: 1rem; }
@media (max-width: 980px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* grup */
.group-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1240px; margin: 0 auto; }
.g-card { background: #fff; padding: 0; transition: transform .3s var(--ease), box-shadow .3s; }
.g-card img { width: 100%; aspect-ratio: 1000 / 632; object-fit: cover; }
.g-card figcaption { background: var(--concrete); color: var(--smoke); font-size: .92rem; padding: .85rem 1rem; }
.g-card.current figcaption { background: var(--red); color: #fff; font-weight: 600; }
.g-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
@media (max-width: 980px) { .group-grid { grid-template-columns: 1fr 1fr; } }

/* sss */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid #D4CFC7; }
.faq details:last-child { border-bottom: 1px solid #D4CFC7; }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 3rem 1.35rem 0; position: relative;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 1.45rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: linear-gradient(var(--red), var(--red)) center / 100% 3px no-repeat, linear-gradient(var(--red), var(--red)) center / 3px 100% no-repeat; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--steel); padding: 0 3rem 1.5rem 0; }

/* iletişim */
.contact { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); max-width: 1240px; margin: 0 auto; }
.form { background: var(--concrete); padding: clamp(1.5rem, 3vw, 2.5rem); border-top: 4px solid var(--red); display: grid; gap: 1.1rem; align-content: start; }
.field { display: grid; gap: .4rem; }
.field label { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: #D6D3CE; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: #fff; background: #121212; border: 1px solid #3A3A3A;
  padding: .85rem 1rem; min-height: 48px; border-radius: 0; transition: border-color .2s;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8A8A8A; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field.invalid input { border-color: #FF5A5C; }
.err { color: #FF8A8C; font-size: .9rem; min-height: 0; }
.contact-side { display: grid; gap: 1.2rem; align-content: start; }
.map { position: relative; aspect-ratio: 16 / 10; background: var(--concrete); filter: grayscale(.85) contrast(1.05); transition: filter .4s; }
.map:hover { filter: none; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.info { list-style: none; display: grid; gap: 1rem; }
.info li { display: grid; grid-template-columns: 26px 1fr; gap: .9rem; }
.info svg { width: 22px; height: 22px; color: var(--red); margin-top: .2rem; }
.info b { display: block; font-family: 'Barlow Condensed', sans-serif; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; color: #fff; }
.info span { color: var(--smoke); }
.info a { color: #fff; border-bottom: 1px solid var(--red); }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* footer */
footer { background: #0A0A0A; padding: 3rem var(--pad-x) 2rem; border-top: 1px solid var(--c-line); }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--c-line); }
.foot-top img { width: 200px; }
.foot-top p { color: var(--smoke); max-width: 30em; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; padding-top: 1.4rem; font-size: .9rem; color: #8C8C8C; }
.demo-note { color: #8C8C8C; }

/* mobil eylem çubuğu */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar {
    position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom); background: var(--coal); box-shadow: 0 -1px 0 var(--c-line);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 56px;
    font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .mbar-call { background: var(--red); }
  .mbar-wa { background: #1E1E1E; }
  footer { padding-bottom: 6rem; }
  #site-header .btn-sm { display: none; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  #scroll-hint .line { animation: none; }
  .btn, .svc::after, .g-card, .navlink::after { transition: none; }
}
