/* ── Lukas Labs Learn — Global Stylesheet ───────────────────────────────────
   Loaded by render.php on all PHP pages (workshop, portal, etc.)
   Dark theme to match learn.lukaslabs.ai/index.html
   ────────────────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: #070d1a;
  color: #e2e8f0;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

/* ── Site nav (render_header) ─────────────────────────────────────────────── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 26, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.brand-title {
  font-size: 1rem;
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: .72rem;
  color: #475569;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: .88rem;
  color: #64748b;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: color .15s;
}

.nav-link:hover,
.nav-link.active { color: #e2e8f0; }

.btn-nav {
  background: #3b82f6;
  color: #fff !important;
  font-weight: 700;
  font-size: .85rem;
  padding: 8px 18px;
  border-radius: 8px;
  transition: background .15s;
}

.btn-nav:hover { background: #2563eb; }

/* ── Footer (render_footer) ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  padding: 2.5rem 24px;
  margin-top: 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-social a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  color: #475569;
  transition: color .15s;
}

.footer-social a:hover { color: #94a3b8; }

.social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.6;
}

.footer-note {
  font-size: .8rem;
  color: #334155;
  line-height: 1.55;
}
