/* Sjoukje vd Velde – Huis, tuin en buitenleven */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #253128;
  background: #fbfcfa;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.container.narrow {
  width: min(760px, calc(100% - 40px));
}

/* Header */

.site-header {
  background: #fff;
  border-bottom: 1px solid #e4e8e3;
}

.header-inner {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.logo img {
  width: auto;
  height: 76px;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: #26342b;
  text-decoration: none;
  font-size: .96rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover {
  color: #315f3b;
  border-bottom-color: #315f3b;
}

/* Hero */

.hero {
  min-height: 510px;
  position: relative;
  display: flex;
  align-items: center;
  background-color: #dfe8df;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(20, 31, 24, .72) 0%,
    rgba(20, 31, 24, .48) 42%,
    rgba(20, 31, 24, .08) 78%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 35px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: #4f7655;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e4eedf;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
}

.hero-text {
  max-width: 560px;
  margin: 0 0 30px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  background: #315f3b;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
  font-size: .92rem;
  font-weight: 650;
  transition: transform .15s ease, background .15s ease;
}

.button:hover {
  background: #24482d;
  transform: translateY(-1px);
}

/* Intro / content */

.content-section {
  padding: 82px 0 55px;
  text-align: center;
}

.content-section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  color: #26342b;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
}

.content-section p:not(.eyebrow) {
  max-width: 720px;
  margin: 0 auto;
  color: #59645c;
  font-size: 1.03rem;
}

/* Categories */

.categories {
  padding: 28px 0 78px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.category-card {
  min-height: 270px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background-color: #56695a;
  background-position: center;
  background-size: cover;
  border-radius: 3px;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(17, 28, 20, .78),
    rgba(17, 28, 20, .05) 75%
  );
  transition: background .2s ease;
}

.category-card:hover::before {
  background: linear-gradient(
    0deg,
    rgba(17, 28, 20, .84),
    rgba(17, 28, 20, .18) 75%
  );
}

.category-card span,
.category-card b {
  position: relative;
  z-index: 1;
}

.category-card strong {
  display: block;
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
}

.category-card small {
  display: block;
  max-width: 230px;
  font-size: .91rem;
  line-height: 1.45;
}

.category-card b {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 50%;
  font-size: 1.15rem;
  font-weight: 400;
}

/* Featured */

.featured {
  padding: 72px 0 88px;
  background: #f1f5ef;
  border-top: 1px solid #e2e9e0;
  border-bottom: 1px solid #e2e9e0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.section-heading h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
}

.section-heading > a {
  color: #315f3b;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 4px;
  border-bottom: 1px solid #9aaf9b;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  min-width: 0;
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 2.65;
  object-fit: cover;
  display: block;
  border-radius: 3px;
}

.article-category {
  margin: 17px 0 0;
  color: #55745a;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 7px 0 9px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  line-height: 1.2;
  font-weight: 500;
}

.article-card h3 a {
  text-decoration: none;
}

.article-card h3 a:hover {
  color: #315f3b;
}

.article-card p:not(.article-category) {
  margin: 0 0 14px;
  color: #5b665e;
  font-size: .94rem;
}

.read-more {
  color: #315f3b;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
}

/* Product / affiliate */

.products-intro {
  padding: 80px 0;
  background: #fff;
}

.products-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 42px 48px;
  background: #e6eee4;
  border-radius: 3px;
}

.products-inner > div {
  max-width: 720px;
}

.products-inner h2 {
  margin: 0 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
}

.products-inner p:not(.eyebrow) {
  margin: 0;
  color: #566158;
}

/* Newsletter / sfeer */

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 310px;
  background: #315f3b;
  color: #fff;
}

.newsletter-image {
  min-height: 310px;
  background-position: center;
  background-size: cover;
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 55px clamp(30px, 6vw, 90px);
}

.newsletter-content .eyebrow {
  color: #dce9d9;
}

.newsletter-content h2 {
  max-width: 540px;
  margin: 0 0 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
}

.newsletter-content p:not(.eyebrow) {
  max-width: 500px;
  margin: 0 0 24px;
  color: #e1eae0;
}

.newsletter form {
  display: flex;
  max-width: 560px;
  gap: 8px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  padding: 13px 15px;
  border: 0;
  border-radius: 3px;
  font: inherit;
}

.newsletter button {
  padding: 13px 19px;
  border: 0;
  border-radius: 3px;
  background: #203c27;
  color: #fff;
  font: inherit;
  font-size: .9rem;
  font-weight: 650;
  cursor: pointer;
}

/* Footer */

.site-footer {
  padding: 46px 0 28px;
  background: #fff;
  color: #536057;
  border-top: 1px solid #dfe6de;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 30px 70px;
}

.footer-brand img {
  width: auto;
  height: 59px;
  display: block;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer nav a {
  color: #334238;
  text-decoration: none;
  font-size: .88rem;
}

.site-footer nav a:hover {
  color: #315f3b;
}

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid #e5e9e4;
  font-size: .78rem;
}

.footer-legal p {
  margin: 0;
}

/* Accessibility */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive */

@media (max-width: 900px) {
  .header-inner {
    min-height: 82px;
    gap: 20px;
  }

  .logo img {
    height: 68px;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: .88rem;
  }

  .category-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 250px;
  }

  .products-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .container,
  .container.narrow {
    width: min(100% - 28px, 760px);
  }

  .header-inner {
    min-height: auto;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .logo img {
    height: 64px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    gap: 21px;
  }

  .hero {
    min-height: 470px;
  }

  .hero h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-text {
    font-size: 1rem;
  }

  .content-section {
    padding: 62px 0 35px;
  }

  .categories {
    padding: 20px 0 62px;
  }

  .featured {
    padding: 58px 0 68px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .products-intro {
    padding: 55px 0;
  }

  .products-inner {
    padding: 32px 25px;
  }

  .newsletter {
    grid-template-columns: 1fr;
  }

  .newsletter-image {
    min-height: 220px;
  }

  .newsletter-content {
    padding: 48px 25px 55px;
  }

  .newsletter form {
    flex-direction: column;
  }

  .newsletter input,
  .newsletter button {
    width: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-legal {
    grid-column: auto;
  }
}
