/* BSF Enerji — kurumsal-endüstriyel tema */
:root {
  --navy-900: #0a1a3a;
  --navy-800: #0f2550;
  --navy-700: #163370;
  --navy-100: #e8edf7;
  --red: #d42a2f;
  --red-dark: #b01f24;
  --ink: #16202e;
  --muted: #5a6577;
  --line: #dde2ea;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --radius: 6px;
  --shadow: 0 6px 24px rgba(10, 26, 58, .08);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); }
h1, h2, h3, h4 { font-family: "Barlow", "Inter", sans-serif; line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--navy-900); color: #cfd8ea; }
.section.dark h2, .section.dark h3 { color: #fff; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section.dark .section-head p { color: #aab6cf; }

/* Placeholder: gerçek bilgiyle değiştirilecek alanlar */
.ph { background: #fff4c2; outline: 1px dashed #d9a400; border-radius: 3px; padding: 0 3px; color: #5c4500; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: var(--radius);
  font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--navy-900); }
.btn-navy { background: var(--navy-800); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }

/* Topbar */
.topbar { background: var(--navy-900); color: #b9c4da; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar .urgent { color: #fff; font-weight: 600; }
.topbar-right { display: flex; gap: 20px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  padding: 10px 14px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem;
  background: none; border: 0; cursor: pointer; font-family: inherit; border-radius: 4px;
}
.nav > a:hover, .nav .dd > button:hover { color: var(--red); }
.nav > a.btn { margin-left: 12px; padding: 11px 20px; color: #fff; background: var(--red); font-weight: 600; }
.nav > a.btn:hover { background: var(--red-dark); color: #fff; }
.dd { position: relative; }
.dd > button::after { content: "▾"; margin-left: 6px; font-size: .75em; }
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 760px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius);
  padding: 24px; display: none; grid-template-columns: repeat(3, 1fr); gap: 20px 28px;
}
.dd:hover .mega, .dd:focus-within .mega { display: grid; }
.mega h4 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.mega a { display: block; padding: 4px 0; text-decoration: none; color: var(--ink); font-size: .92rem; }
.mega a:hover { color: var(--red); }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; color: var(--navy-900); }

/* Hero */
.hero {
  position: relative; color: #fff; padding: 120px 0 100px;
  background: linear-gradient(100deg, rgba(10,26,58,.94) 0%, rgba(10,26,58,.82) 45%, rgba(10,26,58,.35) 100%),
              var(--hero-img) center/cover no-repeat;
}
.hero h1 { color: #fff; max-width: 780px; }
.hero h1 em { font-style: normal; color: #ff6b6f; }
.hero .lead { font-size: 1.2rem; max-width: 640px; color: #d6deed; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; font-size: .95rem; color: #d6deed; }
.hero-badges span::before { content: "✓"; color: #ff6b6f; font-weight: 700; margin-right: 8px; }

/* Stats */
.stats { background: var(--red); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 32px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,.2); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: "Barlow", sans-serif; font-size: 2.4rem; line-height: 1; }
.stat span { font-size: .92rem; opacity: .92; }
.stats .ph { background: rgba(255,255,255,.2); outline-color: #fff; color: #fff; }

/* Service grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s;
  border-top: 3px solid var(--navy-800);
}
.svc:hover { border-top-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); }
.svc .ico { width: 44px; height: 44px; color: var(--red); margin-bottom: 16px; }
.svc p { color: var(--muted); font-size: .95rem; flex: 1; }
.svc ul { list-style: none; padding: 0; margin: 0 0 16px; font-size: .9rem; color: var(--ink); }
.svc li { padding: 3px 0 3px 16px; position: relative; }
.svc li::before { content: ""; position: absolute; left: 0; top: 12px; width: 6px; height: 2px; background: var(--red); }
.svc .more { font-weight: 600; color: var(--navy-700); font-size: .9rem; }

/* Problems (fabrika sorumlusu) */
.prob-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.prob {
  display: flex; gap: 16px; padding: 22px; background: var(--navy-800); border-radius: var(--radius);
  text-decoration: none; color: #cfd8ea; border-left: 3px solid var(--red);
}
.prob:hover { background: var(--navy-700); }
.prob strong { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 4px; }
.prob p { margin: 0; font-size: .92rem; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; }
.checks li { padding: 6px 0 6px 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: #fff; background: var(--red); width: 20px; height: 20px; border-radius: 50%; font-size: .75rem; display: grid; place-items: center; top: 9px; }

/* Process */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; top: 0; left: 0;
  font-family: "Barlow", sans-serif; font-size: 2.2rem; font-weight: 700; color: var(--red);
}
.step h3 { font-size: 1.05rem; }
.step p { font-size: .9rem; color: var(--muted); }

/* Logos */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.logos figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; place-items: center; aspect-ratio: 3/2; }
.logos img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.logos figure:hover img { filter: none; opacity: 1; }

/* Regions */
.regions { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.region { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.region.main { background: var(--navy-800); color: #cfd8ea; border: 0; grid-row: span 2; }
.region.main h3 { color: #fff; font-size: 1.5rem; }
.region a { text-decoration: none; }
.region .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.region .tags span { font-size: .8rem; padding: 4px 10px; background: var(--bg-alt); border-radius: 20px; color: var(--muted); }
.region.main .tags span { background: rgba(255,255,255,.1); color: #dbe3f2; }

/* Hizmet alanı */
.reach { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reach > div { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); padding: 26px; }
.reach strong { display: block; font-family: "Barlow", sans-serif; font-size: 1.5rem; color: var(--navy-900); margin-bottom: 6px; }
.reach span { color: var(--muted); font-size: .95rem; }
.reach strong .ph { font-size: inherit; color: #5c4500; }
@media (max-width: 860px) { .reach { grid-template-columns: 1fr; } }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; text-decoration: none; color: inherit; background: #fff; }
.post:hover { box-shadow: var(--shadow); }
.post .cat { font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: var(--red); text-transform: uppercase; }
.post h3 { margin-top: 10px; }
.post p { color: var(--muted); font-size: .94rem; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--navy-900); }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--muted); }

/* CTA / Form */
.cta-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; }
.contact-list small { display: block; color: #8d9bb8; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.form { background: #fff; border-radius: var(--radius); padding: 32px; color: var(--ink); }
.form h3 { margin-bottom: 20px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 14px; color: var(--navy-900); }
.form input, .form select, .form textarea {
  width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px;
  font: inherit; font-weight: 400; background: var(--bg-alt);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--navy-700); background: #fff; }
.form .btn { width: 100%; justify-content: center; }
.form-note { font-size: .78rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Projeler */
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.proj { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.proj-cover { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-900); text-decoration: none; }
.proj-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.proj-cover:hover img { transform: scale(1.05); }
.proj-cover::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(6, 18, 42, .92) 0%, rgba(6, 18, 42, .55) 32%, rgba(6, 18, 42, 0) 60%);
}
.proj-cap { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.proj-cap::before { content: ""; display: block; width: 36px; height: 3px; background: var(--red); margin-bottom: 10px; transition: width .3s; }
.proj-cover:hover .proj-cap::before { width: 64px; }
.proj-title {
  margin: 0; color: #fff; font-family: "Barlow", sans-serif; font-size: 1.45rem; font-weight: 700; line-height: 1.15;
  letter-spacing: .01em; text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}
.proj-loc {
  display: flex; align-items: center; gap: 5px; margin-bottom: 4px;
  font-family: "Inter", sans-serif; font-size: .78rem; font-weight: 500; letter-spacing: .02em; color: #dbe3f2;
}
.proj-loc svg { width: 13px; height: 13px; fill: var(--red); flex: none; }
.proj-count {
  position: absolute; right: 12px; top: 12px; z-index: 1; background: rgba(6, 18, 42, .75); color: #fff;
  font-size: .76rem; font-weight: 600; padding: 5px 10px; border-radius: 20px; backdrop-filter: blur(4px);
}
.proj-count::before { content: "▣ "; }
.proj-body { padding: 18px 22px 16px; }
.proj-body p { color: var(--muted); font-size: .92rem; margin: 0; }
.proj-work { color: var(--ink) !important; font-size: .95rem !important; font-weight: 500; line-height: 1.45; }
.proj-cover + .proj-thumbs { padding-top: 16px; }
.proj-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 22px 22px; }
.proj-thumbs a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: var(--bg-alt); }
.proj-thumbs a[hidden] { display: none; }
.proj-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.proj-thumbs a:hover img { opacity: .8; }
.proj-thumbs a[data-more]::after {
  content: attr(data-more); position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(10, 26, 58, .65); color: #fff; font-weight: 700; font-size: 1.1rem;
}
@media (max-width: 1024px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .proj-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(6, 12, 28, .95); display: flex; align-items: center; justify-content: center; }
.lb[hidden] { display: none; }
.lb-fig { margin: 0; max-width: 92vw; display: flex; flex-direction: column; align-items: center; }
.lb-img { max-width: 92vw; max-height: 78vh; object-fit: contain; border-radius: 4px; user-select: none; }
.lb-cap { color: #cfd8ea; text-align: center; margin-top: 14px; font-size: .95rem; max-width: 760px; }
.lb-title { display: block; color: #fff; font-family: "Barlow", sans-serif; font-size: 1.1rem; margin-bottom: 2px; }
.lb-num { display: block; color: #8d9bb8; font-size: .82rem; margin-top: 4px; }
.lb button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 2rem; line-height: 1; display: grid; place-items: center; }
.lb button:hover { background: rgba(255, 255, 255, .22); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb.single .lb-prev, .lb.single .lb-next { display: none; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-img { max-height: 70vh; }
}

/* Blog */
.post-meta { color: #8d9bb8; font-size: .9rem; margin-top: 8px; }
.post-meta span + span::before { content: "·"; margin: 0 8px; }

/* Footer */
.footer { background: #06122a; color: #8d9bb8; padding: 64px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.footer a { color: #b9c4da; text-decoration: none; display: block; padding: 3px 0; }
.footer a:hover { color: #fff; }
.footer .logo-w { background: #fff; display: inline-block; padding: 8px 12px; border-radius: 4px; margin-bottom: 16px; }
.footer .logo-w img { height: 44px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* Floating WhatsApp + mobile call bar */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.25);
}
.wa svg { width: 30px; height: 30px; fill: #fff; }
.callbar { display: none; }

/* Page hero (iç sayfalar) */
.page-hero { background: var(--navy-900); color: #cfd8ea; padding: 64px 0 56px; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); max-width: 860px; }
.page-hero .lead { font-size: 1.15rem; max-width: 720px; }
.crumbs { font-size: .85rem; margin-bottom: 18px; }
.crumbs a { color: #8d9bb8; text-decoration: none; }
.crumbs span { color: #fff; }

/* Article layout */
.article { display: grid; grid-template-columns: 1fr 340px; gap: 56px; align-items: start; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose th { background: var(--bg-alt); color: var(--navy-900); }
.callout { background: var(--navy-100); border-left: 4px solid var(--navy-700); padding: 18px 22px; border-radius: 4px; margin: 1.5em 0; }
.callout.red { background: #fdecec; border-left-color: var(--red); }
.aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.aside .box { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.aside .box.navy { background: var(--navy-800); color: #cfd8ea; border: 0; }
.aside .box.navy h3 { color: #fff; }
.aside .box a.link { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .94rem; }
.aside .box a.link:hover { color: var(--red); }

/* Responsive */
@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: calc(100vh - 76px); overflow-y: auto;
  }
  .nav.open { display: flex; }
  .nav > a.btn { margin: 12px 0 0; justify-content: center; }
  .mega { position: static; transform: none; width: auto; box-shadow: none; border: 0; padding: 8px 0 8px 14px; grid-template-columns: 1fr; }
  .dd:hover .mega { display: none; }
  .dd.open .mega { display: grid; }
  .topbar-right .hide-sm { display: none; }
  .stat { padding: 24px 8px; }
  .stat strong { font-size: 1.8rem; }
  .stat span { font-size: .8rem; }
  .split, .cta-wrap, .regions, .posts { grid-template-columns: 1fr; }
  .region.main { grid-row: auto; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 72px; }
  .form .row { grid-template-columns: 1fr; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  }
  .callbar a { padding: 15px; text-align: center; color: #fff; text-decoration: none; font-weight: 600; }
  .callbar a:first-child { background: var(--navy-800); }
  .callbar a:last-child { background: #25d366; }
  .wa { display: none; }
  body { padding-bottom: 54px; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar .urgent-text { display: none; }
}
