/*
Theme Name: Akosih Lab
Theme URI: https://akosihlab.com
Author: Preslav Stankov
Description: A high-tech aesthetic WordPress theme with dark surface design and responsive mobile navigation.
Version: 1.1
*/

:root {
  --bg-core: #121212;
  --bg-surface: #181818;
  --bg-elevated: #1f1f1f;
  --border-hairline: #292929;
  --text-pure: #ffffff;
  --text-muted: #9e9ea7;
  --accent-neon: #00f0ff;
  --accent-stage: #b026ff;
  --accent-live: #00ffa3;
  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --font-body: 'Lato', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  background-color: var(--bg-core);
  color: var(--text-pure);
  font-family: var(--font-body);
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER BAR --- */
.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-hairline);
  position: sticky;
  top: 0;
  z-index: 200;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-deck {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  background: var(--bg-elevated);
  border: 1px solid var(--border-hairline);
  color: var(--accent-neon);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 6px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-pure);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--accent-neon);
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-live);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-live);
}

/* --- MOBILE TOGGLE & DRAWER MENU --- */
.menu-toggle {
  display: none;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  color: var(--text-pure);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 8px 12px;
  cursor: pointer;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

.menu-toggle:hover {
  border-color: var(--accent-neon);
  color: var(--accent-neon);
}

.toggle-icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}

.toggle-icon span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-drawer {
  position: fixed;
  top: 76px;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: calc(100vh - 76px);
  background: #141414;
  border-left: 1px solid var(--border-hairline);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 199;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.is-active {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 76px);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 198;
}

.drawer-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-stage);
  letter-spacing: 0.12em;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s ease;
}

.mobile-nav a .nav-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-neon);
}

.mobile-nav a:hover {
  color: var(--accent-neon);
  padding-left: 8px;
}

.drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 24px;
}

.drawer-copy {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* Responsive Media Query Threshold */
@media (max-width: 860px) {
  .main-nav, .desktop-status {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
}