/* --- VARIABELEN --- */
:root {
    --neon-pink: #ff00ff;
    --neon-blue: #00ffff;
    --neon-purple: #bc13fe;
    --bg-dark: #050505;
    --glass-bg: rgba(20, 20, 30, 0.85);
    --text-main: #e0e0e0;
}

/* --- BASIS --- */
body {
    font-family: 'Share Tech Mono', monospace;
    background-color: var(--bg-dark);
    background-image: url('../img/neon/neon-bg.png');
    background-repeat: repeat;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

a {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 5px var(--neon-blue), 0 0 10px var(--neon-blue);
}

/* --- LAYOUT --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

/* --- HEADER --- */
.site-header {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), var(--bg-dark)), url('../img/neon/neon-header.png');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 2px solid var(--neon-pink);
    box-shadow: 0 0 20px var(--neon-pink);
}

.site-header h1 {
    font-family: 'Monoton', cursive;
    font-size: 5em;
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
    margin: 0;
    /* Neon Glow Effect */
    text-shadow:
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px var(--neon-pink),
        0 0 70px var(--neon-pink),
        0 0 80px var(--neon-pink);
    animation: flicker 1.5s infinite alternate;
}

/* Neon Flicker Animatie */
@keyframes flicker {

    0%,
    18%,
    22%,
    25%,
    53%,
    57%,
    100% {
        text-shadow:
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 40px var(--neon-pink),
            0 0 70px var(--neon-pink),
            0 0 80px var(--neon-pink);
    }

    20%,
    24%,
    55% {
        text-shadow: none;
        opacity: 0.5;
    }
}

/* --- MENU --- */
.pages-menu {
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--neon-blue);
    padding: 10px 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.pages-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pages-menu li {
    display: inline-block;
    margin: 0 20px;
}

.pages-menu a {
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- CONTENT AREA --- */
.content-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    /* Vult de rest van de hoogte */
}

.main-content {
    flex: 3;
    padding: 40px;
    min-width: 300px;
}

.sidebar {
    flex: 1;
    min-width: 250px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.3);
    border-left: 1px solid var(--neon-blue);
}

/* --- POSTS --- */
article {
    margin-bottom: 60px;
    position: relative;
}

article h1 {
    font-size: 2.5em;
    color: var(--neon-blue);
    margin-bottom: 10px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.post-meta {
    color: var(--neon-pink);
    font-size: 0.9em;
    border: 1px solid var(--neon-pink);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 0 5px var(--neon-pink);
}

.post-image {
    width: 100%;
    height: auto;
    border: 2px solid #fff;
    box-shadow: 5px 5px 0px var(--neon-blue);
    margin-bottom: 25px;
    filter: contrast(1.1) saturate(1.2);
}

.post-intro {
    font-size: 1.2em;
    border-left: 4px solid var(--neon-blue);
    padding-left: 15px;
    margin-bottom: 20px;
    color: #fff;
}

/* --- SIDEBAR WIDGETS --- */
.sidebar h3 {
    color: var(--neon-pink);
    text-transform: uppercase;
    border-bottom: 2px solid var(--neon-pink);
    padding-bottom: 5px;
    margin-top: 0;
    letter-spacing: 1px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 5px;
}

.sidebar li::before {
    content: '>';
    color: var(--neon-blue);
    margin-right: 10px;
}

/* --- ZOEKBALK --- */
input[type="text"],
input[type="search"] {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    color: #fff;
    padding: 10px;
    width: 100%;
    font-family: 'Share Tech Mono', monospace;
    box-sizing: border-box;
}

input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 10px var(--neon-blue);
}

/* --- PAGINATION --- */
.pagination {
    margin-top: 50px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

/* --- RESPONSIVE --- */
@media (max-width: 800px) {
    .content-wrapper {
        flex-direction: column;
    }

    .sidebar {
        border-left: none;
        border-top: 1px solid var(--neon-blue);
    }

    .site-header h1 {
        font-size: 3em;
    }
}
    
/* Masthead afbeelding */
.masthead-image {
    width: 100%;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    margin-bottom: 30px;
}
