:root {
    /* Kleurvariabelen voor light theme */
    --green: #25b376;
    --green-accent: #43eba8;
    --green-dark: #15825b;
    --green-light: #eafaf3;
    --background: #f7faf9;
    --text: #22333b;
    /* Schaduwvariabelen voor herbruikbaarheid */
    --shadow-light: 0 1px 12px rgba(37,179,118,0.05);
    --shadow: 0 4px 24px rgba(37,179,118,0.09);
    --shadow-strong: 0 8px 36px rgba(37,179,118,0.14);
}

/* (Toekomst) Dark theme variables - deze sectie is nu niet actief, 
   maar laat zien welke variabelen men in een dark-mode zou aanpassen.
:root[data-theme="dark"] {
    --background: #22333b;
    --text: #f7faf9;
    --green: #25b376;  /* primaire kleur kan evt. hetzelfde blijven */
    --green-accent: #43eba8;
    --green-dark: #eafaf3; /* in dark mode zou dit licht moeten zijn voor contrast */
    --green-light: #10231c; /* zeer donker groen als lichte accent bg */
} 
*/
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
	overflow-x: hidden;
}

a {
    color: var(--green-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Basis button-style */
.btn {
    border-radius: 999px;
    font-weight: 700;
    display: inline-block;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(37,179,118,0.10);
    transition: background 0.8s, box-shadow 0.4s, color 0.4s;
    /* Tip: langere transition op background voor smooth gradient verandering */
}

.btn--primary {
    background: linear-gradient(90deg, var(--green), var(--green-accent));
    color: #fff;
}
.btn--primary {
    background: linear-gradient(120deg, var(--green), var(--green-accent));
    background-size: 200%;
    transition: background-position 0.4s ease, background 0.8s, box-shadow 0.4s, color 0.4s;
}

.btn--primary:hover,
.btn--primary:focus {
    background-position: right center;
}
.btn--inverse:hover, .btn--inverse:focus {
    background: linear-gradient(90deg, var(--green), var(--green-accent));
    color: #fff;
}

/* Navigatie */
.nav {
    position: sticky;
    top: 0;
    z-index: 999;
    /* Premium glass effect nav bar */
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid var(--green-light);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 2rem;
    font-weight: bold;
    color: var(--green);
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.4em 1em;
    border-radius: 999px;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Hover effect voor navigatielinks: subtiele highlight */
.nav-menu a:hover {
    background: var(--green-light);
    color: var(--green-dark);
}

.nav-btn {
    /* Voor menu-knop (contact knop op mobiel), .btn classes worden al toegepast in HTML */
}

/* Hero section */
.hero-section {
    min-height: 480px;
    width: 100%;
    /* Achtergrond met subtiele gradients voor een premium look */
    background:
        radial-gradient(ellipse 80% 65% at 70% 40%, rgba(37,179,118,0.13) 0%, transparent 80%),
        radial-gradient(ellipse 65% 70% at 10% 80%, rgba(67,235,168,0.13) 0%, transparent 80%),
        linear-gradient(120deg, #eafaf3 0%, #f9fcff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

.hero-glass {
    max-width: 860px;
    margin: 5rem auto;
    padding: 4rem 2rem 4.5rem 2rem;
    background: rgba(255,255,255,0.65);
    border-radius: 2.4rem;
    box-shadow: var(--shadow-strong);
    text-align: center;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
	will-change: opacity, transform;
    animation: fadeIn 1.2s cubic-bezier(.44,.13,.62,.98); /* fade-in animatie bij laden */
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--green-dark);
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 12px var(--shadow);
}

.hero-sub {
    color: var(--green-dark); /* Houd subtekst in een donkere groentint voor leesbaarheid */
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-weight: 400;
}

/* CTA knop in hero volgt btn--primary styling */
.hero-cta {
    padding: 1rem 2.6rem;
    font-size: 1.2rem;
}

/* ================ SCROLL FADE-IN ANIMATIE ================ */
.scroll-fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.scroll-fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= SECTION LAYOUT ================== */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4.5rem 1rem;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--green-dark);
    margin-bottom: 2.6rem;
    letter-spacing: -0.03em;
    text-align: left;
}

/* Grid layout voor kaarten (diensten, producten) */
.cards-grid, .diensten-grid, .producten-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.3rem;
}

/* Kaartjes voor diensten en producten */
.dienst-card, .product-card {
    background: linear-gradient(120deg, #fff 60%, var(--green-light) 100%);
    border-radius: 1.6rem;
    box-shadow: var(--shadow);
    padding: 2.5rem 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.4s, transform 0.4s;
    position: relative;
    min-height: 325px;
    overflow: hidden;
}
.dienst-card:hover, .product-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
    /* Hover omhoog om highlight te geven (al aanwezig) */
}

/* Icoon in dienst-card */
.dienst-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 2px 8px var(--green)33);
    font-size: 4rem;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.dienst-icon:hover {
    transform: scale(1.05);
}

/* Product afbeelding in product-card */
.product-img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1.1rem;
    box-shadow: 0 2px 8px var(--shadow);
    transition: transform 0.3s ease;
}
.product-img:hover {
    transform: scale(1.05);
}

.product-name, .dienst-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--green);
    margin-bottom: 1rem;
}
.product-desc, .dienst-desc {
    font-size: 1.05rem;
    color: var(--text);
    opacity: 0.98;
    line-height: 1.5;
}

/* Badge styling (gebruikt voor bv. "nieuw" label) */
.badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(90deg, var(--green) 40%, var(--green-accent) 100%);
    color: #fff;
    font-size: 0.8rem;
    padding: 0.3em 1.1em;
    border-radius: 1em;
    font-weight: 600;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px var(--green)22;
    pointer-events: none;
}

/* Downloads grid (indien van toepassing, qua stijl gelijk aan kaarten) */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.download-card {
    background: linear-gradient(120deg, #ffffff 60%, var(--green-light) 100%);
    border-radius: 1.6rem;
    box-shadow: var(--shadow);
    padding: 2.5rem 1.8rem;
    text-align: center;
    transition: box-shadow 0.4s ease, transform 0.3s ease;
}
.download-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-4px);
}
.download-icon {
    font-size: 3rem;
    color: var(--green-dark);
    margin-bottom: 1rem;
}
.download-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--green);
    margin-bottom: 0.5rem;
}
.download-desc {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.download-btn {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Oplossingen sectie (voorbeeld van flexbox verdeling tekst/beeld) */
.solutions-section {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    background: var(--green-light);
    border-radius: 2rem;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
}
.solutions-text {
    flex: 1 1 300px;
}
.solutions-img-wrap {
    flex: 1 1 260px;
    display: flex;
    justify-content: center;
}
/* Maak de oplossingen afbeelding responsiever en groter */
.solutions-img {
    max-width: 400px;
    width: 100%;
    border-radius: 1.6rem;
    box-shadow: 0 8px 32px rgba(23,104,194,0.13);
    object-fit: cover;
    /* max-width zorgt dat hij niet groter dan 400px wordt, width:100% vult container voor mobiele stack */
}

/* Over ons en Contact secties (volledige breedte secties met achtergrond) */
.about-section, .contact-section {
    min-height: 430px;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    position: relative;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
}
.about-section {
    background: linear-gradient(120deg, #eafaf3 0%, #a9fff5 60%, #43eba8 100%);
}
.about-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(245,255,250, 0.78) 65%, rgba(255,255,255,0.5) 100%);
    z-index: 1;
}
.about-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    text-align: center;
}
.about-content h2 {
    color: var(--green-dark);
}
.about-content p {
    font-size: 1.2rem;
    color: #22333b;
    line-height: 1.6;
    margin-top: 2rem;
}

.contact-section {
    background: radial-gradient(ellipse 70% 55% at 65% 35%, rgba(37,179,118,0.19) 0%, transparent 85%),
                linear-gradient(120deg, #18332e 0%, #15825b 80%, #25b376 100%);
}
.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(34,51,59, 0.72) 50%, rgba(34,51,59, 0.54) 100%);
    z-index: 1;
}
.contact-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
    text-align: center;
    color: #fff;
}
.contact-content h2 {
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.contact-content p {
    font-size: 1.18rem;
    line-height: 1.7;
    margin-top: 2rem;
    text-shadow: 0 1px 10px rgba(0,0,0,0.2);
}

/* Contact knop (binnen contact-content; gebruikt btn classes) */
.contact-btn {
    margin-top: 2.5rem;
    font-size: 1.2rem;
    padding: 1rem 2.6rem;
}

/* ================ Formulieren ================ */
form {
    width: 100%;
}
form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: left;
    width: 100%;
}
form input[type="text"],
form input[type="number"],
form select,
form textarea {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.4rem;
    border-radius: 0.8rem;
    border: 1px solid #ccc;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}
form textarea {
    resize: vertical;
}
form input[type="checkbox"] {
    margin-right: 0.5rem;
}
form button.btn {
    margin-top: 1.5rem;
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 999px;
    /* Note: .btn styling is al van toepassing (primaire of inverse class toevoegen in HTML indien nodig) */
}

/* ================ Prijs (indien gebruikt) ================ */
.price-display {
    margin-top: 1.5rem;
    font-size: 1.2rem;
    color: var(--green-dark);
    font-weight: 700;
    text-align: left;
}
#price {
    font-weight: 800;
    color: var(--green);
}

/* ================ FOOTER ================ */
footer {
    background: #fff;
    border-top: 1px solid var(--green-light);
    text-align: center;
    padding: 2.2rem 1rem;
    color: var(--green-dark);
    font-size: 1rem;
    letter-spacing: 0em;
}

/* ================ KEYFRAMES ANIMATIES ================ */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: none;
    }
}

/* Voorbeeld extra animatie: fadeInUp voor kaarten (optioneel) */
/* @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
} */

/* ================ UTILITIES: HIDE/SHOW ================ */
.hide-on-mobile {
    display: inline-block;
}
.only-mobile {
    display: none !important;
}

/* ==================== RESPONSIVE BREAKPOINTS ===================== */

/* Brede tablets tot 900px */
@media (max-width: 900px) {
    .nav-content {
        padding: 1.2rem 1rem;
        flex-direction: row;
        align-items: center;
    }
    .nav-logo {
        font-size: 1.8rem;
        margin-right: auto;
        z-index: 2;
        letter-spacing: 0px;
    }
    .nav-menu {
        width: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 0;
    }
    .hide-on-mobile {
        display: none !important;
    }
    .only-mobile {
        display: inline-block !important;
    }
    .nav-btn.only-mobile {
        margin-left: auto;
        padding: 0.6em 1.5em;
        font-size: 1.1rem;
    }
    /* Compactere padding voor hero/about/contact op tablets */
    .hero-glass {
        padding: 2.5rem 1rem 3rem 1rem;
        margin: 2rem auto;
    }
    .section {
        padding: 2.5rem 1.2rem;
    }
    .about-content, .contact-content {
        padding: 2.2rem 0.6rem;
    }
    .about-section, .contact-section {
        min-height: 320px;
    }
    .diensten-grid, .producten-grid, .cards-grid {
        grid-template-columns: 1fr;
    }
    .dienst-card, .product-card {
        padding: 1.3rem 0.9rem 1.7rem 0.9rem;
        min-height: 220px;
        border-radius: 1.1rem;
    }
    .product-img {
        width: 56px;
        height: 56px;
        margin-bottom: 0.8rem;
    }
    .dienst-icon {
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
        margin-bottom: 0.7rem;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.7rem;
    }
	.section,
.hero-glass,
.about-content,
.contact-content {
    padding-inline: clamp(1rem, 5vw, 2rem);
}
}

/* Mobiel tot 500px */
@media (max-width: 500px) {
    .nav-content {
        padding: 0.7rem 0.2rem;
        flex-direction: row;
        align-items: center;
    }
    .nav-logo {
        font-size: 1.5rem;
    }
    .nav-btn.only-mobile {
        font-size: 1rem;
        padding: 0.5em 1.1em;
    }
    .hero-section {
        min-height: 220px;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .hero-glass {
        padding: 1.2rem 1rem 1.4rem 1rem;
        margin: 1.2rem auto;
        border-radius: 1.1rem;
        max-width: 95vw;
    }
    .hero-title {
        font-size: 2rem;
        letter-spacing: -1px;
    }
    .hero-sub {
        font-size: 0.97rem;
        margin-bottom: 1.1rem;
    }
    .hero-cta {
        padding: 0.57rem 1.07rem;
        font-size: 1rem;
        margin-bottom: 0.7rem;
    }
    .section {
        padding: 1.4rem 0.9rem;
    }
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    .dienst-card, .product-card {
        padding: 0.67rem 0.32rem 1rem 0.32rem;
        min-height: 110px;
        border-radius: 0.7rem;
    }
    .dienst-icon {
        width: 30px;
        height: 30px;
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    .product-img {
        width: 36px;
        height: 36px;
        margin-bottom: 0.4rem;
    }
    .product-name, .dienst-title {
        font-size: 0.98rem;
        margin-bottom: 0.19rem;
    }
    .product-desc, .dienst-desc {
        font-size: 0.92rem;
    }
    .badge {
        top: 7px;
        right: 7px;
        font-size: 0.69rem;
        padding: 0.11em 0.65em;
        border-radius: 1em;
    }
    .about-section, .contact-section {
        min-height: 180px;
        padding: 0;
        background-size: cover;
    }
    .about-content, .contact-content {
        padding: 1rem 0.18rem;
        max-width: 98vw;
    }
    .about-content p, .contact-content p {
        font-size: 0.93rem;
        margin-top: 0.5rem;
    }
    .contact-btn {
        padding: 0.5rem 1.09rem;
        font-size: 0.96rem;
        margin-top: 1rem;
    }
    footer {
        font-size: 0.82rem;
        padding: 1rem 0.15rem 0.7rem 0.15rem;
    }
	.section,
.hero-glass,
.about-content,
.contact-content {
    padding-inline: clamp(1rem, 5vw, 2rem);
}
}

/* Touch feedback op mobiel/tablet: actief indruk-effect op buttons */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        filter: brightness(0.92) saturate(1.2);
        box-shadow: 0 2px 8px var(--shadow);
    }
}