:root {
    --primary-color: #97BE0D;
    --primary-dark: #7a9a0a;
    --text-color: #333;
    --heading-color: #523A20;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-color: #ddd;
}

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

body {
    font-family: 'Verdana', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    padding: 10px 0; /* Minder padding voor compactheid met groter logo */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    max-height: 110px; /* Beperk hoogte voor 'cropping' effect */
    overflow: hidden;
    display: flex;
    align-items: center;
}

.logo {
    height: 140px; /* Groter dan container voor effectieve crop van witruimte */
    width: auto;
    display: block;
    transition: transform 0.3s;
    object-fit: contain;
    mix-blend-mode: multiply; /* Verwijdert eventuele witte achtergrondrandjes */
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--heading-color);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/interieurbouw.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero .intro-text {
    max-width: 800px;
    margin: 0 auto 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
}

/* Sections */
.sections {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--heading-color);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
}

h3 {
    color: var(--heading-color);
    margin-bottom: 15px;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 0; /* Verwijder padding voor afbeelding bovenop */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s;
    overflow: hidden; /* Zorg dat afbeelding binnen de bochten blijft */
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card:hover {
    transform: translateY(-10px);
}

.flex {
    display: flex;
    align-items: center;
    gap: 40px;
}

.flex .text {
    flex: 2;
}

.flex .image {
    flex: 1;
    text-align: center;
}

.flex img {
    max-width: 150px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    margin-top: 20px;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Footer */
footer {
    background: var(--heading-color);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
