/* Groentenautomaat Van der Steen */

@font-face {
  font-family: "Nunito Sans";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/nunito-sans-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito Sans";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/nunito-sans-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
}

:root {
  --ink: #142317;
  --green: #3c7e34;
  --green-dark: #203f24;
  --green-light: #81b23e;
  --line: rgba(20, 35, 23, 0.3);
  --white: #ffffff;
  --light: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --heavy: "Nunito Sans", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  --title: "Poppins", "Segoe UI", sans-serif;
  --header-h: 135px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--light);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
}

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

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--white);
  padding: 8px 12px;
}
.skip:focus {
  left: 8px;
  top: 8px;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.topbar {
  height: 52px;
  background: var(--green-dark);
}

.navbar {
  position: relative;
  height: 83px;
  background: var(--green);
  display: flex;
  align-items: center;
}

.logo {
  position: absolute;
  left: 40px;
  top: -43px;
  width: 115px;
  z-index: 2;
}

.nav-links {
  display: grid;
  grid-template-columns: 57% 43%;
  align-items: center;
  width: min(980px, calc(100% - 300px));
  margin-left: max(190px, calc(50% - 490px));
}

.nav-links a {
  font-family: var(--heavy);
  font-weight: 800;
  font-size: 35px;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  justify-self: start;
  transition: color 0.15s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--white);
}

.nav-pin {
  position: absolute;
  right: 64px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
}
.nav-pin svg {
  width: 22px;
  height: 22px;
}

/* Home */

.hero {
  height: 580px;
  overflow: hidden;
}
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Producten */

/* Everything on this page grows with the screen width, so the rows
   don't look tiny on big monitors. The minimums are the Wix sizes. */
.products {
  --thumb: clamp(92px, 6.4vw, 170px);
  --name: clamp(16px, 1.05vw, 26px);
  --row-pad: clamp(14px, 1vw, 24px);
  max-width: 1760px;
  margin: 0 auto;
  padding: clamp(20px, 1.6vw, 40px) clamp(20px, 2vw, 48px) 60px;
}

.products-intro {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: clamp(36px, 2.4vw, 60px);
}

.products-intro h1 {
  font-family: var(--title);
  font-weight: 600;
  font-size: clamp(32px, 2.1vw, 52px);
  line-height: 1.4;
  margin: 0 0 4px;
}

.products-intro p {
  margin: 0 0 1.2em;
  font-size: clamp(16px, 0.95vw, 22px);
}

.badge-247 {
  width: clamp(188px, 11vw, 280px);
  flex: none;
}

.product-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 0;
}

.product-group h2 {
  font-family: var(--title);
  font-weight: 600;
  font-size: clamp(24px, 1.6vw, 38px);
  line-height: 1.4;
  margin: 0;
  padding: 0 0 clamp(20px, 1.2vw, 28px);
  border-bottom: 1px solid var(--line);
}
.product-group + .product-group {
  margin-top: clamp(40px, 2.8vw, 72px);
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.product-list li {
  display: flex;
  align-items: center;
  gap: clamp(20px, 1.4vw, 36px);
  padding: var(--row-pad) 0;
  border-bottom: 1px solid var(--line);
}

.product-list img {
  width: var(--thumb);
  height: var(--thumb);
  flex: none;
}

.product-list span {
  font-family: var(--title);
  font-weight: 600;
  font-size: var(--name);
  line-height: 1.4;
}

.product-cols > div {
  padding-right: clamp(20px, 1.6vw, 40px);
}
.product-cols > div + div {
  padding: 0 0 0 clamp(20px, 1.6vw, 40px);
}

/* Contact */

.contact-banner {
  position: relative;
  max-width: 980px;
  height: 303px;
  margin: 20px auto 0;
  overflow: hidden;
}
.contact-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.contact-banner h1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  width: 300px;
  padding: 18px 0 20px;
  background: var(--white);
  text-align: center;
  font-family: var(--heavy);
  font-weight: 800;
  font-size: 56px;
  line-height: 1.2;
}

.contact-info {
  display: grid;
  grid-template-columns: 0.9fr 1.25fr 0.85fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  padding: 55px 32px 60px;
}

.contact-info h2 {
  font-family: var(--title);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.4;
  margin: 0 0 56px;
}

.contact-info p {
  margin: 0;
  font-family: var(--heavy);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.2;
}

.contact-info a {
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-info a:hover {
  text-decoration: underline;
}

.hours {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.socials a {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
}
.socials svg {
  width: 30px;
  height: 30px;
}
.socials a:hover {
  opacity: 0.75;
}

.map-band {
  background: var(--green-light);
  padding: 15px 16px;
}

.map-box {
  max-width: 980px;
  height: 459px;
  margin: 0 auto;
  border-radius: 20px;
  background: var(--green);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* 404 */

.notfound {
  max-width: 980px;
  margin: 0 auto;
  padding: 80px 20px 100px;
  text-align: center;
}
.notfound h1 {
  font-family: var(--title);
  font-weight: 600;
  font-size: 32px;
  margin: 0 0 12px;
}
.notfound a {
  font-family: var(--heavy);
  font-weight: 800;
  color: var(--green);
}

/* Footer */

.site-footer {
  background: var(--green);
  color: var(--white);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  align-items: center;
  gap: 16px;
  padding: 16px 16px 16px 0;
  max-width: 1920px;
  margin: 0 auto;
}

.footer-address,
.footer-help {
  text-align: center;
  font-size: 24px;
  line-height: 1.4;
}

.footer-address p,
.footer-help p {
  margin: 0;
}

.footer-address a {
  text-decoration: none;
}
.footer-address a:hover,
.footer-help a:hover {
  text-decoration: underline;
}

.footer-address .open {
  margin-top: 1.4em;
}
.footer-address strong {
  font-family: var(--heavy);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
}

.footer-address .socials {
  justify-content: center;
  margin-top: 28px;
  color: var(--white);
}
.footer-address .socials svg {
  width: 36px;
  height: 36px;
}

.footer-help h2 {
  margin: 0 0 22px;
  font-family: var(--heavy);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.2;
}
.footer-help p {
  font-size: 21px;
}
.footer-help a {
  text-decoration: none;
  word-break: break-word;
}

.footer-photo img {
  width: 100%;
  max-width: 763px;
  margin-left: auto;
}

.copyright {
  background: var(--white);
  color: var(--ink);
  text-align: center;
  font-family: var(--heavy);
  font-weight: 800;
  font-size: 18px;
  margin: 0;
  padding: 18px 16px 20px;
}

/* Google reviews badge */

.reviews {
  position: fixed;
  left: 4px;
  bottom: 4px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  background: var(--white);
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: #555;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}
.reviews svg.g {
  width: 30px;
  height: 30px;
}
.reviews .score {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  color: #e7711b;
}
.reviews .stars {
  color: #e7711b;
  letter-spacing: 1px;
  font-size: 17px;
}
.reviews .count {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #333;
}

/* Narrower screens */

@media (max-width: 1100px) {
  .nav-links a {
    font-size: 28px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 24px 16px 16px;
  }
  .footer-photo {
    grid-column: 1 / -1;
  }
  .footer-photo img {
    margin: 8px auto 0;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 96px;
  }
  .topbar {
    height: 30px;
  }
  .navbar {
    height: 66px;
  }
  .logo {
    left: 16px;
    top: -24px;
    width: 80px;
  }
  .nav-links {
    display: flex;
    gap: 22px;
    width: auto;
    margin-left: 112px;
    margin-right: 56px;
  }
  .nav-links a {
    font-size: 19px;
  }
  .nav-pin {
    right: 12px;
  }

  .hero {
    height: auto;
    aspect-ratio: 2880 / 870;
  }

  .products-intro {
    flex-direction: column-reverse;
    gap: 12px;
  }
  .badge-247 {
    width: 140px;
  }
  .product-cols {
    grid-template-columns: 1fr;
  }
  .product-cols > div,
  .product-cols > div + div {
    padding: 0;
  }
  .product-cols > div + div {
    margin-top: 40px;
  }
  .product-list img {
    width: 76px;
    height: 76px;
  }

  .contact-banner {
    height: 200px;
    margin-top: 0;
  }
  .contact-banner h1 {
    width: 220px;
    font-size: 40px;
    padding: 12px 0 14px;
  }
  .contact-info {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 36px 16px 44px;
  }
  .contact-info h2 {
    margin-bottom: 12px;
  }
  .map-box {
    height: 340px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px 16px 16px;
  }
  .footer-address {
    font-size: 20px;
  }
  .footer-address strong {
    font-size: 28px;
  }
  .footer-help h2 {
    font-size: 32px;
  }
  .footer-help p {
    font-size: 19px;
  }
  .copyright {
    font-size: 15px;
    padding-bottom: 76px;
  }
}

@media (max-width: 400px) {
  .nav-links {
    gap: 14px;
    margin-left: 104px;
  }
  .nav-links a {
    font-size: 17px;
  }
}
