/* --- ALGEMENE STIJL (Clean Tech Theme) --- */
:root {
    /* JOUW LOGO KLEUREN: */
    --primary: #1294bc;        /* De donkere kleur (voor tekst/basis) */
    --primary-light: #5bf3f8;  /* De lichte kleur (voor accenten/verloop) */
    
    --accent: #f97316; /* Oranje laten we staan voor Montfoort details */
    --dark: #0f172a;   /* Zeer donkerblauw (bijna zwart) voor de echte teksten */
    --light: #f8fafc;  /* Achtergrond */
    --white: #ffffff;
    --gray: #64748b;
    --header-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- NAVIGATIE --- */
nav {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s;
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 80px;
    width: auto;
    display: block;
    object-fit: contain;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover, nav a.active {
    color: var(--primary);
}

/* De knop in de navigatie krijgt nu jouw verloopje */
.nav-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #2eb5dd 100%);
    color: white !important;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(18, 148, 188, 0.2);
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 10px rgba(18, 148, 188, 0.3);
    opacity: 0.95;
}

/* --- HERO SECTIE --- */
header.hero {
    background: white;
    padding: 120px 0;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    color: var(--dark);
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 650px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.page-title {
    text-align: center;
    padding: 80px 0 60px 0;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

/* --- FEATURES (HOME) --- */
.home-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    text-align: left;
}

.feature-box {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Subtiel randje in je lichte kleur bij hover */
.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

/* Een klein kleuraccentje bovenin de box */
.feature-box::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary); /* Koppen in je donkere blauw */
}

/* --- PROJECTEN GRID --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    padding-bottom: 100px;
}

.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-light); /* Lichte gloed bij hover */
}

.project-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
    margin-bottom: 30px;
    /* Filter en opacity zijn weggehaald -> Logo is nu altijd kleur en zichtbaar */
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* --- CONTACT --- */
.contact-section {
    background: white;
    padding: 60px;
    border-radius: 16px;
    max-width: 900px;
    margin: 0 auto 100px auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 16px;
    margin-bottom: 20px;
    border: 2px solid #f1f5f9;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, #2eb5dd 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    width: 100%;
    transition: opacity 0.2s, transform 0.1s;
}

.submit-btn:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* --- FOOTER --- */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0;
    text-align: center;
    margin-top: auto;
    border-top: 4px solid var(--primary); /* Een lijntje in je hoofdkleur */
}

footer p {
    font-size: 0.9rem;
}

/* --- DETAIL PAGINA --- */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}

.showcase-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border: 1px solid #f1f5f9;
    padding: 60px;
    margin-bottom: 80px;
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero h1 { font-size: 2.5rem; }
    nav .container { height: auto; padding: 20px; flex-direction: column; gap: 20px; }
    nav ul { gap: 20px; flex-wrap: wrap; justify-content: center; }
}