/* HEXENHAUS CORPORATION - INDUSTRIAL DIVISION */
/* Terminal Interface Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

:root {
    --primary-green: #00ff00;
    --dark-bg: #000000;
    --dim-green: #00aa00;
    --red-alert: #ff0000;
    --amber-warn: #ffaa00;
}

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

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: var(--dark-bg);
    color: var(--primary-green);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    
    /* VHS color aberration */
    filter: contrast(1.1) brightness(0.95);
    
    /* Subtle chromatic aberration */
    text-shadow: 
        0.5px 0 0 rgba(255, 0, 0, 0.3),
        -0.5px 0 0 rgba(0, 255, 255, 0.3);
}

/* CRT Scanline Effect */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 9999;
}

/* VHS Noise/Static Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0, 0, 0, 0.03) 2px, rgba(0, 0, 0, 0.03) 4px);
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.8;
    animation: vhs-noise 0.2s infinite;
}

@keyframes vhs-noise {
    0% { opacity: 0.8; }
    50% { opacity: 0.85; }
    100% { opacity: 0.8; }
}

/* Layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: 280px;
    background-color: rgba(0, 20, 0, 0.8);
    border-right: 2px solid var(--primary-green);
    padding: 20px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    border: 2px solid var(--primary-green);
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.sidebar-header h1 {
    font-size: 14px;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.sidebar-header .subtitle {
    font-size: 10px;
    color: var(--dim-green);
}

.nav-section {
    margin-bottom: 30px;
}

.nav-section h2 {
    font-size: 12px;
    color: var(--dim-green);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.nav-section ul {
    list-style: none;
}

.nav-section ul li {
    margin-bottom: 8px;
    padding-left: 15px;
}

.nav-section ul li a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
    display: block;
}

.nav-section ul li a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-green);
}

.nav-section ul li a.active {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-green);
}

/* Signal Status */
.signal-status {
    margin-top: 30px;
    padding: 15px;
    border: 1px solid var(--dim-green);
    font-size: 11px;
}

.signal-bar {
    width: 100%;
    height: 20px;
    background-color: rgba(0, 50, 0, 0.3);
    border: 1px solid var(--primary-green);
    position: relative;
    margin-top: 10px;
}

.signal-fill {
    height: 100%;
    background-color: var(--primary-green);
    width: 87%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 40px;
    flex: 1;
    max-width: 1200px;
}

/* Terminal Box */
.terminal-box {
    border: 2px solid var(--primary-green);
    padding: 20px;
    margin-bottom: 30px;
    background-color: rgba(0, 20, 0, 0.5);
}

.terminal-header {
    border-bottom: 1px solid var(--primary-green);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--dim-green);
}

.terminal-content {
    font-size: 14px;
    line-height: 1.8;
}

.terminal-content p {
    margin-bottom: 15px;
}

.terminal-content h2 {
    font-size: 16px;
    margin: 25px 0 15px 0;
    color: #fff;
    text-shadow: 0 0 5px var(--primary-green);
}

/* Links */
.link-list {
    list-style: none;
    margin: 20px 0;
}

.link-list li {
    margin-bottom: 15px;
    padding-left: 20px;
}

.link-list a {
    color: var(--primary-green);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    display: inline-block;
}

.link-list a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-green);
    transform: translateX(5px);
}

/* Blockquotes */
blockquote {
    margin: 30px 0;
    padding-left: 20px;
    border-left: 3px solid var(--primary-green);
    color: #fff;
    font-style: italic;
    font-size: 15px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
        border-right: none;
        border-bottom: 2px solid var(--primary-green);
    }
    
    .main-content {
        margin-left: 0;
        padding: 20px;
    }
    
    .terminal-box {
        padding: 15px;
    }
    
    .terminal-header {
        font-size: 10px;
    }
    
    .terminal-content {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .sidebar-header h1 {
        font-size: 12px;
    }
    
    .terminal-content h2 {
        font-size: 14px;
    }
}
