/* ============================================
   Bouwsteenwinkel — theme.css
   Styles specific to theme pages (technic.html, etc.)
   ============================================ */

/* ============================================
   THEME HERO
   ============================================ */
.theme-hero {
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

/* Technic theme variant */
.theme-hero-technic {
  background: var(--blue-50);
}

.theme-hero-technic h1 { color: var(--blue-900); }
.theme-hero-technic .theme-hero-lead { color: var(--blue-800); }

.theme-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.theme-hero h1 {
  font-size: 46px;
  margin-bottom: 14px;
}

.theme-hero-lead {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 560px;
}

.theme-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 16px;
}

.theme-hero-technic .theme-hero-chip { color: var(--blue-800); }

.theme-hero-chip::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
}

.theme-hero-technic .theme-hero-chip::before {
  background: var(--blue-500);
}

.theme-hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.btn-theme-dark {
  background: var(--blue-900);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-theme-outline {
  background: var(--bg-primary);
  border: 1px solid rgba(12, 68, 124, 0.2);
  color: var(--blue-900);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
}

.theme-hero-stats {
  display: flex;
  gap: 28px;
  font-size: 13px;
  margin-top: 8px;
}

.theme-hero-technic .theme-hero-stats {
  color: var(--blue-800);
}

.theme-hero-stats b {
  font-weight: 500;
  font-size: 17px;
}

/* Theme hero visual (decorative box) */
.theme-hero-visual {
  position: relative;
  height: 260px;
}

.theme-hero-box {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 260px;
  height: 180px;
  background: var(--blue-900);
  border-radius: 16px;
  transform: rotate(-4deg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-hero-shape {
  width: 180px;
  height: 90px;
  background: var(--blue-500);
  border-radius: 10px;
  position: relative;
}

.theme-hero-shape::before,
.theme-hero-shape::after {
  content: "";
  position: absolute;
  bottom: -14px;
  width: 32px;
  height: 32px;
  background: var(--text-primary);
  border-radius: 50%;
  border: 4px solid var(--blue-900);
}

.theme-hero-shape::before { left: 18px; }
.theme-hero-shape::after  { right: 18px; }

/* ============================================
   SUBCATEGORIES
   ============================================ */
.subcat-section {
  background: var(--bg-primary);
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.subcat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.subcat {
  padding: 14px;
  background: var(--bg-secondary);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 500;
  color: inherit;
  transition: background var(--transition-fast);
}

.subcat:hover {
  background: #EDEBE4;
}

.subcat-sub {
  display: block;
  color: var(--text-tertiary);
  font-weight: 400;
  font-size: 10px;
  margin-top: 2px;
}

/* ============================================
   FEATURED TRIO (top 3 for theme)
   ============================================ */
.featured-section {
  padding: 56px 0;
  background: var(--bg-primary);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 24px;
  flex-wrap: wrap;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 16px;
}

.feat-main {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.feat-main-img {
  background: var(--blue-50);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.feat-main-body {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feat-title {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.2;
}

.feat-meta {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 14px;
}

.feat-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.feat-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.spec-chip {
  font-size: 11px;
  color: var(--text-secondary);
  padding: 4px 10px;
  background: var(--bg-secondary);
  border-radius: 6px;
}

.feat-main .product-foot {
  align-items: center;
}

.feat-main .price {
  font-size: 22px;
}

/* ============================================
   ALL THEME SETS GRID
   ============================================ */
.theme-grid-section {
  padding: 56px 0;
  background: var(--bg-tertiary);
}

.theme-grid-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 28px;
  gap: 24px;
  flex-wrap: wrap;
}

.theme-grid-head h2 {
  font-size: 22px;
}

.theme-grid-head span {
  font-size: 13px;
  color: var(--text-secondary);
}

.theme-grid-section .product-grid {
  margin-bottom: 24px;
}

.theme-grid-foot {
  text-align: center;
}

/* ============================================
   SEO CONTENT BLOCK (two columns)
   ============================================ */
.theme-seo {
  padding: 56px 0;
  background: var(--bg-primary);
}

.theme-seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
}

.theme-seo-text h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

.theme-seo-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

/* Info card (right side) */
.info-card {
  padding: 22px;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
}

.info-card-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 12px;
}

.info-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
}

.info-card-list li {
  display: flex;
  gap: 8px;
  align-items: start;
}

.check-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.check-dot::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green-500);
  border-radius: 50%;
}

/* Guide card (amber) */
.guide-card {
  padding: 22px;
  background: var(--amber-50);
  border-radius: var(--radius-lg);
}

.guide-card-title {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--amber-900);
}

.guide-card-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--amber-800);
  line-height: 1.5;
}

.guide-card-list b {
  font-weight: 500;
}

/* ============================================
   RELATED THEMES
   ============================================ */
.related-section {
  padding: 40px 0;
  background: var(--bg-tertiary);
  border-top: 1px solid var(--border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.related-card {
  padding: 18px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: inherit;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.related-card h3 {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.related-card p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE — theme.css
   ============================================ */
@media (max-width: 960px) {
  .theme-hero-grid { grid-template-columns: 1fr; }
  .theme-hero-visual { display: none; }
  .subcat-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .feat-main { grid-template-columns: 1fr; }
  .theme-seo-grid { grid-template-columns: 1fr; gap: 32px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .theme-hero h1 { font-size: 32px; }
  .subcat-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}
