/* ============================================================
   PAPERPIXEL PORTFOLIO — Documentation Stylesheet
   File: doc-style.css
   Author: ImajikoStudio
   Version: 1.0.0
============================================================ */

:root {
  --doc-bg-base:      #fcfbfa;
  --doc-bg-sidebar:   #f4f1ea;
  --doc-bg-surface:   #ffffff;
  
  --doc-color-border: #2b2d42;
  
  --doc-text-primary:  #2b2d42;
  --doc-text-secondary:#5c5e73;
  --doc-text-muted:    #8e90a6;
  
  --doc-accent-blue:   #5887ff;
  --doc-accent-peach:  #f4a261;
}

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

body {
  font-family: 'Space Grotesk', sans-serif;
  background-color: var(--doc-bg-base);
  color: var(--doc-text-primary);
  line-height: 1.6;
  display: flex;
  min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
  width: 280px;
  background-color: var(--doc-bg-sidebar);
  border-right: 2px solid var(--doc-color-border);
  padding: 40px 20px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  overflow-y: auto;
  z-index: 10;
}

.sidebar__title {
  font-family: 'Press Start 2P', monospace;
  font-size: 14px;
  margin-bottom: 30px;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--doc-color-border);
}

.sidebar__menu {
  list-style: none;
}

.sidebar__item {
  margin-bottom: 10px;
}

.sidebar__link {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--doc-text-primary);
  font-weight: 600;
  font-size: 14px;
  border-radius: 4px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.sidebar__link:hover {
  background-color: var(--doc-bg-surface);
  border-color: var(--doc-color-border);
  transform: translateX(4px);
}

/* Main Content Area */
.content {
  margin-left: 280px;
  padding: 60px 50px;
  max-width: 900px;
  width: 100%;
}

.content-section {
  background-color: var(--doc-bg-surface);
  border: 2px solid var(--doc-color-border);
  border-radius: 8px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 4px 4px 0 var(--doc-color-border);
}

h1 {
  font-family: 'Press Start 2P', monospace;
  font-size: 24px;
  margin-bottom: 16px;
}

h2 {
  font-family: 'Press Start 2P', monospace;
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--doc-accent-blue);
  border-bottom: 2px dashed var(--doc-color-border);
  padding-bottom: 10px;
}

h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 12px 0;
}

p {
  font-size: 15px;
  color: var(--doc-text-secondary);
  margin-bottom: 16px;
}

ul, ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

li {
  font-size: 15px;
  color: var(--doc-text-secondary);
  margin-bottom: 8px;
}

pre {
  background-color: var(--doc-bg-base);
  border: 2px solid var(--doc-color-border);
  padding: 15px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 13px;
  overflow-x: auto;
  margin-bottom: 20px;
}

code {
  background-color: var(--doc-bg-sidebar);
  padding: 2px 6px;
  border-radius: 3px;
  font-family: monospace;
  font-size: 14px;
}

/* Alert Boxes */
.alert {
  padding: 16px;
  border: 2px solid var(--doc-color-border);
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert--note {
  background-color: #e8f4fd;
  border-left-width: 6px;
}

.alert--warning {
  background-color: #fff9db;
  border-left-width: 6px;
}
