/* CLT Yangın ve İş Güvenliği — soft modern flat stylesheet */

:root {
  --accent: #1f4e9b;
  --accent-dark: #163a75;
  --accent-soft: #e9eff9;
  --navy: #1f2937;
  --navy-soft: #334155;
  --ink: #263043;
  --muted: #64748b;
  --line: #e8ecf2;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --bg-soft-2: #eef2f8;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(31, 41, 55, 0.06);
  --shadow-hover: 0 12px 34px rgba(31, 41, 55, 0.12);
  --max: 1140px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; font-weight: 700; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 700;
}
.brand:hover { color: var(--navy); }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), #3b6fc9);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px;
  box-shadow: 0 6px 16px rgba(31, 78, 155, 0.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 16px; }
.brand-text span { font-size: 11px; color: var(--muted); font-weight: 500; letter-spacing: .3px; }
.brand-logo { height: 46px; width: auto; display: block; }
@media (max-width: 480px) { .brand-logo { height: 38px; } }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--navy-soft);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background .2s ease, color .2s ease;
}
.nav-links a:hover { background: var(--bg-soft-2); color: var(--navy); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 9px 16px !important;
  border-radius: 999px !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 10px; cursor: pointer;
  color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(31,78,155,0.10), transparent 60%),
    linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--line);
}
.hero-inner { max-width: 780px; }
.eyebrow {
  display: inline-block;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px; font-weight: 600;
  padding: 6px 14px; border-radius: 999px;
  letter-spacing: .4px; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(30px, 5vw, 48px); margin: 0 0 18px; letter-spacing: -0.5px; }
.hero p { font-size: 19px; color: var(--muted); margin: 0 0 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 16px;
  padding: 13px 26px; border-radius: 999px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(31,78,155,0.28); }
.btn-primary:hover { background: var(--accent-dark); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--navy); border: 1px solid var(--line); }
.btn-ghost:hover { color: var(--navy); border-color: #cfd8e3; transform: translateY(-2px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero with background image */
.hero.hero-image {
  position: relative;
  border-bottom: none;
  padding: 110px 0 96px;
  background: #1a1f2b;
  overflow: hidden;
}
.hero.hero-image::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(20,25,35,0.92) 0%, rgba(20,25,35,0.72) 45%, rgba(20,25,35,0.45) 100%),
    var(--hero-img) center/cover no-repeat;
  z-index: 0;
}
.hero.hero-image .hero-inner { position: relative; z-index: 1; }
.hero.hero-image .eyebrow { background: rgba(31,78,155,0.9); color: #fff; }
.hero.hero-image h1 { color: #fff; }
.hero.hero-image p { color: #e2e8f0; }

/* Card with image on top */
.card.card-media { padding: 0; overflow: hidden; }
.card.card-media .card-img { height: 200px; width: 100%; object-fit: cover; display: block; }
.card.card-media .card-body { padding: 26px 26px 30px; }
.card.card-media .card-body h3 { margin-top: 0; }

/* Media split (image + text) */
.media-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.media-split.reverse .media-figure { order: 2; }
.media-figure img {
  width: 100%; border-radius: var(--radius);
  box-shadow: var(--shadow); object-fit: cover;
}

/* Logo grid (clients) */
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }
.logo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; min-height: 130px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.logo-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.logo-card img { max-height: 62px; max-width: 100%; width: auto; object-fit: contain; filter: grayscale(15%); transition: filter .2s ease; }
.logo-card:hover img { filter: grayscale(0%); }
.logo-card b { font-size: 13px; color: var(--navy); line-height: 1.3; }
.logo-card span { font-size: 12px; color: var(--muted); }

/* Photo gallery strip */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid img {
  width: 100%; height: 190px; object-fit: cover; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); transition: transform .25s ease;
}
.gallery-grid a { display: block; overflow: hidden; border-radius: var(--radius-sm); }
.gallery-grid a:hover img { transform: scale(1.06); }

/* Captioned photo gallery (figures) */
.figure-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.figure-gallery figure {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden;
  box-shadow: var(--shadow); cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}
.figure-gallery figure:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.figure-gallery figure img { width: 100%; height: 210px; object-fit: cover; display: block; }
.figure-gallery figcaption {
  padding: 14px 16px 16px;
}
.figure-gallery figcaption b { display: block; font-size: 15px; color: var(--navy); line-height: 1.35; }
.figure-gallery figcaption span { font-size: 13px; color: var(--muted); }

/* Lightbox */
.gallery-grid img, .figure-gallery figure { cursor: zoom-in; }
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(15, 20, 30, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: 30px; opacity: 0; transition: opacity .2s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox figure { margin: 0; max-width: 92vw; max-height: 92vh; text-align: center; }
.lightbox img {
  max-width: 92vw; max-height: 82vh; width: auto; height: auto;
  border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  margin: 0 auto;
}
.lightbox figcaption { color: #e2e8f0; font-size: 15px; margin-top: 16px; line-height: 1.4; }
.lightbox figcaption b { color: #fff; }
.lb-close {
  position: absolute; top: 20px; right: 26px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; border: none;
  font-size: 24px; cursor: pointer; line-height: 1;
  display: grid; place-items: center; transition: background .2s ease;
}
.lb-close:hover { background: rgba(255,255,255,0.25); }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; border: none;
  font-size: 26px; cursor: pointer; display: grid; place-items: center;
  transition: background .2s ease;
}
.lb-nav:hover { background: rgba(255,255,255,0.25); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

@media (max-width: 900px) { .figure-gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .figure-gallery { grid-template-columns: 1fr; }
  .lb-nav { width: 42px; height: 42px; }
}

/* Logo strip (homepage) */
.logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 34px; }
.logo-strip img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .7; transition: all .25s ease; }
.logo-strip img:hover { filter: grayscale(0%); opacity: 1; }

@media (max-width: 900px) {
  .media-split { grid-template-columns: 1fr; gap: 28px; }
  .media-split.reverse .media-figure { order: 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Page header (inner pages) ---------- */
.page-head {
  background:
    radial-gradient(900px 300px at 85% -20%, rgba(31,78,155,0.08), transparent 60%),
    var(--bg-soft);
  padding: 60px 0 50px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.page-head p { color: var(--muted); font-size: 18px; margin: 0; max-width: 720px; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-title { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-title .eyebrow { margin-bottom: 14px; }
.section-title h2 { font-size: clamp(26px, 3.5vw, 34px); margin: 0 0 12px; }
.section-title p { color: var(--muted); font-size: 18px; margin: 0; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #dbe3ee; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 24px;
  margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin: 0 0 10px; }
.card p { color: var(--muted); margin: 0 0 16px; font-size: 16px; }
.card .more { font-weight: 600; font-size: 15px; }

/* ---------- Feature list ---------- */
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.feature-list li {
  position: relative;
  padding: 16px 18px 16px 52px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.feature-list li::before {
  content: "✓";
  position: absolute; left: 16px; top: 15px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 13px; font-weight: 700;
}
.feature-list.plain li { background: var(--bg-soft); }

/* Numbered list */
.num-list { list-style: none; counter-reset: n; margin: 0; padding: 0; display: grid; gap: 14px; }
.num-list li {
  position: relative; padding: 18px 20px 18px 64px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
}
.num-list li::before {
  counter-increment: n; content: counter(n);
  position: absolute; left: 16px; top: 16px;
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
}
.num-list li b { display: block; color: var(--navy); margin-bottom: 2px; }
.num-list li span { color: var(--muted); font-size: 15px; }

/* Prose */
.prose p { color: var(--navy-soft); margin: 0 0 18px; }
.prose h2 { font-size: 26px; margin: 36px 0 14px; }
.prose h3 { font-size: 20px; margin: 28px 0 10px; }
.lead { font-size: 20px; color: var(--muted); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 8px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 18px; text-align: center; box-shadow: var(--shadow);
}
.stat b { display: block; font-size: 30px; color: var(--accent); }
.stat span { font-size: 14px; color: var(--muted); }

/* Chips (clients) */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; font-size: 15px; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip b { display: block; color: var(--navy); font-size: 15px; }
.chip span { color: var(--muted); font-size: 13px; }

/* Documents */
.doc-list { display: grid; gap: 12px; }
.doc {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.doc:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateX(3px); }
.doc .doc-ico {
  flex: none; width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.doc .doc-name { color: var(--navy); font-weight: 600; font-size: 16px; }
.doc .doc-arrow { margin-left: auto; color: var(--muted); font-size: 20px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, #2b3a52 100%);
  border-radius: 22px;
  padding: 52px 44px;
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.5vw, 32px); margin: 0 0 12px; }
.cta-band p { color: #cbd5e1; font-size: 18px; margin: 0 0 26px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
}
.contact-card .icon {
  width: 50px; height: 50px; border-radius: 14px; margin-bottom: 16px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-size: 22px;
}
.contact-card h3 { font-size: 17px; margin: 0 0 6px; }
.contact-card p, .contact-card a { color: var(--muted); font-size: 16px; margin: 0; }
.contact-card a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  padding: 56px 0 28px;
  margin-top: 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 16px; }
.site-footer p { font-size: 15px; color: #94a3b8; margin: 0 0 10px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: #cbd5e1; font-size: 15px; }
.footer-links a:hover { color: #fff; }
.footer-brand .brand-mark { margin-bottom: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px; padding-top: 22px;
  text-align: center; font-size: 14px; color: #94a3b8;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: 64px 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px; gap: 2px;
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 52px 0; }
  .cta-band { padding: 40px 24px; }
}
