/*
Theme Name: AEGIS Core
Theme URI: https://github.com/your-org/aegis-core
Author: Project AEGIS Collective
Author URI: https://github.com/your-org
Description: A custom, high-performance dark theme designed for the AEGIS architecture documentation, whitepapers, and engineering logs.
Version: 1.0.0
License: MIT
Text Domain: aegis
*/

:root {
    --bg-pitch: #030508;
    --bg-surface: #0a0f16;
    --accent-cyan: #00f0ff;
    --text-main: #c0cbd6;
    --text-muted: #8b9bb4;
    --text-bright: #ffffff;
    --font-mono: "SF Mono", "Fira Code", "Courier New", monospace;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Material Icon Alignment */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    user-select: none;
}

/* Drawer Overlay */
#aegis-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 5, 8, 0.7);
    backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#aegis-drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Slide-Out Side Drawer */
#aegis-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(10, 15, 22, 0.95);
    backdrop-filter: blur(16px);
    border-left: 1px solid rgba(0, 240, 255, 0.2);
    z-index: 1002;
    padding: 2rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

#aegis-drawer.active {
    right: 0;
}

/* Drawer Navigation Links */
.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-main);
    text-decoration: none;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, transform 0.2s ease;
}

.drawer-nav-item:hover {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

/* Whitepaper Card Links */
.whitepaper-item {
    display: block;
    background: rgba(0, 240, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.12);
    border-radius: 4px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.whitepaper-item:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
}