/* =========================
   InfraForgeLabs Shared CSS
   Free · Local · Open · Forever
   ========================= */

:root {
  --bg-main: #0d1117;
  --bg-elevated: #161b22;
  --border-subtle: #30363d;

  --text-main: #e6edf3;
  --text-muted: #8b949e;

  --blue-accent: #58a6ff;
  --purple-accent: #c77dff;
  --green-accent: #3fb950;
  --orange-accent: #f0883e;
}

/* ---------- Base ---------- */

body {
  font-family: Inter, Segoe UI, Roboto, sans-serif;
  background:
    radial-gradient(1200px 600px at 50% -200px, rgba(88,166,255,0.08), transparent 60%),
    var(--bg-main);
  color: var(--text-main);
  margin: 0;
  line-height: 1.7;
}

a {
  color: var(--blue-accent);
  font-weight: 600;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ---------- Layout ---------- */

header {
  text-align: center;
  padding: 3.5rem 1.5rem 2.5rem;
}

section,
main {
  max-width: 900px;
  margin: auto;
  padding: 0 1.5rem;
}

footer {
  margin-top: 4rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--border-subtle);
}

/* ---------- Typography ---------- */

h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 0.6rem 0;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.3rem;
  margin-top: 0;
}

p {
  color: #c9d1d9;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 720px;
  margin: 1rem auto 0;
}

/* ---------- Logo (GLOBAL) ---------- */

.logo {
  width: 72px;              /* SAME SIZE EVERYWHERE */
  height: auto;
  margin-bottom: 1rem;
}

/* Subtle floating / juggling animation */
@keyframes logoFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

.logo.juggle {
  animation: logoFloat 4s ease-in-out infinite;
}

/* ---------- Header bar (docs, governance, articles) ---------- */

.header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.header-bar img {
  width: 72px;              /* SAME AS .logo */
}

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--blue-accent);
}

.breadcrumb span {
  margin: 0 0.4rem;
}

/* ---------- Cards ---------- */

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 2rem;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.card.infraforge {
  border-left: 3px solid var(--blue-accent);
}

.card.devopsmind {
  border-left: 3px solid var(--purple-accent);
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
}

/* ---------- Utilities ---------- */

.philosophy {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.8rem;
}

.boundary {
  margin-top: 3.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.section {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.5rem;
  margin-top: 3.5rem;
}
