/* ==========================================================================
   1. VARIABELEN (HET PREMIUM KLEURENPALET)
   ========================================================================== */
:root {
    --primary-navy: #1B263B;
    /* Diepe, betrouwbare tint voor autoriteit */
    --accent-orange: #E76F51;
    /* Conversie-kleur, trekt direct het oog */
    --accent-hover: #D65A3D;
    /* Iets donkerder voor als je erop klikt */
    --text-main: #334155;
    /* Zacht donkergrijs leest prettiger dan zwart */
    --text-light: #64748B;
    /* Voor subtiele teksten */
    --bg-page: #F8FAFC;
    /* Zeer licht en koel grijs voor de body */
    --bg-card: #FFFFFF;
    /* Spierwit voor content-blokken */

    --radius-sm: 6px;
    --radius-lg: 12px;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   2. RESET & BASIS (GOOGLE CORE WEB VITALS PROOF)
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* Zorgt voor zacht scrollen naar ankerlinkjes */
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    /* Gebruikt de snelle standaard lettertypes van het apparaat van de bezoeker */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    font-size: 16px;
    /* Perfecte leesbaarheid voor Google */
    -webkit-font-smoothing: antialiased;
}

/* Typografie hiërarchie */
h1,
h2,
h3,
h4 {
    color: var(--primary-navy);
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1.5rem;
}

/* Structuur */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* ==========================================================================
   3. NAVIGATIE (HEADER)
   ========================================================================== */
.navbar {
    background-color: var(--bg-card);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: var(--shadow-soft);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-navy);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-orange);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

/* Moderne underline animatie voor menu items */
.nav-links a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-orange);
    transition: var(--transition);
}

.nav-links a:not(.btn-outline):hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-navy);
}

.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary-navy);
}

/* ==========================================================================
   4. KNOPPEN (CALL TO ACTIONS)
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background-color: var(--accent-orange);
    color: #ffffff;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    /* Subtiele 'lift' */
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--accent-orange) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--accent-orange);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--accent-orange);
    color: #ffffff !important;
}

/* ==========================================================================
   5. HERO SECTIE (BOVENKANT HOMEPAGE)
   ========================================================================== */
.hero {
    background-color: var(--primary-navy);
    color: #ffffff;
    padding: 6rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decoratief elementje voor een luxe uitstraling */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(231, 111, 81, 0.15) 0%, rgba(27, 38, 59, 0) 70%);
    border-radius: 50%;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    /* Zodat de tekst boven de gradient blijft */
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    /* Schaalt automatisch mee per scherm */
    color: #ffffff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

/* ==========================================================================
   6. DIENSTEN / KAARTEN SECTIE
   ========================================================================== */
.services {
    padding: 5rem 5%;
    text-align: center;
}

.services h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

/* Moderne CSS Grid voor perfect uitgelijnde blokken */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--accent-orange);
    text-align: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-navy);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* ==========================================================================
   7. FOOTER
   ========================================================================== */
footer {
    background-color: var(--primary-navy);
    color: #94a3b8;
    text-align: center;
    padding: 2rem 5%;
    font-size: 0.9rem;
}

/* ==========================================================================
   8. MOBIELE WEERGAVE (SMARTPHONE OPTIMALISATIE)
   ========================================================================== */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        /* Toon de menuknop op mobiel */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-soft);
        clip-path: circle(0% at 100% 0);
        /* Verberg menu via mooie animatie */
        transition: clip-path 0.4s ease-out;
        gap: 1.5rem;
    }

    .nav-links.active {
        clip-path: circle(150% at 100% 0);
        /* Laat menu zien */
    }

    .hero {
        padding: 4rem 5%;
    }

    .hero-content p {
        font-size: 1.1rem;
    }
}