/* Sektörel ERP sayfaları — paylaşılan layout */
:root {
  --sk-accent: #5271ff;
  --sk-text: #1a2e45;
  --sk-muted: #5b6578;
  --sk-border: #e2e8f0;
  --sk-alt: #f8fafc;
  --sk-max: 1140px;
}

body[data-sector="plastik"] { --sk-hero-from: #1565c0; --sk-hero-to: #1976d2; --sk-accent: #1565c0; }
body[data-sector="makine"] { --sk-hero-from: #37474f; --sk-hero-to: #546e7a; --sk-accent: #455a64; }
body[data-sector="otomotiv"] { --sk-hero-from: #1a237e; --sk-hero-to: #283593; --sk-accent: #283593; }
body[data-sector="perakende"] { --sk-hero-from: #6a1b9a; --sk-hero-to: #8e24aa; --sk-accent: #7b1fa2; }
body[data-sector="insaat"] { --sk-hero-from: #e65100; --sk-hero-to: #f57c00; --sk-accent: #ef6c00; }
body[data-sector="elektrik"] { --sk-hero-from: #00695c; --sk-hero-to: #00897b; --sk-accent: #00796b; }
body[data-sector="madencilik"] { --sk-hero-from: #4e342e; --sk-hero-to: #6d4c41; --sk-accent: #5d4037; }
body[data-sector="egitim"] { --sk-hero-from: #4527a0; --sk-hero-to: #5e35b1; --sk-accent: #512da8; }
body[data-sector="enerji"] { --sk-hero-from: #f9a825; --sk-hero-to: #fbc02d; --sk-accent: #f57f17; --sk-hero-text: #1a1a1a; }
body[data-sector="medikal"] { --sk-hero-from: #00838f; --sk-hero-to: #00acc1; --sk-accent: #0097a7; }
body[data-sector="savunma"] { --sk-hero-from: #263238; --sk-hero-to: #37474f; --sk-accent: #37474f; }
body[data-sector="dokum"] { --sk-hero-from: #3e2723; --sk-hero-to: #5d4037; --sk-accent: #4e342e; }
body[data-sector="kimya"] { --sk-hero-from: #2e7d32; --sk-hero-to: #43a047; --sk-accent: #388e3c; }
body[data-sector="lojistik"] { --sk-hero-from: #0277bd; --sk-hero-to: #0288d1; --sk-accent: #0277bd; }
body[data-sector="saglik"] { --sk-hero-from: #c62828; --sk-hero-to: #e53935; --sk-accent: #d32f2f; }
body[data-sector="turizm"] { --sk-hero-from: #00838f; --sk-hero-to: #26a69a; --sk-accent: #00897b; }
body[data-sector="tekstil"] { --sk-hero-from: #ad1457; --sk-hero-to: #c2185b; --sk-accent: #c2185b; }
body[data-sector="mermer"] { --sk-hero-from: #616161; --sk-hero-to: #757575; --sk-accent: #616161; }
body[data-sector="hub"] { --sk-hero-from: #5271ff; --sk-hero-to: #7c3aed; --sk-accent: #5271ff; }

/* —— Hero —— */
.sk-hero {
  background: linear-gradient(135deg, var(--sk-hero-from), var(--sk-hero-to));
  color: var(--sk-hero-text, #fff);
  padding: 0 5% 3rem;
  position: relative;
  overflow: hidden;
}
.sk-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M10 10h80v80H10z" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="2"/></svg>') repeat;
  pointer-events: none;
}
.sk-hero--hub { padding-bottom: 2.5rem; text-align: center; }
.sk-hero--hub .sk-hero-inner { display: block; max-width: 820px; margin: 0 auto; }

.sk-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--sk-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 340px);
  gap: 2rem;
  align-items: center;
  padding-top: 1rem;
}
@media (max-width: 900px) {
  .sk-hero-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .sk-hero-visual { order: -1; max-width: 420px; margin: 0 auto; width: 100%; }
  .sk-btns { justify-content: center; }
}

/* Breadcrumb — hero içinde */
.sk-breadcrumb {
  position: relative;
  z-index: 3;
  max-width: var(--sk-max);
  margin: 0 auto;
  padding: .85rem 0 .5rem;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem .5rem;
  list-style: none;
  font-size: .78rem;
  font-weight: 500;
}
.sk-breadcrumb li { display: inline-flex; align-items: center; gap: .5rem; }
.sk-breadcrumb li + li::before {
  content: '\f054';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .55rem;
  opacity: .55;
  margin-right: .15rem;
}
.sk-breadcrumb a {
  color: rgba(255,255,255,.88);
  text-decoration: none;
  padding: .22rem .55rem;
  border-radius: 6px;
  background: rgba(255,255,255,.1);
  transition: background .2s;
}
.sk-breadcrumb a:hover { background: rgba(255,255,255,.22); color: #fff; }
.sk-breadcrumb li[aria-current="page"] span {
  color: #fff;
  font-weight: 700;
  padding: .22rem .55rem;
  border-radius: 6px;
  background: rgba(255,255,255,.18);
}
body[data-sector="hub"] .sk-breadcrumb { display: none; }

.sk-badge {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  padding: .32rem .85rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  margin-bottom: .85rem;
  letter-spacing: .02em;
}
.sk-hero h1 {
  font-size: clamp(1.65rem, 3.8vw, 2.45rem);
  line-height: 1.18;
  margin-bottom: .65rem;
  font-weight: 800;
}
.sk-hero-content > p {
  max-width: 540px;
  margin: 0 0 1.25rem;
  opacity: .92;
  font-size: .98rem;
  line-height: 1.65;
}
@media (max-width: 900px) {
  .sk-hero-content > p { margin-left: auto; margin-right: auto; }
}

.sk-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: 0;
}
.sk-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  transition: transform .15s, box-shadow .15s;
}
.sk-btn:hover { transform: translateY(-1px); }
.sk-btn.primary { background: #fff; color: var(--sk-hero-from); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.sk-btn.wa { background: #25d366; color: #fff; }
.sk-btn.outline { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); }

.sk-hero-visual {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.22);
  border: 3px solid rgba(255,255,255,.2);
  aspect-ratio: 4 / 3;
  max-height: 260px;
  background: rgba(0,0,0,.15);
}
.sk-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* —— Sections —— */
.sk-wrap { padding: 3rem 5%; }
.sk-alt { background: var(--sk-alt); }
.sk-head { text-align: center; max-width: 720px; margin: 0 auto 1.75rem; }
.sk-head h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin-bottom: .45rem; color: var(--sk-text); font-weight: 800; }
.sk-head p { color: var(--sk-muted); font-size: .94rem; line-height: 1.6; }

.sk-quick {
  max-width: var(--sk-max);
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-left: 4px solid var(--sk-accent);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  font-size: .93rem;
  line-height: 1.65;
  box-shadow: 0 2px 12px rgba(30,50,80,.04);
}
.sk-quick strong { color: var(--sk-accent); }

.sk-pains {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .85rem;
  max-width: var(--sk-max);
  margin: 0 auto;
}
.sk-pain {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(30,50,80,.04);
  transition: box-shadow .2s;
}
.sk-pain:hover { box-shadow: 0 6px 16px rgba(30,50,80,.08); }
.sk-pain h3 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--sk-text);
  margin-bottom: .3rem;
  display: flex;
  align-items: flex-start;
  gap: .4rem;
}
.sk-pain h3 i { color: var(--sk-accent); margin-top: .15rem; font-size: .85rem; }
.sk-pain p { font-size: .86rem; color: var(--sk-muted); line-height: 1.55; }

.sk-solutions {
  max-width: var(--sk-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: .85rem;
}
.sk-sol {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  box-shadow: 0 2px 8px rgba(30,50,80,.04);
}
.sk-sol i {
  font-size: 1.1rem;
  color: #fff;
  background: var(--sk-accent);
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sk-sol h3 { font-size: .94rem; font-weight: 700; color: var(--sk-text); margin-bottom: .25rem; }
.sk-sol p { font-size: .86rem; color: var(--sk-muted); line-height: 1.55; }

.sk-modules {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  max-width: var(--sk-max);
  margin: 0 auto;
  justify-content: center;
}
.sk-mod {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 999px;
  padding: .35rem .8rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--sk-text);
}

.sk-local {
  max-width: 780px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 14px;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 4px 16px rgba(82,113,255,.06);
}
.sk-local h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--sk-text);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .45rem;
}
.sk-local h3 i { color: var(--sk-accent); }
.sk-local p { font-size: .9rem; color: var(--sk-muted); line-height: 1.65; margin-bottom: .5rem; }
.sk-local ul { padding-left: 1.1rem; font-size: .88rem; color: var(--sk-muted); line-height: 1.75; }

.sk-product-box {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .85rem;
}
.sk-product-card {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 12px;
  padding: 1.1rem;
  text-align: center;
  box-shadow: 0 2px 10px rgba(30,50,80,.04);
}
.sk-product-card h3 { font-size: .95rem; font-weight: 800; margin-bottom: .35rem; color: var(--sk-text); }
.sk-product-card p { font-size: .86rem; color: var(--sk-muted); line-height: 1.55; margin-bottom: .65rem; }
.sk-product-card a {
  display: inline-flex;
  gap: .35rem;
  align-items: center;
  color: var(--sk-accent);
  font-weight: 700;
  font-size: .86rem;
  text-decoration: none;
}

.sk-faq { max-width: 780px; margin: 0 auto; display: grid; gap: .65rem; }
.sk-faq details {
  background: #fff;
  border: 1px solid var(--sk-border);
  border-radius: 10px;
  padding: .75rem 1rem;
}
.sk-faq summary {
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  color: var(--sk-text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
}
.sk-faq summary::after {
  content: '\f078';
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .7rem;
  color: var(--sk-accent);
  flex-shrink: 0;
}
.sk-faq details[open] summary::after { content: '\f077'; }
.sk-faq p { margin-top: .5rem; color: var(--sk-muted); font-size: .9rem; line-height: 1.6; }

.sk-related {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  max-width: 720px;
  margin: 1.25rem auto 0;
}
.sk-related a {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: .45rem .9rem;
  color: #fff;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
}
.sk-related a:hover { background: rgba(255,255,255,.22); }

.sk-final {
  background: linear-gradient(135deg, var(--sk-hero-from), #4f46e5);
  color: #fff;
  text-align: center;
  padding: 3.5rem 5%;
}
.sk-final h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .75rem; }
.sk-final p { opacity: .92; font-size: .98rem; max-width: 560px; margin: 0 auto 1.5rem; line-height: 1.65; }
.sk-final .sk-btns { justify-content: center; margin-bottom: 0; }
.sk-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .55rem;
  margin-top: 1rem;
}
.sk-links a {
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  padding: .4rem .75rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: .82rem;
}

/* —— Hub grid —— */
.sk-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  max-width: var(--sk-max);
  margin: 0 auto;
}
.sk-hub-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(20,20,60,.06);
  background: #fff;
  border: 1px solid var(--sk-border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.sk-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,20,60,.1);
  border-color: var(--sk-accent);
}
.sk-hub-card-img {
  height: 110px;
  overflow: hidden;
  background: var(--sk-alt);
}
.sk-hub-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.sk-hub-card:hover img { transform: scale(1.04); }
.sk-hub-card-body { padding: .85rem 1rem 1rem; flex: 1; display: flex; flex-direction: column; }
.sk-hub-card-body h3 { font-size: .92rem; font-weight: 700; color: var(--sk-text); margin-bottom: .3rem; }
.sk-hub-card-body p {
  font-size: .8rem;
  color: var(--sk-muted);
  line-height: 1.5;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sk-hub-card-body span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .65rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--sk-accent);
}

@media (max-width: 600px) {
  .sk-wrap { padding: 2.25rem 4%; }
  .sk-hero { padding: 0 4% 2rem; }
  .sk-hero-visual { max-height: 200px; }
  .sk-solutions { grid-template-columns: 1fr; }
}
