
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}
body {
    background: linear-gradient(135deg, #0a0a0a, #1a0a1a);
    color: #fff;
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Intro Video Fullscreen */
#intro-video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    overflow: hidden;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animatie voor fade + scale */
.fade-out-scale {
    animation: fadeScaleOut 1s ease forwards;
}

@keyframes fadeScaleOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.05); /* kleine zoom voor cinematic effect */
    }
}

#skip-btn {
    position: absolute;
    top: 690px; /* 👈 ietsje lager */
    right: 20px;
    background: rgba(0,0,0,0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.2s ease;
}

#skip-btn:hover {
    background: rgba(0,0,0,0.8);
    transform: scale(1.05);
}


/* Hero hidden at first */
.hero {
    opacity: 0; /* <- belangrijk */
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent/*linear-gradient(135deg, #0a0a0a, #1a0a1a)*/;
    padding: 0 1rem;
}

.hero-content{
    height: 250px;
}

.hero.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 span {
    background: linear-gradient(
        90deg,
        #3b00ff,
        #6a00ff,
        #8a00ff,
        #6a00ff,
        #3b00ff
    );
    top: 150px;
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Makes the background show through text */
    animation: gradient-shift 5s ease infinite;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about p span{
        background: linear-gradient(
        90deg,
        #3b00ff,
        #6a00ff,
        #8a00ff,
        #6a00ff,
        #3b00ff
    );
    top: 150px;
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Makes the background show through text */
    animation: gradient-shift 5s ease infinite;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo span {
    background: linear-gradient(
        90deg,
        #3b00ff,
        #6a00ff,
        #8a00ff,
        #6a00ff,
        #3b00ff
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Makes the background show through text */
    animation: gradient-shift 5s ease infinite;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}
nav a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}
nav a:hover {
        background: linear-gradient(
        90deg,
        #3b00ff,
        #6a00ff,
        #8a00ff,
        #6a00ff,
        #3b00ff
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Makes the background show through text */
    animation: gradient-shift 5s ease infinite;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.7rem 1.5rem;
    background: linear-gradient(
        90deg,
        #3b00ff,
        #6a00ff,
        #8a00ff,
        #6a00ff,
        #3b00ff
    );
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    background-size: 300% 300%;
    animation: gradient-shift 5s ease infinite;
    box-shadow: 0 0 20px rgba(138, 0, 255, 0.7);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(138, 0, 255, 0.9);
}

section {
    padding: 4rem 2rem;
    max-width: 1000px;
    margin: auto;
}
.projects .project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.project-card {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}
.project-card:hover {
    transform: translateY(-5px);
    background: #252525;
    cursor: pointer;
}

.project-card.disabled {
    background: #2a2a2a;
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    transform: none;
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.contact input, .contact textarea {
    padding: 0.7rem;
    border: none;
    border-radius: 8px;
}
.contact button {
        background: linear-gradient(
        90deg,
        #3b00ff,
        #6a00ff,
        #8a00ff,
        #6a00ff,
        #3b00ff
    );
    border: none;
    padding: 0.7rem;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}
.contact button:hover {
        background: linear-gradient(
        90deg,
        #3809d5,
        #5009b4,
        #620cad,
        #450a97,
        #2e08a9
    );
}
footer {
    text-align: center;
    padding: 1rem;
    background: #1a1a1a;
    margin-top: 2rem;
}

/* Spinner inside the button */
.spinner {
    border: 2px solid #fff;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-block;
    margin-left: 8px;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg);}
    100% { transform: rotate(360deg);}
}

/* Success/failure message animation */
#formMessage {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateY(-10px);
}

#formMessage.show {
    opacity: 1;
    transform: translateY(0);
}

.background {
    position: fixed;
    bottom: 0;
    z-index: -1;
    mix-blend-mode: lighten;
    width: 100%;
    height: 100%;
}