@font-face {
    font-family: "Quicksand";
    src: url("./lettertype.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

:root {
    --huisstijl-kleur: rgb(46, 96, 73);
    --huisstijl-kleur2: rgb(46, 78, 73);
    --huisstijl-letter: "Quicksand", sans-serif;
    --donkere-letter: rgb(28, 28, 28);
    --lichte-letter: rgb(250, 250, 250);
    --lichte-achtergrond: rgb(234, 243, 239);
    --nav-achtergrond: rgba(46, 78, 73, 0.85);
    --accent-lichte-letter: rgb(138, 138, 138);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--huisstijl-letter);
    background: var(--lichte-achtergrond);
    color: var(--donkere-letter);
    line-height: 1.6;
}

.nav-links {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 0;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--lichte-letter);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    background: rgba(250, 250, 250, 0.15);
    color: white;
    transform: translateY(-2px);
}

.nav-links a::after {
    display: none;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--huisstijl-accent-kleur, #ffffff);
    font-weight: 700;
    position: relative;
}

.nav-links a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: currentColor;
    border-radius: 2px;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.8;
}

img {
    max-width: 100%;
    display: block;
}

.pagina-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--nav-achtergrond);
    color: var(--lichte-letter);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

main {
    flex: 1 0 auto;
    padding-top: 80px;
    margin: 0 auto;
    max-width: 1200px;
}

.logo,
.header-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

#logo-img {
    max-height: 45px;
    width: auto;
    display: block;
}

.logo-tekst {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lichte-letter);
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.header-cta-icon,
#taal-knop,
.menu-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--lichte-letter);
    transition:
        transform 0.3s ease,
        color 0.3s ease;
}

.header-cta-icon:hover,
#taal-knop:hover {
    color: var(--lichte-achtergrond);
    transform: scale(1.1);
    opacity: 1;
}

.header-cta-icon.active {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.taal-selector #taal-knop:focus {
    outline: none;
}

#wereldbol-icoon {
    display: block;
}

.taal-selector {
    position: relative;
    display: flex;
    align-items: center;
}

#taal-knop {
    background: none;
    border: none;
    color: inherit;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
}

#taal-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: var(--nav-achtergrond);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(250, 250, 250, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    min-width: 120px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

#taal-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

#taal-menu a {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--lichte-letter);
    text-align: center;
    transition: background 0.3s;
    border-bottom: 1px solid rgba(250, 250, 250, 0.05);
}

#taal-menu a:last-child {
    border-bottom: none;
}

#taal-menu a:hover {
    background: rgba(250, 250, 250, 0.1);
    color: white;
}

.intro-header {
    padding: 100px 1rem 80px 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top right, rgba(46, 96, 73, 0.08), transparent), radial-gradient(circle at bottom left, rgba(46, 78, 73, 0.05), transparent), white;
    border-bottom: 1px solid rgba(46, 96, 73, 0.1);
    border-radius: 1rem;
}

.intro-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(var(--huisstijl-kleur) 0.5px, transparent 0.5px);
    background-size: 30px 30px;
    opacity: 0.1;
    pointer-events: none;
}

.intro-header h1 {
    position: relative;
    font-size: 3.8rem;
    color: var(--huisstijl-kleur);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.intro-header .ondertitel {
    position: relative;
    font-size: 1.3rem;
    color: var(--donkere-letter);
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 500;
    opacity: 0;
    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

.specialisatie,
.portfolio-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}

.specialisatie-info,
.portfolio-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 1.5rem;
}

.specialisatie:hover,
.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--huisstijl-kleur);
}

.portfolio-img {
    width: 100%;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
    margin-top: auto;
}

.portfolio-link:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-item h3 {
    margin-bottom: 0.75rem;
    color: var(--huisstijl-kleur);
}

.demo-link {
    display: inline-block;
    padding: 0.75rem 1rem;
    background-color: var(--lichte-achtergrond);
    border-radius: 0.5rem;
    font-weight: 700;
    color: var(--huisstijl-kleur);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}

.specialisatie:hover .demo-link {
    background-color: var(--huisstijl-kleur);
    color: white;
}

section:not(.hero) {
    padding: 3rem 1rem;
}

section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--huisstijl-kleur);
}

.andere h2,
.cta h2 {
    margin-bottom: 0;
    font-size: 2rem;
    color: var(--huisstijl-kleur);
}

.contact-intro {
    padding: 0 1rem;
}

.specialisatie-grid,
.portfolio-overzicht {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.andere,
.cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.cta {
    padding: 4rem 1rem;
}

.andere p {
    max-width: 700px;
    color: var(--donkere-letter);
}

.cta p {
    font-size: 1.1rem;
    max-width: 700px;
    color: var(--donkere-letter);
}

.cta .cta-btn,
.verzend-knop {
    background: var(--huisstijl-kleur);
    color: var(--lichte-letter);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.cta .cta-btn:hover,
.verzend-knop:hover {
    background: var(--huisstijl-kleur2);
}

.diensten-lijst {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    max-width: 700px;
}

.diensten-lijst li {
    background: white;
    padding: 0.75rem 1rem;
    border-radius: 0.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    text-align: center;
}

form {
    width: 95%;
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--huisstijl-letter);
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

form select:focus {
    border-color: var(--huisstijl-kleur);
    outline: none;
    box-shadow: 0 0 0 2px rgba(46, 96, 73, 0.1);
}

.form-container {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

form .form-groep {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition:
        border-color 0.3s,
        box-shadow 0.3s;
}

form textarea {
    min-height: 150px;
    resize: vertical;
}

form ::placeholder {
    font-family: var(--huisstijl-letter);
}

.honeypot {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.succesmelding {
    max-width: 600px;
    margin: 1rem auto;
    padding: 1rem 1.5rem;
    background-color: #d4edda;
    color: #155724;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
}

footer {
    background: var(--huisstijl-kleur2);
    color: var(--lichte-letter);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in-later {
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

#privacy p {
    margin-bottom: 0.5rem;
}

#alg-voorwaarden h1 {
    margin: 0.8rem 0rem;
}

#alg-voorwaarden h3 {
    margin: 0.5rem 0rem;
}

.download-link {
    margin-bottom: 2rem;
}

#details {
    padding-left: 1rem;
}

#details p {
    margin-bottom: 0.5rem;
}

#contactpagina h1 {
    margin-top: 1rem;
}

/* Container Interactiviteit */
.js-modal-trigger {
    cursor: zoom-in;
    position: relative;
    transition: transform 0.3s ease;
}

.js-modal-trigger:hover {
    transform: translateY(-5px);
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(46, 96, 73, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}

.js-modal-trigger:hover .zoom-overlay {
    opacity: 1;
}

.zoom-icon {
    font-size: 2.5rem;
    color: white;
}

.admin-mockup-container {
    position: relative;
    width: 100%;
    margin-top: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f4f4f4;/
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    line-height: 0;
}

.portfolio-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.admin-mockup-container:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.05);
}

.admin-mockup-container:hover .portfolio-img {
    transform: scale(1.03);
}

.zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(46, 96, 73, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.zoom-icon {
    font-size: 2rem;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    backdrop-filter: blur(4px);
}

.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-nav {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.modal-nav button {
    background: #ffffff;
    border: none;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.modal-nav button:hover {
    background: #e0e0e0;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .intro-header h1 {
        font-size: 2.2rem;
    }
    .intro-header .ondertitel {
        font-size: 1.1rem;
    }

    header .logo,
    header .header-right {
        flex: auto;
    }

    .nav-links {
        display: none;
        position: absolute;
    }

    .hide-mobile {
        display: none;
    }

    .logo-tekst {
        font-size: 1.2rem;
    }

    #logo-img {
        max-height: 35px;
    }

    .header-right {
        gap: 0.8rem;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-toggle span {
        width: 90%;
        height: 3px;
        background: var(--lichte-letter);
        border-radius: 10px;
        transition: all 0.3s linear;
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--nav-achtergrond);
        padding: 2rem;
        gap: 1.5rem;
        text-align: center;
        backdrop-filter: blur(10px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);

        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    form {
        padding: 1.5rem;
        width: calc(100% - 2rem);
    }

    .contact-intro h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .menu-toggle {
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
    }

    .header-right {
        gap: 0.25rem;
    }

    .menu-toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .modal-nav button {
        padding: 15px 30px; /* Grotere klikoppervlakte voor duimen */
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .header-right {
        gap: 1rem;
    }
}
