* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: #f4f4f4;
    color: #222;
    line-height: 1.5;
}

.header {
    background: #222;
    padding: 15px;
    color: white;
    text-align: center;
}

.nav {
    background: #111;
    padding: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    position: sticky;
    top: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
}

.nav-link:hover {
    color: #ccc;
}

section {
    padding: 40px;

}

#home,
#over {
    min-height: 100vh;
}

#home {
    background: #f4f4f4;
}

#over {
    background: #e8e8e8;
}

#contact {
    background: #dcdcdc;
}

h2 {
    margin-bottom: 20px;
}

.content {
    position: relative;
}

.page {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.content-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: center;
    align-items: center;
}



.reclame {
    width: 200px;
    flex-basis: 200px;
    flex-grow: 0;
    background-color: #1b1979;
    color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.reclame img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: white;
    border-radius: 5px;
    margin: 10px 0;
    padding: 5px;
}


.card-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.card {
    width: 250px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.card-body {
    padding: 15px;
}



.btn-leesmeer {
    display: inline-block;
    margin-top: 10px;
    background: #222;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-leesmeer:hover {
    background: #444;
    transform: scale(1.05);
}



.detail-section {
    padding: 40px;
    min-height: 100vh;
    background: #f4f4f4;
    border-bottom: 2px solid #ccc;
}

.detail-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    margin: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.detail-box p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.back-link {
    color: #222;
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    color: #555;
    text-decoration: underline;
}



.form-group {
    margin-bottom: 20px;
}

input:not(.form-control):not(.form-check-input) {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

textarea:not(.form-control) {
    width: 100%;
    height: 120px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

form button:not(.btn) {
    background: #222;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.reclame button {
    background: #222;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

form button:not(.btn):hover {
    background: #444;
}

.reclame button:hover {
    background: #444;
}

@media (width <= 900px) {
    .page {
        flex-direction: column;
    }

    .reclame {
        width: 100%;
    }

    .card-container {
        justify-content: center;
    }
}


.footer {
    min-height: auto;
}

.footer h2 {
    margin-bottom: 12px;
}

.footer-link {
    color: #d1d5db;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.contact-section {
    min-height: auto;
}

.contact-card {
    border-top: 6px solid #4f46e5;
}

.contact-card .form-label,
.contact-card .form-check-label {
    font-weight: 600;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.2);
}

.contact-card .btn-primary {
    background-color: #4f46e5;
    border-color: #4f46e5;
}

.contact-card .btn-primary:hover {
    background-color: #4338ca;
    border-color: #4338ca;
}

/* PHP contactresultaat */

.contact-result-section {
    background: #d1d5db;
    min-height: 100vh;
}

.contact-result-list {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.contact-result-list dt {
    font-weight: 700;
}

.contact-result-list dd {
    margin: 0;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.uitleg-video {
    max-width: 800px;
    margin-top: 30px;
}

.uitleg-video video {
    display: block;
    border-radius: 12px;
    background: #000;
}
