/* ============== Algemeen van de site ============== */
body{
  margin-right: 30px;
  margin-left: 30px;
  margin-top: 20px;
  margin-bottom: -20px;
  padding: 0 25px; 
  font-family: Arial, Helvetica, sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============== Header ============== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
}

header .headerlogo img {
  height: 7vh;
  width: auto;
}

nav a {
  text-transform: uppercase;
  font-size: 25px;
  color: #333;
  text-decoration: none;
  margin-left: 20px;
}

nav a:hover {
  color: #c7c7c7;
}

/* ============== Footer ============== */
footer {
  background-color: #cdcdcd;
  color: #fff;
  padding: 40px 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-links a {
  margin: 0 5px;
  display: inline-block;
  transition: transform 0.3s;
}

.footer-links a img {
  height: 24px;
  width: auto;
}

.footer-links a:hover {
  transform: scale(1.2);
}

.footer-rights {
  width: 100%;
  text-align: left;
  margin-top: 20px;
  font-size: 14px;
  color: #a5a5a5;
}

.logo-text {
  font-size: 14px;
  color: #454545;
  margin-top: 5px;
  text-align: left;
  text-transform: uppercase;
}

/* =============== projecten ================ */

.projecten-page {
  padding: 80px 0;
}

.projects-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20x;
  position: relative;
  box-sizing: border-box;
}

.projects-grid {
  flex: 0 0 65%;
  display:flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
    max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(64,64,64,0.1);
  transition: transform 0.3s;
}

.project-card:hover {
  transform: scale(1.02);
}

.project-card img {
  width: 40vw;
  height: 40vh;
  object-fit: contain;
  border-radius: 10px;
}



/* =============== opties in de box =============== */
/* beschrijving project */
.project-info p {
  margin: 10px 0px 15px;
  font-size: 14px;
  color: #555;
  text-transform: none;
}
/* Titel project */
.project-info h3.project-title {
  margin: 0;
  font-size: 18px;
  color: #333;
  text-transform: uppercase;
}
/* Extra info project */
.project-info p.project-meta {
  margin: 10px 0px 0;
  font-size: 12px;
  color: #9e9e9e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
/* ======= */



.project-btn {
  display: inline-block;
  padding: 6px 12px;
  background-color: #00cfc8;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s;
  align-self: flex-start;
}

.project-btn:hover {
  background-color: #00918d;
}

.filter-sidebar {
  display: flex;   
  flex-direction: row;
  gap: 10px;   
  flex-wrap: wrap;  
  margin-bottom: 20px;
}

.filter-btn {
  background-color: #eee;
  border: none;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  transition: background 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: #00cfc8;
  color: #fff;
}

/* Verticale scheidingslijn */
.projects-container::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 65%;
  width: 1px;
  background-color: #ddd;
}

/* =========================================================================================================== */
/* ==================================================Dit moet overal========================================================= */
/* ======= Hamburger menu ======= */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #333;
  z-index: 1001;
}

.nav-menu {
  display: flex; /* desktop */
  gap: 20px;
  align-items: center;
}

@media (max-width: 900px) {

  body {
    overflow-x: hidden;
    margin: 0;
    padding: 0 20px;
  }

  /* Hamburger menu */
  .hamburger {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: #333;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }

  .hamburger.is-active {
    color: white;
    transform: rotate(90deg);
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; 
    height: 100vh;
    background-color: #000;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-menu.is-active {
    transform: translateX(0);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
  }

  .nav-links a {
    font-size: 28px;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
  }

  .nav-links a:hover {
    color: #00cfc8;
  }

  .mobile-socials {
    display: flex;
    gap: 25px;
    margin-top: 50px;
  }

  .mobile-socials img {
    height: 30px;
    filter: brightness(0) invert(1);
    margin-left: 10px;
    transition: transform 0.3s;
  }

  .mobile-socials img:hover {
    transform: scale(1.2);
  }

  /* Projectafbeeldingen groter */
  .project-card img {
    width: 80vw;     
    height: auto;
    border-radius: 10px;
    object-fit: contain;
  }

  .overview-item img {
    width: 90vw;     
    height: auto;
    border-radius: 10px;
  }
}

 .mobile-socials {
    display: none;
    gap: 25px;
    margin-top: 50px;
  }