/*
Theme Name: Bouwstock Dewulf
Theme URI: https://bouwstockdewulf.be
Author: Emiel Dewulf
Author URI: https://emieldewulf.be
Description: Thema voor Bouwstock Dewulf
Version: 1.0
Text Domain: emieldewulf
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: Proprietary
*/

/* HOME */

.hero--bg {
    position: relative;
    height: 90vh;
    width: 100%;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zorgt ervoor dat de afbeelding het hele blok vult */
    transform: scale(1.1); /* Begin iets ingezoomd */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Begin transparant */
    pointer-events: none;
}

.h--container {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    left: 50%;
}


/* openingsuren */
.opening-hours {
  grid-column-gap: 1em;
  grid-row-gap: 1em;
  color: #000;
  background-color: #fff;
  border-radius: 1.5em;
  flex-flow: column;
  width: 100%;
  max-width: 100%;
  padding: 1em .5em .5em;
  display: flex;
}

.opening-hours__top {
  justify-content: space-between;
  align-items: center;
  padding-left: .75em;
  padding-right: .5em;
  display: flex;
}

.opening-hours__title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.25em;
  font-weight: 600;
  line-height: 1.25;
}

.opening-hours__status {
  grid-column-gap: .375em;
  grid-row-gap: .375em;
  color: #c00;
  border-radius: 3em;
  justify-content: space-between;
  align-items: center;
  padding: .5em .75em .5em .625em;
  display: flex;
  position: relative;
}

[data-opening-hours-store-status="open"] .opening-hours__status {
  color: #008214;
}

.opening-hours__status-bg {
  opacity: .08;
  background-color: currentColor;
  border-radius: 50em;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.opening-hours__status-dot {
  background-color: currentColor;
  border-radius: 50%;
  width: .75em;
  height: .75em;
  position: relative;
}

.opening-hours__timetable {
  grid-column-gap: .125em;
  grid-row-gap: .125em;
  flex-flow: column;
  display: flex;
}

.opening-hours__row {
  color: #333;
  border: 1px solid #0000;
  border-radius: 50em;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: .5em .75em;
  display: flex;
}

[data-opening-hours-current-day] {
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.opening-hours__p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1em;
  font-weight: 400;
  line-height: 1;
  position: relative;
}

.opening-hours__p.is--open {
  display: none;
}

[data-opening-hours-current-day] .opening-hours__p {
  font-weight: 600;
  color: #000;
}

[data-opening-hours-store-status="open"] .opening-hours__status .opening-hours__p.is--closed {
  display: none;
}

[data-opening-hours-store-status="open"] .opening-hours__status .opening-hours__p.is--open {
  display: block;
}






.btn {
  cursor: pointer;
  border-radius: 1em;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: center;
  align-items: center;
  height: 3em;
  padding-left: 1.25em;
  padding-right: 1.25em;
  text-decoration: none;
  display: flex;
  position: relative;
  width:fit-content;
}

.btn__text {
  color: #fff;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: relative;
  transition: color 0.7s cubic-bezier(0.625, 0.05, 0, 1);
}

.btn-text-p {
  color: #000;
  white-space: nowrap;
  margin-bottom: 0;
  padding-bottom: .05em;
  margin-top:0;
  font-size: 1em;
  font-weight: 300;
  line-height: 1.2;
}

.btn__bg {
  background-color: var(--color-secondary);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}


.btn__circle-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.btn__circle {
  pointer-events: none;
  background-color: #fff;
  border-radius: 50%;
  width: 100%;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transition: transform 0.7s cubic-bezier(0.625, 0.05, 0, 1), background-color 0.4s cubic-bezier(0.625, 0.05, 0, 1);
  transform: translate(-50%, -50%) scale(0) rotate(0.001deg);
  background-color: #fff;
}

.before__100 {
  padding-top: 100%;
  display: block;
}

.btn .btn__text {
  transition: color 0.7s cubic-bezier(0.625, 0.05, 0, 1);
}

.btn:hover .btn__circle {
  transform: translate(-50%, -50%) scale(1) rotate(0.001deg);
}



.category-container {
  width: 100%;
  max-width: 76em;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2em;
  padding-right: 2em;
}

.category-collection {
  width: 100%;
  margin-top: .5em;
}

.category-container .category-item{
  margin:0;
}

.category-item__row {
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  display: flex;
  border-bottom:1px solid rgba(0, 0, 0, 0.05);
  padding:32px 0;
}

.category-item__col {
  flex: 1;
}

.category-item__col.is--large {
  max-width: 35%;
}

.category-item__col.is--medium {
  max-width: 35%;
}

.category-item__col.is--small {
  max-width: 15%;
}

.category-container__label {
  color: #0a0a0a80;
  text-transform: uppercase;
  font-size: .75em;
}

.category-list {
  flex-flow: column;
  width: 100%;
  display: flex;
  position: relative;
}

.category-item {
  width: 100%;
  transition: opacity .2s;
}

.category-item__heading {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.category-item__text {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 300;
}

.category-item__visual {
  aspect-ratio: 1 / 1.25;
  width: 20em;
  display: none;
  position: absolute;
  overflow: hidden;
}

.category-follower [data-follower-visual]{
  display: block;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.category-item__inner {
  border-top: 1px solid #00000040;
  width: 100%;
  padding-top: 2.5em;
  padding-bottom: 2.5em;
}

.category-item__visual-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.category-follower {
  z-index: 100;
  aspect-ratio: 1 / 1.25;
  pointer-events: none;
  border-radius: .75em;
  justify-content: center;
  align-items: center;
  width: 20em;
  display: flex;
  position: fixed;
  inset: 0% auto auto 0%;
  overflow: hidden;
}

.category-follower__label {
  z-index: 2;
  position: absolute;
  opacity: 0;
  transform: translate(0px, 100%);
  transition: opacity 0.1s ease, transform 0.6s cubic-bezier(0.65, 0.1, 0, 1);
}

.category-follower__label-span {
  background-color: #fff;
  border-radius: .25em;
  padding: .75em 1.25em;
  font-size: 1em;
}

.category-follower__inner {
  z-index: 2;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  display: flex;
  position: relative;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.1s ease, transform 0.6s cubic-bezier(0.65, 0.1, 0, 1);
}

.ti-widget{
  text-align:left !important;
}

@media screen and (min-width: 992px){
  .category-item:last-of-type{
    border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  }
}

@media (hover: hover) and (min-width: 992px){
  body:has( [data-follower-collection]:hover) .category-follower__inner{
    opacity: 1;
    transform: scale(1);
  }
  body:has( [data-follower-collection]:hover) .category-follower__label{
    opacity: 1;
    transform: translate(0px, 0%);
  }
  body:has( .category-item:hover) .category-item:not(:hover){
    opacity: 0.5;
  }
}

@media screen and (max-width: 991px) {
  .category-item__row {
    grid-row-gap: .5em;
  }

  .category-item__row.tabelt--hide {
    display: none;
  }

  .category-item__col.is--large {
    flex: none;
    order: -1;
    width: 100%;
    max-width: none;
  }

  .category-item__col.is--medium {
    order: -1;
    max-width: 80%;
  }

  .category-item__col.is--small {
    text-align: right;
    max-width: 20%;
  }

  .category-item__col.is--small.tablet--hide {
    display: none;
  }

  .category-list {
    grid-column-gap: 1em;
    grid-row-gap: 4em;
    flex-flow: wrap;
  }

  .category-item {
    width: calc(50% - .5em);
  }

  .category-item__heading {
    font-size: 2em;
  }

  .category-item__visual {
    border-radius: .75em;
    order: -1;
    width: 100%;
    margin-bottom: 1em;
    display: block;
    position: relative;
  }

  .category-item__inner {
    border: 1px #000;
    flex-flow: column;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
  }

  .category-follower {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .category-container {
    padding-left: 1em;
    padding-right: 1em;
  }

  .category-list {
    grid-row-gap: 3em;
  }

  .category-item {
    width: 100%;
  }
}