/*
 * Stroopwafel.net algemene stijl
 * Een warm, gezellig ontwerp geïnspireerd op karamel en kaneel.
 */

/* CSS variabelen voor kleurschema */
:root {
  --primary: #d2691e;    /* karameltint voor header en accenten */
  --secondary: #a0522d;  /* diepere bruin voor titels */
  --background: #fffaf0; /* zacht off‑white voor de achtergrond */
  --text: #333333;       /* donkergrijs voor leesbare tekst */
  --accent: #c97a40;     /* lichtere karamel voor knoppen */
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Containers */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header en navigatie */
header {
  background-color: var(--primary);
  color: #ffffff;
  padding: 1rem 0;
}

header .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.nav-toggle {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
}

.nav {
  display: none;
}

.nav ul {
  list-style: none;
}

.nav li {
  margin: 0.5rem 0;
}

.nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.2s ease;
}

.nav a:hover {
  opacity: 0.8;
}

.nav .active {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .nav {
    display: block !important;
  }
  .nav ul {
    display: flex;
    align-items: center;
  }
  .nav li {
    margin: 0 1rem;
  }
  .nav-toggle {
    display: none;
  }
}

.nav.open {
  display: block;
}

/* Hero */
.hero {
  position: relative;
  background-image: url('../images/hero-stroopwafel.webp');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 700px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

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

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--accent);
  color: #ffffff;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background-color: var(--secondary);
}

/* Secties */
section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2rem;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 2rem;
}

/* Grids */
.feature-grid,
.favorite-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card,
.favorite-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.favorite-card img {
  height: 150px;
}

.feature-card .content,
.favorite-card .content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-card h3,
.favorite-card h3 {
  margin-top: 0;
  color: var(--secondary);
}

.feature-card p,
.favorite-card p {
  flex: 1;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .favorite-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Artikelstijl */
.article {
  width: 90%;
  max-width: 800px;
  margin: 3rem auto;
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article h1 {
  font-size: 2.2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.article h2 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.article p {
  margin-bottom: 1rem;
}

.article ul,
.article ol {
  margin: 0 0 1rem 1.5rem;
}

.article li {
  margin-bottom: 0.5rem;
}

.article img {
  border-radius: 6px;
  margin: 1rem 0;
}

/* Footer */
.footer {
  background-color: var(--primary);
  color: #ffffff;
  padding: 2rem 0;
  text-align: center;
}

.footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0.5rem;
  font-weight: bold;
}

.footer a:hover {
  text-decoration: underline;
}

/* Breadcrumb navigation */
.breadcrumb {
  background-color: #f8f9fa;
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.breadcrumb li {
  margin: 0;
}

.breadcrumb li:not(:last-child)::after {
  content: '/';
  margin: 0 0.5rem;
  color: #6c757d;
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .current {
  color: var(--text);
  font-weight: normal;
}