/* ===== Variables ===== */
:root {
    --blue: #0087cd;
    --blue-dark: #006ba1;
    --blue-light: #e8f4fb;
    --gray: #868686;
    --gray-dark: #0b3954;
    --gray-light: #f5f5f5;
    --white: #ffffff;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--gray-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--blue-dark);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.btn-nav {
    padding: 10px 24px;
    background: var(--blue);
    color: var(--white) !important;
    border-radius: 6px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--blue-dark);
    color: var(--white) !important;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.navbar.scrolled {
    border-bottom-color: #e0e0e0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--gray-dark);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background: linear-gradient(165deg, var(--white) 0%, var(--blue-light) 100%);
    overflow: hidden;
}

#matrix-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.75) 40%, rgba(255, 255, 255, 0.3) 70%, rgba(232, 244, 251, 0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 520px;
    width: 100%;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--gray);
    margin-bottom: 40px;
    font-weight: 400;
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--gray-dark);
    color: var(--white);
}

.section-dark h2 {
    color: var(--white);
}

.section-dark .lead {
    color: #c0c0c0;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--gray-dark);
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray);
}

/* ===== About ===== */
.about-content {
    max-width: 720px;
}

.about-content p {
    margin-bottom: 16px;
    color: #555;
}

.about-content .lead {
    margin-bottom: 20px;
}

/* ===== Expertise ===== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.expertise-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 36px 28px;
    transition: transform 0.2s, background 0.2s;
}

.expertise-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.expertise-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    color: var(--blue);
}

.expertise-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--white);
}

.expertise-card p {
    font-size: 0.95rem;
    color: #a0a0a0;
    line-height: 1.6;
}

/* ===== Aanpak ===== */
.approach-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--blue);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 16px;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--gray-dark);
}

.step p {
    color: #666;
    font-size: 0.95rem;
}

/* ===== Contact ===== */
.contact-info {
    display: flex;
    gap: 48px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    font-weight: 600;
}

.contact-item a {
    color: var(--blue);
    font-size: 1.05rem;
    font-weight: 500;
}

.section-dark .contact-item a {
    color: var(--blue);
}

.section-dark .contact-item a:hover {
    color: #4db5e6;
}

/* ===== Footer ===== */
.footer {
    background: #1e8abf;
    color: rgba(255, 255, 255, 0.85);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
    height: 32px;
    width: auto;
    opacity: 0.9;
}

.footer-nav {
    display: flex;
    gap: 28px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.footer-social a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid #e0e0e0;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        min-height: auto;
        padding: 140px 24px 80px;
    }

    .hero-logo {
        max-width: 320px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .section {
        padding: 64px 0;
    }

    .expertise-grid,
    .approach-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-info {
        flex-direction: column;
        gap: 24px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 260px;
    }
}
