/* 25-6 3 uur */ 
body {
  margin: 0;
   font-family: 'Lato', sans-serif;
  background-color: white;
  color: black;
}

/* Topbar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: white;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.topbar-titelpagina {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
}

.topbar-titelpagina a {
  color: #2072b9;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  transition: color 0.3s;
}

.topbar-titelpagina a:hover {
  color: #201e41;
}
.afbeeldingheader img {
  width: auto;
  height: 90px;
  align-items: center;
}

.topbar-contact {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.topbar-contact a {
  color: #2072b9;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  transition: color 0.3s;
}

.topbar-contact a:hover {
  color: #201e41;
}

/* Navigatiebalk */
nav {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #201e41;
  z-index: 999;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  height: 60px;
}

nav ul li {
  flex: 1;
  text-align: center;
}

nav ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
  padding: 0 20px;
  color: white;
  text-decoration: none;
  font-family: 'Montserrat';
  font-weight: 700;
  font-size: 25px;
  font-style: italic;
  box-sizing: border-box;
  border: 2px solid transparent;
  transition: background-color 0.3s, color 0.3s, border 0.3s;
}

nav ul li a:hover {
  background-color: #2072b9;
  color: white;
  border: 2px solid #201e41;
}

/* Afbeeldingen sectie */
.gallery-text {
  padding: 20px 20px;              /* Meer ruimte boven/onder */
  max-width: none;                 /* Verwijder beperking van 800px */
  display: flex;
  justify-content: left;
}

.content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
  max-width: 1300px;
  width: 100%;
  justify-content: flex-start;     /* <-- tekst meer naar links */
}


.text-col {
  flex: 1 1 650px;
  max-width: 800px;
  text-align: left;
}

.fb-col {
  position: relative;
  width: 360px;                 /* 500 * 0.5 → breedte van geschaalde iframe */
  height: 400px;              /* 737 * 0.5 = 368.5 → hoogte van geschaalde iframe */
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-left: auto;
}

.fb-scale-wrapper {
  transform: scale(0.8);
  transform-origin: top left;
  width: 500px;
  height: 737px;
}

.fb-scale-wrapper iframe {
  width: 500px;
  height: 737px;
  border: none;
}


.gallery-text h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  font-style: italic;
  color: #2072b9;
}

.gallery-text p {
  color: black;
}

.gallery {
  margin-top: 0px;
  display: flex;
  justify-content: center;
  gap: 20px;          /* ruimte tussen items */
  padding: 0px;      /* ruimte rondom gallery */
}

.gallery .item {
  width: 340px;       /* breder gemaakt */
  height: 310px;      /* totaal hoogte (tekst + afbeelding) */
  perspective: 1000px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.item-header {
  height: 50px;
  background-color: #201e41;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  font-style: italic;
  text-align: center;
  line-height: 50px;       /* zorgt dat tekst verticaal gecentreerd is */
  border-bottom: none;
  border-radius: 8px 8px 0px 0px; /* afgeronde hoeken boven */
  box-sizing: border-box;
  flex-shrink: 0;
}

.flip-card {
  width: 100%;
  height: 260px;       /* resterende hoogte voor afbeelding */
  position: relative;
  flex-grow: 1;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.item:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  box-sizing: border-box;
  border: none;
  border-radius: 0 0 8px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flip-card-back {
  background-color: #2072b9;
  color: white;
  transform: rotateY(180deg);
  padding: 20px;
  text-align: center;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro {
  position: relative;
  margin-top: 160px; /* zorgt dat het niet achter de navigatie valt */
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.intro-slider {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.8s ease-in-out;
}

.intro-slide {
  position: relative;
  width: 50%;
  height: 100%;
}

.intro-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: #2072b9;
  padding: 20px 40px;
  border-radius: 8px;
  max-width: 75%;
  transition: opacity 0.6s ease, transform 0.6s ease;
  cursor: pointer;
}

.intro-text:hover {
  opacity: 0;
}

.intro-text h1 {
  margin: 0;
  font-size: 36px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: italic;
}

.intro-text p {
  margin: 10px 0 0;
  font-size: 18px;
}

.intro-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(32, 30, 65, 0.75);
  color: white;
  font-size: 30px;
  line-height: 48px;
  text-align: center;
  cursor: pointer;
  z-index: 10;
}

.intro-arrow:hover {
  background-color: rgba(32, 114, 185, 0.9);
}

.intro-arrow-left {
  left: 16px;
}

.intro-arrow-right {
  right: 16px;
}

.introverhuurreachtrucks {
  position: relative;
  margin-top: 160px; /* zorgt dat het niet achter de navigatie valt */
  display: flex;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.introverhuurreachtrucks img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.introverhuurreachtrucks-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  background-color: #2072b9;
  padding: 20px 40px;
  border-radius: 8px;
  transition: opacity 0.6s ease, transform 0.6s ease;
  cursor: pointer;
}

.introverhuurreachtrucks-text:hover {
  opacity: 0;
}

.introverhuurreachtrucks-text h1 {
  margin: 0;
  font-size: 36px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-style: italic;
}

.introverhuurreachtrucks-text p {
  margin: 10px 0 0;
  font-size: 18px;
  font-style: italic;
}

.Verhuur {
  padding: 20px;
  max-width: 1200px;
  margin: 0px auto 40px; /* ruimte boven zodat het niet onder de vaste navigatie valt */
  box-sizing: border-box;
}

.Verhuur h1{
  color: #2072b9;
}

.Verhuurmain {
  padding: 20px;
  max-width: 1200px;
  margin: 160px auto 0px; /* ruimte boven zodat het niet onder de vaste navigatie valt */
  box-sizing: border-box;
}

.Verhuurmain h1{
  color: #2072b9;
}

.verhuur-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background-color: #fafafa;
  border-radius: 8px;
  
}

.verhuur-info {
  flex: 1;
  margin-right: 20px;
}

.verhuur-info h2{
  color: #2072b9;
}

.specificaties {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specificaties li {
  display: grid;
  grid-template-columns: 80px 1fr; /* vaste kolom voor iconen */
  align-items: center;
  column-gap: 12px;
}

.specificaties li .icon {
  height: 65px;
  width: auto;
  display: block;
  margin: 0 auto;        /* centreren in de kolom */
}


.verhuur-afbeelding {
  flex-shrink: 0;
  width: 500px; /* vaste breedte afbeelding container */
}

.verhuur-afbeelding img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.gallery-verhuur {
  margin-top: 25px;
  display: flex;
  justify-content: center;
  gap: 20px;          /* ruimte tussen items */
  padding: 10px;
}

.gallery-verhuur .item {
  width: 340px;       /* breder gemaakt */
  height: 310px;      /* totaal hoogte (tekst + afbeelding) */
  perspective: 1000px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-verhuur a.item-header {
  display: block;
  height: 50px;
  background-color: #201e41;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 22px;
  font-style: italic;
  text-align: center;
  line-height: 50px;
  border-bottom: none;
  border-radius: 8px 8px 0px 0px;
  box-sizing: border-box;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, border 0.3s;
}

.gallery-verhuur a.item-header:hover {
  background-color: #2072b9;
  color: white;
  border: 2px solid #201e41;
}

.afbeeldingcontact img {
display: block;
margin: 0 auto;
width: 60%;
}



/* --- MEDIA QUERIES --- */

@media (max-width: 768px) {
  /* Topbar: logo kleiner */
  .afbeeldingheader {
    display: flex;
    justify-content: center;
  }

  .afbeeldingheader img {
    width: 50% ;
    height: auto ;
    align-self: center;
  }

  .topbar-contact a {
    font-size: 10px;
  }

  .topbar-titelpagina a {
    font-size: 10px;
  }
  /* Navigatie: direct onder topbar */
  nav {
    position: fixed;
    top: 100px;
    left: 0;
    width: 100%;
    background-color: #201e41; /* donkerblauw */
    z-index: 999;
  }

  nav ul {
    display: flex;
    flex-direction: column;  /* verticaal */
    margin: 0;
    padding: 0;
    list-style: none;
    height: auto; /* niet vast */
    align-items: stretch; /* breedte vullen */
  }

  nav ul li {
    flex: none;      /* geen flex-grow */
    text-align: center;
  }

  nav ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;  /* vaste hoogte */
    padding: 0 20px;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 15px;
    font-style: italic;
    box-sizing: border-box;
    border: 2px solid transparent;
    background-color: #201e41; /* donkerblauw */
    transition: background-color 0.3s, color 0.3s, border 0.3s;
  }

  nav ul li a:hover,
  nav ul li a:focus {
    background-color: #2072b9; /* lichtblauw */
    color: white;
    border: 2px solid #201e41;
  }

  /* Intro sectie: voldoende marge onder fixed nav */
  .intro {
    margin-top: 250px; /* 100 topbar + 60 nav */
    height: 400px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  /* Intro tekst hoger */
  .intro-text {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    padding: 15px 25px;
  }

  .intro-text h1 {
    font-size: 24px;
  }

  .intro-text p {
    font-size: 16px;
  }

  .intro-arrow {
    width: 40px;
    height: 40px;
    font-size: 24px;
    line-height: 40px;
  }

  .intro-arrow-left {
    left: 10px;
  }

  .intro-arrow-right {
    right: 10px;
  }


  
  .introverhuurreachtrucks {
    margin-top: 250px; /* 100 topbar + 60 nav */
    height: 400px;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  /* Intro tekst hoger */
  .introverhuurreachtrucks-text {
    top: 40%;
    left: 50%;
    transform: translate(-50%, -40%);
    padding: 15px 25px;
  }

  .introverhuurreachtrucks-text h1 {
    font-size: 24px;
  }

  .introverhuurreachtrucks-text p {
    font-size: 16px;
  }

  /* Gallery layout mobiel */
  .gallery {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .gallery .item {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

  .gallery-verhuur {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .gallery-verhuur .item {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
  }

 .fb-col {
    width: 280px;
    height: 413px;
    margin-left: auto;
    margin-right: auto;
  }

  .fb-scale-wrapper {
    transform: scale(0.56);
    transform-origin: top left;
    width: 500px;
    height: 737px;
  }
  .content-wrapper {
    gap: 10px;
  }

  .Verhuurmain {
    margin-top: 220px; /* genoeg ruimte onder de verticaal gestapelde nav */
  }

   .verhuur-item {
    flex-direction: column; /* afbeelding onder de tekst */
    align-items: flex-start; /* optioneel, zodat alles links uitgelijnd is */
    gap: 15px; /* ruimte tussen tekst en afbeelding */
  }

  .verhuur-afbeelding {
    width: 100%; /* afbeelding neemt volledige breedte */
  }

  .verhuur-afbeelding img {
    width: 100%;
    height: auto;
  }

  .afbeeldingcontact img {
display: block;
margin: 0 auto;
width: 100%;
}
}
