:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #00ff88;
    --accent-dark: #00cc66;
    --border: #222;
    --shadow: rgba(0, 255, 136, 0.1);
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: #0d0f0e;
  color: #c7f0c2;
  font-family: sans-serif;
  margin: 0;
}


.block {
  background: #0e0e0e;
  border-left: 3px solid var(--accent);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  border-radius: 6px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-size: 1rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
}
/* LEFT / ICON */

.toc-trigger {
  position: fixed;
  top: 22px;
  left: 24px;
  color: #4cff9b;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 1000;
}


/* TOC PANEL */
.toc-panel {
  position: fixed;
  left: -260px;
  top: 6rem;
  height: 100%;
  width: 260px;
  background: #0b140f;
  border-right: 1px solid #1f3b2a;
  transition: 0.3s ease;
  padding: 1rem;
}

.toc-panel pre {
  /* color: #4cff9b; */
  font-size: 0.9rem;
  line-height: 1.4;
}

.toc-panel a {
  color: #4cff9b;
  text-decoration: none;
}

.toc-panel a:hover {
  text-decoration: underline;
}

.toc-trigger:hover + .toc-panel,
.toc-panel:hover {
  left: 0;
}

/* CONTENT */
.project-container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 6rem;
  padding: 3rem;
  font-size: 1.1rem;
}

section {
  margin-bottom: 4rem;
}

h1, h2 {
  color: var(--accent);
}



/* LINKS */
.links a {
  color: #4cff9b;
  text-decoration: none;
  border: 1px solid #4cff9b;
  padding: 0.5rem 1rem;
}
