/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #009CFF;
    --primary-dark: #007ACC;
    --accent: #7C4FFF;
    --gradient: linear-gradient(135deg, #009CFF 0%, #7C4FFF 100%);
    --dark: #0A1628;
    --dark-2: #0D1B35;
    --text: #2D3748;
    --text-light: #718096;
    --bg: #FFFFFF;
    --radius: 14px;
    --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.2);
    --nav-height: 72px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }

/* === Navbar === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    background: transparent;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 4px 32px rgba(0,0,0,0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img { height: 36px; }

.nav-links {
    display: flex;
    gap: 2.25rem;
    align-items: center;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.4px;
    transition: color 0.2s;
    position: relative;
    padding-bottom: 3px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 10;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === Hero === */
.hero {
    position: relative;
    height: 100vh;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transform: scale(1.04);
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 22, 40, 0.5) 0%,
        rgba(0, 20, 55, 0.72) 50%,
        rgba(10, 22, 40, 0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-logo {
    height: 58px;
    margin: 0 auto 2rem;
    filter: drop-shadow(0 2px 16px rgba(0,0,0,0.35));
}

.hero-name {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 20%, #A8DFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.6rem;
    animation: bounce 2.2s ease-in-out infinite;
    cursor: pointer;
    text-decoration: none;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%       { transform: translateX(-50%) translateY(10px); }
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.25s;
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 156, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #6340D0 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 79, 255, 0.45);
}

.btn-linkedin {
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 156, 255, 0.3);
    margin-top: 2rem;
}

.btn-linkedin:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #6340D0 100%);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 79, 255, 0.45);
}

/* === Sections === */
.section {
    padding: 7rem 0;
}

.section-alt {
    background: linear-gradient(180deg, #F4F7FF 0%, #EEF1FB 100%);
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.section-grid.reverse {
    grid-template-columns: 1.1fr 1fr;
}

.section-grid.reverse .section-image {
    order: 2;
}

.section-grid.reverse .section-content {
    order: 1;
}

/* === Section Image === */
.section-image {
    position: relative;
}

.section-image img {
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(0,0,0,0.05);
    width: 100%;
    object-fit: cover;
    object-position: center;
    aspect-ratio: 4/3;
}

#about .section-image img {
    object-position: top;
}

/* === Eyebrow === */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.85rem;
}

.eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gradient);
    border-radius: 2px;
    flex-shrink: 0;
}

/* === Section Content === */
.section-content h2 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.7px;
    line-height: 1.15;
}

.section-content p {
    color: var(--text-light);
    margin-bottom: 1.1rem;
    font-size: 1rem;
    line-height: 1.75;
}

.section-content a {
    /* color: var(--primary); */
    /* text-decoration: underline; */
    text-underline-offset: 3px;
}

/* === Specialty List === */
.specialty-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.25rem;
}

.specialty-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    transition: background 0.2s;
}

.specialty-list li:hover {
    background: rgba(0, 156, 255, 0.05);
}

.specialty-list li i {
    color: var(--primary);
    font-size: 0.85rem;
    margin-top: 4px;
    flex-shrink: 0;
}

/* === Clients / Opdrachtgevers === */
.clients-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}

.clients-header h2 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.7px;
    line-height: 1.15;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem 3rem;
}

.clients-grid img {
    height: 40px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.55;
    transition: filter 0.25s, opacity 0.25s;
}

.clients-grid img[src*="handelsbanken"] {
    max-width: 90px;
}

.clients-grid img:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* === Contact === */
#contact {
    background: var(--dark-2);
}

.contact-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}

.contact-header h2 {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.contact-header p {
    color: rgba(255, 255, 255, 0.45);
    font-size: 1rem;
    line-height: 1.75;
}

.contact-card {
    max-width: 440px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient);
}

.contact-name {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
    line-height: 1.9;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

a.contact-item:hover {
    color: rgba(255, 255, 255, 0.9);
}

/* === Scroll Reveal === */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }

/* === Back to Top === */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(0, 156, 255, 0.4);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    box-shadow: 0 6px 24px rgba(124, 79, 255, 0.55);
}

/* === Footer === */
.site-footer {
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.2);
    background: var(--dark-2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* === Responsive === */
@media (max-width: 800px) {
    .nav-toggle { display: flex; }

    .navbar { background: rgba(10, 22, 40, 0.95); }

    .nav-links {
        position: absolute;
        top: var(--nav-height);
        left: 0; right: 0;
        flex-direction: column;
        background: rgba(10, 22, 40, 0.97);
        padding: 1.5rem 2rem 2rem;
        gap: 1.25rem;
        display: none;
        border-top: 1px solid rgba(255,255,255,0.06);
    }

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

    .section { padding: 5rem 0; }

    .section-grid,
    .section-grid.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-grid.reverse .section-image,
    .section-grid.reverse .section-content {
        order: unset;
    }

    .hero-bg { background-attachment: scroll; }

    .contact-card { padding: 2rem 1.5rem; }

    .clients-grid { gap: 1.75rem 2rem; }

    .clients-grid img { height: 32px; }
}
