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

/* BUTTONS */
.btn-group {
  grid-column-gap: 3em;
  grid-row-gap: 3em;
  justify-content: center;
  font-size: 16px;
  display: flex;
  width:fit-content;
}

.btn-bubble-arrow {
  border-radius: 10em;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  position: relative;
}

.btn-bubble-arrow__arrow {
  color: #131313;
  background-color: var(--primary-color);
  border-radius: 10em;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  display: flex;
  position: relative;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: scale(0) rotate(0.001deg);
  transform-origin: left;
}

.btn-bubble-arrow__arrow.is--duplicate {
  z-index: 2;
  background-color: var(--primary-color);
  position: absolute;
  right: 0;
}

.btn-bubble-arrow__arrow-svg {
  width: 40%;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: rotate(0.001deg);
  filter:brightness(100);
}

.btn-bubble-arrow__arrow.is--duplicate {
  position: absolute;
  z-index: 2;
  right: 0;
  transform: scale(1) rotate(0.001deg);
  transform-origin: right;
}

.btn-bubble-arrow__content {
  color: #FFF;
  background-color: var(--primary-color);
  border-radius: 10em;
  justify-content: center;
  align-items: center;
  height: 48px;
  padding-left: 32px;
  padding-right: 32px;
  display: flex;
  position: relative;
  transition: transform 0.735s cubic-bezier(0.625, 0.05, 0, 1);
  transform: translateX(-48px) rotate(0.001deg);
}

.btn-bubble-arrow__content-text {
  line-height: 1;
}

/* Hover */

.btn-bubble-arrow:hover .btn-bubble-arrow__content {
  transform: translateX(0em) rotate(0.001deg);
}

.btn-bubble-arrow:hover .btn-bubble-arrow__arrow-svg {
  transform: rotate(-45deg);
}

.btn-bubble-arrow:hover .btn-bubble-arrow__arrow {
  transform: scale(1) rotate(0.001deg);
}

.btn-bubble-arrow:hover .btn-bubble-arrow__arrow.is--duplicate {
  transform: scale(0) rotate(0.001deg);
}


.scroll-to-btn {
    background: var(--primary-color);
    width: 48px;
    height: 48px;
    display: flex;
    align-items:center;
    justify-content:center;
    z-index: 2;
    position: relative;
    border-radius: 100%;
    animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-to-btn:hover {
    animation-play-state: paused;
}
.scroll-to-btn img{
    width:16px;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(8px);
    }
}



/* Custom List - SVG checkmark */
.list--check {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.list--check li {
  padding-left: 24px;
  position: relative;
}

.list--check li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.3337 4L6.00033 11.3333L2.66699 8' stroke='%234179A8' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.list--check.circle li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2216%22%20height%3D%2216%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M14.6663%207.38674V8.00007C14.6655%209.43769%2014.2%2010.8365%2013.3392%2011.988C12.4785%2013.1394%2011.2685%2013.9817%209.88991%2014.3893C8.5113%2014.797%207.03785%2014.748%205.68932%2014.2498C4.3408%2013.7516%203.18944%2012.8308%202.40698%2011.6248C1.62452%2010.4188%201.25287%208.99212%201.34746%207.55762C1.44205%206.12312%201.99781%204.75762%202.93186%203.66479C3.86591%202.57195%205.1282%201.81033%206.53047%201.4935C7.93274%201.17668%209.39985%201.32163%2010.713%201.90674M14.6663%202.66674L7.99968%209.34007L5.99968%207.34007%22%20stroke%3D%22%234179A8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}


/* Diensten Slider - Mobile */
.diensten-slider .splide__slide {
  height: auto;
}

.diensten-slide {
  background: var(--background-gray);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.diensten-slide__img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.diensten-slide__content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content:space-between;
}

.diensten-slide__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
}

.diensten-slider .splide__pagination {
  bottom: -32px;
}

.diensten-slider .splide__pagination__page.is-active {
  background: var(--primary-color);
}
.diensten-slide{
  transition:all .3s ease;
}

.diensten-slide:hover{
  transform:scale(1.02);
}


/* Diensten Archive Listing */
.dienst-card {
  transition: transform 0.2s ease;
}
.dienst-card:hover {
  transform: scale(1.01);
}
.dienst-card__img {
  width: 380px;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .dienst-card__img {
    width: 100%;
  }
}

/* Timeline - Hoe werken wij */
.timeline {
  width: 48px;
  flex-shrink: 0;
}

.timeline__line {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background-color: #d1dce6;
}

.timeline__line-fill {
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  background-color: var(--primary-color);
}

.timeline__dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #d1dce6;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  z-index: 1;
  transition: background-color 0.4s ease;
}

.timeline__dot.is--active {
  background-color: var(--primary-color);
}

/* CTA Section */
.cta-section {
  position: relative;
  background-image: url('/wp-content/uploads/2026/01/hero-image.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
}

/* Breadcrumb Mobile Back Link */
.breadcrumb-back {
  display: none;
}
@media (max-width: 1024px) {
  .breadcrumb-back {
    display: flex;
    align-items: center;
    gap: 8px;
  }
}

/* Realisaties Archive Card */
.realisatie-card {
  text-decoration: none;
  color: inherit;
}

.realisatie-card__content {
  opacity: 0.4;
  transition: opacity 0.4s ease;
}

.realisatie-card__details {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, max-height 0.4s ease;
}

.realisatie-card__images {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  min-width: 0;
}

.realisatie-card__images img {
  width: 50%;
  min-width: 0;
}

.realisatie-card:hover .realisatie-card__content {
  opacity: 1;
}

.realisatie-card:hover .realisatie-card__details {
  opacity: 1;
  max-height: 200px;
}

.realisatie-card:hover .realisatie-card__images {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .realisatie-card__content {
    opacity: 1;
  }
  .realisatie-card__details {
    opacity: 1;
    max-height: none;
  }
  .realisatie-card__images {
    opacity: 1;
    transform: none;
  }
  .realisatie-card__images img {
  width: 100%;
  min-width: 0;
}
}

/* FAQ Accordion */
.faq-accordion__icon {
  flex-shrink: 0;
  transition: transform 0.4s ease;
}

.faq-accordion__item.is--open .faq-accordion__icon {
  transform: rotate(45deg);
}

/* contactform */
.wpforms-container input, .wpforms-container select{
  border:none !important;
  height:60px !important;
  border-radius:10px !important;
}
.wpforms-container textarea{
  border:none !important;
  border-radius:10px !important;
}
.wpforms-field-label{
  font-weight:500 !important;
}
.wpforms-submit {
    width: 100% !important;
    height: 60px !important;
    border-radius: 40px !important;
    background: #4179A8 !important;
}

.wpforms-submit:hover{
  transform:scale(1.02);
  opacity:.9;
}

.text--link, .social-icon{
  transition:all .3s ease;
}
.text--link:hover, .social-icon:hover{
  color:var(--primary-color);
  opacity:1;
 
}

.social-icon:hover{
 transform:scale(1.2);
}