/* ========================================
   BITJE BIJ BITJE - MASTER STYLE SHEET
   ======================================== */

/* 1. RESET & BASIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #0a1628;
    background: linear-gradient(135deg, #0a1628 0%, #1a2942 100%);
    background-attachment: fixed;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 2. SCROLLBAR */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background-color: #00f0ff;
    border-radius: 6px;
    border: 3px solid #0a1628;
}

    ::-webkit-scrollbar-thumb:hover {
        background-color: #00ff88;
    }

/* 3. PARTICLES ACHTERGROND */
.particle {
    position: fixed;
    background: #00f0ff;
    border-radius: 50%;
    width: 4px;
    height: 4px;
    z-index: -1;
    opacity: 0.3;
    pointer-events: none;
    animation: float 20s infinite;
}

@keyframes float {
    0% {
        transform: translate(0,0);
    }

    50% {
        transform: translate(-20px, -40px);
    }

    100% {
        transform: translate(0,0);
    }
}

/* 4. LAYOUT WRAPPER */
.layout-wrapper {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

/* 5. KOLOM 1: MENU SIDEBAR */
#menu-container {
    width: 80px;
    flex-shrink: 0;
    z-index: 1000;
}

.sidebar-left {
    width: 80px;
    background: #0a1628;
    border-right: 1px solid rgba(0, 240, 255, 0.05);
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 30px;
    z-index: 1000;
}

    .sidebar-left::before {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        left: 50%;
        width: 1px;
        background: rgba(0, 240, 255, 0.3);
        transform: translateX(-50%);
        box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
        z-index: 0;
    }

.nav-item {
    position: relative;
    margin: 10px 0;
    width: 42px;
    height: 42px;
    background: #0a1628;
    border: 1px solid rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
}

    .nav-item svg {
        width: 20px;
        height: 20px;
        fill: #00f0ff;
        transition: 0.3s;
        filter: drop-shadow(0 0 2px rgba(0,240,255,0.4));
    }

    .nav-item:hover, .nav-item.active {
        background: rgba(0, 240, 255, 0.15);
        border-color: #00f0ff;
        box-shadow: 0 0 15px rgba(0, 240, 255, 0.6), inset 0 0 10px rgba(0,240,255,0.2);
        transform: scale(1.1);
    }

        .nav-item:hover svg, .nav-item.active svg {
            fill: #fff;
            filter: drop-shadow(0 0 5px #fff);
        }

.nav-label {
    position: absolute;
    left: 60px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid #00f0ff;
    color: #00f0ff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75em;
    font-family: 'Courier New', monospace;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    white-space: nowrap;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
    transform: translateX(-10px);
    z-index: 1001;
}

.nav-item:hover .nav-label {
    opacity: 1;
    transform: translateX(0);
}

/* 6. KOLOM 2: CONTENT */
.main-container {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
    position: relative;
    padding: 40px 40px 40px 280px;
    margin-right: 320px;
}

.content-column {
    width: 100%;
    max-width: 900px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.header-image {
    width: 100%;
    border-radius: 15px;
    display: block;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.15);
    margin-bottom: 10px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.tagline {
    color: #00f0ff;
    font-size: 1.2em;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 40px;
    margin-top: 20px;
}

.article-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    backdrop-filter: blur(5px);
}

    .article-section h2 {
        color: #00f0ff;
        font-size: 1.8em;
        margin-bottom: 15px;
        border-bottom: 1px solid rgba(0,240,255,0.2);
        padding-bottom: 10px;
    }

    .article-section p {
        color: #b0c4de;
        margin-bottom: 20px;
        font-size: 1.1em;
        line-height: 1.7;
    }

/* 7. RETRO TERMINAL (TYPEWRITER) */
.highlight-box {
    background-color: #000000;
    color: #33ff00 !important;
    font-family: 'Courier New', monospace;
    font-size: 1.0rem;
    font-weight: bold;
    padding: 25px;
    border: 2px solid #33ff00;
    border-radius: 6px;
    text-shadow: 0 0 4px rgba(51, 255, 0, 0.7);
    box-shadow: 0 0 15px rgba(51, 255, 0, 0.2), inset 0 0 30px rgba(0,0,0,0.9);
    margin: 30px 0;
    width: 100%;
    overflow: hidden;
}

.typewriter-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

    .typewriter-container p {
        color: #33ff00 !important;
        margin: 0;
        white-space: nowrap;
        overflow: hidden;
        width: 0;
        border-right: 10px solid transparent;
        line-height: 1.5;
        font-family: 'Courier New', monospace;
    }
/* Animaties */
.typing-line1 {
    animation: type-line1 2s steps(40, end) forwards;
}

@keyframes type-line1 {
    from {
        width: 0;
        border-right-color: #33ff00;
    }

    99% {
        border-right-color: #33ff00;
    }

    to {
        width: 42ch;
        border-right-color: transparent;
    }
}

.typing-line2 {
    animation: type-line2 2s steps(45, end) 2s forwards;
}

@keyframes type-line2 {
    from {
        width: 0;
    }

    1%, 99% {
        border-right-color: #33ff00;
    }

    to {
        width: 50ch;
        border-right-color: transparent;
    }
}

.typing-line3 {
    animation: type-line3 3s steps(60, end) 4s forwards;
}

@keyframes type-line3 {
    from {
        width: 0;
    }

    1%, 99% {
        border-right-color: #33ff00;
    }

    to {
        width: 65ch;
        border-right-color: transparent;
    }
}

.typing-line4 {
    animation: type-line4 1.5s steps(20, end) 7s forwards;
}

@keyframes type-line4 {
    from {
        width: 0;
    }

    1%, 99% {
        border-right-color: #33ff00;
    }

    to {
        width: 25ch;
        border-right-color: transparent;
    }
}

.typing-blank1 {
    animation: show-blank 0s linear 8.5s forwards;
}

.typing-blank2 {
    animation: show-blank 0s linear 11s forwards;
}

.typing-blank3 {
    animation: show-blank 0s linear 13s forwards;
}

@keyframes show-blank {
    to {
        width: 100%;
        border-right: none;
    }
}

.typing-line5 {
    animation: type-line5 2s steps(40, end) 8.5s forwards;
}

@keyframes type-line5 {
    from {
        width: 0;
    }

    1%, 99% {
        border-right-color: #33ff00;
    }

    to {
        width: 45ch;
        border-right-color: transparent;
    }
}

.typing-line6 {
    animation: type-line6 1.5s steps(25, end) 11s forwards;
}

@keyframes type-line6 {
    from {
        width: 0;
    }

    1%, 99% {
        border-right-color: #33ff00;
    }

    to {
        width: 30ch;
        border-right-color: transparent;
    }
}

.typing-prompt {
    animation: type-prompt 0.5s steps(5, end) 13s forwards;
    position: relative;
    border-right: none !important;
}

@keyframes type-prompt {
    from {
        width: 0;
    }

    to {
        width: 6ch;
    }
}

.typing-prompt::after {
    content: '_';
    display: inline-block;
    animation: blink 1s step-end infinite;
    opacity: 0;
    animation-delay: 13.6s;
    color: #33ff00;
    margin-left: 2px;
    font-weight: 900;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* 8. MONITOR DASHBOARD */
.monitor-wrapper {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* (Dashboard CSS ingekort voor overzicht, maar behouden wat je had) */
.status-online {
    color: #00ff88 !important;
}

.status-offline {
    color: #ff4444 !important;
}

/* 9. KOLOM 3: STATUS SIDEBAR */
.sidebar-right {
    width: 320px;
    padding: 40px 20px 0 0;
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    overflow-y: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(10, 22, 40, 0.3);
    z-index: 900;
}

.toc-box {
    margin-bottom: 30px;
}

.toc-title {
    color: #fff;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-left: 3px solid #00f0ff;
    padding-left: 10px;
}

.toc-link {
    display: block;
    color: #8892b0;
    text-decoration: none;
    margin-bottom: 8px;
    transition: 0.2s;
}

    .toc-link:hover {
        color: #00f0ff;
        padding-left: 5px;
    }

.status-box {
    background: rgba(10, 22, 40, 0.8);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.status-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.85em;
    color: #00ff88;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 5px #00ff88;
    margin-top: 5px;
    flex-shrink: 0;
}

.status-text {
    display: flex;
    flex-direction: column;
}

.status-detail {
    font-size: 0.85em;
    color: #8892b0;
    margin-top: 2px;
    font-family: 'Segoe UI', sans-serif;
}

/* 10. RESPONSIVE */
@media (max-width: 1300px) {
    .sidebar-right {
        display: none;
    }

    .main-container {
        margin-right: 0;
        padding-left: 40px;
    }
}

@media (max-width: 1000px) {
    .sidebar-left {
        width: 100%;
        height: 60px;
        bottom: 0;
        top: auto;
        position: fixed;
        flex-direction: row;
        justify-content: space-around;
        padding: 0;
        border-top: 1px solid #00f0ff;
        background: #0a1628;
        z-index: 2000;
    }

        .sidebar-left::before {
            display: none;
        }

    .nav-item {
        width: 35px;
        height: 35px;
        margin: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .nav-label {
        display: none !important;
    }

    .main-container {
        margin-right: 0;
        padding: 20px 20px 80px 20px;
    }
}

/* 11. NIEUW: LANGUAGE SWITCHER BUTTON */
.lang-switcher {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background: rgba(10, 22, 40, 0.85);
    border: 1px solid #00f0ff;
    padding: 8px 15px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

    .lang-switcher:hover {
        box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
        transform: translateY(-2px);
    }

    .lang-switcher a {
        text-decoration: none;
        font-weight: bold;
        font-size: 0.9em;
        transition: color 0.3s;
    }

    .lang-switcher span {
        margin: 0 8px;
        opacity: 0.5;
        color: #8892b0;
    }
/* Actieve taal styling (je kunt classes toevoegen via JS, of inline gebruiken zoals in de HTML) */
.lang-active {
    color: #00ff88;
}

.lang-inactive {
    color: #8892b0;
}

    .lang-inactive:hover {
        color: #00f0ff;
    }
