/* ==================================================
   HOMEPAGE

   Wordt automatisch geladen op de homepage, omdat de
   header /css/<slug>.css inleest en de slug van de
   webroot 'home' is. Dezelfde regel geldt voor
   /contact/ -> css/contact.css.

   Alleen wat écht bij deze pagina hoort. Wat op
   meerdere pagina's terugkomt, hoort in global.css.
================================================== */


/* --------------------------------------------------
   Hero
-------------------------------------------------- */

.hero {
  justify-content: center;

  min-height: clamp(34rem, 90vh, 56rem);
  padding-top: calc(var(--header-height, 5rem) + 1em + var(--space-xxl));
  padding-bottom: var(--space-xxl);

  background-image:
    linear-gradient(rgb(0 0 0 / 35%), rgb(0 0 0 / 35%)),
    url('/assets/images/hero-aardappels-en-friet.jpg');
  background-size: cover;
  background-position: top center;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--content-gap-m);

  text-align: center;
}

.hero__inner h1 {
  max-width: 32rem;

  color: var(--white);
}

.hero__inner p {
  max-width: 32rem;

  color: var(--white);
  font-size: var(--h4);
  line-height: 1.3;
}

.hero__buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-l);

  padding-top: var(--space-s);
}

.hero__buttons .btn {
  min-width: 10.75rem;
}


/* --------------------------------------------------
   Info / USP's
-------------------------------------------------- */

.info {
  border-top: 1rem solid var(--border-grijs);
  border-bottom: 1rem solid var(--border-grijs);
}

.info__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.info__intro {
  display: flex;
  flex-direction: column;
  gap: var(--content-gap-m);

  max-width: 41rem;

  text-align: center;
}

.info__intro p {
  font-size: var(--h4);
  line-height: 1.3;
}

.info__usps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xl);

  width: 100%;

  margin: 0;
  padding: 0;

  list-style: none;
}

.info__usps li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--content-gap-s);

  flex: 1 1 12rem;
}

.info__usps img {
  height: 3.5rem;
  width: auto;
}

.info__usps p {
  max-width: 14rem;

  font-size: var(--text-small);
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}


/* --------------------------------------------------
   Menukaart
-------------------------------------------------- */

.menukaart {
  background-color: var(--groen);
}

.menukaart h2 {
  margin-bottom: var(--space-xl);

  text-align: center;
}

/*
 * Kolommen in plaats van een grid: kaarten stapelen zo
 * strak onder elkaar, zonder gaten naast een lange kaart.
 */
.menukaart__grid {
  columns: 3;
  column-gap: var(--space-m);
}

.menukaart__categorie {
  break-inside: avoid;

  padding: var(--space-m);
  margin-bottom: var(--space-m);

  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgb(0 0 0 / 26%);
}

@media (max-width: 900px) {

  .menukaart__grid {
    columns: 2;
  }

}

@media (max-width: 600px) {

  .menukaart__grid {
    columns: 1;
  }

}

.menukaart__categorie h3 {
  margin-bottom: var(--content-gap-s);

  font-size: var(--h4);
}

.menukaart__categorie ul {
  margin: 0;
  padding: 0;

  list-style: none;
}

.menukaart__categorie li {
  display: flex;
  justify-content: space-between;
  gap: var(--content-gap-m);

  padding-block: 0.35rem;

  font-size: var(--text-small);

  border-bottom: 1px solid var(--border-grijs);
}

.menukaart__categorie li:last-child {
  border-bottom: none;
}

.menukaart__prijs {
  font-weight: 500;
}


/* --------------------------------------------------
   Fotoslider
-------------------------------------------------- */

.fotos {
  padding: 0;
  margin-block: 10px;
}

.fotos__slider {
  position: relative;

  width: 100%;
}

.fotos__strook {
  display: flex;
  gap: 10px;

  margin: 0;
  padding: 0;

  list-style: none;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.fotos__strook::-webkit-scrollbar {
  display: none;
}

.fotos__strook li {
  flex: 0 0 calc((100% - 20px) / 3);

  scroll-snap-align: start;
}

.fotos__strook img {
  width: 100%;
  aspect-ratio: 4 / 3;

  object-fit: cover;
}

.fotos__knop {
  position: absolute;
  top: 50%;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;

  transform: translateY(-50%);

  background-color: rgb(255 255 255 / 58%);
  color: var(--tekst);

  border: none;

  cursor: pointer;
}

.fotos__knop svg {
  width: 2rem;
  height: 2rem;
}

.fotos__knop--vorige {
  left: 50px;
}

.fotos__knop--volgende {
  right: 50px;
}

@media (max-width: 900px) {

  .fotos__strook li {
    flex-basis: calc((100% - 10px) / 2);
  }

}

@media (max-width: 600px) {

  .fotos__strook li {
    flex-basis: 100%;
  }

  .fotos__knop {
    width: 50px;
    height: 50px;
  }

  .fotos__knop--vorige {
    left: 10px;
  }

  .fotos__knop--volgende {
    right: 10px;
  }

}


/* --------------------------------------------------
   Reviews
-------------------------------------------------- */

.reviews__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.reviews__inner h2 {
  max-width: 41rem;

  text-align: center;
}

.reviews__badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;

  padding: 1em;

  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgb(0 0 0 / 26%);
}

.reviews__cijfer {
  font-size: 1.0625rem;
  font-weight: 600;
}

.reviews__cijfer small {
  font-size: 0.875rem;
  font-weight: 400;
}

.reviews__badge-rechts {
  display: flex;
  flex-direction: column;
}

.reviews__sterren {
  display: flex;
}

.reviews__aantal {
  font-size: 0.75rem;
}

.ster {
  width: 17px;
  height: 17px;

  color: var(--ster);
}

.ster--groot {
  width: 20px;
  height: 20px;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 20px;

  width: 100%;

  margin: 0;
  padding: 0;

  list-style: none;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  padding: 12.5px;

  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgb(0 0 0 / 26%);
}

.review__kop {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.review__naam {
  font-weight: 600;
  font-size: var(--text-small);
}

.review__google {
  margin-left: auto;
}

.review__sterren {
  display: flex;
}

.review p {
  font-size: var(--text-small);
  line-height: 1.7;
}


/* De afsluitende oproep gebruikt het .cta-blok uit global.css */

/* Melding dat de recensies uit het Nederlands vertaald zijn */

.reviews__vertaald {
  margin-top: calc(var(--space-xl) * -1 + var(--content-gap-s));

  color: var(--text-muted);
  font-size: var(--text-small);
  text-align: center;
}
