/* Non utility CSS */

body {
    overflow-x: hidden;
}


/**
 * Shortcode : [mobile_menu]
 */
#mobile-menu-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    width: 100%;
    max-height: 100vh;
    height: 100vh;
    margin: 0;
    padding: 0;
    border: none;
    background-color: var(--color-blue-900);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu-dialog.show {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu-dialog.closing {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu-dialog.closing * {
    transition: none !important;
}

#mobile-menu-dialog-header {
    display: flex;
    justify-content: space-between;
    padding: 0px 20px 30px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu-dialog.show #mobile-menu-dialog-header {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

#mobile-menu-close-button {
    margin-top: 24px;
}

#mobile-menu-open-button, #mobile-menu-close-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    height: 40px;
    width: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-list-wrapper {
    padding: 25px;
}

#mobile-menu-logo {
    max-width: 70%;
    background-color: var(--color-grey-50);
    padding: 24px;
    border-radius: 0 0 var(--default-border-radius-sm) var(--default-border-radius-sm);
}

.mobile-menu-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu-list a {
    color: var(--color-white);
    font-size: var(--font-size-700);
    font-family: 'D-DIN', sans-serif;
    font-weight: 700;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-list a.mobile-menu-link-alternative {
    font-size: var(--font-size-500);
    font-weight: 400;
}

#mobile-menu-dialog.show .mobile-menu-list a {
    opacity: 1;
    transform: translateY(0);
}

#mobile-menu-dialog.show .mobile-menu-list a:nth-child(1) { transition-delay: 0.1s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(2) { transition-delay: 0.15s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(3) { transition-delay: 0.2s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(4) { transition-delay: 0.25s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(5) { transition-delay: 0.3s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(6) { transition-delay: 0.35s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(7) { transition-delay: 0.4s; }
#mobile-menu-dialog.show .mobile-menu-list a:nth-child(8) { transition-delay: 0.45s; }

#mobile-cta-button-wrapper {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu-dialog.show #mobile-cta-button-wrapper {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

/**
 * Active menu item styling
 */
.active-menu-item {
	color: var(--color-green-500) !important;
}

.active-mobile-menu-item {
	color: var(--color-green-500) !important;
}

.active-menu-item-alternative {
	color: var(--color-blue-900) !important;
}

.active-mobile-menu-item-alternative {
	color: var(--color-blue-900) !important;
}


/**
 * Vertical text slider (one word visible at a time, sliding vertically).
 * Words container has fixed height; each word is display: block + height 100% so they stack.
 */
.vertical-text-slider__words {
    overflow: hidden;
    position: relative;
    height: 1.4em;
}

.vertical-text-slider__words::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        var(--color-green-500) 00%,
        transparent 10%,
        transparent 90%,
        var(--color-green-500) 100%
    );
    z-index: 10;
    pointer-events: none;
}

.vertical-text-slider__word {
    display: block;
    height: 100%;
    animation: vertical-slider-effect 10s infinite;
}

@keyframes vertical-slider-effect {
    10%  { transform: translateY(-102%); }
    25%  { transform: translateY(-100%); }
    35%  { transform: translateY(-202%); }
    50%  { transform: translateY(-200%); }
    60%  { transform: translateY(-302%); }
    75%  { transform: translateY(-300%); }
    85%  { transform: translateY(-402%); }
    100% { transform: translateY(-400%); }
}


/**
 * Slider
 */
.slider--single .f-carousel__dots {
    position: absolute;
    top: 92% !important;
    left: 30px !important;
    display: flex;
    justify-content: left !important;
}

.slider--single {
    margin: 0px !important;
}

.slider--multiple {
    --f-carousel-gap: 16px;
    --f-carousel-dot-bg: transparent;
    --f-carousel-dot-hover-bg: transparent;
    --f-carousel-dot-selected-bg: transparent;
    --f-progressbar-color: transparent;
}

/**
 * Select
 */
#select-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 0;
}

#select-input::-ms-expand {
    display: none;
}

#select-arrow-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    width: 1.25rem;
    height: 1.25rem;
}

.accordion-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}


/**
 * List style reset
 */
ul {
    /* list-style: none !important; */
    padding: 0 0 0px 1em !important;
    /* margin: 0 !important; */
}


/**
 * Green overlay via ::after pseudo-element with gradient.
 */
.green-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(43, 196, 138, 1), rgba(43, 196, 138, 0) 45%, rgba(0, 0, 0, 0));
    pointer-events: none;
    border-radius: var(--default-border-radius-sm);
}


/**
 * Green shadow
 */
.shadow-green-500 {
    box-shadow: 0px 8px 0px 0px var(--color-green-500);
}

@media only screen and (max-width: 980px) {
    .shadow-green-500 {
        box-shadow: 0px 4px 0px 0px var(--color-green-500);
    }
}


/**
 * Waarom Recool USP card
 */
#waarom-usp-card {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
}


/**
 * Contact form: button loader spinner (SVG dash animation)
 */
.contact-form-spinner {
    display: none;
}

.contact-form-spinner .contact-form-spinner-svg {
    width: 1.25rem;
    height: 1.25rem;
    transform-origin: center;
    animation: contact-form-rotate4 2s linear infinite;
}

.contact-form-spinner .contact-form-spinner-circle {
    fill: none;
    stroke: var(--color-white);
    stroke-width: 4;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: contact-form-dash4 1.5s ease-in-out infinite;
}

.contact-form-section button.is-loading .button-content {
    display: none;
}

.contact-form-section button.is-loading .button-spinner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@keyframes contact-form-rotate4 {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes contact-form-dash4 {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dashoffset: -125px;
    }
}


/**
* Contact form: button loader spinner (SVG dash animation)
*/
#algemene-voorwaarden-content, #privacy-statement-content, #disclaimer-content {
    ul {
        list-style: disc;
        padding-left: 20px;
    }

    h2 {
        font-size: var(--font-size-600);
        font-weight: 700;
        color: var(--color-blue-900);
    }
}


/**
* Homepage hero
*/
#homepage-hero {
    box-shadow: 0px 0px 0px 60px rgba(245, 245, 245, 1);
}

/**
 * Downloads filter custom checkbox (checkbox-wrapper)
 */
.checkbox-wrapper input[type="checkbox"] {
    display: none;
    visibility: hidden;
}

.checkbox-wrapper .checkbox {
    margin: auto;
    -webkit-user-select: none;
    user-select: none;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.checkbox-wrapper .checkbox span {
    display: inline-block;
    vertical-align: middle;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper .checkbox span:first-child {
    position: relative;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transform: scale(1);
    vertical-align: middle;
    transition: all 0.2s ease;
    background-color: var(--color-grey-50);
}

.checkbox-wrapper .checkbox span:first-child svg {
    position: absolute;
    top: 7px;
    left: 6px;
    fill: none;
    stroke: var(--color-white);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 16px;
    stroke-dashoffset: 16px;
    transition: all 0.3s ease;
    transition-delay: 0.1s;
    transform: translate3d(0, 0, 0);
}

.checkbox-wrapper .checkbox span:first-child:before {
    content: "";
    width: 100%;
    height: 100%;
    background: var(--color-green-500);
    display: block;
    transform: scale(0);
    opacity: 1;
    border-radius: 50%;
}

.checkbox-wrapper .checkbox span:last-child {
    padding-left: 0;
}

.checkbox-wrapper .checkbox:hover span:first-child {
    border-color: var(--color-green-500);
}

.checkbox-wrapper .inp-checkbox:checked + .checkbox span:first-child {
    background: var(--color-green-500);
    border-color: var(--color-green-500);
    animation: wave 0.2s ease;
}

.checkbox-wrapper .inp-checkbox:checked + .checkbox span:first-child svg {
    stroke-dashoffset: 0;
}

.checkbox-wrapper .inp-checkbox:checked + .checkbox span:first-child:before {
    transform: scale(2);
    opacity: 0;
    transition: all 0.4s ease;
}

@keyframes wave {
    50% {
        transform: scale(0.9);
    }
}


/**
 * Productenoverzicht filter: search input
 */
input#productenoverzicht-search {
    padding: 16px;
}


/**
 * Downloads filter: search input
 */
input#downloads-search {
    padding: 16px;
}


/**
 * Zoeken page: clear (X) button color
 */
#zoeken-zoekterm::-webkit-search-cancel-button {
    appearance: none;
    width: 14px;
    height: 14px;
    background-color: var(--color-blue-900);
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' d='M3 3 L11 11 M11 3 L3 11' fill='none'/%3E%3C/svg%3E");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    cursor: pointer;
}

/**
 * Contact form: input and textarea placeholder color
 */
input#contact-form-naam, input#contact-form-bedrijfsnaam, input#contact-form-plaatsnaam, input#contact-form-email, input#contact-form-telefoon, textarea#contact-form-vraag {
    padding: 16px;
}


/* 
 * Hover styles voor cirkel pijlen
 */

.arrow-theme-green {
    background-color: var(--color-green-500);
}

.arrow-theme-white {
    background-color: var(--color-white);
}

.arrow-theme-green svg path,
.arrow-theme-white svg path {
    transition: fill 0.3s ease;
}

.group-hover-card:hover .arrow-theme-green {
    background-color: var(--color-blue-900);
}
.group-hover-card:hover .arrow-theme-white {
    background-color: var(--color-green-500);
}
.group-hover-card:hover .arrow-theme-white svg path {
    fill: var(--color-white);
}

/* 
 * Home Hero Background
 */
.home-hero-bg {
    background-image: linear-gradient(transparent 95%, #f5f5f5 95%), url('/wp-content/uploads/2026/02/recool-homepage-hero-beeld.png');
}

@media (max-width: 980px) {
    .home-hero-bg {
        background-image: url('/wp-content/uploads/2026/03/recool-homepage-hero-beeld-tablet.png');
    }
}

@media (max-width: 578px) {
    .home-hero-bg {
        background-image: url('/wp-content/uploads/2026/03/recool-homepage-hero-beeld-mobiel-v2.png');
    }
}

@media only screen and (max-width: 380px) {
    .hidden-extra-small {
        display: none;
    }
}

/**
 * Pre footer contact
 */
 @media (max-width: 981px) {
    #pre-footer {
        background-image: linear-gradient(rgba(245, 245, 245, 0.65), rgba(245, 245, 245, 0.65)), linear-gradient(#f5f5f5 5%, transparent), url('/wp-content/uploads/2026/02/recool-achtergrond-graphic.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}


/**
 * Home wrapper
 */
@media (min-width: 981px) {
    #home-wrapper {
        background-image: url('/wp-content/uploads/2026/02/recool-achtergrond-element.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 980px) {
    #home-wrapper {
        background-color: var(--color-grey-50);
    }
}


/**
 * Over ons wrapper
 */
@media (min-width: 981px) {
    #over-ons-wrapper {
        background-image: url('/wp-content/uploads/2026/02/recool-achtergrond-element.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 980px) {
    #over-ons-wrapper {
        background-color: var(--color-grey-50);
    }
}


/**
 * Dienst wrapper
 */
@media (min-width: 981px) {
    #dienst-wrapper {
        background-image: linear-gradient(rgba(245, 245, 245, 1) 15%, rgba(218, 218, 218, 1) 25%, transparent 25%, rgba(0, 0, 0, 0.3) 25%, transparent 50%, transparent 75%, rgba(245, 245, 245, 1) 75%), url('/wp-content/uploads/2026/02/recool-achtergrond-element.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}


@media (max-width: 980px) {
    #dienst-wrapper {
        background-color: var(--color-grey-50);
    }
}

/**
 * Branche wrapper
 */
@media (min-width: 981px) {
    #branche-wrapper {
        background-image: linear-gradient(rgba(245, 245, 245, 1) 25%, transparent 25%, transparent 75%, rgba(245, 245, 245, 1) 75%), url('/wp-content/uploads/2026/02/recool-achtergrond-element.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 980px) {
    #branche-wrapper {
        background-color: var(--color-grey-50);
    }
}
