/* =========================================================
   BASISSTIJLEN
   ========================================================= */
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    background: #F4EFE6;
    color: #333;
}


/* =========================================================
   LOGO — DESKTOP & MOBIEL
   ========================================================= */

/* Desktop: logo linksboven */
.logo {
    position: absolute;
    top: 25px;
    left: 40px;
    width: 250px;
    z-index: 4;
}

/* Mobiel: logo gecentreerd boven de hero-content */
@media (max-width: 768px) {
    .logo {
        position: relative;   /* niet meer absolute */
        top: 0;
        left: 0;
        width: 250px;
        margin: 0 auto 20px auto;
        display: block;
        z-index: 4;
    }
}


/* =========================================================
   HERO SECTION
   ========================================================= */

/* Hero container */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    text-align: center; /* hero-content blijft gecentreerd */
}

/* Achtergrondfoto */
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.cta-button-secondary {
    display: inline-block;
    padding: 12px 26px;
    background: transparent;
    border: 2px solid #7FBF6A;
    color: #7FBF6A;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-button-secondary:hover {
    background: #7FBF6A;
    color: white;
}
/* Donkere overlay */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

/* Hero content (titel, tekst, knop) */
/* Desktop: hero-content vult volledige hero-hoogte */
.hero-content {
    position: relative;
    z-index: 3;
    color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* verticaal centreren */

    height: 100%; /* desktop hoogte */
}

/* Mobiel: hero-content iets hoger zodat tekst niet te laag komt */
@media (max-width: 768px) {
    .hero-content {
        height: 40%; /* mobiele hoogte */
        padding-top: 10px; /* optioneel: iets extra ruimte boven */
    }
}

.hero-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin: 0;
}

/* CTA knop */
.cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: #2E6B3F;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 25px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-button:hover {
    background: #7FBF6A;
}


/* =========================================================
   ALGEMENE SECTIES
   ========================================================= */

.section {
    padding: 70px 20px;
    max-width: 900px;
    margin: auto;
}

.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    color: #2E6B3F;
}


/* =========================================================
   VIDEO
   ========================================================= */

.video-section video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}


/* =========================================================
   GALERIJ
   ========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


/* =========================================================
   VACATURES
   ========================================================= */

.vacature-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.vacature-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #5A4632;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #2E6B3F;
    color: white;
    padding: 40px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1100px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    width: 180px;
}

.footer-info h3,
.footer-links h3 {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
}

.footer-info p {
    margin: 4px 0;
}

.footer-links a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 4px 0;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #7FBF6A;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* =========================================================
   PORTFOLIO
   ========================================================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.portfolio-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.portfolio-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.portfolio-card h3 {
    font-family: 'Montserrat', sans-serif;
    color: #5A4632;
    margin-bottom: 10px;
}

.portfolio-card p {
    font-size: 1rem;
    line-height: 1.5;
}


/* =========================================================
   SECUNDAIRE CTA-KNOP (Hero)
   ========================================================= */

.cta-button-secondary {
    display: inline-block;
    padding: 12px 26px;
    background: transparent;
    border: 2px solid #7FBF6A;
    color: #7FBF6A;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.cta-button-secondary:hover {
    background: #7FBF6A;
    color: white;
}


/* =========================================================
   TERUG NAAR HOME LINK
   ========================================================= */

.back-link {
    display: inline-block;
    margin-top: 20px;
    color: #2E6B3F;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    color: #7FBF6A;
}


/* =========================================================
   RESPONSIVE — MOBIEL
   ========================================================= */

@media (max-width: 768px) {

    /* Portfolio cards */
    .portfolio-card {
        padding: 18px;
    }

    .portfolio-card h3 {
        font-size: 1.3rem;
    }

    .portfolio-card p {
        font-size: 0.95rem;
    }

    /* Secundaire CTA */
    .cta-button-secondary {
        width: 100%;
        max-width: 300px;
        margin: 15px auto 0 auto;
        text-align: center;
    }

    /* Back link */
    .back-link {
        text-align: center;
        display: block;
        margin-top: 25px;
    }
}


/* =========================================================
   VACATURE PAGINA'S — STYLING
   ========================================================= */

/* Titel van de vacature */
.section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.4rem;
    color: #2E6B3F;
    margin-bottom: 20px;
    text-align: center;
}

/* Subkopjes zoals "Wat ga je doen?" */
.section h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    color: #5A4632;
    margin-top: 40px;
    margin-bottom: 10px;
}

/* Algemene paragrafen */
.section p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Lijsten met bullets */
.section ul {
    margin: 0;
    padding-left: 20px;
    margin-bottom: 25px;
}

.section ul li {
    margin-bottom: 10px;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* CTA-knop voor solliciteren */
.section .cta-button {
    display: inline-block;
    padding: 14px 28px;
    background: #2E6B3F;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    margin-top: 20px;
    font-weight: 600;
    transition: 0.3s;
    text-align: center;
}

.section .cta-button:hover {
    background: #7FBF6A;
}

/* Extra spacing onderaan de vacaturepagina */
.section:last-of-type {
    margin-bottom: 60px;
}

/* Mobiel: betere leesbaarheid */
@media (max-width: 768px) {
    .section h2 {
        font-size: 2rem;
    }

    .section h3 {
        font-size: 1.4rem;
    }

    .section p,
    .section ul li {
        font-size: 1rem;
    }

    .section .cta-button {
        width: 100%;
        max-width: 300px;
        margin: 20px auto 0 auto;
    }
}


/* Footer mobiel */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-logo {
        margin-bottom: -60px;
    }
}

