/* Algemene reset en basis */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #111;
    margin: 0;
    padding: 0;
    color: #f0f0f0;
    line-height: 1.6;
}

img:hover {
    cursor: pointer;
}

.neon-text {
    color: #bb86fc;
}

a {
    color: #bb86fc;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #e0aaff;
}

/* Header */
header {
    background: #111;
    border-bottom: 3px solid #bb86fc;
    padding: 20px;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 200px;
}

header h1 {
    margin: 0;
    font-size: 2em;
    color: #bb86fc;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav a {
    font-weight: bold;
}

/* Hamburger stijl */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #bb86fc;
    border-radius: 5px;
    transition: 0.3s;
}

/* Nav container */
.nav-menu {
    position: relative;
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Links */
.nav-link {
    position: relative;
    padding: 10px 0;
    font-weight: bold;
    color: #bb86fc;
    text-decoration: none;
}

/* Pseudo-element voor underline */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #bb86fc;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Hover effect */
.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}


/* Introductie */
#intro {
    background-color: #111;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 120px 20px;
    max-width: 1000px;
    margin: auto;
}

#intro h2 {
    font-size: 4rem;
    font-weight: 800;
}

#intro p {
    font-size: 1.2rem;
    max-width: 500px;
}


/* Secties */
section {
    padding: 60px 20px;
    width: 100%;
    box-sizing: border-box;
}

.section-content {
    max-width: 1000px;
    margin: 0 auto;
}


#uiux, #contact {
    background-color: #8458bd;
}

#ander-werk {
    background-color: #111;
}

section h2 {
    font-size: 3em;
    margin-bottom: 20px;
    color: #bb86fc;
}

#uiux h2, #contact h2 {
    color: #EEEEEE;
}

/* Projectgrid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.project-card {
    background: #111;
    padding: 20px;
    color: #f0f0f0;
}

.project-card h3 {
    margin-top: 10px;
    font-size: 1.2rem;
    color: #ffffff;
}

.project-card p {
    font-size: 0.95rem;
}

.placeholder-image {
    background: #ccc;
    height: 150px;
}

.project-card img {
    width: 100%;
    overflow-clip-margin: content-box;
    overflow: clip;
}


.project-card:hover {
    background-color: #4b0c9a; /* Tekst wordt zwart bij hover voor contrast */
    color: #EEEEEE;
    cursor: pointer;
}

.extrainfo {
    font-style: italic;
    color: #bb86fc;
}



/* Contactformulier */
form input,
form textarea {
    width: 100%;
    padding: 15px;
    margin-top: 10px;
    background: #1a1a1a;
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Poppins', sans-serif;
}

form textarea {
    resize: vertical;
}

form button{
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    color: #bb86fc;
    border: 2px solid #bb86fc;
    background-color: transparent;
    text-transform: uppercase;
    font-weight: bold;
    overflow: hidden;
    transition: color 0.4s ease;
    cursor: pointer;
    z-index: 1;
    margin-top: 15px;
    width: fit-content;

}


form button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #bb86fc;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

/* Hover effect */
form button:hover::before {
    transform: scaleY(1);
}

form button:hover {
    color: #000; /* Tekst wordt zwart bij hover voor contrast */
}

/* Footer */
footer {
    background-color: #000;
    text-align: center;
    padding: 40px 10px;
    color: #666;
    font-size: 0.9em;
    border-top: 2px solid #bb86fc;
}

.sitemap {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.sitemap a {
    color: #bb86fc;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.sitemap a:hover {
    color: #e0aaff;
}
/*------------------------------------------contact---------------------------------------------*/

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    color: #f0f0f0;
}

.contact-info {
    flex: 1 1 40%;
}



.contact-info p {
    margin-bottom: 20px;
}

/* Formulierstijl */
.contact-form {
    flex: 1 1 55%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form label {
    font-weight: bold;
    color: #ffffff;
}

.contact-form input,
.contact-form textarea {
    background-color: #111;
    color: #f0f0f0;
    border: 3px solid #bb86fc;
    padding: 10px;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1em;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.contact-form button {
    background-color: #000000;
    color: #e4cdff;
}

.contact-form button:hover {
    color: #000000;
}

.form-group.two-col {
    display: flex;
    gap: 20px;
}

.form-group.two-col > div {
    flex: 1;
}

/*------------------------------------------project paginas ---------------------------------------------*/
.hero {
    background-size: cover;
    background-position: center;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.HeroProjectOne {
    background-image: url('Images/Gehele_Kaart.png') ;
}

.HeroProjectTwo {
    background-image: url('Images/FilmAppBanner.png') ;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* pas 0.4 aan voor meer/minder dekking */
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    color: #d0a7ff;
    text-shadow: 2px 2px 10px #000;
}

.hero h1, .hero * {
    position: relative;
    z-index: 2;
}

.intro-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto 80px;
    text-align: center;
}

.intro-section h1 {
    font-size: 2.5em;
    margin-bottom: 40px;
}

.indeling1 h2, .indeling2 h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-style: italic;
}

.indeling1 h3, .indeling2 h3 {
    font-size: 1.4em;
    margin-bottom: 0;
    color: #8458bd;
}


.indeling1 img, .indeling2 img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    max-height: 600px;
    height: auto;
    padding: 20px 0px;
}

.TaskflowsImages img {
    max-width: 60%;
}

iframe {
    border: none;
    width: 960px;
    height: 600px;
}

.hifi-blok {
    display: flex;
    gap: 30px;
    align-items: center;
    margin: 100px 0;
}

.hifi-tekst {
    flex: 2; /* 2/3de */
}

.hifi-tekst p {
    font-size: 45px;
    color: #bb86fc;
    font-weight: initial;
}

.hifi-afbeelding {
    flex: 1; /* 1/3de */
}

.hifi-afbeelding img {
    width: auto;
    height: 100%;
    border-radius: 8px;
    display: block;
}

.intro-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}

.intro-text {
    flex: 1 1 30%;
    font-size: 1.2em;
    color: #f0f0f0;
}

.intro-image {
    flex: 1 1 60%;
    text-align: center;
}

.intro-image video {
    width: 100%;
    max-width: 500px;
}

.intro-image img {
    width: 100%;
}

.carousel {
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    position: relative;
    margin: auto;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-track img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 24px;
    z-index: 2;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: rgb(190, 181, 255);
}

.carousel-btn.prev {
    left: 10px;
}

.carousel-btn.next {
    right: 10px;
}

.info-section, .indeling2 {
    padding: 30px 20px;
    border-top: 3px solid #8458bd;
    border-bottom: 3px solid #8458bd;
}

.indeling1 {
    padding: 30px 20px;
}

.subkop {
    margin-bottom: 40px;
}

.subkop p {
    margin-top: 5px;
}

.gallerij {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* precies 2 kolommen */
    margin-top: 30px;
}

.foto img {
    width: 90%;
    height: auto;
    display: block;
    padding-bottom: 5px;
}

.foto p {
    text-align: center;
    margin: 0 15px 25px 15px;
    color: #8458bd;
}

/* Lightbox overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* onzichtbaar tot klik */
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    cursor: pointer;
}

.info-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    text-align: left;
}

.info-block {
    flex: 1 1 250px;
    text-align: center;
}

.info-block p {
    color: #ddd;
    line-height: 1.6;
    font-size: 1rem;
}

/*------------------------------------------mijn werk ---------------------------------------------*/

.intro-titel {
    display: flex;
    justify-content: center;  /* Horizontaal centreren */
    align-items: center;      /* Verticaal centreren */
    text-align: center;       /* Tekst centreren */
    padding: 0;
    margin-bottom: 0;
}

.intro-titel h1 {
    font-size: 4rem;
    color: #b5e5ff;
}


.project {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

.project:nth-child(even) {
    flex-direction: row-reverse;
}

.project-image {
    flex: 1;
    text-align: center;
}

.project-image img {
    max-width: 100%;
    height: auto;
}

.project-text {
    flex: 1;
}

.project-text h2 {
    font-size: 40px;
    margin-top: 0;
}

/*-----------------------------------------------ABOUT------------------------------------------------*/

.about-section {
    background-color: #000;
    color: #f0f0f0;
    padding: 80px 200px;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 280px;
}

.about-text h2 {
    color: #bb86fc;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}

.buttons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.buttons a{
    position: relative;
    display: inline-block;
    padding: 12px 24px;
    color: #bb86fc;
    border: 2px solid #bb86fc;
    background-color: transparent;
    text-transform: uppercase;
    font-weight: bold;
    overflow: hidden;
    transition: color 0.4s ease;
    cursor: pointer;
    z-index: 1;
}


.buttons a::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #bb86fc;
    z-index: -1;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

/* Hover effect */
.buttons a:hover::before {
    transform: scaleY(1);
}

.buttons a:hover {
    color: #000; /* Tekst wordt zwart bij hover voor contrast */
}

/* About afbeelding */
.about-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.about-image img {
    max-width: 300px;
}

/*-----------------------------------------------skills------------------------------------------------*/
.skills-section {
    background-color: #111;
    color: white;
    padding: 80px 200px;
    text-align: center;
}

.skills-section h2 {
    color: #bb86fc;
    font-size: 2.5em;
    margin-bottom: 40px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.skill {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    text-align: center;
}

.tool {
    background-color: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    text-align: center;
    grid-column: span 2;
}

.skill:hover, .tool:hover {
    transform: translateY(-5px);
}

.skill p {
    padding: 0 50px;
}

.skill h3, .tool h3 {
    color: #bb86fc;
    font-size: 1.2em;
    margin-bottom: 10px;
}

/*------------------------------------------SCROLL---------------------------------------------*/
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: none;
}

html {
    scroll-behavior: smooth;
}

/*------------------------------------------COMING SOON PAGINA---------------------------------------------*/
.coming-container {
    padding: 40px;
    text-align: center;
}

.coming-container h1 {
    font-size: 4em;
}

/* Loader container */
.static-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* Spinner stijl */
.spinner {
    width: 80px;
    height: 80px;
    border: 5px solid #404040;
    border-top: 5px solid #bb86fc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Extra tekst onder spinner */
.loader-text {
    font-size: 0.9em;
    letter-spacing: 1px;
}

/* Animatie */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}



/* ----------------------------------------Responsive------------------------------------------------ */
@media (max-width: 768px) {
    header nav {
        padding: 20px;
        flex-wrap: wrap;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        display: none;
        margin-top: 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 10px 0;
    }

    #intro {
        flex-direction: column;
        text-align: center;
    }

    .intro-image-placeholder {
        margin: auto;
    }

    .contact-container {
        flex-direction: column;
    }

    .form-group.two-col {
        flex-direction: column;
    }

    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .intro-text,
    .intro video {
        flex: 1 1 100%;
    }

    .info-wrapper {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .info-block {
        width: 100%;
        margin-bottom: 30px;
    }

    .project {
        flex-direction: column !important;


    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text, .about-image {
        flex: 1 1 100%;
    }

    .about-image img {
        max-width: 100%;
    }

    .skills-section {
        padding: 60px 80px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

}
