/* Algemene instellingen */

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

body {
font-family: Arial, Helvetica, sans-serif;
background-color: #f7f5f2;
color: #3f3f3f;
line-height: 1.6;
}

/* Container */

.container {
width: 90%;
max-width: 1200px;
margin: auto;
}

/* Header */

header {
background-color: #ffffff;
border-bottom: 1px solid #dddddd;
position: sticky;
top: 0;
z-index: 100;
}

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

header h1 {
color: #5d534a;
}

/* Menu */

nav a {
color: #5d534a;
text-decoration: none;
margin-left: 25px;
font-weight: bold;
}

nav a:hover {
color: #8c7b6b;
}

/* Hero */

.hero {
text-align: center;
padding: 80px 20px;
background-color: #ebe5de;
}

.hero img {
max-width: 100%;
border-radius: 15px;
margin-bottom: 30px;
}

.hero h2 {
font-size: 42px;
margin-bottom: 20px;
}

.hero p {
font-size: 20px;
max-width: 750px;
margin: auto;
}

/* Producten */

#producten {
padding: 80px 20px;
}

#producten h2 {
text-align: center;
margin-bottom: 30px;
}

/* Zoekveld */

#zoekveld {
width: 100%;
max-width: 500px;
padding: 15px;
display: block;
margin: 0 auto 40px auto;
border: 1px solid #cccccc;
border-radius: 10px;
}

/* Product grid */

#productenlijst {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}

/* Product kaart */

.product {
background-color: white;
border-radius: 20px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0,0,0,0.08);
transition: 0.3s;
}

.product:hover {
transform: translateY(-5px);
}

/* Product afbeelding */

.product img {
width: 100%;
height: 250px;
object-fit: cover;
}

/* Product inhoud */

.product-info {
padding: 20px;
}

.product-info h3 {
margin-bottom: 10px;
color: #5d534a;
}

.product-info p {
margin-bottom: 15px;
}

/* Prijs */

.prijs {
font-size: 24px;
font-weight: bold;
color: #3f3f3f;
}

/* Knop */

.bestelknop {
display: inline-block;
width: 100%;
text-align: center;
padding: 15px;
background: #5d534a;
color: white;
text-decoration: none;
border-radius: 10px;
margin-top: 20px;
}

.bestelknop:hover {
background: #746657;
}

/* Over mij */

#overmij {
padding: 80px 20px;
background-color: white;
}

#overmij h2 {
margin-bottom: 25px;
}

/* Contact */

#contact {
padding: 80px 20px;
background-color: #ebe5de;
}

#contact h2 {
margin-bottom: 25px;
}

/* Footer */

footer {
background-color: #3f3f3f;
color: white;
text-align: center;
padding: 25px;
}

/* Mobiele apparaten */

@media (max-width: 768px) {

header .container {
flex-direction: column;
gap: 15px;
}

nav a {
margin: 0 10px;
}

.hero h2 {
font-size: 30px;
}

.hero p {
font-size: 18px;
}
}