/* Basisstijlen */
html, body {
    font-family: "Trebuchet MS", Tahoma, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    color: #333;
    background-color: #fff;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    flex: 1;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.product-dropdown {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    border-radius: 6px;
    border: 1px solid #ccc;
    flex: 1;
    max-width: 300px;
}

/* Header */
header {
    font-family: "Trebuchet MS", Tahoma, sans-serif;
    background: transparent;
    position: fixed;
    width: 100%;
    padding: 0;
    text-align: center;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

    header.scrolled {
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    header .navbar .dropdown-toggle::after {
        display: none;
    }

/* Navigation */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

    nav ul li a {
        color: #333;
        text-decoration: none;
        font-weight: 500;
        font-size: 1rem;
        transition: color 0.3s ease;
    }

        nav ul li a:hover {
            color: #999;
        }

/* Buttons */
.btn, .btn-primary {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 30px;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn:hover, .btn-primary:hover {
        background-color: #555;
    }

/* Main Content - Default pages */
main {
    padding-top: 4rem !important; /* Spacing for header */
    padding-bottom: 4rem;
    flex-grow: 1;
    overflow: auto;
}

/* Sections */
section {
    padding: 1.5rem 0;
    margin-top: 2rem; /* Ensure spacing between sections */
}

    section:first-of-type {
        margin-top: 0; /* Remove margin for the first section */
    }

/* Producten in de Kijker - Product Cards */
.row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.col-md-4 {
    flex: 0 0 calc(33.333% - 2rem);
    display: flex;
    flex-direction: column;
}

.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    width: 100%;
}

    .card:hover {
        transform: translateY(-5px);
    }

    .card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: #f5f5f5;
    color: #666;
    text-align: center;
    padding: 2rem;
    width: 100%;
    clear: both;
    font-size: 0.9rem;
}

    footer p {
        margin: 0.5rem 0;
    }

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .home-page section {
        padding: 1rem 0;
    }

    main {
        padding: 6rem 1rem 4rem;
    }

    .row {
        gap: 1rem;
    }
}
