:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333;
    --text-secondary: #666;
    --header-bg: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    --card-bg: #ffffff;
    --card-shadow: rgba(0,0,0,0.1);
    --border-color: #e0e0e0;
    --accent-color: #ff6b35;
    --accent-hover: #e55a2b;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --header-bg: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
    --card-bg: #2d2d2d;
    --card-shadow: rgba(0,0,0,0.3);
    --border-color: #404040;
    --accent-color: #ff8c5a;
    --accent-hover: #ff6b35;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    background: var(--header-bg);
    color: white;
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--card-shadow);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0 0 0 2rem;
    height: 60px;
    position: relative;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

/* Dit heb ik hier staan, maar ben het er nog niet mee eens */
/* .logo-name:hover {
    color: var(--accent-color);
    transition: color 0.3s;
} */

.menu-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.8rem;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    z-index: 1002;
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.hamburger {
    width: 28px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-toggle.active .hamburger .line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.menu-toggle.active .hamburger .line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.menu-toggle.active .hamburger .line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.menu-icon {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.menu-toggle.active .menu-icon {
    transform: rotate(180deg);
}

/* Sidebar Menu - Werkt op alle schermformaten */
.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: transparent;
    list-style: none;
    padding: 6rem 0 2rem 0;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-links.active {
    transform: translateX(0);
}

.nav-links li {
    width: 100%;
}

.nav-links a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 1.5rem 2rem;
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
    font-size: 1.1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255, 107, 53, 0.2);
    transition: width 0.4s ease;
    z-index: -1;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    border-left-color: var(--accent-color);
    padding-left: 2.5rem;
    letter-spacing: 0.5px;
}

.nav-links a:active {
    transform: scale(0.98);
}

/* Overlay voor sidebar */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
    pointer-events: none;
}

body.menu-open::before {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/afbeeldingen/20260414_080943.jpg");
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255,107,53,0.3);
    background: var(--accent-hover);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section.hero {
    padding: 0;
    max-width: none;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-primary);
}

.services {
    background: var(--bg-secondary);
    border-radius: 10px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--card-shadow);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text ul {
    list-style: none;
    margin-top: 1.5rem;
}

.about-text li {
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
}

.about-text li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: var(--header-bg);
    color: white;
    border-radius: 10px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-footer {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.form-message {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    padding: 1rem;
    margin-top: 30px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    display: none;
    animation: fadeInR 0.5s ease forwards;
    padding-bottom: none;
}

@keyframes fadeInR {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOutL {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: var(--card-bg);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: var(--accent-hover);
}

footer {
    background: var(--header-bg);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

@media (max-width: 768px) {
    nav {
        padding: 0 0 0 1rem;
    }

    .nav-links {
        width: 250px;
        padding: 5rem 0 2rem 0;
    }

    .nav-links a {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }

    .nav-links a:hover {
        padding-left: 2rem;
    }

    .logo-name {
        font-size: 1.2rem;
    }

    .menu-toggle {
        width: 55px;
        height: 60px;
    }

    .hamburger {
        width: 25px;
        height: 18px;
    }

    .hamburger .line {
        height: 2.5px;
    }

    .menu-toggle.active .hamburger .line:nth-child(1) {
        transform: translateY(7.75px) rotate(45deg);
    }

    .menu-toggle.active .hamburger .line:nth-child(3) {
        transform: translateY(-7.75px) rotate(-45deg);
    }

    .hero   {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/afbeeldingen/20260414_081026.jpg");
        background-position: left;;
        background-repeat: no-repeat;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 2rem;
    }
}