/* ============================================================
   Previn Engineering – Gedeelde stijlen
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700&family=Roboto+Slab:wght@400;600&display=swap');

/* ---- Reset & basisstijlen --------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
  background-color: #333333;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a:hover {
  color: #cccccc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', serif;
  line-height: 1.3;
  color: #ffffff;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.3rem; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

/* ---- Container -------------------------------------------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Navigatie -------------------------------------------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #222222;
  height: 60px;
  transition: background-color 0.3s;
}

#site-header.transparent-header {
  background-color: transparent;
}

#site-header.transparent-header.scrolled {
  background-color: #222222;
}

#site-header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 60px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

#site-logo {
  display: none;
}

#site-navigation {
  display: flex;
  align-items: center;
}

#site-navigation ul {
  display: flex;
  gap: 0;
  align-items: center;
}

#site-navigation ul li a {
  display: block;
  padding: 0 20px;
  line-height: 60px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s;
  white-space: nowrap;
}

#site-navigation ul li a:hover {
  color: #cccccc;
}

/* Taalwisselaar dropdown */
.lang-switcher {
  position: relative;
}

.lang-switcher > a {
  display: flex;
  align-items: center;
  padding: 0 20px;
  line-height: 60px;
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
}

.lang-switcher:hover .lang-dropdown {
  display: block;
}

.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 60px;
  background-color: #222222;
  min-width: 120px;
  border: 1px solid #333333;
  z-index: 100;
}

.lang-dropdown a {
  display: block;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 0.9rem;
}

.lang-dropdown a:hover {
  background-color: #333333;
}

/* Hamburger menu */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  position: absolute;
  right: 20px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s;
}

/* Mobiel menu */
#mobile-menu {
  display: none;
  background-color: #222222;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 10px 0;
  border-top: 1px solid #333333;
}

#mobile-menu.open {
  display: block;
}

#mobile-menu ul {
  list-style: none;
}

#mobile-menu ul li a {
  display: block;
  padding: 12px 20px;
  color: #ffffff;
  font-size: 1rem;
  border-bottom: 1px solid #2e2e2e;
}

#mobile-menu ul li a:hover {
  background-color: #2e2e2e;
}

/* ---- Scroll-to-top knop ----------------------------------- */
#scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: rgba(0,0,0,0.5);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 900;
}

#scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

#scroll-top:hover {
  background-color: rgba(0,0,0,0.8);
  color: #ffffff;
}

/* ---- Footer ----------------------------------------------- */
#footer {
  background-color: #222222;
  border-top: 1px solid #2e2e2e;
}

#footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

#footer-bottom-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
}

#footer-bottom-menu ul li a {
  color: #aaaaaa;
  font-size: 0.85rem;
  transition: color 0.2s;
}

#footer-bottom-menu ul li a:hover {
  color: #ffffff;
}

#copyright {
  color: #888888;
  font-size: 0.8rem;
}

/* ---- Knoppen ---------------------------------------------- */
.btn {
  display: inline-block;
  padding: 10px 28px;
  background-color: #000000;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 3px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}

.btn:hover {
  background-color: #ffffff;
  color: #000000;
}

/* ---- Formulieren ------------------------------------------ */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 4px;
  color: #ffffff;
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="file"],
.form-group textarea {
  width: 100%;
  padding: 9px 12px;
  background-color: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 3px;
  font-family: 'Roboto', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
  border-color: #aaaaaa;
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-group input[type="file"] {
  padding: 6px;
  cursor: pointer;
}

.form-group.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-group.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  flex-shrink: 0;
}

.form-group.checkbox-group label {
  font-weight: 400;
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ---- Sectiestijlen ---------------------------------------- */
section {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

/* ---- Divider ---------------------------------------------- */
hr.divider {
  border: none;
  border-top: 1px solid #555555;
  margin: 20px 0;
}

/* ---- Icoontje voor lijsten -------------------------------- */
.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 2px 0;
  font-size: 0.95rem;
}

.icon-list li::before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.85rem;
  color: #ffffff;
  width: 18px;
  text-align: center;
}

.icon-list.icon-cog li::before {
  content: '\f013'; /* fa-cog */
}

.icon-list.icon-tools li::before {
  content: '\f7d9'; /* fa-tools */
}

.icon-list.icon-check li::before {
  content: '\f00c'; /* fa-check */
}

.icon-list.icon-school li::before {
  content: '\f19c'; /* fa-university */
}

.icon-list.icon-cert li::before {
  content: '\f00c'; /* fa-check */
}

.icon-list.icon-tv li::before {
  content: '\f26c'; /* fa-tv */
}

/* ---- Responsief ------------------------------------------- */
@media (max-width: 767px) {
  #site-navigation {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  #footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.4rem; }
}
