/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@900&display=swap');

/* Variabelen */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --text-color: #333;
    --background-color: #f5f6fa;
    --white: #ffffff;
    --shadow-sm: 0 0.125rem 0.625rem rgba(0,0,0,0.1);
    --shadow-md: 0 0.5rem 1rem rgba(0,0,0,0.1);
    --shadow-lg: 0 0.75rem 1.5rem rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s;
}

a:hover {
    color: var(--secondary-color);
}

a.active {
    color: var(--secondary-color);
    font-weight: bold;
    position: relative;
}

a.active::after {
    content: '';
    position: absolute;
    bottom: -0.3125rem;
    left: 0;
    width: 100%;
    height: 0.125rem;
    background-color: var(--secondary-color);
}

/* Hero */
.hero {
    font-family: "Roboto Slab", serif;
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

#hero-video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.hero p {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    max-width: 800px;
    padding: 0 1rem;
}

/* Kaarten */
.wolk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.wolk-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-md);
    height: auto;
    min-height: 25rem;
    display: flex;
    flex-direction: column;
}

.wolk-card:hover {
    transform: translateY(-0.625rem);
    box-shadow: var(--shadow-lg);
}

.wolk-card img {
    width: 100%;
    height: 17.5rem;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.wolk-card:hover img {
    transform: scale(1.05);
}

.wolk-card-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wolk-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wolk-card p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.5;
}

.wolk-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Footer */
.footer {
    margin-top: auto;
    width: 100%;
    border-radius: 0.9375rem 0.9375rem 0 0;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1.25rem;
    text-align: center;
}

.footer a {
    color: var(--white);
    text-decoration: underline;
}

/* Smalle schermen navbar */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

/* Responsive-heid */
@media (max-width: 1240px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 0.5rem 1rem;
        text-align: center;
    }

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

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

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

@media (max-width: 480px) {
    .wolk-grid {
        padding: 1rem;
        gap: 1rem;
    }

    .wolk-card img {
        height: 12rem;
    }
}

/* scroll arrow */
.scroll-arrow {
    position: absolute;
    bottom: 1.875rem;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    margin-bottom: 1.25rem;
}

.scroll-arrow span {
    display: block;
    width: 1.25rem;
    height: 1.25rem;
    border-bottom: 0.125rem solid white;
    border-right: 0.125rem solid white;
    transform: rotate(45deg);
    margin: -0.625rem;
    animation: scroll-arrow 2s infinite;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: -0.2s;
}

.scroll-arrow span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scroll-arrow {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-1.25rem, -1.25rem);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(1.25rem, 1.25rem);
    }
}