@import url("https://fonts.cdnfonts.com/css/avenir-lt-pro");
@import url("https://fonts.cdnfonts.com/css/faktum-test");

/* SWATCH
--yellow: #F0C12C
--navy: #192730
--light: #F1F1F9
--gray: #E3E3EA
--dark: #CFCFD5
--blue: #2E5A70
*/

:root {
  --yellow: #f0c12c;
  --navy: #192730;
  --navy-light: #2a3a4a;
  --dark: #cfcfd5;
  --light: #f1f1f9;
  --gray: #e3e3ea;
  --dark: #cfcfd5;
  --blue: #2e5a70;
  --font-family: "Faktum Test", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-style: normal;
  font-family: var(--font-family);
}

html {
  overflow-x: hidden;
  overflow-y: hidden;
  height: 100%;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
  height: 100vh;
  margin: 0;
}

nav {
  padding: 0.5rem 1rem;
  position: sticky !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background-color: white;
}

.navbar-nav .nav-link {
  position: relative;
  color: black;
}

.navbar-nav .nav-link.active {
  color: yellow;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: yellow;
  bottom: -3px;
  left: 0;
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.about,
.portfolio {
  background-color: var(--blue);
  width: 100vw;
}

.services {
  background-color: white;
  font-style: normal;
}

.contact {
  background-color: var(--navy);
}

blockquote {
  display: inline-block;
  vertical-align: middle;
}

.blockquote-footer {
  font-size: 0.9rem;
  color: #666;
}

button {
  border: none;
  outline: none;
}

.button {
  display: inline-block;
  background: var(--blue);
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: 0.3s ease;
  cursor: pointer;
}

.button:hover {
  background-color: var(--navy-light);
}

.whitespace {
  margin-top: 3rem;
}

.img-vertical {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: auto;
  height: 500px;
}

/* Card */

.card {
  background-color: var(--blue);
  border-radius: 10px;
  margin: 1rem;
  text-align: center;
  transition: ease-in-out 0.3s;
  padding: 0px;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: scale(1.015);
}

.card .card-img-top {
  transition: filter 0.3s ease;
}

.card:hover .card-img-top {
  filter: blur(5px);
  /* Adjust blur amount as needed */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
  background-color: rgba(0, 0, 0, 0.5);
  /* Adjust opacity as needed */
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-text {
  color: white;
  opacity: 1;
  /* Ensure text is visible */
  z-index: 1;
  /* Ensure text is above the blurred image */
}

.card:hover .overlay {
  opacity: 1;
}

/* Top */

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--yellow);
  color: white;
  text-align: center;
  font-size: 20px;
  line-height: 40px;
  cursor: pointer;
  z-index: 1000;
  text-decoration: none;
  transition: opacity 0.5s;
}

.back-to-top:hover {
  background-color: #efbe1e;
}

.back-to-top i {
  color: #fff;
  font-size: 1.5rem;
}

/* Squares */

.square {
  width: 200px;
  /* Adjust to fit four squares in one row */
  height: 200px;
  /* Adjust margin to make squares touch each other */
  display: flex;
}

.service-name {
  transition: opacity 0.3s ease-in-out;
}

.go {
  opacity: 0;
  transform: scale(1.5);
  color: var(--yellow);
  transition: opacity 0.3s ease-in-out, transform 0.7s ease-in-out;
  padding-top: 40px;
}

.square:hover .service-name {
  opacity: 0;
  /* Hide the service name on hover */
  transition-delay: 0.15s;
  /* Delay the transition */
}

/* Hover state of the arrow */

.square:hover .go {
  opacity: 1;
  /* Show the arrow on hover */
  transition-delay: 0.15s;
  /* No delay for the arrow */
}

.bg-square1 {
  background-color: var(--blue);
}

.bg-square2 {
  background-color: #294c61;
}

.bg-square3 {
  background-color: #1d2e3a;
}

.bg-square4 {
  background-color: var(--navy);
}

.service-icon,
.service-name {
  color: var(--yellow);
}

/* Update typography */

.about h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--yellow);
}

.special-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #666;
}

.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90vh;
  animation: slide-in-left 0.7s ease-in-out;
}

.hero-content {
  width: 50%;
}

@media (max-width: 768px) {
  .hero-section {
    justify-content: flex-start;
    padding-left: 5px; /* Adjust as needed */
    padding-right: 5px;
  }
  .hero-content {
    width: 100%;
  }
}

.hero-title {
  font-size: 48px;
  font-weight: bold;
  color: #333333;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 24px;
  color: #666666;
  margin-bottom: 40px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  /* Align items vertically */
  justify-content: space-between;
  /* Ensures text and icon are spaced between */
  padding: 15px 35px;
  background-color: var(--yellow);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.chevron-icon {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  opacity: 0;
  /* Initially hidden */
  transition: opacity 0.3s ease-in-out;
  /* Adjust transition for opacity */
  font-size: 0.75rem;
  /* Adjust size of the chevron */
  color: white;
}

.hero-button:hover,
.hero-button:hover .chevron-icon {
  background-color: #ffd64e;
  opacity: 1;
  /* Becomes visible on hover */
}

.hero-button:hover .chevron-icon {
  opacity: 1;
  /* Becomes visible on hover */
  animation: pulse 1.25s infinite;
  /* Apply the pulse animation on hover */
}

.hero-image {
  width: 30%;
  height: 75%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Media queries */

@media (max-width: 767.98px) {
  #home {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
}

@media screen and (min-width: 576px) {
  .fade-up,
  .fade-left,
  .fade-right {
    opacity: 0;
    visibility: hidden;
  }

  .fade-up.animate,
  .fade-left.animate,
  .fade-right.animate {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
  }

  .fade-left {
    transform: translateX(-10%);
    transition: transform 0.75s ease-in-out, opacity 1s ease-in-out;
  }

  .fade-right {
    transform: translateX(10%);
    transition: transform 0.75s ease-in-out, opacity 1s ease-in-out;
  }

  .fade-up {
    transform: translateY(10%);
    transition: transform 0.75s ease-in-out, opacity 1s ease-in-out;
  }

  iframe,
  .map-container {
    /* Adjust this to match the aspect ratio of your iframe */
    width: 100%;
    height: 80%;
  }
}

@keyframes slide-in-left {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }

  100% {
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    opacity: 0;
    transform: translateY(-50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translateY(-50%) scale(1.2);
  }

  100% {
    opacity: 0;
    transform: translateY(-50%) scale(1);
  }
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  overflow: auto;
  text-align: center;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  margin: 50px;
}

.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the previous arrow on the left side */

.prev {
  left: 0;
}

/* Position the next arrow on the right side */

.next {
  right: 0;
}

/* Style the previous arrow when hovering over it */

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.slider-img {
  max-width: 100%;
  /* Zorg ervoor dat de afbeeldingen de breedte van het containerdiv-element niet overschrijden */
  max-height: 100%;
  /* Zorg ervoor dat de afbeeldingen de hoogte van het containerdiv-element niet overschrijden */
  width: auto;
  /* Automatisch de breedte van de afbeeldingen aanpassen */
  height: auto;
  /* Automatisch de hoogte van de afbeeldingen aanpassen */
  margin: 0 auto;
  /* Center de afbeeldingen horizontaal */
  display: block;
  /* Zorg ervoor dat de afbeeldingen niet inline worden weergegeven */
}

.row img {
  width: 400px;
  height: 284px;
}

/* Hide the previous and next arrows on smaller screens */

@media only screen and (max-width: 700px) {
  .prev,
  .next {
    display: none;
  }
}

.mooi-img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}


.mooi-img img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.mooi-img:hover {
  animation: pulse 0.75s;
}

.dienst-img {
  width: 800px !important;
  height: 568px !important;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

#portfolio-flters {
  padding-top: 5vh;
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

#portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: #f0c12c;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

#portfolio-flters li:hover,
#portfolio-flters li.filter-active {
  color: white;
  background: #192730;
}

#portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio-h {
  text-align: center;
  justify-content: center;
  justify-self: center;
  justify-items: center;
  padding-top: 5vh;
}

.carousel-inner img {
  border-radius: 10px;
  height: auto;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
}

.enkel-mobiel-index {
  display: none;
}

.image-column-mobiel {
  display: none;
}

.button-mobile {
  display: none !important;
}

.geen-ruimte {
  padding-bottom: 1rem;
}

.hero-section {
  display: flex;
  align-items: center; /* Align text and image vertically */
  justify-content: space-between; /* Space between text and image */
  gap: 2rem; /* Adds spacing between elements */
}

.hero-content {
  flex: 1; /* Takes available space */
}

.hero-image {
  flex: 1; /* Takes available space */
  display: flex;
  justify-content: center; /* Center the image */
}
