

body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  padding-bottom: 90px;
  margin: 0;
  padding: 0;
}


.navbar-brand img {
  height: 90px;
  position: relative;
  top: 0;
  left: 0;
  transition: all 0.3s ease;
}

.navbar {
  position: relative;
  z-index: 1000;
  padding-top: 20px;
  padding-bottom: 20px;
  min-height: 110px; /* forceer witruimte zodat logo erbinnen valt */
}

.navbar-brand {
  position: relative;
  top: 0;
  left: 0;
  transform: none;
  z-index: 1050;
}
.navbar-nav {
  gap: 0.5rem;
}
.navbar .nav-link {
  font-size: 1.05rem;
}

.navbar-nav .nav-link {
  font-weight: 600;
  position: relative;
  padding: 10px 16px;
  color: #0d2f50 !important;
  transition: all 0.2s ease-in-out;
  display: inline-block;
  overflow: hidden;
  font-size: 1.05rem; /* of bijvoorbeeld 1.1rem of 17px */
}



.navbar-nav .nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #0056d2;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
  width: 100%;
}




.dropdown-toggle::after {
  display: none !important;
}

.dropdown-icon {
  margin-left: 6px;
  font-size: 0.75rem;
  color: #888;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-top: 8px !important;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  display: block;
  visibility: hidden;
  position: absolute;
  z-index: 1000;
   padding-top: 0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.dropdown-item {
  font-weight: 500;
  padding: 10px 16px;
  transition: background-color 0.2s;
    display: flex;
  align-items: center;
  gap: 8px;
}

.dropdown-item:hover {
  background-color: #f2f5ff;
  color: #0056d2;
}

.dropdown-storing {
  background: linear-gradient(to right, #fff0f0, #ffe5e5);
  color: #b30000 !important;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.dropdown-storing:hover {
  background: linear-gradient(to right, #ffd6d6, #ffb3b3);
  color: #8b0000 !important;
}


/* Verwijder bovenste rand/padding van eerste dropdown-item */
.dropdown-menu .dropdown-item:first-child {
  margin-top: 0;
  padding-top: 12px;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

/* Specifiek voor de Storing-knop */
.dropdown-storing {
  background: linear-gradient(to right, #ffdede, #ffcccc);
  color: #b30000 !important;
  font-weight: 600;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 0 !important; /* belangrijk voor witruimte */
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.dropdown-storing:hover {
  background: linear-gradient(to right, #ffb3b3, #ff9999);
  color: #8b0000 !important;
}
/* ✅ 3. Alleen icoon highlight bij hover (niet voor .dropdown-storing) */
.dropdown-item i {
  color: #aaa;
  transition: color 0.3s ease, transform 0.3s ease;
}
.dropdown-item:hover i {
  color: #0056d2;
  transform: scale(1.1);
}

.dropdown-storing i {
  color: #b30000; /* Storing icoon altijd rood */
}

.dropdown-storing:hover i {
  color: #8b0000;
}

.contact-block {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeSlideIn 0.6s ease forwards;
  transition: transform 0.3s ease;
}

.contact-block:hover {
  transform: scale(1.03);
}

.contact-icon {
  width: 42px;
  height: 42px;
  background-color: #dee2e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0056d2;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-block:hover .contact-icon {
  background-color: #0056d2;
  color: white;
  transform: scale(1.1);
  animation: pulseGlow 1.2s ease-out infinite;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 86, 210, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 86, 210, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 86, 210, 0);
  }
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobiel contacticoon */
#support-mobile {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  text-align: center;
}

#support-mobile .contact-icon {
  width: 50px;
  height: 50px;
  background-color: #dee2e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0056d2;
  font-size: 20px;
  margin: 0 auto;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#support-mobile:hover .contact-icon {
  background-color: #0056d2;
  color: #fff;
  transform: scale(1.1);
  animation: pulseGlow 1.2s ease-out infinite;
}

#support-mobile .contact-text {
  margin-top: 6px;
  font-size: 13px;
  color: #555;
}

#support-mobile strong a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
}

/* Swiper verbeterd */
.swiper {
  width: 100%;
  height: 800px;
  position: relative;
  overflow: hidden;
}

.swiper-slide {
  opacity: 1;
  /* laat Swiper dit beheren */
}

@keyframes sliderFadeIn {
  from {
    opacity: 0;
    transform: scale(1.02);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(40px);
  text-align: center;
  color: white;
  opacity: 0;
  z-index: 10;
  max-width: 90%;
}

.swiper-slide-active .swiper-caption {
  animation: slideCaptionIn 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.swiper-caption h5 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
}

.swiper-caption .lees-meer-btn {
  display: inline-block;
  padding: 12px 28px;
  background-color: #0056d2;
  color: white;
  font-weight: 500;
  border-radius: 8px;
  /* Rechthoek met lichte afronding */
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 86, 210, 0.4);
  margin-top: 32px;
  /* Iets verder naar beneden */
}

.swiper-caption .lees-meer-btn:hover {
  background-color: #003f9e;
  transform: scale(1.04);
}

/* Caption animatie */
@keyframes slideCaptionIn {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes captionSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.swiper-caption h5 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
}

.swiper-button-prev,
.swiper-button-next {
  color: white;
  width: 44px;
  height: 44px;
  background: rgba(0, 86, 210, 0.85);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(0, 86, 210, 0);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #003f9e;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 12px rgba(0, 86, 210, 0.6);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.2rem;
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background: #0056d2;
  opacity: 1;
}

@keyframes zoomFadeIn {
  from {
    transform: scale(1.05);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.first-load-zoom {
  animation: zoomFadeIn 1.2s ease-out;
}

@keyframes slideCaptionIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.swiper-caption {
  opacity: 0;
  transform: translateY(40px);
  transition: none;
}

.swiper-slide-active .swiper-caption {
  animation: slideCaptionIn 0.8s ease-out forwards;
}


/* Titel (h5) animatie */
@keyframes captionTitleIn {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Knop animatie */
@keyframes captionButtonIn {
  0% {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Caption container */
.swiper-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 10;
  max-width: 90%;
}

/* H5 titel animatie */
.swiper-slide-active .swiper-caption h5 {
  animation: captionTitleIn 0.8s ease-out forwards;
}

/* Lees meer knop animatie */
.swiper-slide-active .swiper-caption .lees-meer-btn {
  animation: captionButtonIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

/* TITEL animaties */
@keyframes titleFromBottom {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes titleFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes titleFromRight {
  from {
    opacity: 0;
    transform: translateX(50px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* KNOP animaties */
@keyframes buttonFromBottom {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes buttonFromLeft {
  from {
    opacity: 0;
    transform: translateX(-40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes buttonFromRight {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Starttoestand */
.swiper-caption h5,
.swiper-caption .lees-meer-btn {
  opacity: 0;
}


.text-orange {
  color: #ff6600;
}

.text-lodema {
  color: #0056d2;
}

.bg-orange {
  background-color: #0056d2;
}

.text-gray {
  color: #797979;
}


.rounded-bottom-circle {
  border-bottom-left-radius: 50% !important;
  border-bottom-right-radius: 50% !important;
  border-top-left-radius: 0 !important;
  border-top-right-radius: 0 !important;
}


/* Hover scale effect for large image */
.animate-hover-scale:hover {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

/* Hover rotate + scale effect for small image */
.animate-hover-rotate:hover {
  transform: rotate(-1.5deg) scale(1.03);
  transition: transform 0.4s ease;
}

.animate-hover-scale,
.animate-hover-rotate {
  will-change: transform;
}


.img-hover-scale {
  transition: transform 0.4s ease;
  will-change: transform;
}

.img-hover-scale:hover {
  transform: scale(1.05);
}


.custom-progress {
  height: 16px;
  background-color: #f1f3f7;
  border-radius: 999px;
  overflow: hidden;
}

.custom-progress .progress-bar {
  border-radius: 999px;
  height: 100%;
  transition: width 1.5s ease;
}



/* footer */
.footer-custom {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
  color: white;
  margin-bottom: 0;
  border: none;
  min-height: 260px; /* of iets wat past bij jouw layout */
}

.footer-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.footer-background {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.4);
}

.footer-custom .container {
  position: relative;
  z-index: 2;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  color: black;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
  padding: 0;
}

.footer-icon i {
  line-height: 1;
  font-size: 18px;
}

.footer-link {
  color: white;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-item:hover .footer-icon {
  background-color: #0056d2; /* blauw */
  color: white;
  transform: scale(1.1);
  animation: pulseGlowFooter 1.2s ease-out infinite;
}

.footer-item:hover .footer-link {
  color: #0056d2;
}

/* Pulse animatie (zoals navbar) */
@keyframes pulseGlowFooter {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}








.section-second {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.second-img-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.second-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95); /* zacht effect voor betere leesbaarheid */
}

.section-second .container {
  position: relative;
  z-index: 2;
}

.maps-img-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}


.maps-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95); /* zacht effect voor betere leesbaarheid */
}




















.scroll-top-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background-color: #0056d2;
  color: white;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-top-button:hover {
  background-color: #003f9e;
  transform: scale(1.05);
}

.scroll-top-button.show {
  opacity: 1;
  visibility: visible;
}













.second-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.second-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
}

.expertise-card {
  transition: all 0.4s ease;
  transform: perspective(600px) translateZ(0);
  will-change: transform, box-shadow;
}

.expertise-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.expertise-card:hover i {
  color: #fd0d21 !important; /* Lodema blauw */
  transform: scale(1.2) rotate(2deg);
  transition: all 0.4s ease;
}

.expertise-card i {
  transition: transform 0.4s ease, color 0.4s ease;
  backface-visibility: hidden;
  transform: scale3d(1, 1, 1);
  display: inline-block;
}

.expertise-card:hover i {
  animation: pulseHover 1.2s infinite ease-in-out;
  color: #fd0d0d !important;
}

@keyframes pulseHover {
  0%, 100% {
    transform: scale3d(1, 1, 1);
  }
  50% {
    transform: scale3d(1.2, 1.2, 1.2);
  }
}









/* google maps */

.section-maps {
  margin: 0;
  padding: 0;
}

.map-responsive-full {
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.map-responsive-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}



/* Submenu functionaliteit bij hover */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-left: 0.1rem;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
  border-radius: 0.5rem;
  min-width: 200px;
}

.dropdown-submenu:hover > .dropdown-menu {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Pijl-animatie */
.submenu-arrow {
  transition: transform 0.3s ease;
}

.dropdown-submenu:hover > a .submenu-arrow {
  transform: translateX(4px) rotate(20deg);
}











.opdrachtgever-logo {
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.4s ease, opacity 0.3s ease;
  filter: grayscale(100%);
  opacity: 0.8;
  padding: 10px;
  will-change: transform;
}
.opdrachtgever-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
  animation: pulse 1.2s ease infinite;
}

@keyframes pulse {
  0% { transform: scale(1.08); }
  50% { transform: scale(1.12); }
  100% { transform: scale(1.08); }
}



/* Transparante navbar standaard */
.navbar-custom {
  transition: background-color 0.3s ease;
  background-color: white !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* Scroll status: wit met schaduw */
.navbar-scrolled {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-custom .nav-link {
  color: #222;
  transition: color 0.3s ease;
}
/* Bij scroll of lichte pagina: donkere tekst */
.navbar-custom.navbar-scrolled .nav-link {
  color: #0d2f50 !important;
}

.navbar-custom.navbar-scrolled .nav-link:hover {
  color: #0056d2 !important;
}

.navbar-custom.navbar-scrolled .contact-block a,
.navbar-custom.navbar-scrolled .contact-block .text-muted {
  color: #212529 !important;
}

.navbar-custom .nav-link:hover {
  color: #0056b3 !important;

}

.navbar-scrolled .nav-link {
  color: #0d2f50 !important;
}

.navbar-scrolled .nav-link:hover {
  color: #0d6efd !important;
}

/* Contactblok */
.contact-block {
  color: white;
}
.navbar-scrolled .contact-block {
  color: #212529;
}
.navbar-scrolled .contact-block a,
.navbar-scrolled .contact-block .text-muted {
  color: #212529 !important;
}






/* --- Navbar transparanter maken (zet dit ONDERAAN je CSS zodat het de bestaande regels overschrijft) --- */

/* --- OVERRIDE: maak navbar transparant (plak dit helemaal ONDERAAN je CSS) --- */
.navbar.navbar-custom {
  --bs-bg-opacity: .55; /* 0..1 */
  background-color: rgba(var(--bs-white-rgb, 255,255,255), var(--bs-bg-opacity)) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* Dropdowns leesbaar boven glas */
.navbar.navbar-custom .dropdown-menu {
  background-color: rgba(255,255,255,.95) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0,0,0,.06);
}

/* Bij scroll terug naar vol wit (als je .navbar-scrolled toepast) */
.navbar.navbar-custom.navbar-scrolled {
  --bs-bg-opacity: 1;
  background-color: rgba(var(--bs-white-rgb, 255,255,255), var(--bs-bg-opacity)) !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}