/* =========================================
   BASIS & LAYOUT
========================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* =========================================
   HEADER & NAVIGATIE
========================================= */
header {
    background-color: #3C5E38;
    color: white;
    text-align: center;
    padding: 50px 20px 30px;
}

    header h1 {
        font-family: 'Garamond', serif;
        letter-spacing: 2px;
        margin: 0;
        font-size: 2.8em;
    }

nav {
    background-color: #2b4228;
    display: flex;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    nav a {
        color: white;
        text-decoration: none;
        padding: 15px 25px;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 0.9em;
        transition: background-color 0.3s ease;
    }

        nav a:hover {
            background-color: #3C5E38;
        }

/* =========================================
   HET VERHAAL (STARTPAGINA)
========================================= */
.header-story {
    max-width: 900px;
    margin: 40px auto 0;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid #3C5E38;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.story-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.story-text {
    flex: 1;
}

.story-logo-right {
    max-width: 160px; /* Zelfde grootte als de andere logo's */
    height: auto;
}

/* =========================================
   DIENSTEN GRID (COMPATIBEL)
========================================= */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    padding: 40px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    border-top: 5px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    }

.card-dev {
    border-top-color: #4D774E;
}

.card-boom {
    border-top-color: #27ae60;
}

.card-hoornaar {
    border-top-color: #e67e22;
}

.logo-img {
    max-width: 160px;
    height: auto;
    margin-bottom: 25px;
}

/* =========================================
   ALGEMENE CONTENT & SUBPAGINA CLASSES
========================================= */
.content-section {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    margin-bottom: 30px;
}

.hoornaar-section {
    border-left: 5px solid #e67e22;
}

.boom-section {
    border-left: 5px solid #27ae60;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    background-color: #333;
    color: white;
    text-transform: uppercase;
    font-size: 0.85em;
    font-weight: bold;
    width: 80%;
    margin-top: auto;
}

footer {
    text-align: center;
    padding: 30px;
    background-color: #333;
    color: white;
    margin-top: 40px;
}

/* Mobiele optimalisatie */
@media (max-width: 768px) {
    .story-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .story-logo-right {
        max-width: 120px;
        margin-bottom: 20px;
    }

    header h1 {
        font-size: 2em;
    }

    nav {
        flex-direction: column;
    }
}
