/* Custom font laden uit de subfolder fonts */
@font-face {
    font-family: 'Stardos Stencil';
    src: url('../fonts/StardosStencil-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'Stardos Stencil', sans-serif;
    color: #2c3e50;
    background-color: #ffffff;
}

/* --- Hero sectie (foto) --- */
.hero {
    width: 100%;
    height: 75vh; 
    max-height: 900px;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 3vh;
    padding-left: 1rem;
    padding-right: 1rem;
    background-image: url('../images/Vlaeminckx.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover; 
    background-color: #e2f0d9;
}

.welcome-container {
    text-align: center;
    padding: 1.2rem 2rem;
    background-color: rgba(212, 230, 241, 0.9);
    border: 3px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    margin-bottom: 1rem;
}

.welcome-container h1 {
    font-size: 2.2rem;
    letter-spacing: 1px;
}

/* --- Over Ons sectie (wit) --- */
.about-section {
    background-color: #ffffff;
    padding: 3rem 1.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-header h2 {
    font-size: 2.3rem;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.about-header h3 {
    font-size: 1.2rem;
    color: #5d6d7e;
    font-weight: normal;
    margin-bottom: 0.8rem;
    text-transform: lowercase;
}

.about-header .subtitle {
    font-size: 1rem;
    color: #34495e;
    font-style: italic;
}

/* --- 4 Kaarten/Blokjes naast elkaar --- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background-color: #f7fcfd;
    border: 2px solid #d4e6f1;
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.card h4 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #a9cce3;
    color: #1a5276;
}

.card ul {
    list-style: none;
}

.card ul li {
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    line-height: 1.4;
    border-bottom: 1px dashed #e5e8e8;
    padding-bottom: 0.4rem;
}

.card ul li:last-child {
    border-bottom: none;
}

.card ul li span {
    font-weight: bold;
    color: #2e86c1;
    display: inline-block;
    width: 42px;
}

.card ul li strong {
    color: #28b463;
}

/* --- Contact Formulier Sectie --- */
.contact-section {
    background-color: #f2f7f9;
    padding: 4rem 1.5rem;
    border-top: 1px solid #d4e6f1;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 2px solid #d4e6f1;
}

.contact-container h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 1.8rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    margin-bottom: 0.4rem;
    color: #34495e;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2e86c1;
    box-shadow: 0 0 5px rgba(46, 134, 193, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: #2e86c1;
    color: white;
    border: none;
    padding: 0.9rem;
    font-size: 1.1rem;
    font-family: 'Stardos Stencil', sans-serif;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    background-color: #1a5276;
}

.alert {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Mobiele optimalisaties --- */
@media (max-width: 768px) {
    .hero {
        height: 50vh;
        min-height: 280px;
    }

    .welcome-container {
        padding: 0.8rem 1.2rem;
    }

    .welcome-container h1 {
        font-size: 1.4rem;
    }

    .about-section {
        padding: 2rem 1rem;
    }

    .about-header h2 {
        font-size: 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-container {
        padding: 1.5rem;
    }
}