/* --- BASIS INSTELLINGEN & VARIABELEN --- */
:root {
    --primary: #40A6B5;       /* Modern Indigo blauw/paars */
    --primary-dark: #4338ca;
    --secondary: #0f172a;     /* Donker antraciet/marine */
    --text-main: #334155;     /* Zacht zwart voor tekst */
    --light-bg: #f8fafc;      /* Off-white voor secties */
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    backgroundColor: var(--white);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
}

/* --- TYPOGRAFIE & BUTTONS --- */
h1, h2, h3 {
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #ed8139;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--primary-dark);
    color: var(--white);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--white);
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 20px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--secondary);
}

.logo span {
    color: var(--primary);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.btn-nav {
    background-color: var(--primary);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600 !important;
}

.btn-nav:hover {
    background-color: #ed8139;
    color: var(--white) !important;
}

/* Verberg de mobiele checkbox */
.nav-toggle {
    display: none;
}

/* --- HERO SECTION --- */
.hero {
    /*background-color: var(--light-bg);*/
    background: url(bg.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;

    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* --- SERVICES SECTION --- */
.services {
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 15fr));
    gap: 30px;
}

.service-card {
    padding: 40px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.service-card p {
    line-height: 1.6;
    color: #64748b;
}

/* --- ABOUT SECTION --- */
.about {
    background-color: var(--light-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text p {
    line-height: 1.7;
    margin-bottom: 25px;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--secondary);
}

.about-stat-box {
    display: flex;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    flex: 1;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.stat-card h3 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* --- CONTACT / FORMULIER --- */
.contact {
    /*background-color: var(--white);*/
    background: url(bg-bottom.jpg);
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center;
}

.form-container {
    max-width: 700px;
}

.request-form {
    background-color: var(--light-bg);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 25px;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group-row .form-group {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.btn-block {
    width: 100%;
}

/* --- FOOTER --- */
footer {
    background-color: var(--secondary);
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
    font-size: 0.95rem;
}

/* --- RESPONSIVENESS (MOBILE & TABLET) --- */
@media (max-width: 992px) {
    .hero h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    section { padding: 60px 0; }
    .hero { padding-top: 100px; }
    .hero h1 { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .form-group-row { flex-direction: column; gap: 0; }
    .about-stat-box { flex-direction: column; }

    /* Mobiel Menu Hamburgertje Systeem */
    .nav-toggle-label {
        display: block;
        cursor: pointer;
        padding: 10px;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--secondary);
        height: 2px;
        width: 25px;
        position: relative;
        transition: var(--transition);
    }

    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }

    .nav-toggle-label span::before { top: -8px; }
    .nav-toggle-label span::after { bottom: -8px; }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 20px;
        align-items: stretch;
        gap: 15px;
        text-align: center;
    }

    .btn-nav { display: block; }

    /* Wanneer de checkbox gecheckt is (hamburgermenu open) */
    .nav-toggle:checked ~ .nav-menu {
        max-height: 300px; /* Voldoende ruimte voor de links */
    }

    /* Hamburger animatie naar een 'X' */
    .nav-toggle:checked ~ .nav-toggle-label span { background: transparent; }
    .nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
    .nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); bottom: 0; }
}