/*
 * ============================================================
 * css/stack.css — Tech Stack Section
 * ============================================================
 * Responsible for:
 *   - #stack section border
 *   - .stack-grid CSS grid with auto-fit columns + 1px gap
 *   - .stack-category padding, border, hover background
 *   - .stack-category-name label style
 *   - .stack-items flex column
 *   - .stack-item with ::before dot indicator
 *   - Hover state: .stack-category:hover children colour change
 * ============================================================
 */

/* ═══════════════════════════════════════════════════════
   11. TECH STACK SECTION
═══════════════════════════════════════════════════════ */
#stack {
  border-top: 1px solid var(--border);
}

.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  margin-top: 4rem;
}

.stack-category {
  padding: 2rem;
  border-right: 1px solid var(--border);
  transition: background var(--duration-fast) ease;
}

.stack-category:last-child { border-right: none; }

.stack-category:hover {
  background: var(--surface);
}

.stack-category-name {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.stack-items {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.stack-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--duration-fast) ease;
}

.stack-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--border);
  flex-shrink: 0;
  transition: background var(--duration-fast) ease;
}

.stack-category:hover .stack-item { color: var(--text); }
.stack-category:hover .stack-item::before { background: var(--accent); }
