/* Öntürkler İnşaat — site stilleri
   Renkler 2016 basılı iş takımından (antetli kâğıttaki mavi #0028A4) ve şantiyeden (beton grisi, yol çizgisi sarısı) gelir. */
:root {
  --navy: #0028a4;
  --navy-deep: #0f1d3a;
  --sky: #3d8fcc;
  --concrete: #eceeef;
  --paper: #ffffff;
  --line: #c9ced3;
  --muted: #55627a;
  --signal: #f5b700;
  --head: "Barlow Semi Condensed", "Arial Narrow", Arial, sans-serif;
  --body: "Barlow", Arial, Helvetica, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--concrete);
  color: var(--navy-deep);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--sky); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--head); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.9rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--signal); color: var(--navy-deep); padding: 10px 16px; z-index: 50; }
.skip:focus { left: 12px; top: 12px; }

/* Üst bant */
.top { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand img { width: 204px; }
.nav { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav a {
  display: block; padding: 10px 14px; text-decoration: none;
  font-family: var(--head); font-weight: 500; font-size: 1.12rem; color: var(--navy-deep);
  border-bottom: 3px solid transparent;
}
.nav a:hover { border-bottom-color: var(--line); color: var(--navy); }
.nav a[aria-current="page"] { border-bottom-color: var(--signal); color: var(--navy); }
.menu-btn { display: none; }

/* Ana sayfa girişi: yol fotoğrafı, üstüne oturan lacivert pano */
.hero { position: relative; background: var(--navy-deep); }
.hero-photo { width: 100%; height: clamp(360px, 62vh, 640px); object-fit: cover; object-position: 50% 58%; }
.hero-panel {
  position: relative; margin-top: -150px; background: var(--navy); color: #fff;
  padding: clamp(28px, 4vw, 52px); max-width: 780px;
  border-left: 8px solid var(--signal);
}
.hero-panel p { font-size: 1.22rem; color: #dbe6f5; margin: 18px 0 26px; max-width: 46ch; }
.hero-after { height: 56px; background: var(--concrete); }

.btn {
  display: inline-block; padding: 13px 22px; text-decoration: none;
  font-family: var(--head); font-weight: 600; font-size: 1.12rem;
  background: var(--signal); color: var(--navy-deep); border: 2px solid var(--signal);
}
.btn:hover { background: #fff; border-color: #fff; color: var(--navy-deep); }
.btn.ghost { background: transparent; color: #fff; border-color: #8fa6cf; margin-left: 10px; }
.btn.ghost:hover { background: #fff; color: var(--navy-deep); }
.btn.dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn.dark:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }

section { padding: clamp(48px, 7vw, 96px) 0; }
section.white { background: var(--paper); }
section.navy { background: var(--navy-deep); color: #fff; }
section.navy a { color: #fff; }
.lead { font-size: 1.25rem; max-width: 60ch; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.section-head p { margin: 10px 0 0; color: var(--muted); }

/* Rakamlar: tek satır, çizgiyle ayrılmış */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy-deep); margin: 0; padding: 0; }
.facts div { padding: 22px 20px 6px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.facts div:last-child { border-right: 0; margin-right: 0; }
.facts dt { font-family: var(--head); font-weight: 600; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--navy); }
.facts dd { margin: 8px 0 0; color: var(--muted); font-size: 1rem; }

/* Faaliyet alanları: numarasız, çizgili liste */
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--navy-deep); }
.field { padding: 26px 26px 30px 0; border-bottom: 1px solid var(--line); }
.field h3 a { text-decoration: none; color: var(--navy-deep); }
.field h3 a:hover { color: var(--sky); }
.field p { margin: 10px 0 0; color: var(--muted); font-size: 1.02rem; max-width: 34ch; }
.field .count { display: block; margin-top: 12px; font-family: var(--head); font-weight: 500; color: var(--navy); }

/* Devam eden iş */
.ongoing { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.ongoing .status { display: inline-block; background: var(--signal); color: var(--navy-deep); font-family: var(--head); font-weight: 600; padding: 4px 12px; margin-bottom: 18px; }
.ongoing h2 { margin-bottom: 16px; }
.ongoing p { color: #dbe6f5; }
.kv { margin: 0; border-top: 1px solid #3b4d75; }
.kv div { display: grid; grid-template-columns: 11em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid #3b4d75; }
.kv dt { color: #a9b9d6; }
.kv dd { margin: 0; font-weight: 500; }
.light .kv, .light .kv div { border-color: var(--line); }
.light .kv dt { color: var(--muted); }

/* Fotoğraf şeridi */
.photos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }
.photos figure { margin: 0; }
.photos.on-navy figcaption { color: #a9b9d6; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 260px; object-fit: cover; }
.gallery figcaption { font-size: 0.95rem; color: var(--muted); padding-top: 8px; }
.photos.on-navy { margin-top: clamp(32px, 5vw, 56px); }
.photos img { width: 100%; height: 300px; object-fit: cover; }
.photos figcaption { font-size: 0.95rem; color: var(--muted); padding-top: 8px; }

/* İdare listesi */
.clients { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 48px; border-top: 2px solid var(--navy-deep); }
.clients li { padding: 14px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-weight: 500; }

/* İç sayfa başlığı */
.page-head { background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 5vw, 60px); border-bottom: 8px solid var(--signal); }
.page-head p { color: #dbe6f5; font-size: 1.22rem; margin: 16px 0 0; max-width: 58ch; }

/* İş cetveli */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button {
  font: inherit; font-family: var(--head); font-weight: 500; font-size: 1.05rem;
  padding: 8px 14px; background: var(--paper); color: var(--navy-deep);
  border: 1px solid var(--line); cursor: pointer;
}
.filters button:hover { border-color: var(--navy); }
.filters button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.filter-count { color: var(--muted); margin: 0 0 14px; }

.register { width: 100%; border-collapse: collapse; background: var(--paper); border-top: 2px solid var(--navy-deep); }
.register th { text-align: left; font-family: var(--head); font-weight: 500; font-size: 1rem; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); }
.register td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.register th:first-child { width: 46%; }
.register th:nth-child(3) { width: 24%; }
.register .title { font-family: var(--head); font-weight: 600; font-size: 1.28rem; line-height: 1.2; display: block; }
.register .official { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 6px; max-width: 62ch; }
.register .dates { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 500; }
.register .field-tag { white-space: nowrap; color: var(--navy); font-family: var(--head); font-weight: 500; }
.register tr.is-ongoing td { background: #fff8dc; }
.register tr.is-ongoing .dates span { display: inline-block; background: var(--signal); padding: 1px 8px; font-family: var(--head); font-weight: 600; margin-bottom: 4px; }

/* Faaliyet alanı blokları */
.area { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 5vw, 64px); padding: 40px 0; border-top: 2px solid var(--navy-deep); }
.area:last-child { border-bottom: 2px solid var(--navy-deep); }
.area ul { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--line); }
.area li { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.area li span:last-child { color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* Makine parkı */
.fleet { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(28px, 5vw, 72px); }
.fleet table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy-deep); }
.fleet caption { text-align: left; font-family: var(--head); font-weight: 600; font-size: 1.5rem; padding-bottom: 12px; }
.fleet td { padding: 11px 0; border-bottom: 1px solid var(--line); }
.fleet td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; width: 4em; }
.fleet td small { color: var(--muted); font-size: 1em; }

/* Hakkımızda */
.about { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.about img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }

/* İletişim */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.contact .big { font-family: var(--head); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; display: block; text-decoration: none; margin-bottom: 6px; }
.contact address { font-style: normal; font-size: 1.2rem; margin-bottom: 18px; }
.contact h2 { font-size: 1.5rem; margin: 0 0 14px; color: var(--muted); font-weight: 500; }

/* Kapanış çağrısı */
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Alt bilgi */
.foot { background: var(--navy-deep); color: #c5d1e8; padding: 56px 0 28px; font-size: 1rem; }
.foot .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.foot .plate { background: #fff; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.foot .plate img { width: 180px; }
.foot h2 { font-size: 1.15rem; color: #fff; margin-bottom: 12px; font-weight: 500; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; }
.foot a { color: #fff; }
.foot .legal { border-top: 1px solid #2f4069; margin-top: 40px; padding-top: 18px; font-size: 0.92rem; color: #93a4c6; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; font: inherit; font-family: var(--head); font-weight: 600;
    background: var(--paper); color: var(--navy-deep); border: 1px solid var(--line); padding: 9px 14px; cursor: pointer;
  }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 8px var(--gutter) 16px; gap: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--concrete); border-left: 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--signal); }
  .brand img { width: 168px; }
  .hero-photo { height: 300px; }
  .hero-panel { margin-top: -40px; border-left-width: 6px; }
  .btn.ghost { margin-left: 0; margin-top: 10px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(2) { border-right: 0; margin-right: 0; }
  .fields { grid-template-columns: 1fr; }
  .field { padding-right: 0; }
  .ongoing, .about, .contact, .fleet, .area { grid-template-columns: 1fr; }
  .photos { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 230px; }
  .photos img { height: 230px; }
  .clients { columns: 1; }
  .kv div { grid-template-columns: 1fr; gap: 2px; }
  .foot .cols { grid-template-columns: 1fr; gap: 28px; }
  .area { padding: 30px 0; gap: 8px; }
  .area li { flex-direction: column; gap: 2px; }

  /* İş cetveli telefonda kart düzenine geçer */
  .register thead { position: absolute; left: -9999px; }
  .register, .register tbody, .register tr, .register td { display: block; width: 100%; }
  .register tr { padding: 16px; border-bottom: 1px solid var(--line); }
  .register td { padding: 0; border: 0; }
  .register td + td { margin-top: 6px; }
  .register tr.is-ongoing { background: #fff8dc; }
  .register .dates br { display: none; }
  .register tr.is-ongoing .dates span { margin-right: 8px; }
  .register tr.is-ongoing td { background: transparent; }
}

@media (prefers-reduced-motion: no-preference) {
  .nav a, .btn, .filters button { transition: color .15s, background-color .15s, border-color .15s; }
}
