@import url('css/global.css');

/* ==========================================================================
   1. SETTINGS & VARIABLES
   ========================================================================== */
:root {
    --bg-top: #0B1220;
    --bg-bottom: #060A12;
    --accent: #1E4ED8;
    --accent-light: #3B6EF8;
    --surface: #0F172A;
    --border: #22304A;
    --text-main: #FFFFFF;
    --text-muted: #B3B3B3;
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-bottom);
}

body {
    font-family: var(--font-body);
    background: var(--bg-bottom); 
    background-image: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
    background-attachment: fixed; /* Dit houdt de gradient op zijn plek terwijl je scrollt */
    color: var(--text-main);
    min-height: 100vh;
    margin: 0;
}

/* ==========================================================================
   2. REUSABLE COMPONENTS (Buttons, Cards, Badges)
   ========================================================================== */
.btn-primary {
    background: var(--accent);
    color: #fff;
    padding: 16px 36px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    box-shadow: 0 0 32px rgba(30, 78, 216, 0.35);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 0 48px rgba(30, 78, 216, 0.5);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    padding: 16px 36px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid var(--border);
    display: inline-block;
    transition: all 0.2s ease;
}

.btn-ghost:hover {
    border-color: rgba(30, 78, 216, 0.5);
    color: var(--text-main);
    transform: translateY(-2px);
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 36px 32px;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(30, 78, 216, 0.4);
    transform: translateY(-4px);
}

.page-hero {
    padding: 160px 0 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(30, 78, 216, 0.13) 0%, transparent 65%);
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==========================================================================
   3. NAVIGATION
   ========================================================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background: rgba(11, 18, 32, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-cta {
    background: var(--accent);
    color: #fff;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
}

/* SHARED */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 32px;
}

.container-narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 80px 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 48px;
}



/* FOOTER STYLING */
footer {
    padding: 64px 0;
    border-top: 1px solid var(--border);
    background: var(--bg-bottom); /* Of var(--surface) als je dat mooier vindt */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 8px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-light);
}

.footer-bottom-text {
    width: 100%;
    border-top: 1px solid var(--border);
    padding-top: 32px;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    justify-content: space-between;
}
/* Hamburgermenu styling */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
    border-radius: 2px;
}

.nav-cta-mobile { display: none; }

/* Mobiele optimalisatie */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        gap: 16px;
    }
    .menu-toggle { display: flex; z-index: 101; }
    
    .nav-cta-desktop { display: none; }
    .nav-cta-mobile { display: block; margin-top: 20px; }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 72px;
        flex-direction: column;
        background: var(--bg-top);
        width: 100%;
        height: calc(100vh - 72px);
        text-align: center;
        transition: 0.3s;
        padding-top: 40px;
        border-top: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    /* Animatie voor de 'X' vorm als het menu open is */
    #mobile-menu.is-active .bar:nth-child(2) { opacity: 0; }
    #mobile-menu.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    #mobile-menu.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
}
