/* ================= FONTS ================= */
@font-face {
  font-family: 'Gilroy';
  src: url('/assets/fonts/gilroy-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* ================= VARIABLES ================= */
:root {
  --color-primary: #4ab300;
  --color-primary-soft: #eefbda;
  --color-secondary: #1b613e;
  --color-accent: #ff6a00;
  --color-text: #114a3f;
  --color-white: #ffffff;
  --color-grey: #eef0f2;

  --font-heading: 'Gilroy', sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-xs: 4px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 20px;
  --radius-xl: 30px;

  --container-width: 1240px;
}

/* ================= BASE ================= */
html {
  font-synthesis: none;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
}

h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= BUTTON SYSTEM ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  line-height: 1;

  transition: transform 0.25s ease, filter 0.30s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn:active {
  transform: translateY(0);
  filter: brightness(0.96);
}

/* Variants */

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

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

/* Sizes (DESKTOP DEFAULT) */

.btn--lg {
  height: 60px;
  padding: 0 50px;
  font-size: 18px;
}

.btn--md {
  height: 50px;
  padding: 0 30px;
  font-size: 16px;
}

.btn img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* ================= NAV ================= */
.nav {
  position: sticky;
  top: 0;
  height: 90px;
  background: var(--color-white);
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-img {
  height: 40px;
  /* desktop */
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Menu buttons */
.menu-toggle,
.menu-close {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-grey);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 8px;
}

/* ================= MENU ================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: .3s;
  z-index: 2000;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100%;
  background: var(--color-white);
  padding: 100px 24px;
  transition: .3s;
  z-index: 2001;
}

.mobile-menu.open {
  right: 0;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mobile-menu-links a {
  font-size: 20px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
}

/* ================= GRID ================= */
.s-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.s-grid--hero {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 50px;
  align-items: center;
}

/* ================= HERO ================= */
.hero {
  padding-bottom: 80px;
}

.hero-content {
  transform: translateY(20px);
}

.hero h1 {
  font-size: clamp(48px, 5vw, 64px);
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 24ch;
}

.hero p {
  margin-bottom: 30px;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.5;
  max-width: 24ch;
}

.hero-image {
  width: 600px;
  aspect-ratio: 4 / 4.5;
  border-radius: var(--radius-l);
  overflow: hidden;
  justify-self: end;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews {
  margin-top: 30px;
  margin-bottom: 50px;
}

/* ================= SECTION ================= */
.section-1 {
  background: var(--color-grey);
  padding: 80px 0;
  color: var(--color-text);
}

.section-1-image {
  border-radius: var(--radius-l);
  overflow: hidden;
  aspect-ratio: 3/2;
}

.section-1-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.benefits {
  list-style: none;
  margin-top: 24px;
}

.benefits li {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 18px;
}

.benefits img {
  width: 40px;
}

/* ================= MOBILE ================= */
.u-show-mobile {
  display: none;
}

@media (max-width: 900px) {

  .u-hide-mobile {
    display: none;
  }

  .u-show-mobile {
    display: flex;
  }

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

  .hero-content {
    margin-top: 40px;
    transform: none;
  }

  .s-grid--hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    width: 100%;
  }

  body {
    padding-bottom: 200px;
  }

  .mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 15px 20px 15px 20px;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
  }

  .mobile-bar .btn {
    width: 100%;
  }

  /* Offerte knop (in content) */
  .btn--lg {
    height: 46px;
    font-size: 15px;
    padding: 0 28px;
  }

  /* Bel knop (sticky + nav) */
  .btn--phone.btn--lg {
    height: 56px;
    font-size: 16px;
  }

  /* Nav bel knop (als die zichtbaar is) */
  .btn--md {
    height: 46px;
    font-size: 15px;
  }

  .btn--primary.btn--lg {
    height: 48px;
    padding: 0 36px;
    font-size: 15px;
  }

  .nav {
    position: static;
    box-shadow: none;
  }

  .nav.scrolled {
    box-shadow: none;
  }

  .logo-img {
    height: 36px;
  }
}