/* Definitief Premium Licht Thema - DDS Verbouwingen */
:root {
    --bg-color: #f4f6f9; 
    --card-bg: #ffffff; 
    --accent-color: #e67e22; 
    --text-color: #4b5563; 
    --text-dark: #111827; 
    --border-color: #e2e8f0; 
    --font-main: 'Poppins', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body { 
    font-family: var(--font-main); 
    color: var(--text-color); 
    background-color: var(--bg-color); 
    line-height: 1.7; 
}

/* Alle hoofdtitels kleuren oranje */
h1, .section-title, .sub-hero h1, .hero h1 {
    color: var(--accent-color) !important;
    margin-bottom: 1rem;
    font-weight: 700;
}

h2, h3, h4, .section-title-small { 
    color: var(--text-dark); 
    margin-bottom: 1rem; 
    font-weight: 600; 
}

p { margin-bottom: 1rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 5rem 2rem; }
.section { padding: 5rem 0; }
.pt-0 { padding-top: 0 !important; }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.zichtbaar { opacity: 1; transform: translateY(0); }

/* Navigatie */
header { background-color: #ffffff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: fixed; width: 100%; top: 0; z-index: 1000; transition: all 0.4s ease; padding: 10px 0; }
.logo, nav ul li a { color: var(--text-dark); transition: color 0.3s ease; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; }
.logo { font-size: 1.5rem; font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 15px; }
.logo-img { height: 45px; width: auto; display: block; object-fit: contain; }
nav ul { list-style: none; display: flex; gap: 2rem; }
nav ul li a { text-decoration: none; font-weight: 600; }
nav ul li a:hover, nav ul li a.active { color: var(--accent-color) !important; }

header.home-header { background-color: transparent; box-shadow: none; }
header.home-header .logo, header.home-header nav ul li a { color: #ffffff; }

header.scrolled { background-color: #ffffff !important; box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important; padding: 5px 0; }
header.scrolled .logo, header.scrolled nav ul li a { color: var(--text-dark) !important; }

/* Hero Secties */
.hero { height: 100vh; background: linear-gradient(rgba(43, 45, 66, 0.7), rgba(43, 45, 66, 0.5)), url('img/IMG_0796.JPG') center/cover no-repeat; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 2rem; }
.sub-hero { min-height: 35vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 5rem; background: #ffffff; border-bottom: 1px solid var(--border-color);}
.hero h1 { font-size: 4rem; text-shadow: 2px 2px 8px rgba(0,0,0,0.5); }
.sub-hero h1 { font-size: 3.5rem; }
.hero p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 2.5rem auto; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); color: #ffffff; }

.btn { display: inline-block; background-color: var(--accent-color); color: #ffffff; padding: 1rem 2.5rem; text-decoration: none; border-radius: 30px; font-weight: 600; transition: all 0.3s; box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3); }
.btn:hover { background-color: #cf6d17; transform: translateY(-3px); box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5); color: #ffffff;}

/* Features & Diensten */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; text-align: center; padding-top: 2rem; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 3rem; position: relative; }
.section-title::after { content: ''; width: 60px; height: 4px; background-color: var(--accent-color); display: block; margin: 15px auto 0 auto; border-radius: 2px; }

.diensten-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem; }
.dienst-card { flex: 1 1 300px; max-width: 350px; background: var(--card-bg); padding: 2.5rem 2rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid var(--border-color); text-align: center; transition: transform 0.3s, box-shadow 0.3s; border-bottom: 4px solid transparent; }
.dienst-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.08); border-bottom: 4px solid var(--accent-color); }

/* Slideshow Portfolio Sectie */
.slideshow-wrapper { max-width: 900px; margin: 0 auto; position: relative; }
.slideshow-container { position: relative; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); background: var(--card-bg); }
.slide { display: none; height: 550px; }
.slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform 0.5s ease; }
.slide img:hover { transform: scale(1.03); }
.slide-caption { position: absolute; bottom: 0; width: 100%; background: rgba(26, 27, 40, 0.85); color: #fff; padding: 15px; text-align: center; font-weight: 600; pointer-events: none; }

.prev-slide, .next-slide { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -25px; color: white; font-weight: bold; font-size: 24px; transition: 0.3s ease; border-radius: 0 5px 5px 0; user-select: none; background-color: rgba(0,0,0,0.5); z-index: 10; }
.next-slide { right: 0; border-radius: 5px 0 0 5px; }
.prev-slide:hover, .next-slide:hover { background-color: var(--accent-color); }

.slide-dots { text-align: center; padding: 20px 0 0 0; }
.dot { cursor: pointer; height: 12px; width: 12px; margin: 0 5px; background-color: #cbd5e1; border-radius: 50%; display: inline-block; transition: background-color 0.3s ease; }
.dot.active, .dot:hover { background-color: var(--accent-color); }

.fade { animation-name: fadeAnim; animation-duration: 0.8s; }
@keyframes fadeAnim { from {opacity: 0.4} to {opacity: 1} }

/* Lightbox Styling */
.lightbox { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(20, 21, 31, 0.95); backdrop-filter: blur(5px); }
.lightbox-content { margin: auto; display: block; max-width: 90%; max-height: 90vh; margin-top: 5vh; border-radius: 8px; box-shadow: 0 0 30px rgba(0,0,0,0.8); animation: zoomIn 0.3s ease; }
@keyframes zoomIn { from {transform: scale(0.9); opacity: 0;} to {transform: scale(1); opacity: 1;} }
.close-lightbox { position: absolute; top: 20px; right: 35px; color: #ffffff; font-size: 40px; font-weight: bold; cursor: pointer; transition: color 0.3s; }
.close-lightbox:hover { color: var(--accent-color); }

/* Over Ons & Contact Flex */
.split-section { display: flex; flex-wrap: wrap; gap: 4rem; align-items: center; }
.split-content { flex: 1; min-width: 300px; }
.split-image { flex: 1; min-width: 300px; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.split-image img { width: 100%; display: block; }

/* Contact Formulier & Info */
.info-box p a { color: var(--accent-color); text-decoration: none; font-weight: 600; }
.contact-details { background: var(--card-bg); padding: 2rem; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); margin-top: 1.5rem; border: 1px solid var(--border-color); }
form { display: flex; flex-direction: column; gap: 1.2rem; background: var(--card-bg); padding: 3rem 2rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid var(--border-color); }

input, textarea { 
    width: 100%; 
    padding: 1rem 1.5rem; 
    border: 1px solid var(--border-color); 
    border-radius: 8px; 
    font-family: inherit; 
    background-color: #f8fafc; 
    color: var(--text-dark);
    transition: border-color 0.3s, box-shadow 0.3s; 
}
input::placeholder, textarea::placeholder { color: #94a3b8; opacity: 1; }
input:focus, textarea:focus { outline: none; border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.15); background-color: #ffffff; }

/* Voor & Na Sectie Styling */
.ba-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.ba-card { background: var(--card-bg); padding: 2.5rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid var(--border-color); }
.ba-title { text-align: center; margin-bottom: 2rem; color: var(--text-dark); font-size: 1.8rem; }
.ba-images { display: flex; gap: 2rem; }
.ba-image-wrapper { flex: 1; position: relative; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.ba-image-wrapper img { width: 100%; height: 350px; object-fit: cover; cursor: zoom-in; transition: transform 0.5s ease; display: block; }
.ba-image-wrapper img:hover { transform: scale(1.03); }
.ba-label { position: absolute; top: 15px; left: 15px; padding: 5px 20px; border-radius: 5px; font-weight: 700; font-size: 1rem; color: #fff; z-index: 2; box-shadow: 0 4px 10px rgba(0,0,0,0.2); text-transform: uppercase; letter-spacing: 1px; }
.ba-label.voor { background-color: #64748b; } 
.ba-label.na { background-color: var(--accent-color); }

/* --- NIEUW: Interactieve Timeline Werkwijze (Zonder centrale lijn) --- */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }

/* De ronde badges (Nummers) */
.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px; 
    background-color: var(--accent-color);
    border: 4px solid var(--bg-color); 
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(230, 126, 34, 0.4);
}

/* Positionering badge voor rechter items */
.timeline-item.right .timeline-icon {
    left: -25px;
}

/* Het kader met de tekst */
.timeline-content {
    padding: 2rem;
    background: var(--card-bg);
    position: relative;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.timeline-title {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.timeline-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* Footer */
.main-footer { background-color: #1a1b28; color: #cbd5e1; padding: 4rem 0 0 0; font-size: 0.95rem; margin-top: auto;}
.footer-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem 3rem 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; }
.footer-col h4 { color: #ffffff; font-size: 1.2rem; margin-bottom: 1.5rem; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--accent-color); }
.footer-logo { display: inline-block; color: #ffffff; font-size: 1.5rem; font-weight: 700; text-decoration: none; margin-bottom: 1rem; }
.footer-col p { line-height: 1.6; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a, .footer-col p a { color: #cbd5e1; text-decoration: none; transition: color 0.3s; }
.footer-col ul li a:hover, .footer-col p a:hover { color: var(--accent-color); }
.social-links { margin-top: 1.5rem; display: flex; gap: 15px; }
.social-links a { display: inline-block; background: rgba(255,255,255,0.05); color: #ffffff; padding: 8px 15px; border-radius: 5px; text-decoration: none; font-weight: 600; transition: background 0.3s; }
.social-links a:hover { background: var(--accent-color); }
.footer-bottom { background-color: #12131d; text-align: center; padding: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { margin: 0; font-size: 0.85rem; color: #94a3b8; }

/* Responsiviteit */
@media (max-width: 768px) {
    header { background-color: #ffffff; }
    .logo, nav ul li a { color: var(--text-dark) !important; }
    .logo-text { display: none; } 
    .nav-container { flex-direction: column; gap: 1rem; }
    nav ul { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .hero h1 { font-size: 2.5rem; }
    .sub-hero h1 { font-size: 2.5rem; }
    .split-section { gap: 2rem; }
    .footer-container { text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .social-links { justify-content: center; }
    .slide { height: 350px; }
    .ba-images { flex-direction: column; gap: 1rem; }
    .ba-image-wrapper img { height: 250px; }
    .ba-card { padding: 1.5rem; }

    /* Timeline Responsiviteit (Alles onder elkaar zonder lijn) */
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 0;
    }
    .timeline-item.right {
        left: 0;
    }
    .timeline-item.left .timeline-icon, 
    .timeline-item.right .timeline-icon {
        left: 6px;
    }
}