/* Reset en root variabelen */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --ff: 'Verdana' , sans-serif;
  --colorbackground: #f7f7f7;
  --colortekst: #000000;
  --colorprimary: #b6c99c;
  --colorsecondary: #cee0b8;
  --tertiary-color: #f4f4f4;
  --coloraccent: #95a87a;
  --h1: bold 64px/72px var(--ff);
}

/* Body en main layout */
body {
  background-color: var(--colorbackground);
  color: var(--colortekst);
  font-family: var(--ff);
}

/* Zorg dat hero-sectie correct werkt */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-section .header-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: 0px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Donkere overlay */
  z-index: 2;
  /* Lager dan de navbar */
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  margin-top: 20vh;
}

.hero-content p {
  margin-top: 175px;
  font-size: 64px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.hero-actions .button {
  display: inline-flex; /* Zorgt voor flexbox op de knop */
  align-items: center; /* Centreert de inhoud verticaal */
  justify-content: center; /* Centreert de inhoud horizontaal */
  gap: 8px; /* Ruimte tussen het icoon en de tekst */
  background: var(--coloraccent);
  color: #ffffff;
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 1.25rem 1.75rem;
  text-decoration: none;
  font-size: 20px;
  font-weight: 200;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.hero-actions .button i {
  font-size: 20px; /* Grootte van het icoon */
}

.hero-actions .button:hover {
  background: var(--colorprimary);
  color: white;
}

/* Social icons onder de knop */
.social-icons {
  display: flex;
  justify-content: center; /* Centreer de iconen */
  gap: 28px; /* Ruimte tussen iconen */
  font-size: 48px; /* Grootte van de iconen */
}

.social-icons a {
  color: white;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  transform: scale(1.2);
  color: var(--colorsecondary);
}

/* Main content styling */
.content-wrapper {
  max-width: 100%;
  margin: 0 auto;
  margin-top: 150px;
  margin-bottom: 150px;
  display: flex;
  align-items: center;
  gap: 80px;
}

.text-content {
  flex: 1;
  font-size: 18px;
  font-weight: 450;
  line-height: 28px;
  color: black;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.text-content p{
    font-size: 18px;
    font-weight: 450;
    line-height: 28px;
    color: black;
    margin-bottom: 1.5rem;
}

h1 {
  font: var(--ff);
  letter-spacing: -0.5px;
  line-height: 2.5rem;
  font-size: 40px;
  font-weight: 700;
  color: var(--coloraccent);
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

.main-content p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  opacity: 0.9;
  color: var(--colortekst);
  /* Reset van de navbar p styling */
  text-transform: none;
  font-weight: normal;
  margin: 0 0 32px 0;
}

.button-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

a.button {
  background: var(--coloraccent);
  color: #ffffff;
  padding: 1rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-align: center;
  display: inline-block;
  box-sizing: border-box; /* Zorgt ervoor dat padding en border binnen de grootte vallen */
}

a.button:hover {
  background: var(--colorprimary);
  color: white;
  transition: all 0.2s ease;
}

a.button.secondary {
  background: transparent;
  border: solid 3px var(--coloraccent);
  color: var(--colortekst); /* Maak tekstkleur consistent */
  padding: calc(1rem - 3px) calc(1.5rem - 3px); /* Verminder padding met de borderbreedte */
}

a.button.secondary:hover {
  background: var(--colorprimary);
  transition: all 0.2s ease;
}

.image-wrapper {
  flex: 1;
}

img {
  width: 700px;
  height: 450px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.unique-image img {
  width: 100%; /* Breedte aanpassen aan container */
  height: 500px; /* Maximale hoogte instellen */
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  object-fit: cover; /* Zorgt ervoor dat de afbeelding niet uitgerekt wordt */
}

.main-footer {
  padding: 40px 0;
  display: flex;
  justify-content: space-evenly;
  background-color: rgb(25, 48, 46);
  margin-top: 150px;
}

.main-footer ul {
  list-style: none;
}

.main-footer h1 {
  font-size: 22px;
  line-height: 40px;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 500;
}

.main-footer h2 {
  color: #ffffff;
  font-weight: 600;
}

.main-footer ul li a {
  color: #ffffff;
  text-decoration: none;
}

footer {
  background-color: #19302E;
  border-top: 1px solid #6EB981;
  font-size: 17px;
  padding: 15px 5px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 0px;
}

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

.footer-bottom{
  text-align: center;
  color: #ffffff;
  background-color: #19302E;
  padding-bottom: 10px;
}

.footer-bottom p{
  color: #ffffff;
  font-size: 14px;
}

.footer-bottom a{
  color: #ffffff;
}

.navi-link{
  color: #ffffff;
  text-decoration: none;
}

.navi-link:hover{
  text-decoration: underline;
}

.logoinfo p {
  color: #ffffff;
  font-size: 17px;
  margin-top: 20px;
}

.logoinfo object{
  width: 74px;
  height: 60px;
  border-radius: 12px;
}

.contact-details {
  margin-top: 0px;
}

.contact-details p{
  font-size: 16px;
}

.contact-details li {
  list-style: none;
  margin: 10px 0;
}

.contact-details li a {
  text-decoration: none;
  color: #f1f1f1;
}

.contact-details .fa {
  color: #ffffff;
  margin-right: 10px;
}

.location-details p {
  margin-top: 200px;
  color: #ffffff;
}

.sociallogos {
  padding: 4px 0;
}

.sociallogos .logobox a {
  padding: 0 8px;
  text-decoration: none;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 20px;
}

.openingstijden {
  padding: 4px 0;
}

.openingstijden p {
  line-height: 1.3;
  padding: 4px;
  color: #ffffff;
}

.com ul li {
  padding:
  4px 0;
}

a {
  color: var(--coloraccent);
  text-decoration: none !important;
}

a:hover {
  color: var(--coloraccent);
  text-decoration: none !important;
  cursor:pointer;
}

.cards {
	display: flex;
	flex-direction: row; /* Plaatst de kaarten onder elkaar */
	justify-content: center; /* Centreert de kaarten horizontaal */
	align-items: center; /* Centreert de kaarten horizontaal */
	gap: 36px; /* Ruimte tussen de kaarten */
	margin-bottom: 150px;
}

.card {
	width: 400px;
	height: 500px;
	position: relative;
	transform-style: preserve-3d;
	transition: 1.25s ease;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	border-radius: 12px;
	margin-top: 25px;
}

.card_front,
.card_back {
	position: absolute;
	height: 100%;
	width: 100%;
	border-radius: 12px;
	backface-visibility: hidden;
  -moz-backface-visibility: hidden; /* Voor Firefox */
  transform-style: preserve-3d;
}

.card_front {
	z-index: 1;
}

.card_back {
	transform: rotateY(180deg);
}

.card_front img,
.card_back img {
    width: 100%; /* Zorgt dat de breedte van de afbeelding de breedte van het kader volgt */
    height: 100%; /* Zorgt dat de hoogte van de afbeelding de hoogte van het kader volgt */
    object-fit: cover; /* Past de afbeelding aan zodat deze het hele kader vult zonder vervorming */
    border-radius: 12px; /* Houdt dezelfde afronding als het kader */
}

.card-cont:hover .card {
	transform: perspective(1250px) rotateY(180deg);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-section h2{
  display: flex;
	justify-content: center;
	text-align: center;
	font: var(--ff);
	letter-spacing: -0.5px;
	line-height: 2.75rem;
	font-size: 40px;
	font-weight: 700;
	color: var(--coloraccent);
  margin-left: 5%;
  margin-right: 5%;
	margin-bottom: 1.5rem;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
}

/* Responsive styling */
@media (max-width: 1336px) {
  .cards {
    flex-direction: row; /* Stapel kaarten onder elkaar op kleinere schermen */
    gap: 20px; /* Verminder de ruimte tussen kaarten */
    margin-bottom: 100px;
  }

  .card {
    width: 300px; /* Pas de breedte van de kaart aan */
    height: 400px; /* Pas de hoogte van de kaart aan */
  }

  .card_front img,
  .card_back img {
    width: 100%;
    height: 100%;
  }

  .service-section h2 {
    font-size: 32px; /* Verklein de tekst boven de kaarten */
    line-height: 2rem;
  }
}

@media (min-width: 1024px) {
  .content-wrapper {
    max-width: 80%;
    max-width: 1200px;
  }
}

@media (max-width: 1268px){
  .content-wrapper {
    max-width: 80%;
  }
}

@media (max-width: 960px) {
  .content-wrapper {
    flex-direction: column;
    margin-top: 50px;
    margin-bottom: 50px;
    gap: 40px;
    padding: 0 20px;
  }

  .com h1 {
    margin-top: 30px;
  }

  .info h1 {
    margin-top: 30px;
  }

  .text-content {
    max-width: 100%;
    text-align: center;
  }

  .image-wrapper {
    max-width: 100%;
    text-align: center;
  }

  .image-wrapper img {
    width: 400px;
    height: 400px;
  }

  .main-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .main-footer ul {
    padding: 0;
  }

  .main-footer h1,
  .main-footer h2 {
    font-size: 18px;
    line-height: 30px;
  }

  .contact-details li {
    font-size: 16px; /* Maak tekst kleiner voor kleinere schermen */
  }

  .main-footer ul li {
    margin: 10px 0;
  }

  .logoinfo object {
    width: 60px;
    height: 50px;
  }

  .location-details p {
    margin-top: 50px;
  }

  .openingstijden p {
    font-size: 16px;
  }

  .button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cards {
    flex-direction: column; /* Stapel kaarten onder elkaar op kleinere schermen */
    gap: 20px; /* Verminder de ruimte tussen kaarten */
    margin-bottom: 100px;
  }

  .card {
    width: 300px; /* Pas de breedte van de kaart aan */
    height: 400px; /* Pas de hoogte van de kaart aan */
  }

  .card_front img,
  .card_back img {
    width: 100%;
    height: 100%;
  }

  .service-section h2 {
    font-size: 32px; /* Verklein de tekst boven de kaarten */
    line-height: 2rem;
    margin-top: 100px;
  }
}

@media (max-width: 480px) {
  .content-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
    gap: 20px;
    padding: 0 10px;
  }

  .social-icons {
    font-size: 36px; /* Grootte van de iconen */
  }

  .contact-details p {
    font-size: 16px;
  }

  .com h1 {
    margin-top: 30px;
  }

  .info h1 {
    margin-top: 30px;
  }

  .text-content {
    max-width: 100%;
    text-align: center;
  }

  .image-wrapper {
    max-width: 100%;
    text-align: center;
  }

  .image-wrapper img {
    width: 100%;
    height: auto;
  }

  .main-footer h1,
  .main-footer h2 {
    font-size: 18px;
    line-height: 24px;
  }

  .contact-details li {
    font-size: 16px; /* Nog kleinere tekst op zeer kleine schermen */
  }

  .openingstijden p {
    font-size: 16px;
  }

  .logoinfo object {
    width: 50px;
    height: 40px;
  }

  .location-details p {
    margin-top: 30px;
  }

  .button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .header-image {
    height: 50vh; /* Nog iets kleinere hoogte op extra kleine schermen */
    object-fit: cover;
    object-position: top center; /* Pas de focus aan naar het bovenste gedeelte */
  }

  .hero-content p {
    margin-top: 175px;
    font-weight: 100;
    font-size: 36px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
  }

  h1 {
    font-size: 32px; /* Nog kleinere tekst boven de kaarten */
    line-height: 2.5rem;
  }

  .service-section h2{
    font-size: 24px; /* Nog kleinere tekst boven de kaarten */
    line-height: 2.5rem;
  }
}
