/* --- style.css --- */

/* --- BASIS INSTELLINGEN --- */
:root { 
    --primary: #0f172a; 
    --accent: #3b82f6; 
    --accent-dark: #2563eb;
    --text: #334155; 
    --bg-light: #f1f5f9; 
}

body {
    /* De regels die je al had: */
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    background-color: var(--bg-light);

    /* --- NIEUWE REGELS HIERONDER --- */
    min-height: 100vh;      /* 100vh = 100% van de Viewport Height (schermhoogte) */
    display: flex;          /* We maken van de body een flex-box */
    flex-direction: column; /* Alles (header, content, footer) staat onder elkaar */
}
h1, h2, h3 { color: var(--primary); margin-top: 0; }

/* --- HEADER & NAVIGATIE --- */
header { background: #fff; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); text-decoration: none; }
.nav-links a { margin-left: 20px; text-decoration: none; color: var(--text); font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }
.cta-button { background: var(--accent); color: white !important; padding: 10px 20px; border-radius: 5px; transition: background 0.3s; text-decoration: none; }
.cta-button:hover { background: var(--accent-dark); }

/* --- HERO (Homepagina) --- */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.8)), url('https://images.unsplash.com/photo-1556761175-5973dc0f32e7?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}
.hero h1 { color: white; font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; max-width: 900px; }
.hero p { font-size: 1.3rem; max-width: 700px; margin-bottom: 40px; color: #cbd5e1; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; }
.btn-primary { background: var(--accent); color: white; padding: 15px 30px; text-decoration: none; border-radius: 6px; font-weight: bold; font-size: 1.1rem; transition: transform 0.2s; }
.btn-secondary { background: transparent; border: 2px solid white; color: white; padding: 13px 28px; text-decoration: none; border-radius: 6px; font-weight: bold; font-size: 1.1rem; transition: background 0.3s; }
.btn-primary:hover { transform: translateY(-3px); background: var(--accent-dark); }
.btn-secondary:hover { background: white; color: var(--primary); }

/* --- ALGEMENE SECTIES --- */
.container { max-width: 1100px; margin: 0 auto; padding: 60px 20px; } /* Aangepast voor algemeen gebruik */
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; }
.intro { text-align: center; max-width: 800px; margin: 0 auto 50px auto; } /* Voor diensten pagina */

/* --- FEATURES & GRID --- */
.features { padding: 80px 5%; background: white; }
.features-grid, .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.feature-card { text-align: center; padding: 20px; }
.feature-icon { font-size: 3rem; margin-bottom: 20px; display: inline-block; background: var(--bg-light); width: 80px; height: 80px; line-height: 80px; border-radius: 50%; color: var(--accent); }
.feature-card h3 { font-size: 1.4rem; margin-bottom: 15px; }

/* --- INTRODUCTIE BLOK (Home & Werkwijze) --- */
.about-preview { padding: 80px 5%; background: var(--bg-light); display: flex; align-items: center; gap: 50px; }
.about-text { flex: 1; }
.about-image { flex: 1; }
.photo-placeholder {
    width: 100%;
    height: 400px;
    background: #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    background-image: url('https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    position: relative;
}
.photo-placeholder::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15, 23, 42, 0.2); border-radius: 12px; }

/* --- DIENSTEN PAGINA SPECIFIEK --- */
.services-preview { padding: 80px 5%; background: white; text-align: center; }
.services-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; margin-top: 40px; }
.service-tag { background: var(--bg-light); padding: 15px 25px; border-radius: 50px; font-weight: 600; color: var(--primary); border: 1px solid #e2e8f0; }

.service-card { background: white; padding: 40px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border-top: 5px solid var(--accent); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.icon-large { font-size: 3rem; display: block; margin-bottom: 20px; }
.service-card h2 { color: var(--primary); font-size: 1.5rem; margin-top: 0; display: flex; align-items: center; min-height: 60px; }
ul { padding-left: 20px; margin-top: 20px; }
li { margin-bottom: 10px; color: #475569; }

/* --- WERKWIJZE SPECIFIEK --- */
.intro-block { background: #fff; padding: 30px; border-radius: 8px; border-left: 5px solid var(--accent); box-shadow: 0 4px 10px rgba(0,0,0,0.05); margin-bottom: 60px; font-size: 1.1rem; }
.process-step { display: flex; gap: 25px; margin-bottom: 40px; align-items: flex-start; }
.step-number { background: var(--accent); color: white; font-size: 1.5rem; font-weight: bold; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 8px rgba(59, 130, 246, 0.3); }
.step-content { background: white; padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.08); flex-grow: 1; position: relative; }
.step-content::before { content: ''; position: absolute; left: -10px; top: 20px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-right: 10px solid white; }
.step-content h3 { color: var(--primary); margin-top: 0; font-size: 1.3rem; border-bottom: 2px solid var(--bg-light); padding-bottom: 10px; display: inline-block; }

/* --- CONTACT & FOOTER --- */
.contact-container { max-width: 600px; margin: 60px auto; padding: 40px; background: white; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; }
.contact-method { font-size: 1.2rem; margin: 30px 0; padding: 20px; background: var(--bg-light); border-radius: 8px; }
.contact-method a { color: var(--accent); text-decoration: none; font-weight: bold; font-size: 1.3rem; display: block; margin-top: 5px; }
.cta-bar { background: var(--primary); color: white; padding: 60px 5%; text-align: center; }
.cta-bar h2 { color: white; margin-bottom: 20px; }
.cta-bar a { color: var(--accent); font-weight: bold; font-size: 1.2rem; }
footer {
    /* De regels die je al had: */
    background: #020617;
    color: #94a3b8;
    text-align: center;
    padding: 30px;
    font-size: 0.9rem;

    /* --- NIEUWE REGEL HIERONDER --- */
    margin-top: auto;       /* Dit is de magie: het duwt de footer naar beneden */
}

/* --- MOBIELE AANPASSINGEN --- */
@media (max-width: 768px) {
    /* HEADER FIX: Scrolt mee op mobiel */
    header { position: relative; flex-direction: column; gap: 15px; padding: 20px 5%; }
    
    .nav-links { display: flex; flex-direction: column; gap: 15px; align-items: center; width: 100%; }
    .nav-links a { margin-left: 0; }
    
    /* Layout fixes */
    .hero h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .about-preview { flex-direction: column-reverse; }
    .about-image { width: 100%; margin-bottom: 30px; }
    .photo-placeholder { height: 300px; }
    .container, .contact-container { margin: 30px 20px; padding: 30px 20px; }
    .features-grid, .services-grid { grid-template-columns: 1fr; }
    .service-card h2 { min-height: auto; }
    .service-card { padding: 25px; }
    .process-step { flex-direction: column; align-items: center; }
    .step-content::before { display: none; }
    .step-content { text-align: center; width: 100%; box-sizing: border-box; }
}