/* ========== JS-EDUCATIE SHARED BASE STYLES ========== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--js-dark);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== CSS VARIABLES (JS-EDUCATIE BRAND COLORS) ========== */
:root {
    --js-primary: #2563eb;
    --js-success: #059669;
    --js-warning: #d97706;
    --js-secondary: #7c3aed;
    --js-purple: #7c3aed;
    --js-accent: #dc2626;
    --js-info: #0891b2;
    --js-dark: #111827;
    --js-neutral: #4b5563;
    --js-light: #f8fafc;
    --js-gray-50: #f9fafb;
    --js-gray-100: #f3f4f6;
    --js-gray-900: #111827;
    --brand: #2563eb;
    --valkuil-color: #ef4444;
    --versterker-color: #10b981;
}

/* ========== LAYOUT CONTAINERS ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== NAVIGATION ========== */
.navigation {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
    gap: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 60px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--js-primary);
    line-height: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--js-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--js-primary);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--js-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ========== HERO SECTION WITH WAVE ANIMATION ========== */
.hero {
    min-height: 60vh;
    background: linear-gradient(135deg, var(--js-primary) 0%, var(--js-success) 100%);
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    padding: 8rem 0 4rem 0; /* Extra top padding voor navigation */
    overflow: hidden;
}

.hero-bg-animation {
    position: absolute;
    inset: 0;
    opacity: 0.15;
}

.waves {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.wave {
    animation-duration: 8s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.wave-1 { animation: wave-1 12s infinite; opacity: 0.6; }
.wave-2 { animation: wave-2 8s infinite; opacity: 0.5; }
.wave-3 { animation: wave-3 10s infinite; opacity: 0.4; }
.wave-4 { animation: wave-4 7s infinite; opacity: 0.3; }
.wave-5 { animation: wave-5 9s infinite; opacity: 0.2; }
.wave-6 { animation: wave-6 11s infinite; opacity: 0.1; }

@keyframes wave-1 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

@keyframes wave-2 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-25px); }
}

@keyframes wave-3 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(40px); }
}

@keyframes wave-4 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-35px); }
}

@keyframes wave-5 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

@keyframes wave-6 {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-20px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-desc {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.6;
}

.text-primary {
    color: white;
}

.text-dark {
    color: rgba(255, 255, 255, 0.95);
    display: block;
    margin-top: 0.5rem;
}

/* ========== SECTIONS ========== */
.section {
    padding: 4rem 0;
}

.section h2 {
    color: var(--js-dark);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

.section p {
    color: var(--js-neutral);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.muted {
    color: var(--js-neutral);
    font-style: italic;
}

/* ========== CARDS & COMPONENTS ========== */
.card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.8);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card h3 {
    color: var(--js-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.card strong {
    color: var(--js-dark);
    font-weight: 600;
}

/* ========== GRID LAYOUTS ========== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--js-primary);
    color: white;
    border: 2px solid var(--js-primary);
}

.btn-primary:hover {
    background: var(--js-info);
    border-color: var(--js-info);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--js-primary);
    border: 2px solid var(--js-primary);
}

.btn-secondary:hover {
    background: var(--js-primary);
    color: white;
    transform: translateY(-2px);
}

/* ========== FOOTER ========== */
footer {
    background: var(--js-dark);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 4rem;
}

footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

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

    .nav-container {
        justify-content: space-between;
        gap: 2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .wrap {
        padding: 0 1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ========== UTILITIES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }