@charset "utf-8";

/* ==========================================
   Moderne Isotope Grid Styling
   ========================================== */

#content {max-width:1600px !important}


/* Filter Buttons */
#options,
.button-group,
.filter-button-group {
  padding-bottom: 2rem;
  text-align: center;
}

#options button,
.button-group button,
.filter-button-group button,
.button {
  display: inline-block;
  border: none;
  color: #1a1a1a;
  border-bottom: 3px solid #e0e0e0;
  margin: 0 0.75rem 0.5rem;
  background-color: transparent;
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

#options button:hover,
.button-group button:hover,
.filter-button-group button:hover,
.button:hover {
  border-bottom-color: #5896d2;
  color: #5896d2;
}

#options button.is-checked,
.button-group button.is-checked,
.filter-button-group button.is-checked,
.button.is-checked {
  border-bottom-color: #5896d2;
  color: #5896d2;
  font-weight: 600;
}

/* Grid Layout */
.grid {
  position: relative;
}

.grid-sizer {
  width: calc((100% - 40px) / 3);
}

.gutter-sizer {
  width: 20px;
}

/* Grid Items */
.list_category_item,
.project {
  position: relative;
  float: left;
  width: calc((100% - 40px) / 3);
  margin-bottom: 3rem;
}

.project {
  width: 100%;
}

.list_category_item a {
  display: block;
  text-decoration: none;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.list_category_item a:hover {
  transform: translateY(-4px);
}

.list_category_item a:hover img {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Images */
.project img,
.list_category_item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.list_category_item .label,
.project .label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 1.4;
    background-color: #5896d2;
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0 0 8px 8px;
    font-size: 1.2rem;
}

.list_category_item .label::after,
.project .label::after {
    content: '➔'; /* pijltje naar rechts */
    position: absolute;
    right: 1rem; /* ruimte vanaf de rechterkant van de label */
    top: 50%;
    transform: translateY(-50%); /* verticaal centreren */
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.list_category_item .label:hover::after,
.project .label:hover::after {
    transform: translateY(-50%) translateX(5px); /* beweegt pijltje naar rechts bij hover */
}




/* Status Labels */
#label,
#labelgroot {
    width: auto;
    overflow: hidden;
    color: #fff;
    background-color: #5896d2 !important;
    padding: 0.5rem 1rem;
    font-size: 1.1rem;
    margin-top: -2.5rem;
    position: absolute;
    top: 39px;
    border-radius: 8px 0px 8px 0;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;

}

#labelgroot {
  top: 2.5rem;
  font-size: 1.5rem;
}

.beschikbaar { background-color: #4caf50 !important; }
.onderbod { background-color: #ff9800 !important; }
.verkocht { background-color: #f44336 !important; }
.verkochtonder { background-color: #9e9e9e !important; }

/* Info Block */
.label2 {
 position: absolute;
  bottom: -2.6rem;
  width: 100%;
  background-color: #f8f9fa;
  border-radius: 0 0 8px 8px;
  display: flex;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

/* Icon Text Blocks */
.icon-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-size: 0.9rem;
  color: #333;
}

.icon-text-kop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin-bottom: 1rem;
}

.icon-text-kop h3 {
  color: #1a1a1a;
  font-size: 1.875rem;
  font-weight: 600;
  margin: 0;
}

.icon-text-kop .icon {
  width: 24px !important;
  height: auto;
}

.icon {
  width: 20px !important;
  height: auto;
  flex-shrink: 0;
}

.icon img {
  width: 100%;
  height: auto;
  display: block;
}

/* Info Blocks in Label2 */
.label2 .icon-text.blok {
  border-right: 1px solid #e0e0e0;
  flex: 1;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  font-size: 0.9rem;
  transition: background-color 0.2s ease;
}

.label2 .icon-text.blok:last-child {
  border-right: none;
}

.label2 .icon-text.blok:hover {
  background-color: #f0f0f0;
}

.icon-text.blok .icon {
  width: 16px !important;
}

.icon-text.blok span {
  color: #333;
  font-weight: 500;
}

/* Price Badge */
.icon-text.blok.prijs {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 1rem;
  border-radius: 24px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.icon-text.blok.prijs .icon {
  width: 18px !important;
}

/* Project Details Page */
#project-desc {
  float: left;
  width: 100%;
  margin-bottom: 2rem;
}

#project-desc #tags {
  margin-bottom: 1.5rem;
}

#project-desc #tags span {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  color: #ffffff;
  background-color: #5896d2;
  font-size: 0.85rem;
  text-transform: uppercase;
  border-radius: 0 24px 24px 0;
  margin: 0.5rem 0.5rem 0.5rem 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

#project-desc #tags span:after {
  right: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  border-right-color: #5896d2;
  border-width: 13px;
  margin-top: -13px;
}

#project-desc #tags span::before {
  content: "\2022";
  border-right: 2px solid rgba(255, 255, 255, 0.5);
  padding-right: 0.5rem;
  margin-right: 0.5rem;
  font-weight: bold;
}

#project-images {
  float: left;
  width: 78%;
  margin-bottom: 2rem;
  margin-right: 2%;
}

#project-spec {
  float: left;
  width: 20%;
  margin-bottom: 2rem;
}

#project-spec .icon-text {
  font-size: 1.1rem;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
}

#project-spec .icon-text .icon {
  width: 24px !important;
}

/* Slider */
#slider img {
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.flexslider .slides img {
  height: auto;
  border-radius: 8px;
}

#slider .flex-direction-nav .flex-prev {
  left: -5px !important;
  background-color: #5896d2;
  opacity: 1;
  border-radius: 0 8px 8px 0;
  transition: background-color 0.3s ease;
}

#slider .flex-direction-nav .flex-next {
  right: -5px !important;
  background-color: #5896d2;
  opacity: 1;
  border-radius: 8px 0 0 8px;
  transition: background-color 0.3s ease;
}

#slider .flex-direction-nav .flex-prev:hover,
#slider .flex-direction-nav .flex-next:hover {
  background-color: #4780b8;
}

#slider .flex-direction-nav a::before {
  color: #ffffff;
  text-shadow: none;
  font-size: 2rem;
  line-height: 2.5rem;
  opacity: 0.9;
}

#slider .flex-direction-nav a:hover::before {
  opacity: 1;
}

/* Utilities */
.clear {
  clear: both;
}

em {
  font-style: italic !important;
}
/* Container voor afbeeldingen */
.image-container {
    position: relative; /* Belangrijk voor positionering van de hover-afbeelding */
    overflow: hidden; /* Zorgt ervoor dat de inschuivende afbeelding netjes begint */
    border-radius: 8px; /* Optioneel: behoud de afgeronde hoeken van de container */
    /* De box-shadow verplaatsen we hierheen om consistent te zijn */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); 
    /* Voeg een minimale hoogte toe als de eerste afbeelding traag laadt, om layout-verschuivingen te voorkomen */
    min-height: 200px; /* Pas dit aan naar een geschikte waarde voor jouw layout */
}

/* De primaire afbeelding (blijft op zijn plaats als achtergrond) */
.image-container .main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Afgeronde hoeken voor de primaire afbeelding */
    /* Geen opacity-overgang meer voor de main-image, deze blijft zichtbaar */
}

/* De afbeelding die verschijnt bij hover en eroverheen schuift */
.image-container .hover-image {
    position: absolute;
    bottom: -100%; /* Begint volledig onder de container */
    left: 0;
    width: 100%;
    height: 100%; /* Zorgt dat de afbeelding de hele container vult */
    object-fit: cover; /* Zorgt ervoor dat de afbeelding de container bedekt zonder te vervormen */
    border-radius: 8px; /* Afgeronde hoeken voor de hover afbeelding */
    transition: bottom 0.5s ease-out; /* Animatie voor het inschuiven */
    /* Geen opacity: 0 meer, want hij schuift er overheen en wordt dan zichtbaar */
}

/* Hover effect op de link */
.list_category_item a:hover .image-container .hover-image {
    bottom: 0; /* Schuift de hover afbeelding naar boven, over de main-image heen */
    /* Geen opacity: 1 nodig, want hij is altijd zichtbaar zodra hij in het frame is */
}

/* Verwijder de schaduw op de afbeelding zelf als de container dit al doet */
.list_category_item a:hover img {
  box-shadow: none; /* De schaduw zit nu op de .image-container */
}

/* Container voor afbeeldingen 
.image-container {
    position: relative; 
    overflow: hidden; 
    border-radius: 8px; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); 
}


.image-container .main-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; 
    transition: opacity 0.3s ease;
}


.image-container .hover-image {
    position: absolute;
    bottom: -100%; 
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    border-radius: 8px; 
    transition: bottom 0.5s ease-out; 
    opacity: 0; 
}


.list_category_item a:hover .main-image {
    opacity: 0; 
}

.list_category_item a:hover .hover-image {
    bottom: 0; 
    opacity: 1; 
}


.list_category_item a:hover img {
  box-shadow: none; 
}

/* ==========================================
   Responsive Design
   ========================================== */

@media screen and (max-width: 1199px) {
  #headertext2 h1 {
    display: none;
  }

  #headertext2 {
    height: 15vw !important;
    padding: 2% 2.5rem 0 !important;
  }

  .icon-text.blok {
    padding: 0.5rem;
    font-size: 0.85rem;
  }

  .label2 {
    bottom: -2rem;
  }

  #label,
  #labelgroot {
    bottom: 1.8rem;
  }

  .list_category_item .label,
  .project .label {
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 1024px) {
  #contentwrapper {
    margin: 0;
  }

  #footer-left {
    width: 30%;
  }

  #footer-right {
    width: 70%;
  }
}

@media screen and (max-width: 980px) {
  .grid-sizer {
    width: calc((100% - 20px) / 2);
  }

  .list_category_item,
  .project {
    width: calc((100% - 20px) / 2);
    margin-bottom: 2.5rem;
  }

  .gutter-sizer {
    width: 20px;
  }
}

@media screen and (max-width: 860px) {
  .icon-text {
    flex: 1;
    justify-content: center;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }

  #project-spec {
    float: left;
    width: 100%;
    margin-bottom: 2rem;
    margin-top: 1.5rem;
  }

  #project-desc,
  #project-images {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  #label,
  #labelgroot {
    bottom: 1.8rem;
    font-size: 1rem;
  }

  .list_category_item .label,
  .project .label {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  #headerwrapper {
    padding-bottom: 5.5rem;
  }

  #content {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  #footer-left {
    width: 100%;
    text-align: center;
  }

  #footer-right {
    width: 100%;
    padding-bottom: 3rem;
  }

  .bottomlink {
    display: none;
  }

  h1,
  h6,
  h4 {
    margin-bottom: 2.5rem;
  }

  h1:before,
  h4:before {
    margin-bottom: 1.25rem;
  }

  td {
    width: 100%;
    display: block;
    clear: left;
    vertical-align: top;
  }
}

@media screen and (max-width: 600px) {
  #options button,
  .button-group button,
  .filter-button-group button,
  .button {
    border-bottom-width: 2px;
    font-size: 0.9rem;
    margin: 0 0.25rem 0.5rem;
    padding: 0.4rem 0;
  }

  .grid-sizer {
    width: 100%;
  }

  .list_category_item,
  .project {
    width: 100%;
    margin-bottom: 2.5rem;
  }

  .gutter-sizer {
    width: 0;
  }

  .icon-text.blok.prijs {
    font-size: 1.1rem;
    padding: 0.4rem 0.75rem;
    top: 0.75rem;
    right: 0.75rem;
  }

  #top-left {
    width: 70%;
  }

  #top-right {
    width: 30%;
  }

  #top-right i {
    border-right: none;
    color: #ffffff;
    padding-right: 0;
    margin-right: 0;
  }

  #top-right span {
    display: none;
  }

  #top-right a,
  .bottomlink {
    font-size: 1.125rem;
  }

  #navwrapper,
  #header {
    min-height: auto;
  }

  #logo img {
    height: 50px;
    margin-bottom: 1rem;
  }

  #navprepend {
    top: 135px;
  }

  #footer .mx_contact_form_row {
    width: 100%;
    padding-right: 0;
  }

  #footer .mx_contact_form_row:nth-of-type(4) {
    margin-top: 0;
    padding-left: 0;
  }

  #copy {
    padding-right: 0;
  }

  h1,
  h6 {
    font-size: 2rem;
  }
}