/* Algemene stijl */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f0f4f2;
    color: #333;
}
	/* Navigatiebalk */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: bold;
    color: #2e7d32;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

/* animatie lijn onder tekst */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: #2e7d32;
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #2e7d32;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Header */
header {
    background: linear-gradient(120deg, #2e7d32, #66bb6a);
    color: white;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 2s ease;
}

/*sectie met bewegende achtergrond */
.hero {
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    background-image: url("https://picsum.photos/id/1043/1200/600");
    background-size: cover;
    background-position: center;
    animation: moveBg 20s infinite alternate linear;
}

/* Galerij */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
}

/* Kaarten */
.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    transform: scale(0.9);
    opacity: 0;
    animation: cardAppear 1s forwards;
}

.card:nth-child(2) { animation-delay: 0.3s; }
.card:nth-child(3) { animation-delay: 0.6s; }
.card:nth-child(4) { animation-delay: 0.9s; }

.card img {
    width: 100%;
    display: block;
    transition: transform 0.4s ease in;
}

/* Hover animatie */
.card:hover img {
    transform: scale(1.1);
}

.card h3 {
    padding: 15px;
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #2e7d32;
    color: white;
}

/* Animaties */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cardAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes moveBg {
    from {
        background-position: left;
    }
    to {
        background-position: right;
    }


}

