/* Tron-like Background */
body {
    background-color: #050505; /* A very dark, almost black background */
    background-image:
        /* Horizontal grid lines */
        linear-gradient(to right, rgba(0, 229, 255, 0.08) 1px, transparent 1px),
        /* Vertical grid lines */
        linear-gradient(to bottom, rgba(0, 229, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px; /* Adjust grid cell size here (e.g., 50px 50px) */
    min-height: 100vh; /* Make sure the body takes at least the full viewport height */
    margin: 0; /* Remove default body margin */
    font-family: 'Share Tech Mono', monospace; /* Default font for the page */
    color: var(--tron-text-color); /* Default text color from our variables */
}

.header-content {
    text-align: center;
    padding: 50px 20px 20px 20px; /* Meer padding aan de zijkanten */
    position: relative;
    z-index: 1;
    width: 100%; /* Maakt de header 100% breed */
    box-sizing: border-box; /* Zorgt ervoor dat padding wordt meegerekend in de breedte */
}

.header-content h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 400; /* Of een andere dikte die je mooi vindt */
  letter-spacing: 0.1em; /* Meer ruimte tussen de letters */
}

/* Standaard styling voor de foto container */
#photo-container {
    max-width: 400px; /* Maximale breedte van de container */
    margin: 40px auto; /* Centreert de container horizontaal en geeft wat ruimte boven/onder */
    border: 3px solid #66d9ef; /* Een mooie, opvallende randkleur (lichtblauw) */
    border-radius: 15px; /* Afgeronde hoeken */
    overflow: hidden; /* Zorgt ervoor dat de inhoud (de afbeelding) binnen de afgeronde hoeken blijft */
    box-shadow: 0 0 20px rgba(102, 217, 239, 0.6); /* Een subtiele gloed rond de kader */
    display: none; /* Standaard verborgen, wordt zichtbaar via JavaScript */
    background-color: rgba(255, 255, 255, 0.05); /* Lichte, transparante achtergrond voor de container */
    padding: 10px; /* Ruimte tussen de rand en de afbeelding */
    box-sizing: border-box; /* Zorgt ervoor dat padding en border in de breedte worden meegerekend */
    display: block;
}

/* Styling voor de geüploade afbeelding */
#tux {
    width: 100%; /* Afbeelding vult de breedte van de container */
    height: auto; /* Behoudt de aspectverhouding van de afbeelding */
    display: block; /* Zorgt ervoor dat de afbeelding correct wordt weergegeven */
    border-radius: 10px; /* Ook de afbeelding zelf krijgt licht afgeronde hoeken, passend bij de container */
}

/* Media query voor kleinere schermen om de breedte aan te passen */
@media (max-width: 768px) {
    #photo-container {
        max-width: 90%; /* Op kleinere schermen neemt de container meer van de beschikbare breedte in beslag */
        margin: 20px auto;
    }
}

/* Define Tron-inspired colors as CSS variables for easy management */
:root {
    --tron-blue: #00E5FF; /* The vibrant cyan from the penguin image */
    --tron-dark-bg: #0C0C0C; /* Very dark background */
    --tron-medium-bg: #1A1A1A; /* Slightly lighter dark for depth */
    --tron-text-color: #E0FFFF; /* Bright, light cyan for text */
    --tron-glow-strength: 0 0 15px rgba(0, 229, 255, 0.8), 0 0 30px rgba(0, 229, 255, 0.5); /* Stronger glow */
}

/* Keyframe animation for subtle pulsing glow */
@keyframes tronPulse {
    0% {
        box-shadow: 0 0 5px var(--tron-blue), inset 0 0 5px var(--tron-blue);
    }
    50% {
        box-shadow: 0 0 15px var(--tron-blue), inset 0 0 15px var(--tron-blue);
    }
    100% {
        box-shadow: 0 0 5px var(--tron-blue), inset 0 0 5px var(--tron-blue);
    }
}

/* Algemene styling voor de navigatiebalk - Desktop versie */
.menu-bar {
    background-color: var(--tron-dark-bg); /* Dark, futuristic background */
    background-image: none; /* Remove wood texture */
    border: 2px solid var(--tron-blue); /* Sleek cyan border */
    border-radius: 5px; /* Sharper corners for a tech feel */
    /* Tron-like box-shadow for depth and glow */
    box-shadow: var(--tron-glow-strength), 0 5px 15px rgba(0, 0, 0, 0.7);
    padding: 15px 25px; /* Slightly more padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 40px auto;
    max-width: 960px;
    position: relative;
    overflow: hidden;
    /* Add a subtle animation for the glow */
    animation: tronPulse 4s infinite alternate ease-in-out;
}

.menu-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Create a grid overlay for the Tron feel */
    background: linear-gradient(to right, transparent 98%, var(--tron-blue) 100%),
                linear-gradient(to bottom, transparent 98%, var(--tron-blue) 100%);
    background-size: 20px 20px; /* Adjust grid size as needed */
    opacity: 0.1; /* Subtle grid */
    z-index: 0;
    pointer-events: none;
    border-radius: 3px; /* Match menu-bar border-radius */
}

.menu-bar .logo {
    color: var(--tron-blue); /* Cyan logo */
    font-family: 'Share Tech Mono', monospace; /* A more tech-inspired font (consider importing from Google Fonts) */
    font-size: 2em; /* Slightly larger logo */
    text-decoration: none;
    font-weight: 700;
    z-index: 1;
    text-shadow: 0 0 10px var(--tron-blue); /* Glowing text effect */
}

/* Standaard styling voor de navigatielinks - Desktop */
.nav-links {
    display: flex;
    gap: 20px; /* Slightly more space between links */
    z-index: 1;
}

a {
    color: rgba(0, 229, 255, 0.6); /* Subtler cyan for footer text */
    font-family: 'Share Tech Mono', monospace;
    text-decoration: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--tron-text-color); /* Light cyan text */
    font-family: 'Share Tech Mono', monospace; /* Consistent font */
    text-transform: uppercase;
    font-size: 1.1em; /* Slightly smaller for balance */
    padding: 10px 20px;
    border: 1px solid var(--tron-blue); /* Thin cyan border */
    border-radius: 3px; /* Sharper corners */
    background-color: rgba(0, 229, 255, 0.05); /* Very subtle transparent cyan background */
    box-shadow: inset 0 0 8px rgba(0, 229, 255, 0.5); /* Inner glow */
    transition: all 0.3s ease-in-out;
}

.nav-links a:hover {
    background-color: rgba(0, 229, 255, 0.15); /* More visible background on hover */
    box-shadow: inset 0 0 15px var(--tron-blue), 0 0 20px var(--tron-blue); /* Stronger glow on hover */
    transform: translateY(-3px) scale(1.05); /* Slight lift and scale */
    color: white; /* Brighter text on hover */
}

/* Hamburger toggle - standaard verborgen op desktop */
.hamburger-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100;
}

.hamburger-toggle .bar {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--tron-blue); /* Cyan bars */
    margin: 6px 0;
    transition: all 0.3s ease-in-out;
    border-radius: 1px; /* Sharper bar ends */
    box-shadow: 0 0 5px var(--tron-blue); /* Subtle glow on bars */
}

/* Mobiele styling */
@media (max-width: 768px) {
    .menu-bar {
        margin: 20px auto;
        padding: 10px 15px;
        border-radius: 5px;
        max-width: 90%;
        animation: none; /* Disable pulse animation on mobile for performance/simplicity */
    }

    .menu-bar::before {
        border-radius: 3px;
    }

    .hamburger-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--tron-medium-bg); /* Darker background for mobile menu */
        background-image: none;
        border-top: 1px solid var(--tron-blue);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5), inset 0 0 10px var(--tron-blue);
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 5px;
        padding: 10px 0;
        z-index: 99;
    }

    .nav-links a {
        padding: 12px 20px;
        border: none;
        border-radius: 0;
        background-color: transparent;
        text-align: center;
        width: 100%;
        box-shadow: none; /* No inner shadow for mobile links */
    }

    .nav-links a:hover {
        background-color: rgba(0, 229, 255, 0.1); /* Subtle hover for mobile */
        box-shadow: none;
        transform: none;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
        background-color: white; /* White on active */
        box-shadow: 0 0 8px white;
    }

    .hamburger-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
        background-color: white; /* White on active */
        box-shadow: 0 0 8px white;
    }
}

/* Main content can also benefit from a slightly darker background for contrast */
body {
    background-color: #050505; /* A very dark, almost black background for the whole page */
    color: var(--tron-text-color); /* Default text color */
}

main {
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
    align-self: center;
    background-color: var(--tron-dark-bg); /* Dark background for main content */
    border: 1px solid rgba(0, 229, 255, 0.3); /* Subtle border */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

main .links ul {
    padding: 0px;
}

main .links li {
    list-style: none;
    text-align: left;
    font-size: large;
    padding: 5px 0; /* Add padding for better spacing */
}

main .links a {
    text-decoration: none;
    color: var(--tron-text-color);
    transition: all 0.2s ease-in-out;
}

main .links a::before {
    content: "\27A4"; /* Right arrow */
    color: var(--tron-blue); /* Cyan arrow */
    margin-right: 10px;
    font-weight: bold;
    text-shadow: 0 0 5px var(--tron-blue); /* Glow on the arrow */
}

main .links li:hover {
    transform: translateX(5px); /* More pronounced hover effect */
    transition: 0.3s;
    color: white; /* Brighter text on hover */
    text-shadow: 0 0 8px var(--tron-blue); /* Text glow on hover */
}

footer {
    text-align: center;
    margin-top: 40px; /* More space from main content */
    margin-bottom: 20px;
    color: rgba(0, 229, 255, 0.6); /* Subtler cyan for footer text */
    font-family: 'Share Tech Mono', monospace;
}

footer a {
    color: var(--tron-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: white;
    text-shadow: 0 0 8px var(--tron-blue);
}

/* Consider adding the 'Share Tech Mono' font to your HTML head: */
/* <link href="https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap" rel="stylesheet"> */