/* Algemeen */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}


/* Sticky Bel Nu knop */
.call-now {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0077cc;
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: background 0.3s, transform 0.2s;
}

.call-now:hover {
  background: #005fa3;
  transform: scale(1.05);
}

/* Push hero down zodat header er niet overheen valt */
.hero {
  padding-top: 70px; /* hoogte header */
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: background 0.3s, padding 0.3s;
  font-family: 'Helvetica Neue', sans-serif;
}

.nav-background {
  background: #080808db;
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" xmlns="http://www.w3.org/2000/svg"><g transform="scale(-1,1) translate(-1440,0)"><path fill="white" d="M0,0 C360,100 1080,0 1440,100 L1440,0 L0,0 Z"/></g></svg>');
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 100" xmlns="http://www.w3.org/2000/svg"><g transform="scale(-1,1) translate(-1440,0)"><path fill="white" d="M0,0 C360,100 1080,0 1440,100 L1440,0 L0,0 Z"/></g></svg>');
    mask-size: cover;
    mask-repeat: no-repeat;
    mask-position: top;
    -webkit-mask-size: cover;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: top;
  width: 100vw;
  height: 160px;
  min-width: 100%;
  box-sizing: border-box;
}

.site-header .container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.site-header .logo img {
  height: 55px;
  transition: transform 0.3s;
}
.site-header .logo img:hover {
  transform: scale(1.05);
}

/* Nav items */
.site-header .nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.site-header .nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  position: relative;
  transition: color 0.3s;
}

.site-header .nav ul li a span {
  position: relative;
}

.site-header .nav ul li a span::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: #0077cc;
  transition: width 0.3s;
}

.site-header .nav ul li a:hover span::after {
  width: 100%;
}

.site-header .nav ul li a:hover {
  color: #005fa3;
}

/* Sticky scroll effect */
.site-header.scrolled {
  background: #0077cc;
}
.site-header.scrolled .nav ul li a {
  color: #fff;
}
.site-header.scrolled .nav ul li a:hover {
  color: #ffd700; /* goudkleur bij hover */
}
.site-header.scrolled .nav ul li a span::after {
  background-color: #ffd700;
}

/* Responsive voorbeeld */
@media (max-width: 768px) {
  .site-header .nav ul {
    display: none; /* mobiel: hamburger menu later toevoegen */
  }
}


/* Responsive nav */
@media(max-width: 768px){
  .site-header .container {
    flex-direction: column;
    gap: 10px;
  }
  .site-header .nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}


/* Header / Hero */
.hero {
  height: 100vh;
  background: url('img/hero5.webp') no-repeat center center;
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.overlay {
  background: rgba(0,0,0,0.5);
  padding: 40px;
  border-radius: 10px;
  color: white;
  width: 100%;
}
.hero h1 {
  font-size: 3rem;
  margin: 0;
}
.hero p {
  font-size: 1.2rem;
  margin: 10px 0 20px;
}
.btn {
  padding: 15px 30px;
  background: #0077cc; /* blauw */
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: 0.3s;
}
.btn:hover {
  background: #005fa3; /* donkerder blauw bij hover */
}

/* Secties */
section {
  padding: 60px 20px;
  max-width: 1000px;
  margin: auto;
}
section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

/* Over Mij */
.about-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}
.about-container img {
  flex: 1 1 300px;
  border-radius: 10px;
  max-width: 300px;
  max-height: 300px;
  object-fit: cover;
}
.about-container p {
  flex: 2 1 400px;
}

/* Cards */
.services, .portfolio {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.card {
  background: #f8f8f8;

  padding: 20px;
  border-radius: 10px;
  flex: 1 1 250px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.card img {
  border-radius: 10px;
    border-color: #005fa3;
  border-width: 4px;
  border-style: solid;
  width: 200px;
  height: 200px;
  object-fit: cover;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Waarom */
section#waarom ul {
  list-style-type: disc;
  padding-left: 40px;
  max-width: 600px;
  margin: auto;
}
section#waarom li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
  align-items: center; /* knop gecentreerd */
}
input, textarea, select {
  padding: 12px;
  border: 1px solid #0077cc; /* blauw */
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
}

.section-separator {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.section-separator svg {
  display: block;
  width: 100vw;
  min-width: 100vw;
  height: 60px;
}


form select {
  padding: 12px;
  border: 1px solid #0077cc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
  background: white;
  color: #333;
}

textarea {
  resize: none; /* voorkomt vergroten */
}
button {
  padding: 15px 40px;
  background: #0077cc; /* blauw */
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover {
  background: #005fa3; /* donkerder blauw bij hover */
}
.contact-info {
  text-align: center;
  margin-top: 20px;
}


/* Footer */
footer {
  background: #0077cc; /* blauw footer */
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
}

/* Fade-in animatie */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media(max-width: 768px){
  .services, .portfolio, .about-container {
    flex-direction: column;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
}
