/* BAY-DEN İnşaat - site stilleri */

:root {
  --ink: #14171a;
  --ink-2: #2b3036;
  --steel: #5d6670;
  --steel-2: #8a929a;
  --line: #dcd8cf;
  --line-2: #c9c4b8;
  --paper: #f4f2ed;
  --paper-2: #ebe8e1;
  --white: #ffffff;
  --surface: #ffffff; /* kart ve form zeminleri (temaya göre değişir) */
  --on-accent: #14171a; /* altın zemin üstündeki yazı (her temada koyu) */
  --accent: #c9a24b;
  --accent-hover: #dbb862;
  --accent-2: #86661c;
  --accent-soft: #f1e7cf;
  --ok: #2f6b4f;
  --ok-soft: #dfece4;
  --dark: #111214;
  --dark-2: #1b1f24;
  --dark-line: rgba(255, 255, 255, 0.14);
  --dark-text: rgba(255, 255, 255, 0.72);

  --f-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --f-body: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 128px);
  --header-h: 76px;
  --radius: 2px;
  color-scheme: light;
}

/* ---------- Karanlık tema ----------
   assets/js/tema.js sayfa çizilmeden <html data-theme> değerini koyar (kayıtlı tercih, yoksa cihaz ayarı).
   Üst/alt bant ve hero zaten koyu; burada açık zeminli bölümler, kartlar ve yazı renkleri koyulaşır. */
:root[data-theme='dark'] {
  --ink: #ecebe6;
  --ink-2: #d3d1ca;
  --steel: #a4acb4;
  --steel-2: #7f878f;
  --line: #2a2f35;
  --line-2: #3b4148;
  --paper: #0f1113;
  --paper-2: #15181c;
  --surface: #1a1e23;
  --accent-2: #d9b863;
  --accent-soft: #2a2416;
  color-scheme: dark;
}
:root[data-theme='dark'] .filter-select select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ecebe6' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
:root[data-theme='dark'] .pcard, :root[data-theme='dark'] .info-card { border-color: var(--line); }
html { transition: background-color 0.25s; }

/* ---------- Temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open, body.lb-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip-link:focus { top: 12px; }

.ic { width: 18px; height: 18px; flex: none; }

/* ---------- Tipografi ---------- */
.h2, .h3, .page-title, .hero-title {
  font-family: var(--f-display);
  font-stretch: 82%;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.04;
  text-wrap: balance;
}
.h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
.h3 { font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.12; }
.lead { font-size: clamp(1.08rem, 1.4vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}
.eyebrow-no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-2);
}
.eyebrow-light .eyebrow-no { color: var(--accent); }
.eyebrow-no::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: rgba(255, 255, 255, 0.78); }

.prose p + p { margin-top: 1.1em; }
.prose .lead { margin-bottom: 1.2em; }
.prose h2 { margin: 1.6em 0 0.7em; }
.prose a:not(.link-arrow) { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.link-arrow .ic { width: 16px; height: 16px; transition: transform 0.2s; }
.link-arrow:hover { color: var(--accent-2); border-color: var(--accent-2); }
.link-arrow:hover .ic { transform: translateX(3px); }

.check-list { display: grid; gap: 10px; margin: 22px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .ic { color: var(--accent-2); margin-top: 3px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn .ic { width: 17px; height: 17px; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-hover); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--on-accent); border-color: var(--white); }
.btn-block { width: 100%; }

/* ---------- Üst bar ve header ---------- */
.topbar { background: #0a0b0c; color: rgba(255, 255, 255, 0.7); font-size: 0.82rem; border-bottom: 1px solid var(--dark-line); }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 24px; }
.topbar-list { display: flex; gap: 26px; align-items: center; }
.topbar-list li { display: flex; align-items: center; gap: 8px; }
.topbar-list .ic { width: 14px; height: 14px; color: var(--accent); }
.topbar a:hover { color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--dark);
  border-bottom: 1px solid var(--dark-line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28); }
.header-in { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 14px; flex: none; }
.logo-mark { height: 50px; width: auto; }
.logo-word { height: 34px; width: auto; }
.logo-full { display: inline-block; }
.logo-full img { width: 210px; height: auto; }

.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; gap: 4px; }
.site-nav > ul a {
  position: relative;
  display: block;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s;
}
.site-nav > ul a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s;
}
.site-nav > ul a:hover { color: var(--white); }
.site-nav > ul a:hover::after, .site-nav > ul a[aria-current='page']::after { transform: scaleX(1); }
.site-nav > ul a[aria-current='page'] { color: var(--white); font-weight: 600; }
.nav-mobile-foot { display: none; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle .ic { width: 22px; height: 22px; }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 42px; height: 42px; margin-left: -12px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 50%; background: transparent; color: rgba(255, 255, 255, 0.8); cursor: pointer; transition: color 0.2s, border-color 0.2s, background-color 0.2s; }
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle .ic { width: 19px; height: 19px; }
.theme-toggle .ic-sun { display: none; }
:root[data-theme='dark'] .theme-toggle .ic-sun { display: block; }
:root[data-theme='dark'] .theme-toggle .ic-moon { display: none; }
.nav-toggle-open { display: inline-flex; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle-close { display: inline-flex; }

/* ---------- Hero (ana sayfa) ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: min(calc(100svh - var(--header-h) - 40px), 860px);
  color: var(--white);
  background: var(--dark);
  isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 16, 19, 0.88) 0%, rgba(14, 16, 19, 0.62) 45%, rgba(14, 16, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(14, 16, 19, 0.75) 0%, rgba(14, 16, 19, 0) 40%);
}
.hero-in { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: clamp(64px, 10vw, 120px) 48px; }
.hero-title { font-size: clamp(2.7rem, 7vw, 6rem); font-stretch: 78%; font-weight: 800; line-height: 0.98; max-width: 14ch; }
.hero-lead { max-width: 560px; margin-top: 26px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: rgba(255, 255, 255, 0.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { border-top: 1px solid var(--dark-line); background: rgba(14, 16, 19, 0.55); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats li { padding: 28px 28px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.stats li + li { padding-left: 28px; border-left: 1px solid var(--dark-line); }
.stats strong {
  font-family: var(--f-display);
  font-stretch: 78%;
  font-weight: 700;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1;
  color: var(--white);
}
.stats em { font-style: normal; font-size: 0.5em; margin-left: 4px; color: var(--accent); font-weight: 600; }
.stats span { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
/* Giriş şeridi: iki rakam şeridin iki eşit yarısında ortalanır; etiket rakamın yanında durur */
.stats-hero { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-hero li, .stats-hero li + li { flex-direction: row; align-items: center; justify-content: center; gap: 20px; padding: 30px 24px; }
.stats-hero span { max-width: 12em; line-height: 1.55; }
/* ---------- Bölümler ---------- */
.section { padding-block: var(--section); }
.section-alt { background: var(--paper-2); }

.sec-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 64px);
}
.sec-head-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; color: var(--steel); }
.sec-head-light .h2 { color: var(--white); }

/* Tanıtım */
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro-body .h2 { margin-bottom: 26px; }
.intro-body > p + p { margin-top: 16px; color: var(--steel); }
.intro-media { position: relative; padding: 0 0 70px 0; }
.intro-main { aspect-ratio: 4 / 4.4; overflow: hidden; margin-left: 18%; }
.intro-main img, .intro-sub img { width: 100%; height: 100%; object-fit: cover; }
.intro-sub {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 46%;
  aspect-ratio: 4 / 3.2;
  overflow: hidden;
  border: 8px solid var(--paper);
}
.intro-badge {
  position: absolute;
  right: -1px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--accent);
  color: var(--on-accent);
}
.intro-badge strong { font-family: var(--f-display); font-stretch: 78%; font-size: 3rem; line-height: 1; font-weight: 800; }
.intro-badge span { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.4; }

/* Proje kartları */
.pcard { background: var(--surface); border: 1px solid var(--line); }
.pcard-link { display: flex; flex-direction: column; height: 100%; }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pcard-meta { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.pcard-meta span { color: var(--accent-2); }
.pcard-title { margin: 10px 0 8px; font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 1.4rem; line-height: 1.15; }
.pcard-text { color: var(--steel); font-size: 0.95rem; margin-bottom: 18px; }
.pcard-more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.9rem; }
.pcard-more .ic { width: 16px; height: 16px; color: var(--accent-2); transition: transform 0.2s; }
.pcard-link:hover .pcard-media img { transform: scale(1.04); }
.pcard-link:hover .pcard-title { color: var(--accent-2); }
.pcard-link:hover .pcard-more .ic { transform: translateX(3px); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  font-family: var(--f-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  background: var(--white);
  color: var(--on-accent);
}
.tag-ghost { background: rgba(255, 255, 255, 0.14); color: var(--white); }
.tag-durum { background: var(--accent); color: var(--on-accent); }
.pcard-media .tag-durum { position: absolute; left: 14px; top: 14px; z-index: 1; }

/* Öne çıkan projeler */
.featured-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.featured-grid .pcard-lg { grid-row: span 2; }
@media (min-width: 1061px) { .featured-grid-3 { grid-template-columns: 2fr 1fr; } }
/* 4 projede: büyük kart solda, sağda üstte iki kart, altta iki sütunu kaplayan yatay kart */
.featured-grid-4 .pcard:nth-child(4) { grid-column: span 2; }
.featured-grid-4 .pcard:nth-child(4) .pcard-link { flex-direction: row; }
.featured-grid-4 .pcard:nth-child(4) .pcard-media { flex: 0 0 50%; aspect-ratio: auto; min-height: 220px; }
.featured-grid-4 .pcard:nth-child(4) .pcard-body { flex: 1; justify-content: center; }
.featured-grid.featured-grid-4 .pcard:nth-child(4) .pcard-text { display: block; }
.featured-grid .pcard:not(.pcard-lg) .pcard-text, .featured-more .pcard-text { display: none; }
.featured-grid .pcard:not(.pcard-lg) .pcard-media, .featured-more .pcard-media { aspect-ratio: 16 / 11; }
.featured-grid .pcard:not(.pcard-lg) .pcard-title, .featured-more .pcard-title { font-size: 1.2rem; }
/* Konum etiketi bir ya da iki satır olsa da başlıklar aynı hizada kalsın */
.featured-grid .pcard:not(.pcard-lg) .pcard-meta, .featured-more .pcard-meta { min-height: 3.3em; line-height: 1.65; }
/* "Daha fazla" ile açılan ikinci sıra */
.featured-more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.featured-more[hidden] { display: none; }
.more-wrap { display: flex; justify-content: center; margin-top: 40px; }
.more-btn { min-width: 220px; }
.more-btn .ic { transition: transform 0.2s; }
.more-btn[aria-expanded='true'] .ic { transform: rotate(180deg); }
.pcard-lg .pcard-media { aspect-ratio: auto; flex: 1; min-height: 360px; }
.pcard-lg .pcard-title { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
.pcard-lg .pcard-body { flex: none; padding: 28px 30px 30px; }

/* Süreç */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); counter-reset: s; }
.step { position: relative; padding: 30px 28px 10px 0; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: ''; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--accent); }
.step + .step::before { left: -5px; }
.step-no { display: block; font-family: var(--f-display); font-stretch: 78%; font-weight: 800; font-size: 3rem; line-height: 1; color: var(--line-2); margin-bottom: 18px; }
.step h3 { font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 1.3rem; margin-bottom: 8px; }
.step p { color: var(--steel); font-size: 0.95rem; }

/* Kalite */

/* Haberler */
/* CTA bandı */
.cta-band { position: relative; color: var(--white); background: var(--dark); isolation: isolate; overflow: hidden; }
.cta-band-media { position: absolute; inset: 0; z-index: -1; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 19, 0.92) 0%, rgba(14, 16, 19, 0.7) 60%, rgba(14, 16, 19, 0.45) 100%); }
.cta-band-in { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 40px; align-items: end; padding-block: clamp(64px, 8vw, 110px); }
.cta-band .h2 { max-width: 18ch; }
.cta-band-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.cta-phone { display: flex; flex-direction: column; font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.cta-phone small { font-family: var(--f-mono); font-weight: 500; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); margin-bottom: 6px; }
.cta-phone:hover { color: var(--accent); }
.cta-phones { display: flex; flex-wrap: wrap; gap: 18px 36px; }

/* ---------- İç sayfa başlığı ---------- */
.page-hero { position: relative; color: var(--white); background: var(--dark); isolation: isolate; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 16, 19, 0.9) 0%, rgba(14, 16, 19, 0.6) 55%, rgba(14, 16, 19, 0.35) 100%); }
.page-hero-in { padding-block: clamp(72px, 10vw, 140px) clamp(48px, 6vw, 80px); }
.page-title { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-stretch: 78%; font-weight: 800; max-width: 18ch; }
.page-lead { max-width: 620px; margin-top: 20px; font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, 0.8); }

.crumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

/* ---------- Projeler sayfası ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 22px; margin-bottom: 32px; border-bottom: 1px solid var(--line-2); }
.filter-select select {
  min-height: 44px;
  min-width: 220px;
  padding: 0 44px 0 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314171a' stroke-width='1.8'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  appearance: none;
  cursor: pointer;
}
.filter-count { margin: 0; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.filter-count strong { color: var(--ink); }
.filter-empty { padding: 48px 0; text-align: center; color: var(--steel); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard[hidden] { display: none; }

/* ---------- Proje detay ---------- */
.project-hero { position: relative; display: flex; align-items: flex-end; min-height: clamp(420px, 68vh, 680px); color: var(--white); background: var(--dark); isolation: isolate; }
.project-hero-media { position: absolute; inset: 0; z-index: -1; }
.project-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.project-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 16, 19, 0.92) 0%, rgba(14, 16, 19, 0.45) 50%, rgba(14, 16, 19, 0.25) 100%); }
.project-hero-in { padding-block: 120px clamp(40px, 6vw, 72px); }
.project-hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.project-hero-loc { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: rgba(255, 255, 255, 0.8); }
.project-hero-loc .ic { color: var(--accent); }
.project-grid-detail { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: clamp(40px, 6vw, 90px); align-items: start; }
.project-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.info-card { background: var(--surface); border: 1px solid var(--line); padding: 30px; }
.info-card-title { font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); margin-bottom: 14px; }
.info-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.info-list div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.info-list dt { color: var(--steel); font-size: 0.92rem; }
.info-list dd { font-weight: 600; text-align: right; font-size: 0.95rem; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.project-video { margin: 0 0 16px; background: var(--dark); }
.video-box { position: relative; }
.video-cover { position: absolute; inset: 0; display: block; width: 100%; padding: 0; border: 0; background: var(--dark); cursor: pointer; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; }
.video-cover[hidden] { display: none; }
.video-play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(14, 16, 19, 0.6); border: 2px solid var(--accent); color: var(--white); transition: background 0.2s, transform 0.2s; }
.video-play .ic { width: 26px; height: 26px; margin-left: 4px; fill: currentColor; stroke: none; }
.video-cover:hover .video-play, .video-cover:focus-visible .video-play { background: var(--accent); transform: scale(1.05); }
.project-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--dark); }
.project-video figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; padding: 12px 16px; color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; }
.project-video figcaption small { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--steel-2); }
/* Proje görselleri: 6 sütunlu ızgara; ilk görsel büyük, 5 görselde alt satırdaki iki görsel yarı yarıya */
@media (min-width: 641px) {
  .gallery-grid-project { grid-template-columns: repeat(6, 1fr); }
  .gallery-grid-project .gallery-item { grid-column: span 2; }
  .gallery-grid-project .gallery-item:first-child { grid-column: span 4; grid-row: span 2; }
  /* Büyük görselin yüksekliğini yandaki iki görsel belirler; dikey fotoğraf satırı uzatmaz */
  .gallery-grid-project .gallery-item:first-child img { position: absolute; inset: 0; }
  .gallery-grid-project .gallery-item:nth-child(4):nth-last-child(2), .gallery-grid-project .gallery-item:nth-child(5):last-child { grid-column: span 3; }
  /* 2 ve 4 görselde eşit yarımlar */
  .gallery-grid-project .gallery-item:first-child:nth-last-child(2), .gallery-grid-project .gallery-item:first-child:nth-last-child(2) ~ .gallery-item { grid-column: span 3; grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery-grid-project .gallery-item:first-child:nth-last-child(4), .gallery-grid-project .gallery-item:first-child:nth-last-child(4) ~ .gallery-item { grid-column: span 3; grid-row: auto; aspect-ratio: 4 / 3; }
}
.gallery-item { position: relative; display: block; overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.gallery-grid .gallery-item { aspect-ratio: 4 / 3; }
.gallery-grid-project .gallery-item:first-child { aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; place-items: center; width: 40px; height: 40px; background: rgba(20, 23, 26, 0.75); color: var(--white); opacity: 0; transition: opacity 0.2s; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; }

.project-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-block: 40px; border-top: 1px solid var(--line-2); }
.pager-link { display: flex; align-items: center; gap: 14px; font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.pager-link small { display: block; font-family: var(--f-mono); font-weight: 500; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin-bottom: 4px; }
.pager-link .ic { width: 40px; height: 40px; padding: 10px; border: 1px solid var(--line-2); transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.pager-link:hover .ic { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pager-next { justify-content: flex-end; text-align: right; }
.pager-all { font-weight: 600; font-size: 0.9rem; padding: 10px 18px; border: 1px solid var(--line-2); }
.pager-all:hover { border-color: var(--ink); }

/* ---------- Galeri ---------- */
.gallery-masonry { columns: 3; column-gap: 16px; }
.gallery-masonry .gallery-item { break-inside: avoid; margin-bottom: 16px; }
.gallery-masonry .gallery-item img { height: auto; }
.gallery-video { margin: 0; cursor: default; background: var(--dark); }
.gallery-video video { display: block; width: 100%; height: auto; aspect-ratio: 464 / 832; background: var(--dark); }
.gallery-video-cap { display: flex; align-items: center; gap: 10px; padding: 12px 16px; color: rgba(255, 255, 255, 0.85); font-size: 0.88rem; }
.gallery-video-cap .ic { width: 16px; height: 16px; flex: none; color: var(--accent); }
.gallery-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(0deg, rgba(14, 16, 19, 0.8), rgba(14, 16, 19, 0)); color: var(--white); font-size: 0.88rem; font-weight: 500; opacity: 0; transition: opacity 0.2s; }
.gallery-item:hover .gallery-cap, .gallery-item:focus-visible .gallery-cap { opacity: 1; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 12, 14, 0.96); color: var(--white); }
.lightbox::backdrop { background: rgba(10, 12, 14, 0.96); }
.lightbox[open] { display: grid; grid-template-rows: 1fr auto; }
.lightbox-stage { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 64px 72px 12px; }
.lightbox-stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lightbox-bar { display: flex; justify-content: center; align-items: center; gap: 16px; padding: 14px 16px 22px; font-size: 0.92rem; color: rgba(255, 255, 255, 0.8); }
.lightbox-count { font-family: var(--f-mono); font-size: 0.75rem; color: rgba(255, 255, 255, 0.5); }
.lb-btn { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, 0.25); background: rgba(20, 23, 26, 0.6); color: var(--white); cursor: pointer; transition: background-color 0.2s, border-color 0.2s; }
.lb-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.lb-btn .ic { width: 22px; height: 22px; }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- KVKK ---------- */

.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound .page-title { color: var(--ink); margin-bottom: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-text); font-size: 0.95rem; }
/* Alt iletişim bölümü: menüdeki "İletişim" buraya iner (ayrı iletişim sayfası yok) */
.footer-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--dark-line); }
.footer-contact-head .eyebrow { margin-bottom: 14px; }
.footer-contact-head .h3 { color: var(--white); }
.footer-contact-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--dark-line); border: 1px solid var(--dark-line); }
.footer-contact-list li { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 24px 22px; background: var(--dark); }
.fc-ic { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 10px; border: 1px solid var(--dark-line); color: var(--accent); }
.fc-ic .ic { width: 19px; height: 19px; }
.fc-label { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.fc-value { color: var(--white); font-weight: 600; font-size: 1rem; line-height: 1.45; overflow-wrap: break-word; }
a.fc-value:hover { color: var(--accent); }
.fc-phones { display: grid; gap: 10px; }
.fc-value small { display: block; margin-top: 2px; font-family: var(--f-mono); font-weight: 500; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }
.fc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.88rem; font-weight: 600; color: var(--accent); }
.fc-link .ic { width: 15px; height: 15px; }
.fc-link:hover { color: var(--accent-hover); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding-block: clamp(48px, 6vw, 72px); }
.footer-brand p { margin-top: 22px; max-width: 340px; }
.footer-title { font-family: var(--f-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 18px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--dark-line); font-size: 0.84rem; color: rgba(255, 255, 255, 0.5); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-bottom a:hover { color: var(--white); }


/* ---------- Duyarlı ---------- */
@media (max-width: 1180px) {
  .site-nav > ul a { padding: 10px 9px; font-size: 0.92rem; }
  .header-in { gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1060px) {
  .topbar-list .topbar-saat { display: none; }
  .nav-toggle { display: inline-flex; margin-left: 0; }
  .theme-toggle { margin-left: auto; width: 46px; height: 46px; }
.site-nav {
    position: fixed;
    top: var(--nav-top, var(--header-h));
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px var(--gutter) 28px;
    background: var(--dark);
    overflow-y: auto;
    border-top: 1px solid var(--dark-line);
  }
  body.nav-open .site-nav { display: flex; }
  .site-nav > ul { flex-direction: column; gap: 0; }
  .site-nav > ul a { padding: 16px 0; font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 1.6rem; color: var(--white); border-bottom: 1px solid var(--dark-line); }
  .site-nav > ul a::after { display: none; }
  .site-nav > ul a[aria-current='page'] { color: var(--accent); }
  .nav-mobile-foot { display: grid; gap: 16px; margin-top: 28px; }
  .nav-mobile-tel { display: flex; justify-content: center; align-items: center; gap: 10px; font-weight: 600; color: var(--white); }
  .nav-mobile-tel .ic { color: var(--accent); }
  .nav-mobile-tel small { font-family: var(--f-mono); font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); }

  .featured-grid, .featured-more { grid-template-columns: 1fr 1fr; }
  .featured-grid .pcard-lg { grid-column: span 2; grid-row: auto; }
  .pcard-lg .pcard-media { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .step:nth-child(3)::before { left: 0; }
  .step:nth-child(n + 3) { border-top: 1px solid var(--line); margin-top: 24px; }
}

@media (max-width: 900px) {
  .footer-contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .intro-grid, .project-grid-detail { grid-template-columns: 1fr; }
.intro-media { max-width: 620px; }
  .project-aside { position: static; }
  .cta-band-in { grid-template-columns: 1fr; align-items: start; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats li:nth-child(n + 3) { border-top: 1px solid var(--dark-line); }
.gallery-masonry { columns: 2; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .topbar { display: none; }
  .logo-mark { height: 40px; }
  .logo-word { height: 27px; }
  .hero { min-height: 0; }
  .hero-in { padding-block: 72px 40px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .stats li { padding: 22px 12px 22px 0; }
  .stats li + li { padding-left: 16px; }
  .stats li:nth-child(3) { padding-left: 0; }
  .stats strong { font-size: 2.1rem; }
  .stats span { font-size: 0.64rem; letter-spacing: 0.08em; }
  .stats-hero li, .stats-hero li + li { flex-direction: column; gap: 8px; padding: 22px 12px; text-align: center; }
  .stats-hero span { max-width: none; }
  .project-grid, .featured-grid, .featured-more, .gallery-grid { grid-template-columns: 1fr; }
  .featured-grid .pcard-lg { grid-column: auto; }
  .featured-grid-4 .pcard:nth-child(4) { grid-column: auto; }
  .featured-grid-4 .pcard:nth-child(4) .pcard-link { flex-direction: column; }
  .featured-grid-4 .pcard:nth-child(4) .pcard-media { flex: none; aspect-ratio: 4 / 3; min-height: 0; }
  .featured-grid .pcard:not(.pcard-lg) .pcard-media, .featured-more .pcard-media { aspect-ratio: 4 / 3; }
  .featured-grid .pcard:not(.pcard-lg) .pcard-meta, .featured-more .pcard-meta { min-height: 0; }
  .more-btn { width: 100%; }
.gallery-grid-project .gallery-item:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 24px 0 8px; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line); margin-top: 16px; }
  .step + .step::before { left: 0; }
  .step:nth-child(3) { margin-top: 16px; }
.intro-media { padding-bottom: 56px; }
  .intro-main { margin-left: 12%; }
  .intro-badge { padding: 14px 16px; bottom: 12px; }
  .intro-badge strong { font-size: 2.3rem; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-select select { width: 100%; }
  .gallery-masonry { columns: 1; }
  .gallery-cap { opacity: 1; }
  .gallery-zoom { opacity: 1; }
  .project-pager { grid-template-columns: 1fr 1fr; }
  .pager-all { display: none; }
  .pager-link { font-size: 1rem; gap: 10px; }
  .pager-link .ic { width: 34px; height: 34px; padding: 8px; }
  .lightbox-stage { padding: 60px 8px 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 10px; transform: none; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-contact-list { grid-template-columns: 1fr; }
  .footer-contact-list li { display: grid; grid-template-columns: 42px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; padding: 18px; }
  .fc-ic { grid-row: span 3; margin-bottom: 0; }
  .fc-link { margin-top: 6px; }
  .cta-phone { font-size: 1.4rem; }
}

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

@media print {
  .topbar, .site-header, .cta-band, .site-footer { display: none; }
}

