/* =========================================================
   DE KOFFIE GENOOT — GEDEELD STYLESHEET
   Eén bestand voor alle pagina's, zodat de vormgeving overal
   gelijk blijft. Kleuren zijn afgeleid van het logo (donker
   bordeauxbruin / crème / amber).
   ========================================================= */

:root {
  --primary: #4a1408;      /* donker bordeauxbruin, hoofdkleur uit logo */
  --primary-dark: #2c0b04; /* nog donkerder, voor diepte/hover */
  --secondary: #c9812f;    /* amber/koffiebruin accent, kleur van de bonen */
  --secondary-dark: #a8691f;
  --light: #f7f0e2;        /* crème, kleur van de binnencirkel van het logo */
  --dark: #1c0904;         /* bijna zwart bruin, voor footer */
  --text: #2c1c14;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 8px 20px rgba(28, 9, 4, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
}

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

/* ==================== HEADER / NAVIGATIE ==================== */

header {
  background: var(--primary);
  color: var(--white);
  padding: 14px 5%;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}

.logo-link img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-text {
  font-size: 22px;
  font-weight: bold;
  color: var(--white);
  letter-spacing: 0.3px;
}

.logo-text span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  flex-wrap: wrap;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

nav a:hover,
nav a[aria-current="page"] {
  border-bottom-color: var(--secondary);
  color: var(--secondary);
}

/* ==================== HAMBURGERMENU (mobiel) ==================== */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle:hover {
  border-color: var(--secondary);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==================== HERO ==================== */

.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 70px 5%;
  background: linear-gradient(rgba(28, 9, 4, 0.72), rgba(28, 9, 4, 0.72)),
    var(--hero-image, none);
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.hero-content {
  max-width: 900px;
}

.hero h1 {
  font-size: 46px;
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero p {
  font-size: 19px;
  margin-bottom: 28px;
}

.breadcrumb {
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 16px;
}

.breadcrumb a {
  text-decoration: underline;
  color: var(--white);
}

.btn {
  display: inline-block;
  background: var(--secondary);
  color: var(--dark);
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
}

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

.btn-outline {
  background: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* ==================== SECTIES ==================== */

section {
  padding: 70px 5%;
}

section:nth-of-type(even) {
  background: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--primary);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: #5a463c;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 4px solid var(--secondary);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 26px rgba(28, 9, 4, 0.18);
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card a.card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: bold;
  color: var(--secondary-dark);
  text-decoration: none;
}

.service-card a.card-link:hover {
  text-decoration: underline;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  align-items: center;
}

.about img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Lijst met vinkjes, voor voordelen/kenmerken */
.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

.check-list li {
  padding-left: 30px;
  position: relative;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--secondary-dark);
  font-weight: bold;
}

/* Tabel voor storingen/prijsindicaties */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid #ece2d2;
}

.info-table th {
  background: var(--primary);
  color: var(--white);
}

.info-table tr:last-child td {
  border-bottom: none;
}

/* ==================== CONTACT ==================== */

.contact-box {
  background: var(--primary);
  color: var(--white);
  padding: 45px;
  border-radius: var(--radius);
  text-align: center;
}

.contact-box h3 {
  margin-bottom: 16px;
  font-size: 30px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}

.contact-links a {
  background: var(--secondary);
  color: var(--dark);
  padding: 14px 22px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
}

.contact-links a:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
}

.contact-details {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

.contact-details h3 {
  color: var(--primary);
  margin-bottom: 16px;
}

.contact-details dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  row-gap: 10px;
}

.contact-details dt {
  font-weight: bold;
  color: var(--primary);
}

.seo-text {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 1000px;
  margin: auto;
}

.seo-text p + p {
  margin-top: 18px;
}

/* ==================== FOOTER ==================== */

footer {
  background: var(--dark);
  color: var(--white);
  padding: 40px 5% 25px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 25px;
}

.footer-grid h4 {
  color: var(--secondary);
  margin-bottom: 14px;
  font-size: 16px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid ul li {
  margin-bottom: 8px;
}

.footer-grid a {
  color: #e8ddd0;
  text-decoration: none;
  font-size: 14px;
}

.footer-grid a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 18px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 13px;
  color: #cbb8a8;
  line-height: 1.8;
}

.footer-legal strong {
  color: #e8ddd0;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  nav {
    width: 100%;
    order: 3;
  }

  nav ul {
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav ul.open {
    max-height: 400px;
  }

  nav ul li {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  nav a {
    display: block;
    padding: 14px 4px;
  }

  .hero h1 {
    font-size: 32px;
  }

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

  .section-title h2 {
    font-size: 28px;
  }

  .contact-details dl {
    grid-template-columns: 1fr;
  }
}
