/* ==========================================================================
   1. VARIABLES & THEMES (Gesynchroniseerd met svenitguy.be)
   ========================================================================== */

:root {
    --bg-color: #0b0f19;
    --nav-bg: rgba(11, 15, 25, 0.85);
    --card-bg: rgba(30, 41, 59, 0.4);

    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-pitch: #cbd5e1;

    --badge-border: rgba(148, 163, 184, 0.15);

    --accent-gold: #d6e505;
    --accent-blue: #0ea5e9;
    --cyber-blue: #38bdf8;
    --accent-purple: #a855f7;
    --accent-teal: #14b8a6;
}

/* ==========================================================================
   2. GLOBAL STYLES
   ========================================================================== */

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

body {
    font-family: system-ui, sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    transition: 0.3s;
}

/* ==========================================================================
   3. TYPOGRAPHY & LINKS
   ========================================================================== */

h1, h2, h3 {
    color: var(--cyber-blue);
    margin-top: 0;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

strong {
    color: #ffffff;
}

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

a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* ==========================================================================
   4. HEADER (CLOUD STYLING)
   ========================================================================== */

header {
    text-align: center;
    padding: 3.5rem 1rem;
    background-color: #0b0f19;
    border-bottom: 1px solid var(--badge-border);
}

header h1 {
    font-size: 2.8rem;
    margin-bottom: 0.3rem;
    color: var(--text-main);
}

header p {
    font-size: 1.2rem;
    color: var(--text-pitch);
}

header .stack {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-top: 5px;
}

/* ==========================================================================
   5. MAIN LAYOUT & SECTIONS (MODERNE GLOW/BORDER HOVER)
   ========================================================================== */

main {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem;
}

section {
    background: var(--card-bg);
    border: 1px solid var(--badge-border);
    margin: 1.5rem 0;
    padding: 1.8rem;
    border-radius: 12px;
    border-left: 4px solid transparent;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
}

section:hover {
    border-left: 4px solid var(--cyber-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.05);
}

/* Specifieke randaccenten conform je lab-pagina */
section:nth-of-type(1) { border-top: 3px solid var(--cyber-blue); }
section:nth-of-type(2) { border-top: 3px solid var(--accent-gold); }
section:nth-of-type(3) { border-top: 3px solid var(--accent-purple); }
section:nth-of-type(4) { border-top: 3px solid var(--accent-teal); }

/* ==========================================================================
   6. LISTS
   ========================================================================== */

ul {
    padding-left: 1.2rem;
}

li {
    margin-bottom: 0.6rem;
    color: var(--text-pitch);
}

/* ==========================================================================
   7. BUTTONS & CTAs (HIGH-CONTRAST TECH GRADIENT)
   ========================================================================== */

.button, .cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: 0.6rem;
    margin-top: 1.2rem;

    background: linear-gradient(135deg, var(--accent-gold), #f2ff2b);
    color: #0b0f19 !important;

    padding: 0.85rem 1.6rem;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(214, 229, 5, 0.25);
    transition: all 0.25s ease;
    cursor: pointer;
}

.button:hover, .cta-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 30px rgba(214, 229, 5, 0.35);
    text-decoration: none;
}

/* ==========================================================================
   8. CONTACT SECTION & LINKS
   ========================================================================== */

.contact-section {
    margin-top: 50px;
    background: #0b0f19;
    border: 1px solid var(--badge-border);
    color: var(--text-main);
    padding: 40px;
    border-radius: 18px;
    text-align: center;
    border-top: 3px solid var(--accent-teal);
}

.contact-section h2 {
    margin-bottom: 18px;
    font-size: 28px;
}

.contact-section p {
    max-width: 760px;
    margin: 12px auto;
    line-height: 1.7;
    font-size: 17px;
    color: var(--text-pitch);
}

.contact-links {
    margin-top: 26px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--badge-border);
    padding: 14px 22px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    border-color: var(--cyber-blue);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.15);
}

.contact-btn.secondary {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--badge-border);
}

.contact-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
}

/* Container die de main layout volgt */
.header-actions {
    max-width: 900px;
    margin: 1.5rem auto 0 auto;
    text-align: center;
}

/* ==========================================================================
   9. FOOTER
   ========================================================================== */

footer {
    text-align: center;
    padding: 2rem;
    background-color: #0b0f19;
    color: var(--text-muted);
    margin-top: 3rem;
    border-top: 1px solid var(--badge-border);
    font-size: 0.95rem;
}

/* ==========================================================================
   10. RESPONSIVE DESIGN (RESPONSIVE BUTTONS & PADDING)
   ========================================================================== */

@media (max-width: 600px) {
    header h1 {
        font-size: 2.2rem;
    }

    section {
        padding: 1.2rem;
    }

    .contact-links {
        flex-direction: column;
        align-items: stretch;
    }

    .button, .cta-button, .contact-btn {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}
