/* =========================
   Algemene basis
========================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    line-height: 1.7;
    color: #2c2c2c;
    background: #ffffff;
}

h1, h2, h3 {
    color: #1f5f3b;
}

section {
    padding: 70px 20px;
    max-width: 1100px;
    margin: auto;
}

section:nth-child(even) {
    background: #eef6f0;
}


/* =========================
   Header
========================= */
.site-header {
    background: linear-gradient(135deg, #1f5f3b, #2f7d32);
    padding: 20px;
}

.header-inner {
    max-width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.logo img {
    height: 60px;
}

.main-nav {
    margin-left: auto;
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}


/* =========================
   Diensten
========================= */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

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


.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li::before {
    content: "✔";
    color: #1f5f3b;
    font-weight: bold;
    margin-right: 10px;
}


/* =========================
   Text + Image Sections
========================= */
.text-image-section {
    padding: 70px 20px;
    background: #eef6f0;
}

.text-image-inner {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
}

.text-content {
    flex: 1;
    min-width: 250px;
}

.image-content {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.image-content img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


/* =========================
   Referenties (Galerij)
========================= */
#referenties {
    padding: 40px 20px;
    background-color: #f7f7f7;
}

#referenties h2 {
    text-align: center;
    margin-bottom: 20px;
}

.gallery-container {
    position: relative;
    width: 100%;
    max-width: 900px; /* kies zelf */
    margin: auto;
    overflow: hidden;
}

.gallery {
    display: flex;
    transition: transform 0.4s ease;
}

.gallery-item {
    flex: 0 0 calc(25% - 16px);
    margin: 8px;
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 8px;
}




.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    z-index: 10; /* <-- BELANGRIJK */
}


.arrow.left {
    left: 10px;
}

.arrow.right {
    right: 10px;
}

.arrow:hover {
    background: rgba(0,0,0,0.8);
}



/* =========================
   Instagram link onder Referenties
========================= */
.instagram-link {
    margin-top: 25px;
    text-align: center;
    font-size: 1.15em;
    font-weight: 500;
    color: #1f5f3b;
}

.instagram-link a {
    display: inline-flex;
    align-items: center; /* perfecte verticale uitlijning */
    gap: 8px;
    color: #1f5f3b;
    text-decoration: none;
    font-weight: 700;
}

.instagram-link svg {
    width: 22px;
    height: 22px;
    fill: #1f5f3b;
    display: block; /* FIX: voorkomt baseline shift */
}


/* =========================
   CTA
========================= */
.cta {
    background: linear-gradient(135deg, #2f7d32, #1f5f3b);
    color: #ffffff;
    text-align: center;
    padding: 80px 20px;
}

.cta h2 {
    color: #ffffff;
    margin-bottom: 40px;
    font-size: 32px;
}

.contact-vertical {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.contact-vertical p {
    margin: 0;
    font-size: 18px;
}

.contact-vertical a {
    color: #ffffff;
    text-decoration: underline;
}

.cta a {
    display: inline-block;
    margin-top: 20px;
    background: #ffffff;
    color: #1f5f3b;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.cta a:hover {
    background: #e4f2e8;
}


/* =========================
   Footer
========================= */
footer {
    background: #eef6f0;
    text-align: center;
    padding: 25px;
    font-size: 14px;
}


/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        margin-left: 0;
        margin-top: 10px;
        flex-wrap: wrap;
    }

    .text-image-inner {
        flex-direction: column;
        align-items: center;
    }

    .image-content img {
        width: 250px;
        height: 250px;
    }

    .gallery-item { flex: 0 0 calc(100% - 16px); /* 1 foto per pagina */ }
}
