body {
  outline: 10px solid red !important;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #0f1411;
  font-family: Arial, sans-serif;
  color: #d8d8d8;
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  width: 100%;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-logo {
  width: 500px;
  max-width: 90%;
  height: auto;
  margin-bottom: 50px;
}

/* NAV */
header {
  background: #0f1411;
  z-index: 10;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 55px;
  list-style: none;
  flex-wrap: wrap;
}

nav a {
  color: #d8d8d8;
  text-decoration: none;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav a:hover {
  color: #8ccf7e;
}

/* SECTIONS */
.about,
.projects,
.contact,
#over,
#projecten,
#contact {
  width: 1050px;
  max-width: calc(100% - 40px);
  margin: 60px auto;
  padding: 40px;
  background: #111;
  border: 1px solid #b6ff9e;
  border-radius: 25px;
}

h2 {
  font-size: 42px;
  margin-bottom: 30px;
  color: #8ccf7e;
}

p {
  font-size: 16px;
  margin-bottom: 12px;
}

/* ABOUT */
.about-content,
.about-container {
  display: flex;
  align-items: flex-start;
  gap: 35px;
}

.about-content img,
.about-container img {
  width: 260px;
  height: auto;
  border-radius: 20px;
}

.about-text {
  text-align: left;
}

/* PROJECTEN */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  display: block;
}
/* CONTACT */
.contact a,
.contact p {
  overflow-wrap: break-word;
  word-break: break-word;
}

form {
  margin-top: 25px;
  display: grid;
  gap: 15px;
}

input,
textarea,
button {
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #354536;
  background: #0f1411;
  color: white;
  font-size: 15px;
}

textarea {
  height: 120px;
  resize: none;
}

button {
  cursor: pointer;
  font-weight: 600;
}

button:hover {
  background: #1c241f;
}

/* WHATSAPP */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  background: #25d366;
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  z-index: 9999;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 30px;
  color: rgba(255,255,255,0.5);
}

/* MOBIEL */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 50px 20px;
  }

  .hero-logo {
    width: 320px;
    max-width: 90%;
    margin-bottom: 45px;
  }

  nav ul {
    flex-direction: column;
    gap: 28px;
  }

  nav a {
    font-size: 28px;
    letter-spacing: 3px;
  }

  .about,
  .projects,
  .contact,
  #over,
  #projecten,
  #contact {
    width: auto;
    max-width: calc(100% - 24px);
    margin: 40px 12px;
    padding: 28px 20px;
  }

h2 {
  font-size: 42px;
  margin-bottom: 30px;
  color: #8ccf7e;
  text-align: center;
}

  .about-content,
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text {
    text-align: center;
  }

  .about-content img,
  .about-container img {
    width: 220px;
  }

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

  .gallery img {
    height: auto;
  }

  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    padding: 14px 20px;
  }
}
.about,
.projects,
.contact,
#over,
#projecten,
#contact {
  margin-top: 120px !important;
  margin-bottom: 120px !important;
}
h2,
.projects h2,
.about h2,
.contact h2 {
  text-align: center !important;
}

.projects p,
.about p,
.contact p {
  text-align: center;
}
html {
  scroll-padding-top: 8vh;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 35px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
input,
textarea,
button {
  font-family: Arial, sans-serif !important;
}
.projects .gallery {
  width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 35px 0 0 0 !important;
}

.projects .gallery a {
  width: 100% !important;
  display: block !important;
}

.projects .gallery img {
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display: block !important;
}
.about-content,
.about-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 40px !important;
}

.about-content img,
.about-container img {
  width: 260px !important;
  height: auto !important;
  flex-shrink: 0 !important;
}

.about-text {
  flex: 1 !important;
  text-align: left !important;
}

.about-text p,
.about-points p {
  text-align: left !important;
}
.projects .gallery {
  width: 100% !important;
  max-width: 1000px !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin: 35px auto 0 !important;
}
.projects .gallery {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 18px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.projects .gallery a {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
}

.projects .gallery a img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  border-radius: 12px !important;
}
.hero-logo {
  width: 575px !important;
  max-width: 90vw !important;
  height: auto !important;
}
#contact {
  scroll-margin-top: -20px;
}
#projecten {
  scroll-margin-top: -50px;
}
@media (max-width: 768px) {

  section {
    padding: 50px 20px;
    margin: 40px auto;
  }

  h2 {
    font-size: 42px;
    text-align: center;
  }

  .projects-text,
  .contact p {
    text-align: center;
    font-size: 16px;
  }

  .about-content {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }

  .about-text {
    text-align: left;
  }

  .about-content img {
    width: 100%;
    max-width: 320px;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery img {
    width: 100%;
    height: 160px;
    object-fit: cover;
  }

  nav {
    gap: 20px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 20px;
  }

  #over,
  #projecten,
  #contact {
    scroll-margin-top: 120px;
  
  }
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text {
  width: 100%;
  margin-top: 20px;
}
}
@media (max-width: 768px) {
  #over .about-content,
  #over .about-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 25px !important;
  }

  #over .about-content a,
  #over .about-container a {
    width: 100% !important;
    max-width: 320px !important;
  }

  #over .about-content img,
  #over .about-container img {
    width: 100% !important;
    max-width: 320px !important;
    height: auto !important;
  }

  #over .about-text {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }
}
