@import "animate.css";

* {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
}

body {
  padding-top: 80px; /* Zorgt dat de pagina onder de vaste navbar begint */
}

nav {
  height: 80px;
  background: #fff;
  z-index: 2;
  position: fixed;
  top: 0;
  width: 100%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

nav img {
  position: absolute;
  width: 190px;
  top: 15px;
  left: 12%;
}

nav ul {
  float: right;
  margin-right: 12%;
  z-index: 2;
}

nav ul li {
  display: inline-block;
  line-height: 80px;
  margin: 0 16px;
}

nav ul li a {
  position: relative;
  padding: 5px 0;
  color: #000;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #0860C2;
}

label #btn,
label #cancel {
  font-size: 30px;
  color: #000;
  position: absolute;
  right: 40px;
  top: 25px;
  cursor: pointer;
  display: none;
  z-index: 3;
}

#check {
  display: none;
}

@media (max-width: 1118px) {
  nav img {
    left: 8%;
  }
}

@media (max-width: 944px) {
  nav img {
    width: 130px;
    top: 20px;
    left: 6%;
  }

  nav ul li a {
    font-size: 17px;
  }
}

@media (max-width: 860px) {
  label #btn {
    display: block;
  }

  nav ul {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #fff;
    top: 80px;
    left: -100%;
    text-align: center;
    transition: all .5s;
  }

  nav ul li {
    display: block;
    margin: 50px 0;
    line-height: 30px;
  }

  nav ul li a {
    font-size: 20px;
  }

  #check:checked ~ ul {
    left: 0;
  }

  #check:checked ~ label #btn {
    display: none;
  }

  #check:checked ~ label #cancel {
    display: block;
  }
}

/* ===== FOOTER ===== */

.footer-basic-centered {
  background-color: #2E90F9;
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  box-sizing: border-box;
  width: 100%;
  padding: 20px 40px;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: left;
}

.footer-logo img {
  max-width: 150px;
  transition: 0.4s;
  margin-bottom: 25px;
}

.footer-logo img:hover {
  transform: scale(1.1);
}

.footer-columns {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.footer-column h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  word-break: break-word;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #aaddff;
}

.footer-company-info {
  font-size: 14px;
  line-height: 1.5;
  color: #e0e0e0;
  margin-bottom: 20px;
  max-width: 600px;
}

.footer-company-name {
  font-size: 13px;
  font-weight: 400;
  text-align: center;
}

.footer-company-name a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }

  .footer-column {
    width: 100%;
  }

  .footer-column h4,
  .footer-column ul,
  .footer-column ul li {
    text-align: left;
  }

  .footer-company-name {
    text-align: center;
    margin-top: 20px;
  }

  .footer-logo {
    display: block;
    text-align: center;
    margin-bottom: 20px;
  }
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 80px; /* zoals jij al had voor de navbar */
}

#main-body, .container, main, section {
  flex: 1 0 auto; /* Content vult de beschikbare ruimte */
}

.footer-basic-centered {
  flex-shrink: 0; /* Footer krimpt niet en blijft onderaan */
}

