/* ==========================================================================
   Füzyon Plus — site stilleri
   Mobil öncelikli; kırılımlar: 640px, 900px, 1100px
   ========================================================================== */

:root {
  --ink: #14171A;
  --ink-2: #22272C;
  --paper: #F6F5F2;
  --white: #FFFFFF;
  --concrete: #E9E7E2;
  --line: #DCD9D2;
  --line-strong: #C9C5BC;
  --muted: #4C5258;
  --muted-2: #5A6066;
  --accent: #0B5FD8;
  --accent-dark: #0A4FB3;
  --on-dark: #F6F5F2;
  --on-dark-muted: #C9CDD1;
  --on-dark-line: #3A4046;
  --accent-on-dark: #8FB6F2;
  --danger: #B42318;
  --success: #067647;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: 20px;
  --section-y: 64px;
  --header-h: 68px;
}

@media (min-width: 900px) {
  :root { --gutter: 24px; --section-y: 96px; --header-h: 76px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
button, input, select, textarea { font: inherit; color: inherit; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 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: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip-link:focus { top: 12px; color: var(--white); }

/* ---------- Tipografi ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
.display { font-weight: 800; font-size: clamp(38px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
.h1 { font-weight: 800; font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.03em; }
.h2 { font-weight: 800; font-size: clamp(28px, 3.8vw, 48px); line-height: 1.08; letter-spacing: -0.03em; }
.h3 { font-weight: 700; font-size: 21px; }
.eyebrow { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: 18px; color: var(--muted); max-width: 620px; }
@media (min-width: 900px) { .lead { font-size: 19px; } }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px;
  font-weight: 600; font-size: 16px; text-decoration: none; text-align: center;
  border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-2); color: var(--white); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-outline-light { border-color: var(--on-dark); color: var(--on-dark); background: transparent; }
.btn-outline-light:hover { background: var(--on-dark); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; padding: 8px 0; }
.link-arrow:hover { text-decoration: underline; }

/* ---------- Üst şerit ve başlık ---------- */
.topbar { background: var(--ink); color: var(--on-dark-muted); font-size: 13px; display: none; }
.topbar a { color: var(--on-dark-muted); text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar .container { display: flex; justify-content: space-between; gap: 24px; padding-top: 9px; padding-bottom: 9px; }
.topbar-links { display: flex; gap: 20px; }
@media (min-width: 900px) { .topbar { display: block; } }

/* Not: backdrop-filter kullanılmaz; mobil menünün position:fixed konumunu bozar. */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { display: flex; flex-direction: column; gap: 3px; width: 30px; }
.brand-mark span { height: 5px; background: var(--ink); }
.brand-mark span:first-child { background: var(--accent); }
.brand-mark span:last-child { background: #8D9195; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; }
.brand-name b { color: var(--accent); font-weight: 800; }
@media (min-width: 900px) { .brand-mark { width: 34px; } .brand-mark span { height: 6px; } .brand-name { font-size: 24px; } }

/* Menü — mobil */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border: 1.5px solid var(--ink); background: transparent; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .2s, opacity .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--paper);
  overflow-y: auto; padding: 8px var(--gutter) 32px;
  display: none; flex-direction: column;
}
.nav-open .main-nav { display: flex; }
.nav-open { overflow: hidden; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul > li { border-bottom: 1px solid var(--line); }
.main-nav a.nav-link, .main-nav .nav-sub-toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 56px; padding: 0; background: none; border: 0; text-align: left;
  font-size: 18px; font-weight: 600; text-decoration: none; color: var(--ink); cursor: pointer;
}
.main-nav a.nav-link[aria-current="page"], .main-nav .nav-sub-toggle.is-active { color: var(--accent); }
.nav-caret { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s; margin-right: 6px; }
.nav-sub-toggle[aria-expanded="true"] .nav-caret { transform: rotate(-135deg); }
.submenu { display: none; padding: 0 0 16px; }
.submenu.is-open { display: block; }
.submenu-group { margin-bottom: 12px; }
.submenu-title { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin: 8px 0 4px; }
.submenu ul { list-style: none; margin: 0; padding: 0; }
.submenu a { display: block; padding: 10px 0; text-decoration: none; font-size: 16px; }
.submenu .submenu-all { font-weight: 600; color: var(--accent); }
.nav-cta { margin-top: 24px; }
.nav-cta .btn { width: 100%; }

/* Menü — masaüstü */
@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .main-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 28px; padding: 0; background: none; overflow: visible; }
  .main-nav > ul { display: flex; align-items: center; gap: 28px; }
  .main-nav > ul > li { border: 0; position: relative; }
  .main-nav a.nav-link, .main-nav .nav-sub-toggle { min-height: 44px; font-size: 15px; font-weight: 500; gap: 8px; }
  .nav-caret { width: 7px; height: 7px; margin: -3px 0 0; border-width: 1.5px; }
  .submenu {
    position: absolute; top: calc(100% + 14px); left: -24px; width: 560px;
    background: var(--white); border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(20, 23, 26, .10);
    padding: 24px; grid-template-columns: 1fr 1fr; gap: 0 32px;
  }
  .submenu.is-open, .has-sub:hover .submenu, .has-sub:focus-within .submenu { display: grid; }
  .has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; } /* hover köprüsü */
  .submenu a { padding: 7px 0; font-size: 15px; }
  .submenu .submenu-all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 8px; }
  .nav-cta { margin: 0; }
  .nav-cta .btn { width: auto; min-height: 44px; padding: 10px 20px; font-size: 15px; }
}

/* ---------- Bölümler ---------- */
.section { padding: var(--section-y) 0; }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--concrete { background: var(--concrete); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .eyebrow { color: var(--accent-on-dark); }
.section--dark .muted, .section--dark .lead { color: var(--on-dark-muted); }
.section--dark a { color: var(--on-dark); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; margin-bottom: 40px; }
.section-head > div { max-width: 680px; }
.section-head p.muted { margin: 0; max-width: 440px; }
@media (min-width: 900px) { .section-head { margin-bottom: 48px; } }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; }
.hero .container { display: grid; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin: 0 0 32px; }
@media (min-width: 640px) { .hero { padding: 72px 0 88px; } }
@media (min-width: 1000px) { .hero .container { grid-template-columns: 1.15fr 1fr; gap: 56px; } .hero { padding: 88px 0 104px; } }

/* Sistem kesiti */
.layers { margin: 0; background: var(--white); border: 1px solid var(--line); padding: 22px; }
.layers figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.layer { display: grid; grid-template-columns: minmax(0, 55%) 1fr; gap: 14px; align-items: center; }
.layer-bar { min-height: 26px; }
.layer-text { font-size: 14px; line-height: 1.35; padding: 6px 0; }
.layer-text strong { display: block; }
.layers-note { margin: 18px 0 0; font-size: 14px; color: var(--muted-2); }
.lb-primer { background: #C2A35A; }
.lb-mid { background: linear-gradient(180deg, #c9ccce, #aeb2b5); }
.lb-membrane { background: #1f2b33; }
@media (min-width: 640px) { .layers { padding: 28px; } .layer-text { font-size: 15px; } }

/* ---------- Malzeme dokuları ---------- */
.sw-epoxy { background: linear-gradient(140deg, #5d7f8f 0%, #3f5f6e 55%, #355361 100%); }
.sw-tix { background-color: #8a8f93; background-image: radial-gradient(#d9d6cf 1.4px, transparent 1.6px), radial-gradient(#3c4145 1.2px, transparent 1.4px); background-size: 9px 9px, 7px 7px; background-position: 0 0, 3px 4px; }
.sw-self { background: linear-gradient(180deg, #c9ccce 0%, #b4b8bb 60%, #aeb2b5 100%); }
.sw-pu { background: linear-gradient(160deg, #4f6b5a, #3e5949); }
.sw-sport { background-color: #b5553b; background-image: linear-gradient(90deg, transparent 46%, #f2efe9 46%, #f2efe9 50%, transparent 50%), linear-gradient(0deg, transparent 70%, #f2efe9 70%, #f2efe9 73%, transparent 73%); }
.sw-stone { background-color: #c8b9a3; background-image: radial-gradient(#7a6a55 1.5px, transparent 2px), radial-gradient(#efe7da 2px, transparent 2.5px), radial-gradient(#9c8a73 1.2px, transparent 1.6px); background-size: 11px 11px, 13px 13px, 7px 7px; background-position: 0 0, 5px 6px, 2px 9px; }
.sw-micro { background-color: #9fa09c; background-image: radial-gradient(ellipse at 30% 40%, #b7b8b3 0%, transparent 45%), radial-gradient(ellipse at 75% 70%, #8d8e8a 0%, transparent 50%); }
.sw-water { background-image: repeating-linear-gradient(0deg, #22313b 0 10px, #2f4553 10px 13px, #1b2830 13px 22px); }
.ph { background-color: #d6d3cc; background-image: repeating-linear-gradient(45deg, transparent 0 14px, rgba(20, 23, 26, .05) 14px 15px); display: flex; align-items: center; justify-content: center; color: var(--muted-2); font-size: 14px; }

/* ---------- Hizmet kartları ---------- */
.service-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .service-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.service-card { background: var(--white); padding: 24px; display: flex; flex-direction: column; gap: 12px; position: relative; transition: background .15s; }
.service-card:hover { background: #FBFAF8; }
.service-card .swatch { height: 80px; transition: transform .25s; }
.service-card:hover .swatch { transform: scale(1.015); }
.service-card .num { font-size: 12px; font-weight: 600; color: var(--muted-2); }
.service-card h3 { font-size: 20px; font-weight: 700; }
.service-card h3 a { text-decoration: none; }
.service-card h3 a::after { content: ""; position: absolute; inset: 0; } /* tüm kart tıklanabilir */
.service-card p { margin: 0; font-size: 15px; color: var(--muted); }
.service-card .link-arrow { margin-top: auto; }
.service-card--dark { background: var(--ink); color: var(--on-dark); }
.service-card--dark:hover { background: var(--ink-2); }
.service-card--dark .num { color: #A9AEB4; }
.service-card--dark p { color: var(--on-dark-muted); }
.service-card--dark a { color: var(--on-dark); }
@media (min-width: 900px) { .service-card { padding: 28px; } .service-card .swatch { height: 88px; } }

/* ---------- Uygulama alanları ---------- */
.split { display: grid; gap: 40px; }
@media (min-width: 1000px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; } .split--even { grid-template-columns: 1fr 1fr; } }
.area-grid { display: grid; grid-template-columns: 1fr; gap: 24px 20px; }
@media (min-width: 640px) { .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .area-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.area-item { border-top: 3px solid var(--ink); padding-top: 16px; }
.area-item h3 { font-size: 19px; margin-bottom: 6px; }
.area-item p { margin: 0; font-size: 15px; color: var(--muted); }
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border: 1px solid var(--line-strong); background: var(--white); font-size: 14px; font-weight: 500; text-decoration: none; }
.tag:hover { border-color: var(--ink); color: var(--ink); }
.tag-swatch { width: 14px; height: 14px; flex: none; }

/* ---------- Süreç ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 28px; counter-reset: step; }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; } }
.steps li { border-top: 1px solid var(--on-dark-line); padding-top: 20px; }
.step-num { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--accent-on-dark); line-height: 1; }
.steps h3 { font-family: var(--font-body); font-size: 18px; font-weight: 600; margin: 12px 0 8px; letter-spacing: 0; }
.steps p { margin: 0; font-size: 15px; color: var(--on-dark-muted); }

/* ---------- Projeler ---------- */
.project-grid { display: grid; grid-template-columns: 1fr; gap: 32px 24px; }
@media (min-width: 640px) { .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.project-card { position: relative; }
.project-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete); }
.project-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.project-card:hover .media img { transform: scale(1.03); }
.project-card .cat { margin: 16px 0 4px; font-size: 13px; font-weight: 600; color: var(--accent); }
.project-card h3 { font-size: 20px; }
.project-card h3 a { text-decoration: none; }
.project-card h3 a::after { content: ""; position: absolute; inset: 0; }
.project-card .meta { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.empty-state { border: 1px dashed var(--line-strong); padding: 40px 24px; text-align: center; color: var(--muted); background: var(--white); }

.filter-pills { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 32px; scrollbar-width: thin; }
.filter-pills a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; border: 1px solid var(--line-strong); text-decoration: none; font-size: 15px; font-weight: 500; background: var(--white); }
.filter-pills a[aria-current="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line-strong); text-decoration: none; background: var(--white); }
.pagination [aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.gallery a { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-size: 13px; color: var(--muted); padding-top: 6px; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin: 0; }
.facts div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--muted-2); }
.facts dd { margin: 2px 0 0; font-weight: 600; }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } .facts div { padding-right: 16px; } }

/* ---------- Kurumsal / liste ---------- */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.checklist li:first-child { padding-top: 0; }
.checklist p { margin: 4px 0 0; font-size: 15px; color: var(--muted); }
.checklist svg { margin-top: 2px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
@media (min-width: 640px) { .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; } }
.feature-list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.feature-list svg { margin-top: 4px; }

.prose { max-width: 720px; }
.prose p { margin: 0 0 1em; font-size: 17px; color: #30363B; }
.prose p:first-child { font-size: 19px; color: var(--ink); }

.stat-cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) { .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-card { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.stat-card h3 { font-size: 18px; margin-bottom: 10px; }
.stat-card p, .stat-card li { color: var(--muted); font-size: 15px; }
.stat-card ul { margin: 0; padding-left: 18px; }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-header { background: var(--white); border-bottom: 1px solid var(--line); padding: 32px 0 40px; }
.page-header .lead { margin: 16px 0 0; }
@media (min-width: 900px) { .page-header { padding: 48px 0 64px; } }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; font-size: 14px; color: var(--muted-2); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.breadcrumb a { color: var(--muted-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }

.service-hero { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .service-hero { grid-template-columns: 1.2fr 1fr; gap: 56px; } }
.service-hero-swatch { height: 160px; }
@media (min-width: 640px) { .service-hero-swatch { height: 220px; } }
.service-hero-media { aspect-ratio: 16 / 10; overflow: hidden; }
.service-hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* Hizmet detay yerleşimi */
.detail-layout { display: grid; gap: 48px; }
@media (min-width: 1000px) { .detail-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; } }
.detail-aside { display: grid; gap: 24px; }
@media (min-width: 1000px) { .detail-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.aside-card h2 { font-size: 20px; margin-bottom: 8px; }
.aside-card--dark { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.aside-card--dark p { color: var(--on-dark-muted); }
.aside-card--dark .btn { width: 100%; }
.aside-nav { list-style: none; margin: 0; padding: 0; }
.aside-nav a { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.aside-nav a[aria-current="page"] { color: var(--accent); }
.detail-block + .detail-block { margin-top: 56px; }
.detail-block > h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 20px; }

/* SSS */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 17px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-display); font-size: 24px; line-height: 1; color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 20px; color: var(--muted); max-width: 680px; }

/* Seçim rehberi tablosu */
.guide-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.guide-table th, .guide-table td { text-align: left; padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide-table thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); font-weight: 600; border-bottom: 2px solid var(--ink); }
.guide-table tbody th { font-weight: 600; width: 42%; }
.guide-table a { font-weight: 500; }

/* ---------- CTA bandı ---------- */
.cta-band { background: var(--accent); color: var(--white); padding: 48px 0; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(26px, 3.2vw, 40px); max-width: 720px; }
.cta-band p { margin: 10px 0 0; color: #DCE8FB; }
.cta-band .btn-light { background: var(--white); color: var(--ink); }
.cta-band .btn-light:hover { background: var(--paper); color: var(--ink); }
@media (min-width: 900px) { .cta-band { padding: 64px 0; } }

/* ---------- Form ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 56px; } }
.contact-list { margin: 0; display: grid; grid-template-columns: 1fr; gap: 4px 16px; font-size: 15px; }
.contact-list dt { color: var(--muted-2); margin-top: 12px; }
.contact-list dd { margin: 0; font-weight: 600; }
.contact-list dd a { text-decoration: none; }
@media (min-width: 640px) { .contact-list { grid-template-columns: 120px 1fr; } .contact-list dt { margin-top: 0; } }

.form-card { background: var(--white); border: 1px solid var(--line); padding: 24px; }
@media (min-width: 640px) { .form-card { padding: 32px; } }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .form-grid .full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field .req { color: var(--danger); }
.input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #B9B6AE; background: var(--paper); border-radius: 0; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(11, 95, 216, .18); background: var(--white); }
textarea.input { resize: vertical; min-height: 120px; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input-validation-error { border-color: var(--danger); }
.field-validation-error, .validation-summary-errors { color: var(--danger); font-size: 14px; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.hp-field { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.map-frame { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; margin-top: 32px; filter: grayscale(.4); }

.alert { padding: 16px 20px; border: 1px solid; margin-bottom: 24px; }
.alert-success { background: #ECFDF3; border-color: #ABEFC6; color: var(--success); }
.alert-error { background: #FEF3F2; border-color: #FECDCA; color: var(--danger); }

/* ---------- Altbilgi ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); font-size: 14px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 32px; padding: 56px 0 40px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
.footer-grid h2 { font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--on-dark); margin-bottom: 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-brand .brand-name { color: var(--on-dark); }
.footer-brand .brand-name b { color: var(--accent-on-dark); }
.footer-brand p { max-width: 320px; margin: 12px 0 0; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--on-dark-line); }
.social a:hover { border-color: var(--on-dark); }
.footer-bottom { border-top: 1px solid #2C3136; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Mobil hızlı iletişim çubuğu */
.quick-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); border-top: 1px solid #2C3136; padding-bottom: env(safe-area-inset-bottom); }
.quick-bar a { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 15px; }
.quick-bar a + a { background: var(--accent); }
body.has-quick-bar { padding-bottom: 56px; }
@media (min-width: 900px) { .quick-bar { display: none; } body.has-quick-bar { padding-bottom: 0; } }

/* Hata sayfaları */
.error-page { padding: 96px 0; text-align: left; }
.error-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 14vw, 160px); line-height: .9; color: var(--line-strong); }

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

@media print {
  .site-header, .topbar, .site-footer, .quick-bar, .cta-band, .nav-toggle { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Logo, galeri, proje mozaiği ve lightbox
   ========================================================================== */
.brand-logo { display: block; height: 40px; width: auto; max-width: 220px; object-fit: contain; }
@media (min-width: 900px) { .brand-logo { height: 46px; } }
.footer-brand .brand-logo { height: 44px; }

/* Galeri ızgarası — tüm küçük görseller sunucuda 4:3'e kırpılır, kutu da 4:3 */
.photo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 640px) { .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; } }
@media (min-width: 1100px) { .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.photo { margin: 0; position: relative; }
.photo > a { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--concrete); }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.photo > a:hover img, .photo > a:focus-visible img { transform: scale(1.04); }
.photo > a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(20, 23, 26, .55)); opacity: 0; transition: opacity .2s; }
.photo > a:hover::after { opacity: 1; }
.photo .zoom { position: absolute; right: 10px; bottom: 10px; z-index: 1; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(20, 23, 26, .7); color: #fff; opacity: 0; transition: opacity .2s; }
.photo > a:hover .zoom, .photo > a:focus-visible .zoom { opacity: 1; }
.photo figcaption { padding-top: 8px; font-size: 14px; line-height: 1.4; }
.photo figcaption small { display: block; color: var(--muted-2); font-size: 13px; }
.photo figcaption a { text-decoration: none; }
@media (max-width: 639px) { .photo figcaption { font-size: 13px; } .photo figcaption small { display: none; } }

/* Proje detay mozaiği — tüm kutular 4:3: panelde kırpılan alan sitede birebir görünür */
.mosaic { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mosaic > a { position: relative; display: block; overflow: hidden; background: var(--concrete); aspect-ratio: 4 / 3; }
.mosaic > a:first-child { grid-column: 1 / -1; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mosaic > a:hover img { transform: scale(1.03); }
.mosaic > a:nth-child(n+4) { display: none; }
.mosaic-more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: rgba(20, 23, 26, .55); color: #fff; font-weight: 600; font-size: 16px; }
.mosaic-all { margin-top: 12px; }
@media (min-width: 900px) {
  .mosaic { gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mosaic > a:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
  .mosaic > a:nth-child(n+4) { display: block; }
  .mosaic > a:nth-child(n+6) { display: none; }
  /* Az görselli projelerde kutular yine 4:3 kalır */
  .mosaic--1 { grid-template-columns: minmax(0, 760px); }
  .mosaic--1 > a:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaic--2, .mosaic--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic--2 > a:first-child, .mosaic--4 > a:first-child { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; }
  .mosaic--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 899px) { .mosaic--2 > a:nth-child(2) { grid-column: 1 / -1; } }
.mosaic-empty { aspect-ratio: 4 / 3; max-width: 760px; }

.project-layout { display: grid; gap: 40px; margin-top: 48px; }
@media (min-width: 1000px) { .project-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; } }
.project-facts { background: var(--white); border: 1px solid var(--line); padding: 24px; }
.project-facts dl { margin: 0; display: grid; gap: 0; }
.project-facts dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.project-facts dt { color: var(--muted-2); font-size: 14px; }
.project-facts dd { margin: 0; font-weight: 600; text-align: right; }
.project-facts .btn { width: 100%; margin-top: 20px; }
@media (min-width: 1000px) { .project-facts { position: sticky; top: calc(var(--header-h) + 24px); } }

.gallery-count { color: var(--muted-2); font-size: 15px; margin: -16px 0 24px; }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(12, 14, 16, .96); display: none; flex-direction: column; color: #fff; }
.lb.is-open { display: flex; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 10px 12px 10px 20px; font-size: 14px; color: #C9CDD1; }
.lb-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 8px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: opacity .2s; }
.lb-stage img.is-loading { opacity: .3; }
.lb-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); border: 0; color: #fff; cursor: pointer; font-size: 22px; line-height: 1; }
.lb-btn:hover { background: rgba(255, 255, 255, .18); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
@media (max-width: 639px) { .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } }
.lb-bottom { padding: 12px 20px 20px; min-height: 56px; font-size: 15px; text-align: center; padding-bottom: max(20px, env(safe-area-inset-bottom)); }
.lb-bottom a { color: var(--accent-on-dark); margin-left: 8px; }
.lb-open { overflow: hidden; }
.mosaic-more--d { display: none; }
@media (min-width: 900px) { .mosaic-more--m { display: none; } .mosaic-more--d { display: flex; } }
