/* Design tokens */
:root {
    --bg: #ffffff;
    --text: #222222;
    --muted: #666666;
    --brand: #a020f0;      /* Purple */
    --brand-dark: #8a00d2;
    --accent: #a020f0;     /* Aligned to brand (avoid mint) */
    --accent-blue: #2e7cf6; /* Subtle blue accent for hero */
    --accent-green: #29cc74; /* Subtle green accent for hero */
    --border: #eaeaea;
    --shadow: 0 10px 30px rgba(0,0,0,0.06);
    --radius: 12px;
    --container: 1200px;
}

/* General Styling */
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden; /* Voorkom horizontale scroll door animaties */
}

/* Make media elements responsive by default */
img, video { max-width: 100%; height: auto; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header { background-color: var(--bg); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); backdrop-filter: saturate(180%) blur(8px); overflow: visible; }
header .container { display: flex; align-items: center; justify-content: center; min-height: 80px; padding: 12px 0; }
.logo img { height: 60px; max-height: 72px; width: auto; display: block; }

nav a { margin-left: 18px; color: var(--muted); font-weight: 600; text-decoration: none; padding: 8px 12px; border-radius: 8px; transition: color .2s ease, background-color .2s ease; }
nav a:hover { color: var(--text); background: #f7f7f7; }

/* Hero */

/* Hero Section */
.hero { text-align: center; padding: 120px 0; background: 
    radial-gradient(400vw 200vw at 50% -45%, rgba(160, 32, 240, 0.20), transparent),
    radial-gradient(360vw 180vw at 50% 0%, rgba(46, 124, 246, 0.20), transparent),
    radial-gradient(420vw 210vw at 50% 150%, rgba(41, 204, 116, 0.18), transparent);
    background-repeat: no-repeat;
    background-position: center center;
    position: relative; overflow: hidden; width: 100%; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; opacity: 0.14; z-index: 0; filter: blur(30px); animation: float 14s ease-in-out infinite; }
.hero::before { width: 1400px; height: 1400px; background: var(--brand); top: -320px; left: 50%; transform: translateX(-50%); }
.hero::after { width: 1600px; height: 1600px; background: var(--accent-blue); bottom: -480px; left: 50%; transform: translateX(-50%); animation-delay: 3s; opacity: 0.30; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(14px) } }
.hero h1 { font-size: clamp(2rem, 3vw + 1rem, 3.4rem); color: var(--text); margin-bottom: 24px; position: relative; z-index: 1; letter-spacing: -0.02em; }

/* Ensure hero content can span full width if desired */
.hero .container { max-width: 100%; padding: 0 20px; }

.button {
    display: inline-block;
    background-color: #fff; /* Lichte knop zodat tekst zwart goed leesbaar is */
    color: #000; /* Zwarte tekst op buttons */
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 10px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border: 2px solid var(--brand);
    cursor: pointer;
    position: relative; /* Zorg dat knop boven pseudo-elementen komt */
    z-index: 1;
}

.button:hover {
    background-color: #f7f7f7;
    border-color: var(--brand-dark);
}

/* Focus-visible (Accessibility) */
a:focus-visible,
button:focus-visible,
.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.close-button:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(160, 32, 240, 0.25);
}

/* DNA Section */
.dna-section {
    padding: 72px 0;
    position: relative;
}

/* De "random lijn" is hier verwijderd */

.dna-content {
    display: flex;
    align-items: flex-start; /* Align image and text at the top */
    gap: 48px;
    position: relative; /* Zorg dat content boven pseudo-elementen komt */
    z-index: 1;
}

.dna-image img {
    max-width: 520px; /* Afbeelding breder gemaakt */
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.dna-text h2 {
    font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem);
    color: var(--text);
    margin-bottom: 20px;
}

.dna-text p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.dna-text a {
    color: var(--brand);
    text-decoration: none;
    font-weight: bold;
}

.dna-text a:hover {
    text-decoration: underline;
}

/* Services */
.services-section { padding: 72px 0; background: #fff; }
.services-section h2 { text-align: center; margin-bottom: 28px; font-size: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.service-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { transform: translateY(-3px); box-shadow: 0 12px 34px rgba(0,0,0,0.08); }
.service-card h3 { margin: 0 0 10px; font-size: 1.2em; }
.service-card p { color: var(--muted); margin: 0; }

/* Reviews Section */
.reviews-section {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
}

.reviews-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 40px;
}

.reviews-carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px; /* Ruimte tussen knoppen en review wrapper */
    flex-wrap: wrap; /* Zorgt ervoor dat elementen ombreken op kleinere schermen */
}

.reviews-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    flex-grow: 1; /* Zorgt ervoor dat de wrapper de beschikbare ruimte inneemt */
    max-width: 600px; /* Max breedte voor de review kaarten */
    height: 250px; /* Vaste hoogte voor de wrapper om overloop te beheren */
    display: flex; /* Gebruik flexbox om reviews te positioneren */
    justify-content: center;
    align-items: center;
}

.review-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    width: 100%;
    position: absolute; /* Positioneer kaarten absoluut in de wrapper */
    top: 0;
    left: 0;
    opacity: 0; /* Standaard verborgen */
    transition: opacity 0.5s ease-in-out; /* Fade animatie */
}

.review-card.current-review {
    opacity: 1;
    position: relative; /* Maak de huidige review zichtbaar en in de flow */
    z-index: 1; /* Zorg ervoor dat de huidige review bovenaan ligt */
}


.review-card .stars span {
    color: #a020f0; /* Purple stars */
    font-size: 1.5em;
}

.review-card p {
    font-style: italic;
    margin-top: 15px;
    margin-bottom: 10px;
}

.review-card .reviewer {
    font-weight: bold;
    text-align: right; /* Aligns reviewer name to the right */
}

.nav-button {
    background-color: #a020f0;
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    transition: background-color 0.3s ease;
    flex-shrink: 0; /* Voorkom dat knoppen krimpen */
}

.nav-button:hover { background-color: var(--brand-dark); }

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.contact-section h2 {
    font-size: clamp(1.4rem, 1vw + 1rem, 2rem);
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

.contact-intro {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.contact-info-text {
    max-width: 600px;
    margin: 0 auto 30px auto;
    text-align: center;
    line-height: 1.6;
}

.contact-email {
    text-align: center;
    margin-bottom: 40px;
}

.contact-email a {
    color: var(--brand); /* Purple link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.contact-email a:hover { color: var(--brand-dark); }


.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: calc(100% - 20px); /* Adjust for padding */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #a020f0;
    outline: none;
    box-shadow: 0 0 0 3px rgba(160, 32, 240, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-bottom-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.submit-button {
    flex-grow: 1; /* Zorgt ervoor dat de knop de beschikbare ruimte inneemt */
    padding: 15px;
    font-size: 1.1em;
    background-color: var(--brand);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover { background-color: var(--brand-dark); }

.info-icon {
    font-size: 1.5em;
    color: var(--brand);
    cursor: pointer;
    transition: color 0.3s ease;
}

.info-icon:hover { color: var(--brand-dark); }

/* Berichten (succes/error) */
.success-message, .error-message {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    display: none; /* Standaard verborgen */
    padding: 10px;
    border-radius: 5px;
}

.success-message {
    color: #28a745; /* Green color for success message */
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.error-message {
    color: #dc3545; /* Red color for error message */
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* Footer */
footer {
    background-color: var(--bg); /* Witte achtergrond voor footer */
    color: var(--text); /* Tekstkleur aanpassen voor contrast */
    padding: 20px 0;
    text-align: center;
    font-size: 0.9em;
    border-top: 1px solid var(--border); /* Optionele lijn boven footer */
}

footer a {
    color: var(--brand); /* Paarse link in footer */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover { color: var(--brand-dark); text-decoration: underline; }

/* Scroll Animatie Klassen */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Modaal venster (Privacy Pop-up) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1001; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    align-items: center; /* Verticaal centreren */
    justify-content: center; /* Horizontaal centreren */
}

.modal-content {
    background-color: #fefefe;
    margin: auto; /* Auto margin with flexbox also helps */
    padding: 30px;
    border: 1px solid #888;
    width: 90%; /* Could be more specific like 80% */
    max-width: 500px; /* Max width for readability */
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    animation-name: animatemodal;
    animation-duration: 0.4s;
}

@keyframes animatemodal {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}


/* Responsive Design */
@media (max-width: 992px) { /* Tablet landscape */
    .dna-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .dna-image img {
        height: auto; /* Laat hoogte aanpassen aan breedte */
        max-width: 80%;
    }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .reviews-carousel-container {
        flex-direction: column;
        gap: 10px;
    }
    .reviews-wrapper {
        padding: 0;
        max-width: 100%;
    }
    .nav-button {
        width: 80%; /* Knoppen onder elkaar */
        margin: 5px auto;
    }
}

@media (max-width: 768px) { /* Tablet portrait and smaller */
    .hero h1 {
        font-size: 2em;
    }
    .dna-text h2,
    .reviews-section h2,
    .contact-section h2 {
        font-size: 1.8em;
    }
    .button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .dna-image img {
        max-width: 90%;
    }
    header .container { padding: 12px 0; }
    .logo img { height: 56px; max-height: 72px; }
    .review-card {
        padding: 20px;
    }
    .contact-form {
        padding: 15px;
    }
    /* Center primary content for mobile/tablet */
    body { text-align: center; }
    .container { text-align: center; }
    main, section, footer .container { text-align: center; }
    .hero .container { text-align: center; }
    .dna-content { flex-direction: column; text-align: center; align-items: center; }
    .dna-image { width: 100%; display: flex; justify-content: center; }
    .dna-text { text-align: center; }
    .services-grid { grid-template-columns: 1fr; justify-items: center; }
    .service-card { text-align: center; width: 100%; max-width: 520px; margin: 0 auto; }
    .contact-email { text-align: center; }
}

@media (max-width: 480px) { /* Mobile */
    .hero h1 {
        font-size: 1.8em;
    }
    .dna-text h2,
    .reviews-section h2,
    .contact-section h2 {
        font-size: 1.6em;
    }
    .logo img { height: 60px; max-height: 72px; }
    /* Center all content on mobile */
    .container { text-align: center; }
    .dna-content { align-items: center; }
    .dna-image img { margin: 0 auto; }
    .dna-text { text-align: center; }
    .services-grid { justify-items: center; }
    .service-card { text-align: center; }
    .contact-section { text-align: center; }
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    .form-bottom-row {
        flex-direction: column;
        gap: 10px;
    }
    .submit-button {
        width: 100%;
    }
    .info-icon {
        margin-top: 10px;
    }
}