/* ===== Elex — Açık Endüstriyel Tema ===== */
:root {
  --bg: #f4f6f9;
  --bg2: #ffffff;
  --bg3: #eef1f5;
  --line: #dde3ea;
  --text: #5a6572;
  --heading: #1c2530;
  --accent: #2f80c9;
  --accent-dark: #2568a8;
  --dark: #161c24;
  --container: 1200px;
  --font-head: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.section { padding: 90px 0; }
.section-dark { background: var(--bg3); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head h2 { font-size: 36px; margin-bottom: 12px; }
.section-head h2::after {
  content: ''; display: block; width: 64px; height: 3px;
  background: var(--accent); margin: 16px auto 0;
}
.section-head p { font-size: 17px; }

/* ===== Butonlar ===== */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 13px 30px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  transition: all .25s;
  cursor: pointer;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--heading); border-color: var(--heading); }
.btn-outline:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-lg { font-size: 17px; padding: 16px 40px; }

/* ===== Topbar ===== */
.topbar { background: var(--dark); font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar-left { display: flex; align-items: center; gap: 14px; color: #9aa5b3; }
.topbar .sep { width: 1px; height: 14px; background: #333c48; }
.lang-switch { display: flex; gap: 8px; align-items: center; color: #5c6672; }
.lang-switch a { color: #9aa5b3; font-weight: 600; }
.lang-switch a.on, .lang-switch a:hover { color: #6db3f2; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 2px 12px rgba(22, 28, 36, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3d4756;
  padding: 10px 14px;
  position: relative;
}
.nav > a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav > a:hover, .nav > a.active { color: var(--accent); }
.nav > a:hover::after, .nav > a.active::after { transform: scaleX(1); }
.nav .btn-quote { margin-left: 12px; padding: 10px 22px; font-size: 13.5px; color: #fff; }
.nav .btn-quote::after { display: none; }
.nav .btn-quote:hover { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--heading); margin: 6px 0; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; height: 640px; overflow: hidden; background: var(--bg3); }
.hero-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1s;
  display: flex; align-items: center;
}
.hero-slide.on { opacity: 1; z-index: 2; }
.hero-slide .hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.05); transition: transform 6s linear;
}
.hero-slide.on .hero-bg { transform: scale(1); }
.hero-slide .hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(244,246,249,.94) 0%, rgba(244,246,249,.78) 45%, rgba(244,246,249,.35) 100%);
}
.hero-content { position: relative; z-index: 3; max-width: 680px; }
.hero-content h1 { font-size: 58px; font-weight: 700; margin-bottom: 18px; }
.hero-content h1 em { color: var(--accent); font-style: normal; }
.hero-content p { font-size: 18px; margin-bottom: 34px; max-width: 560px; color: #45505d; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-dots {
  position: absolute; z-index: 4; bottom: 30px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dots button {
  width: 34px; height: 4px; border: 0; cursor: pointer;
  background: #c3ccd8; transition: background .3s;
}
.hero-dots button.on { background: var(--accent); }

/* ===== İstatistik bandı ===== */
.stats { background: var(--accent); padding: 44px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b {
  display: block; font-family: var(--font-head); font-size: 46px; font-weight: 700; color: #fff; line-height: 1.1;
}
.stat span { font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.9); }

/* ===== Kategori kartları ===== */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card {
  position: relative; background: var(--bg2); border: 1px solid var(--line);
  border-radius: 4px; overflow: hidden; display: block; transition: border-color .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 1px 4px rgba(22,28,36,.05);
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 12px 28px rgba(22,28,36,.12); }
.cat-card .cat-img { height: 220px; overflow: hidden; }
.cat-card .cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-img img { transform: scale(1.08); }
.cat-card .cat-body { padding: 22px 24px 26px; position: relative; }
.cat-card .cat-body::before {
  content: ''; position: absolute; top: 0; left: 24px; width: 48px; height: 3px; background: var(--accent);
}
.cat-card h3 { font-size: 21px; margin: 8px 0 10px; color: var(--heading); }
.cat-card p { font-size: 14.5px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ===== Ürün kartları ===== */
.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.prod-card {
  background: var(--bg2); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s, box-shadow .3s;
  box-shadow: 0 1px 4px rgba(22,28,36,.05);
}
.prod-card:hover { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 12px 28px rgba(22,28,36,.12); }
.prod-card .prod-img { height: 200px; overflow: hidden; }
.prod-card .prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.prod-card:hover .prod-img img { transform: scale(1.08); }
.cat-card .cat-img img[src^="/assets/img/product-"],
.prod-card .prod-img img[src^="/assets/img/product-"] { object-fit: contain; background: #edf0f4; }
.prod-card .prod-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.prod-card .prod-cat { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.prod-card h3 { font-size: 19px; margin-bottom: 8px; }
.prod-card h3 a { color: var(--heading); }
.prod-card h3 a:hover { color: var(--accent); }
.prod-card p { font-size: 14.5px; flex: 1; }
.prod-card .prod-link {
  margin-top: 14px; font-family: var(--font-head); font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent);
}
.prod-card .prod-link:hover { color: var(--accent-dark); }
.prod-card .prod-link::after { content: ' →'; }

/* ===== Hakkımızda şeridi ===== */
.about-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-strip h2 { font-size: 34px; margin-bottom: 18px; }
.about-strip h2 em { color: var(--accent); font-style: normal; }
.about-strip p { margin-bottom: 16px; }
.about-features { list-style: none; margin: 22px 0 28px; }
.about-features li { padding: 8px 0 8px 30px; position: relative; color: #3d4756; }
.about-features li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px; background: var(--accent);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}
.about-img { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Sektör ızgarası ===== */
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.sector-card {
  position: relative; height: 230px; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--line); display: flex; align-items: flex-end;
}
.sector-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sector-card:hover img { transform: scale(1.07); }
.sector-card .sector-body {
  position: relative; z-index: 2; width: 100%; padding: 18px 20px;
  background: linear-gradient(0deg, rgba(22,28,36,.88) 20%, transparent);
}
.sector-card h3 { font-size: 17px; color: #fff; }
.sector-card p { font-size: 13px; color: #c9d2dc; display: none; }
.sector-card:hover p { display: block; }

/* ===== Referans şeridi ===== */
.refs-strip { background: var(--bg3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 50px 0; }
.refs-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px 48px; align-items: center; }
.ref-item {
  font-family: var(--font-head); font-size: 20px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: #9aa5b3; transition: color .3s;
}
.ref-item:hover { color: var(--heading); }

/* ===== CTA bandı ===== */
.cta-band {
  background: linear-gradient(120deg, #161c24 60%, #1f2833), var(--dark);
  border-top: 2px solid var(--accent);
  padding: 60px 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-size: 30px; margin-bottom: 8px; color: #fff; }
.cta-inner p { max-width: 560px; color: #9aa5b3; }

/* ===== Sayfa başlığı (iç sayfalar) ===== */
.page-hero {
  position: relative; padding: 90px 0; background: var(--bg3); overflow: hidden;
  border-bottom: 2px solid var(--accent);
}
.page-hero .ph-bg {
  position: absolute; inset: 0;
  background: #eef1f5 url('/assets/img/breadcrumb-subtle.webp') center/cover no-repeat;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: 44px; }
.page-hero .crumb { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; margin-top: 10px; }
.page-hero .crumb a { color: #7d8794; }
.page-hero .crumb span { color: var(--accent); }

/* ===== Ürün filtresi ===== */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-bar a {
  font-family: var(--font-head); font-size: 13.5px; letter-spacing: 1px; text-transform: uppercase;
  color: #3d4756; background: var(--bg2); border: 1px solid var(--line);
  padding: 9px 20px; border-radius: 3px;
}
.filter-bar a:hover { border-color: var(--accent); color: var(--accent); }
.filter-bar a.on { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== Ürün detay ===== */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pd-img { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: var(--bg2); }
.pd-img img { width: 100%; object-fit: cover; }
.pd-info .pd-cat { font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.pd-info h1 { font-size: 36px; margin: 10px 0 18px; }
.pd-info > p { margin-bottom: 22px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 26px 0 34px; }
.spec-table caption {
  text-align: left; font-family: var(--font-head); font-size: 18px; color: var(--heading);
  text-transform: uppercase; letter-spacing: 1px; padding-bottom: 12px;
}
.spec-table th, .spec-table td { padding: 11px 16px; border: 1px solid var(--line); font-size: 14.5px; text-align: left; }
.spec-table th { background: var(--bg3); color: #3d4756; font-weight: 600; width: 40%; }
.pd-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ===== İçerik sayfaları ===== */
.content-page { max-width: 860px; }
.content-page h2 { font-size: 28px; margin: 34px 0 14px; }
.content-page p { margin-bottom: 16px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card { background: var(--bg2); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 4px; padding: 28px 24px; }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { font-size: 14.5px; }

/* ===== İletişim ===== */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; }
.contact-info-card { background: var(--bg2); border: 1px solid var(--line); border-radius: 4px; padding: 34px 30px; }
.contact-info-card h3 { font-size: 20px; margin-bottom: 22px; }
.ci-row { padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci-row:last-child { border-bottom: 0; }
.ci-row b { display: block; font-family: var(--font-head); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.ci-row, .ci-row a { color: #3d4756; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13.5px; font-weight: 600; color: #3d4756; margin-bottom: 7px; }
input, textarea {
  width: 100%; background: var(--bg2); border: 1px solid var(--line); border-radius: 3px;
  color: var(--heading); font-family: var(--font-body); font-size: 15px; padding: 12px 14px;
  transition: border-color .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); }
textarea { min-height: 140px; resize: vertical; }
.alert { padding: 15px 20px; border-radius: 3px; margin-bottom: 24px; font-weight: 500; }
.alert.success { background: rgba(46, 160, 67, .12); border: 1px solid #2ea043; color: #1e7e34; }
.alert.error { background: rgba(218, 54, 51, .1); border: 1px solid #da3633; color: #c9302c; }

/* ===== Zengin metin içeriği ===== */
.pd-desc { margin-bottom: 22px; }
.pd-desc p { margin-bottom: 14px; }
.pd-desc ul, .pd-desc ol { margin: 0 0 14px 22px; }
.pd-desc h3 { font-size: 20px; margin: 20px 0 10px; }
.pd-desc blockquote { border-left: 3px solid var(--accent); padding-left: 16px; margin: 14px 0; color: #3d4756; }

/* ===== Footer ===== */
.footer { background: var(--dark); border-top: 1px solid #262f3a; color: #9aa5b3; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 44px;
  padding: 70px 24px 54px;
}
.footer-brand p { margin-top: 18px; font-size: 14.5px; }
.footer-col h4 { font-size: 16px; letter-spacing: 1.5px; margin-bottom: 18px; color: #fff; }
.footer-col a { display: block; color: #9aa5b3; font-size: 14.5px; padding: 5px 0; }
.footer-col a:hover { color: #6db3f2; }
.footer-col p { font-size: 14.5px; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #262f3a; padding: 20px 0; font-size: 13.5px; color: #5c6672; text-align: center; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 44px; }
  .about-strip, .pd-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .topbar-left span:first-child { display: none; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
    background: var(--bg2); border-left: 2px solid var(--accent);
    flex-direction: column; align-items: stretch; padding: 100px 26px 40px; gap: 2px;
    transform: translateX(100%); transition: transform .3s; z-index: 99;
    box-shadow: -8px 0 30px rgba(22,28,36,.15);
  }
  .nav.open { transform: translateX(0); }
  .nav > a { padding: 13px 10px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav > a::after { display: none; }
  .nav .btn-quote { margin: 18px 0 0; text-align: center; }
  .nav-toggle { display: block; z-index: 100; }
  .hero { height: 540px; }
  .hero-content h1 { font-size: 34px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat b { font-size: 34px; }
  .cat-grid, .prod-grid, .sector-grid, .value-grid, .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .page-hero h1 { font-size: 32px; }
}

/* ===== Kategori sayfası metin blokları ===== */
.cat-summary { max-width: 900px; margin: 0 0 44px; font-size: 17px; }
.cat-summary p { margin-bottom: 12px; }
.cat-content {
  margin-top: 70px; padding-top: 46px; border-top: 1px solid var(--line);
  max-width: 900px;
}
.cat-content h2, .cat-content h3 { font-size: 24px; margin: 26px 0 12px; }
.cat-content p { margin-bottom: 14px; }
.cat-content ul, .cat-content ol { margin: 0 0 14px 22px; }

/* Blog */
.btn-sm{padding:6px 14px;font-size:13px}
.post-wrap{max-width:820px}
.blog-meta{color:#8a94a0;font-size:14px;margin-bottom:18px}
.post-cover{margin-bottom:26px}
.post-cover img{width:100%;border-radius:12px}
.post-content{line-height:1.8}
.post-content h2,.post-content h3{margin:28px 0 12px}
.post-content img{max-width:100%;height:auto;border-radius:8px}
.post-content table{width:100%;border-collapse:collapse;margin:16px 0}
.post-content th,.post-content td{border:1px solid #2c3440;padding:8px 12px;text-align:left}
.share-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:32px;padding-top:20px;border-top:1px solid #2c3440}
.share-row span{color:#8a94a0;font-size:14px}
.pager{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:36px}
.pager span{color:#8a94a0}
