:root {
    --primary-color: #ffffff;
    --secondary-color: rgba(255, 255, 255, 0.8);
    --accent-color: #ffffff;
    --background-start: rgba(0,42,64,1);
    --background-end: rgba(0,23,36,1);
    --text-color: #ffffff;
    --scrollbar-bg: rgba(255, 255, 255, 0.05);
    --scrollbar-thumb: rgba(255, 255, 255, 0.2);
    --scrollbar-thumb-hover: rgba(255, 255, 255, 0.3);
}

/* Zorg ervoor dat alle links de juiste kleur hebben */
a {
    color: var(--text-color);
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(5px);
    }
    60% {
        transform: translateY(3px);
    }
}

/* Custom Scrollbar Styling */
.scroll-container::-webkit-scrollbar {
    width: 8px;
    background-color: var(--scrollbar-bg);
}

.scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--scrollbar-thumb);
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.scroll-container::-webkit-scrollbar-thumb:hover {
    background-color: var(--scrollbar-thumb-hover);
}

/* Firefox Scrollbar */
.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-bg);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
}

html {
    scroll-behavior: smooth;
    background: radial-gradient(circle, var(--background-start) 0%, var(--background-end) 100%);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-y: hidden;
}

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.scroll-container {
    position: relative;
    z-index: 1;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
    will-change: scroll-position;
}

.scroll-container.grabbing {
    cursor: grabbing;
    scroll-snap-type: none;
}

/* Add mobile styles */
@media (max-width: 768px) {
    .scroll-container {
        scroll-snap-type: none;
        cursor: default;
        overflow-y: auto;
    }

    .scroll-section {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
        height: auto;
        min-height: 100vh;
    }
}

.sticky-nav {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 50px;
    z-index: 1000;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    opacity: 0.8;
    padding: 0.2rem 0.2rem;
}

.nav-link:hover {
    color: var(--primary-color);
    opacity: 1;
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
    opacity: 1;
}

.scroll-section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    pointer-events: none;
    transition: transform 0.3s ease-out;
}

/* Sta interactie toe met klikbare elementen */
.scroll-section a,
.scroll-section button,
.scroll-section input,
.scroll-section textarea,
.scroll-section .project-card {
    pointer-events: auto;
}

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
}

.hero main {
    text-align: center;
    width: 100%;
}

.about .content,
.projects .content,
.contact .content {
    width: 100%;
    text-align: center;
}

.logo {
    width: 200px;
    margin-bottom: 2rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
    object-fit: cover;
}

.intro {
    margin-bottom: 3rem;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.title {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 0;
    margin-top: 2rem;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.social-link:hover {
    transform: translateY(-2px);
    opacity: 1;
}

.icon {
    width: 20px;
    height: 20px;
}

.social-link span {
    font-size: 1rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover {
    opacity: 1;
}

.scroll-indicator span {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.8;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    margin: 0 0.5rem 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    min-width: 300px;
    max-width: calc(50% - 1rem);
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-card p {
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.project-links {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: nowrap;
    margin-top: auto;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0rem;
    color: var(--primary-color);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-link:first-child {
    margin-bottom: 0;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.project-link .icon {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Loader styles */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--background-start) 0%, var(--background-end) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease-in-out;
}

.loader {
    text-align: center;
    transform: scale(0.8);
}

.loader-logo {
    width: 100px;
    height: 100px;
    animation: rotate 2s cubic-bezier(0.785, 0.135, 0.15, 0.86) infinite;
}

.loader-circle {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: dash 2s cubic-bezier(0.785, 0.135, 0.15, 0.86) forwards;
}

.loader-text {
    margin-top: 25px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #ffffff;
    opacity: 0.9;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dashoffset: 283;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

body.loaded #loader-wrapper {
    opacity: 0;
    visibility: hidden;
}

.scroll-container {
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

body.loaded .scroll-container {
    opacity: 1;
}

/* Contact Form Styling */
.contact-form {
    max-width: 500px;
    margin: 2rem auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form textarea {
    min-height: 100px;
    resize: vertical;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: var(--background-start);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.website-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1.1em;
    opacity: 0.8;
}

.website-link:hover {
    color: var(--accent-color);
    opacity: 1;
}

/* Add this new style for the project cards container */
.projects .content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects h2 {
    width: 100%;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .project-card h3 {
        font-size: 1.25rem;
    }

    .title {
        font-size: 1.25rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    p {
        font-size: 0.95rem;
    }

    .sticky-nav {
        padding: 0.75rem 1.25rem;
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .social-links {
        gap: 0.75rem;
        flex-direction: column;
        align-items: center;
    }

    .icon {
        width: 18px;
        height: 18px;
    }

    .scroll-indicator {
        bottom: 1rem;
    }

    .scroll-arrow {
        width: 20px;
        height: 20px;
    }

    .project-card {
        margin: 0 0 1rem;
        padding: 1.5rem;
        min-width: 100%;
        max-width: 100%;
    }

    .project-card:last-child {
        margin-bottom: 0;
    }

    .project-links {
        flex-direction: column;
        flex-wrap: wrap;
    }

    .project-link {
        width: 100%;
        justify-content: center;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .contact-form {
        margin: 1rem;
        padding: 1.5rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem;
        font-size: 14px;
    }

    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        font-size: 14px;
    }

    .submit-btn {
        padding: 0.8rem;
        font-size: 14px;
    }
}

.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: 0.4s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .sticky-nav {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        padding: 1rem;
        justify-content: flex-end;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--background-start);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: 0.3s;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }
} 