/* ==========================================================================
   1. RESET & BASIS STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    /* Exact gelijk gemaakt aan de zachte achtergrondkleur van heikoslagter.nl */
    background-color: #f8fafc; 
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ==========================================================================
   2. STRUCTUUR ELEMENTS (GRIDS & SECTIONS)
   ========================================================================== */
.grid {
    display: grid;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-2-1 { grid-template-columns: 2fr 1fr; }
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 15px;
    color: #0f172a;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: #64748b;
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #1d4ed8;
}

.btn-secondary {
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
    background-color: #f1f5f9;
}

.btn-nav {
    background-color: #2563eb;
    color: #ffffff !important;
    padding: 8px 16px;
}

.btn-nav:hover {
    background-color: #1d4ed8;
}

/* ==========================================================================
   4. HEADER & NAVIGATIE
   ========================================================================== */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.4rem;
    color: #0f172a;
}

.logo-text span {
    color: #2563eb;
}

nav a {
    margin-left: 20px;
    font-weight: 500;
    color: #475569;
}

nav a:hover {
    color: #2563eb;
}

/* ==========================================================================
   5. HERO SECTION (MET MATRIX.JPG & TEKSTLEESBAARHEID)
   ========================================================================== */
.hero {
    /* Overlay aangepast (rgba 0.65/0.55) zodat matrix.jpg goed zichtbaar is en witte tekst leesbaar blijft */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.65) 0%, rgba(30, 41, 59, 0.55) 100%), url('jpg/matrix.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 160px 0 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 700;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-buttons .btn {
    margin: 0 10px;
}

/* ==========================================================================
   6. OVER MIJ / EIGENSCHAPPEN
   ========================================================================== */
.features {
    background-color: #f8fafc;
}

.card-feature {
    background-color: #ffffff; /* Wit oppervlak voor contrast op de grijze body */
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.card-feature h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

/* ==========================================================================
   7. EXPERTISE & DIENSTEN
   ========================================================================== */
.services {
    background-color: #ffffff; /* Witte achtergrond voor sectieafwisseling */
}

.card-service {
    background-color: #f8fafc; /* Kaarten krijgen hier juist de zachte grijstint */
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.card-service h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #0f172a;
}

.card-service ul {
    list-style: none;
}

.card-service ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    color: #475569;
}

.card-service ul li::before {
    content: "✓";
    color: #2563eb;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* ==========================================================================
   8. TARIEVEN & WERKWIJZE
   ========================================================================== */
.work-style {
    background-color: #f8fafc;
}

.work-box {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid #2563eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
}

.work-box h3 {
    margin-bottom: 15px;
    color: #0f172a;
}

/* ==========================================================================
   9. CONTACT & FORMULIER
   ========================================================================== */
.contact {
    background-color: #ffffff;
}

.contact-form {
    background-color: #f8fafc;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #334155;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.contact-info {
    padding: 40px;
    background-color: #0f172a;
    color: #ffffff;
    border-radius: 8px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

.contact-info a:hover {
    color: #3b82f6;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 6px;
}

.alert-success {
    background-color: #dcfce7;
    color: #14532d;
    border: 1px solid #bbf7d0;
}

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
}

/* ==========================================================================
   11. RESPONSIVE DESIGN (MOBIEL)
   ========================================================================== */
@media (max-width: 767px) {
    header {
        height: auto;
        padding: 15px 0;
        position: relative;
    }
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    nav a {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 2rem;
    }
    section {
        padding: 50px 0;
    }
}
