:root {
    --primary: #6F4E37; /* Coffee Brown */
    --secondary: #A67B5B; /* Latte */
    --accent: #D2B48C; /* Tan */
    --light: #FDFBF9; /* Off-white */
    --dark: #2C1B10; /* Dark Roast */
    --success: #27ae60;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Roboto, sans-serif; }

body { background-color: var(--light); color: var(--dark); line-height: 1.6; }

/* Navigation */
nav { background: white; padding: 1rem 5%; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.logo { font-weight: 800; font-size: 1.5rem; color: var(--primary); text-decoration: none; }
nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 20px; }
nav ul li a { text-decoration: none; color: var(--dark); font-weight: 500; transition: 0.3s; }
nav ul li a:hover { color: var(--primary); }

/* Hero Section */
.hero { padding: 80px 5%; text-align: center; background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1495474472287-4d71bcdd2085?auto=format&fit=crop&q=80&w=1920') no-repeat center/cover; color: white; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; margin-bottom: 2rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: bold; transition: transform 0.2s, background 0.3s; cursor: pointer; border: none; }
.btn-main { background-color: var(--primary); color: white; font-size: 1.1rem; }
.btn-main:hover { transform: scale(1.05); background-color: var(--dark); }
.btn-affiliate { background-color: var(--success); color: white; width: 100%; text-align: center; }

/* Cards */
.container { max-width: 1100px; margin: 50px auto; padding: 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.card:hover { transform: translateY(-10px); }
.card img { width: 100%; height: 250px; object-fit: cover; }
.card-content { padding: 25px; }
.rating { color: #f1c40f; margin-bottom: 10px; }

/* Table */
.comparison-table { width: 100%; border-collapse: collapse; background: white; border-radius: 10px; overflow: hidden; margin-top: 30px; }
.comparison-table th, .comparison-table td { padding: 20px; text-align: left; border-bottom: 1px solid #eee; }
.comparison-table th { background: var(--primary); color: white; }

/* Form */
.contact-form { max-width: 600px; margin: 0 auto; background: white; padding: 40px; border-radius: 15px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; }


footer { text-align: center; padding: 40px; background: var(--dark); color: white; margin-top: 50px; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    nav { flex-direction: column; gap: 15px; }
}

/* Zorgt dat thumbnails in de tabel netjes uitgelijnd zijn */
.comparison-table img {
    vertical-align: middle;
    display: block;
    margin: 0 auto;
}

/* Extra styling voor de tabel-kolommen */
.comparison-table td {
    vertical-align: middle;
}