/* 🔥 Dark Mode (Default) */
body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-width: 100%;
    background: #0f0f0f; /* Standaard zwart */
    font-family: 'Poppins', sans-serif;
    color: white;
    text-align: center;
    overflow-x: hidden;
    overflow-y: auto;
    transition: background 0.5s ease-in-out, color 0.5s ease-in-out;
    touch-action: manipulation; /* voorkomt dubbel-tap zoom */
}

/* 📌 Canvas Achtergrond */
canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    opacity: 0.5;
}
input, textarea, select {
    font-size: 16px; /* Voorkomt automatisch inzoomen op iOS */
}

/* 🎨 Logo Container - Zorgt voor vaste grootte */
#logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 600px; /* Vaste breedte */
    height: 120px; /* Vaste hoogte */
    margin: 0 auto;
    overflow: hidden; /* Voorkomt ongewenste uitrekking */
    margin-top: 30px;
}

/* 🖼️ Logo zelf */
#logo {
    width: 100%;
    height: auto;
    max-width: 300px;
    object-fit: contain; /* Zorgt dat het logo nooit uitrekt */
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 1s ease-out, transform 1s ease-out;
    
}

/* 🎭 Next-Level Logo Overlay */
#logo-overlay {
    position: absolute;
    width: 130%;
    height: 130%;
    top: -15%;
    left: -15%;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.15) 15%, transparent 60%);
    filter: blur(12px);
    opacity: 0.8;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
    animation: softGlow 5s infinite alternate ease-in-out;
    pointer-events: none;
}

/* ✨ Subtiele Pulse-animatie */
@keyframes softGlow {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.1);
        opacity: 0.9;
    }
}

/* 🚀 Hover Effect: Subtiele dynamiek */
#logo-container:hover #logo-overlay {
    transform: scale(1.3);
    opacity: 1;
    filter: blur(18px);
}

/* 🖼️ Logo zelf met Depth Effect */
#logo {
    width: 100%;
    height: auto;
    max-width: 300px;
    object-fit: contain;
    transition: transform 0.4s ease-out, filter 0.4s ease-in-out;
}

/* 🚀 Hover op logo = subtiele 3D beweging */
#logo-container:hover #logo {
    transform: scale(1.08) rotateX(10deg);
    filter: drop-shadow(0px 5px 15px rgba(0, 123, 255, 0.4));
}

/* 🌐 Voor mobiele apparaten */
@media (max-width: 768px) {
    #logo-container {
        width: 250px;
        height: 100px;
    }

    #logo {
        max-width: 250px;
    }

    #logo-overlay {
        width: 140%;
        height: 140%;
        filter: blur(8px);
    }
}


/* Zorg dat hero en de inhoud exact in het midden staan */
/* Voorkomt dat de hero-sectie van hoogte verandert */
#hero {
    height: auto; /* Zorgt ervoor dat de sectie alleen de benodigde hoogte heeft */
    min-height: unset; /* Verwijdert de minimale schermhoogte */
    padding-bottom: 20px; /* Optioneel, voorkomt dat het te dicht op de volgende sectie zit */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden; /* Voorkom vreemde scrolls */
}




/* Subtekst */
#subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    color: #fff;
    min-height: 2rem; /* Zorgt ervoor dat de hoogte gelijk blijft */
    display: flex;
    align-items: center; /* Houd tekst verticaal gecentreerd */
    justify-content: center;
    font-family: 'Inter', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0px 0px 10px rgba(73, 122, 255, 0.8);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 1.5s ease-in-out forwards;
    transition: opacity 0.5s ease-in-out;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    #glitch-text {
        font-size: 3rem;
    }

    #subtitle {
        font-size: 1.3rem;
        letter-spacing: 0.5px;
    }
}

/* Fade-in animatie */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* 🔥 Next-Level Menu Design */
#menu {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
}

/* 🚀 Stijlvol Hamburger Menu Icon */
#menu-icon {
    font-size: 2rem;
    cursor: pointer;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 12px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Hover-effect met subtiele schaduw */
#menu-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* 🌟 **Volledig nieuw full-screen menu** */
#menu-content {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85); /* Donkere overlay */
    backdrop-filter: blur(12px); /* ✅ Subtiele blur */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transform: scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* 🏗️ Menu openen */
#menu-content.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

/* ❌ Close-knop bovenaan */
#menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 2.5rem;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#menu-close:hover {
    transform: scale(1.2);
}

/* 📜 Menu-links */
#menu-content ul {
    list-style: none;
    padding: 0;
}

#menu-content li {
    margin: 20px 0;
}

#menu-content a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    padding: 12px 20px;
    border-radius: 8px;
}

#menu-content a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* 🌟 **Light Mode Variatie** */
.light-mode #menu-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
}

.light-mode #menu-close {
    color: #222;
}

.light-mode #menu-content a {
    color: #222;
}

/* ✅ Light mode menu-icon verbeterd */
.light-mode #menu-icon {
    color: #222;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.light-mode #menu-icon:hover {
    background: rgba(0, 0, 0, 0.15);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* ✅ Light mode menu-background */
.light-mode #menu-content {
    background: rgba(255, 255, 255, 0.9);
    color: #222;
}

/* ✅ Light mode menu-text */
.light-mode #menu-content a {
    color: #333;
}

.light-mode #menu-content a:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: scale(1.1);
}


/* Light Mode hover-effect */
.light-mode .hover-effect {
    background: rgba(0, 123, 255, 0.3); /* Iets helderder blauw voor light mode */
}
/* 🔘 Dark Mode Toggle Button */
#dark-mode-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 15;
    width: 55px;
    height: 30px;
    cursor: pointer;
}

/* 🔲 Achtergrond van de switch */
.toggle-track {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    transition: background 0.3s ease;
}

/* 🔘 Het schuivende element (Maan/Zon) */
.toggle-thumb {
    width: 26px;
    height: 26px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 4px;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

/* 🌞 Light Mode Styling */
.light-mode .toggle-track {
    background: rgba(0, 0, 0, 0.2);
}

.light-mode .toggle-thumb {
    left: calc(100% - 30px);
    background: yellow;
}

/* Animatie bij wisselen */
.toggle-thumb::before {
    content: "🌙";
    transition: opacity 0.3s ease;
}

.light-mode .toggle-thumb::before {
    content: "☀️";
}

/* ☀️ Light Mode (Klantvriendelijke achtergrond) */
body.light-mode {
    background: linear-gradient(to bottom, #e3f2fd, #ffffff); /* Lichtblauw naar wit */
    color: #212529; /* Donkere tekst voor betere leesbaarheid */
}



.light-mode #subtitle {
    color: #333;
}



#footer {
    text-align: center;
    padding: 15px 0;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    margin-top: auto;
    width: 100%;
}

/* 🚀 Zorgt ervoor dat de main content de ruimte opvult */
#content {
    flex: 1;
}

/* 🌞 Light Mode Styling */
.light-mode #footer {
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1);
}

/* 🌟 Social Media Icons */
#socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.social-icon i {
    font-size: 1.5rem;
    color: white;
    transition: color 0.3s ease;
}

/* 🔵 Hover Effect */
.social-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(77, 184, 255, 0.5);
}

.social-icon:hover i {
    color: #4db8ff;
}

/* 🌞 Light Mode */
.light-mode .social-icon {
    background: rgba(255, 255, 255, 0.9);
}

.light-mode .social-icon i {
    color: #222;
}

.light-mode .social-icon:hover {
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.5);
}

.light-mode .social-icon:hover i {
    color: #007bff;
}

/* 📱 Mobiele Aanpassingen */
@media (max-width: 768px) {
    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon i {
        font-size: 1.2rem;
    }
}

/* Zorgt dat het formulier nooit buiten het scherm valt */
#contact-container {
    max-width: 600px;
    width: 90%;
    margin: 50px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Voorkomt dat padding de breedte vergroot */
}

/* Zorg dat het formulier correct schaalt */
form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Donkere modus standaard styling */
input, textarea {
    padding: 12px;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    outline: none;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

/* ✅ ZICHTBAARHEID FIX VOOR LIGHT MODE */
.light-mode input, 
.light-mode textarea {
    background: white;  /* Witte achtergrond zodat ze zichtbaar zijn */
    color: black;  /* Zwarte tekst voor leesbaarheid */
    border: 1px solid #ccc;  /* Lichtgrijze rand om zichtbaarheid te verbeteren */
}

/* ✅ Focus-effect blijft goed zichtbaar in Light Mode */
.light-mode input:focus, 
.light-mode textarea:focus {
    border: 1px solid #007bff;
    background: #f9f9f9;
}

/* Knoppen aanpassen voor Light Mode */
.light-mode button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
}

.light-mode button:hover {
    background: linear-gradient(45deg, #0056b3, #003f7f);
}


/* Voorkomt dat textarea te groot wordt */
textarea {
    resize: vertical;
    min-height: 80px;
}

/* Focus effect zonder dat de layout verandert */
input:focus, textarea:focus {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid #4db8ff;
}

/* Knoppen verbeteren zonder de originele responsive structuur te breken */
button {
    background: linear-gradient(45deg, #4db8ff, #007bff);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

button:hover {
    background: linear-gradient(45deg, #007bff, #0056b3);
    transform: scale(1.05);
}

/* ✅ Responsiveness verbeteren zonder iets te breken */
@media (max-width: 768px) {
    #contact-container {
        width: 95%;
        margin: 30px auto;
        padding: 15px;
    }

    input, textarea {
        font-size: 14px;
        padding: 10px;
    }

    button {
        font-size: 1rem;
        padding: 10px;
    }
}

/* Extra optimalisatie voor kleine schermen */
@media (max-width: 480px) {
    #contact-container {
        width: 98%;
        padding: 10px;
    }

    input, textarea {
        font-size: 14px;
        padding: 8px;
    }

    button {
        font-size: 0.9rem;
        padding: 8px;
    }
}

/* Statusbericht styling zonder de bestaande layout te veranderen */
#form-status {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #4db8ff;
    transition: opacity 0.3s ease-in-out;
}
.contact-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.contact-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.light-mode .contact-subtitle {
    color: #444;
}
/* 🎯 Verbeterde velden in dark mode */
body:not(.light-mode) input,
body:not(.light-mode) textarea,
body:not(.light-mode) select {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
}

body:not(.light-mode) input::placeholder,
body:not(.light-mode) textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

body:not(.light-mode) select {
    appearance: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* ⬇️ Voeg een pijltje toe aan select */
body:not(.light-mode) select {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

/* 🎯 Verbeter submit-knop in dark mode */
body:not(.light-mode) button {
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    font-weight: bold;
}

body:not(.light-mode) button:hover {
    background: linear-gradient(45deg, #0056b3, #003f7f);
}
/* Fix voor donkere modus select-menu opties */
body:not(.light-mode) select,
body:not(.light-mode) option {
    color: white;
    background-color: #1a1a1a;
}
/* Algemeen styling voor <select> dropdown in dark mode */
body:not(.light-mode) select {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Zichtbare dropdown-waarden */
body:not(.light-mode) option {
    background-color: #1a1a1a;
    color: white;
}
#contact-top {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    box-sizing: border-box;
}

.contact-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 25px 30px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1 1 320px;
    max-width: 500px;
    box-sizing: border-box;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Zorgt voor verticale centrering */
    gap: 30px;
    flex-wrap: wrap;
    height: 100%; /* Noodzakelijk om goed te centreren in de box */
}

.contact-info {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.contact-photo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
}

.contact-photo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #4db8ff;
    box-shadow: 0 0 15px rgba(77, 184, 255, 0.3);
}

.contact-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-box p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    word-break: break-word;
}

.contact-box a {
    color: #4db8ff;
    text-decoration: none;
}

.contact-box a:hover {
    text-decoration: underline;
}

.contact-box i {
    color: #4db8ff;
    min-width: 18px;
}

.contact-box.map {
    padding: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 280px;
    max-height: 350px;
    height: 100%;
}

.contact-box.map iframe {
    border-radius: 14px;
    width: 100%;
    height: 100%;
    border: none;
}

/* 🌞 Light mode */
.light-mode .contact-box {
    background: rgba(255, 255, 255, 0.95);
    color: #222;
}

.light-mode .contact-box i,
.light-mode .contact-box a {
    color: #007bff;
}

.light-mode .contact-photo img {
    border-color: #007bff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.3);
}

/* 📱 Mobiele optimalisatie */
@media (max-width: 768px) {
    #contact-top {
        padding: 0 10px;
    }

    .contact-grid {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-box {
        width: 100%;
        max-width: 100%;
    }

    .contact-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .contact-photo {
        margin-top: 20px;
    }

    .contact-box.map {
        aspect-ratio: 4 / 3;
        min-height: 300px;
        max-height: 400px;
    }
    .contact-info {
        text-align: center;
    }
}
a:hover {
    color: #a5d6a7;
  }
  