@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Nunito:wght@400;600;700;800&display=swap");
@import "../tokens/color.tokens.css";
@import "../tokens/spacing.tokens.css";
@import "../tokens/radius.tokens.css";
@import "../tokens/typography.tokens.css";
@import "../tokens/shadow.tokens.css";
@import "../tokens/component.tokens.css";

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-family-body);
}

.navLogo {
  width: 200px;
  display: block;
}

.site-nav {
  background-color: var(--background-card-300);
  padding: var(--space-4);
  box-shadow: var(--shadow-nav-dropdown);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
}

.menu-button {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin-inline: auto;
  background: var(--text-primary);
  border-radius: 4px;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--surface-page);
  display: flex;
  flex-direction: column;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 30;
  overflow: hidden;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-overlay__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-3);
  background: var(--background-card-300);
  margin-inline: calc(var(--space-4) * -1);
  margin-top: calc(var(--space-4) * -1);
  padding-inline: var(--space-4);
  padding-top: var(--space-4);
}

.navLogo--overlay {
  width: 180px;
}

.nav-sluitknop {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-sluitknop span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 4px;
}

.nav-sluitknop span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.nav-sluitknop span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
  z-index: 2;
}

.nav-links li a {
  font-family: var(--font-family-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-links li a:hover {
  background-color: var(--brand-highlight);
  transition: background-color 0.3s ease;
}

.nav-links li a:active {
  font-weight: var(--font-weight-bold);
}

.nav-decoratie {
  position: absolute;
  right: -30px;
  bottom: -55px;
  width: 65%;
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

/* FOOTER  */
.site-footer {
  margin-top: var(--space-10);
  padding: var(--space-3) var(--space-2) var(--space-5);
  background: var(--gradient-footer-brand);
}

.footer-brand img {
  margin: var(--space-3);
  width: 150px;
  display: block;
  max-width: 100%;
  padding-bottom: var(--space-4);
}

.footer-columns {
  display: flex;
  justify-content: space-evenly;
  margin-top: var(--space-2);
  margin: var(--space-3);
  font-size: var(--font-size-xxs);
  line-height: var(--line-height-xs);
  color: var(--text-on-dark);
}

.footer-columns div {
  margin: var(--space-3);
}

.footer-columns h3 {
  margin: 0 0 var(--space-2);
  font-family: var(--font-family-heading);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--text-on-dark);
}

.footer-columns a {
  display: block;
  margin-bottom: var(--space-1);
  font-family: var(--text-navigation-default-font-family);
  font-size: var(--font-size-xs);
  line-height: var(--text-navigation-default-line-height);
}

.footer-columns a:hover {
  color: var(--text-on-dark);
  text-decoration: underline;
  transition: color 0.3s ease, underline 0.3s ease;
}

@media (min-width: 834px) {

  /*tablet staand*/
  .site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
    padding: var(--space-4) var(--space-8);
  }

  .nav-inner {
    flex-shrink: 0;
  }

  .menu-button {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0;
    width: 100%;
    gap: var(--space-3);
  }

  /* FOOTER */

  .site-footer {
    display: flex;
    /* align-items: flex-start; */
    justify-content: space-between;
    gap: 2rem;
    padding: var(--space-7) var(--space-8);
  }

  .footer-columns {
    margin: 0;
    flex: 1;
    display: flex;
    gap: var(--space-13);
    max-width: 920px;
  }

  .footer-columns div {
    margin: var(--space-3);
  }

  .footer-brand img {
    padding-bottom: 0px;
    width: 200px;
  }
}

@media (min-width: 1194px) {

  /*tablet liggend*/
  .nav-inner {
    gap: var(--space-2);
  }

  .nav-links {
    gap: var(--space-6);
  }

  .nav-links li a {
    font-size: var(--text-navigation-default-font-size);
  }

  .footer-columns h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-4);
  }

  .footer-columns a {
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-2);
  }
}

@media (min-width: 1440px) {

  /*desktop*/
  .nav-inner {
    gap: var(--space-6);
  }
}




@media (min-width: 834px) {
  .site-nav {

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
  }

  .nav-inner {
    flex-shrink: 0;
  }

  .menu-button {
    display: none;
  }

  .nav-overlay {
    position: static;
    inset: auto;
    background: transparent;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    padding: 0;
    transition: none;
    overflow: visible;
  }

  .nav-overlay__header,
  .nav-sluitknop,
  .nav-decoratie {
    display: none;
  }

  .nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-3);
  }

  .nav-links li a {
    padding-inline: var(--space-1);
    border-radius: var(--space-2);
    font-size: var(--font-size-xs);
  }

  .nav-links li a:hover {
    background-color: var(--brand-highlight);
    transition: background-color 0.3s ease;
  }
}

@media (min-width: 1194px) {
  .nav-links {
    gap: var(--space-6);
  }

  .nav-links li a {
    font-size: var(--text-navigation-default-font-size);
  }
}