/*
Theme Name: Van Langen Installatietechniek
Text Domain: vanlangen
Version: 1.0
Description: Custom WordPress theme for Van Langen Installatietechniek
Tags: installation, technology, engineering
Author: Jarmo Roos
Author URI: https://www.lemonscript.nl
Theme URI: https://www.lemonscript.nl
Requires at least: 6.0
Tested up to: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

html {
    margin: 0px;
    scroll-padding-top: 90px;
    scroll-behavior: smooth;
}
body {
    margin: 0px;
	padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}
:root {
    --black: #000;
    --white: #FFF;
    --orange: #F6961B;
    --blue: #10BED5;
    --lightBlue: #E8F9FB;
    --green: #43AD4B;
    --textGray: #9F9F9F;
}
h1, h2, h3, h4 {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
h2 {
    font-size: 28px;
}
p, a, li, span, strong, button, legend {}
p {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 18px;
    line-height: 26px;
}
img {
    display: block;
}
textarea {
    resize: none;
}
select {
    -webkit-appearance: none;
}
button:hover {
    cursor: pointer;
}
textarea {
    resize: none;
}
input[type="submit"] {
    -webkit-appearance: none;
}
img {
    width: 100%;
}
video {
    width: 100%;
}
#main {
    max-width: 2000px;
    margin: 0 auto;
}
.container {
    width: 100%;
    margin: 0 auto;
    max-width: 1310px;
    padding: 0px 25px;
    box-sizing: border-box;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 100px;
    text-decoration: none;
    color: white;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    -webkit-transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.button:hover {
    transform: scale(1.05);
    -webkit-transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.button.orange {
    background-color: var(--orange);
    color: white;
}
.button.blue {
    background-color: var(--blue);
    color: white;
}
.button.black {
    background-color: black;
    color: white;
}
.button.transparent {
    background: none;
}
.button.blue.transparent {
    color: var(--blue);
}
.button.transparent.border {
    border: 2px solid white;
    color: white;
}
.button.transparent.black-border {
    border: 2px solid black;
    color: black;
}
header {
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translate(-50%, 0%);
    z-index: 99;
    width: 95%;
    max-width: 1310px;
    height: 70px;
    border-radius: 20px;
    -webkit-transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.sticky-header header {
    top: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(15px);
    -webkit-transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.header-contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
header .logo {
    max-width: 150px;
    -webkit-transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
header .logo img {
    filter: brightness(0) invert(1);
}
.sticky-header header .logo img,
body.show-fullscreen-nav header .logo img {
    filter: brightness(0) invert(0);
}
.header-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}
.header-nav .button.orange {
    display: none;
}
#hamburger-menu {
    text-transform: uppercase;
    padding: 7px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border: 2px solid white;
    color: white;
}
.sticky-header #hamburger-menu,
body.show-fullscreen-nav #hamburger-menu {
    border: 2px solid black;
    color: black;
}
#hamburger-menu .hamburger-icon {
    display: block;
    font-size: 28px;
}
#hamburger-menu .close-icon {
    display: none;
    font-size: 28px;
}
body.show-fullscreen-nav #hamburger-menu .hamburger-icon {
    display: none;
}
body.show-fullscreen-nav #hamburger-menu .close-icon {
    display: block;
}
#fullscreen-nav {
    position: fixed;
    inset: 0;
    z-index: -10;
    opacity: 0;
    background-color: var(--lightBlue);
    -webkit-transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
body.show-fullscreen-nav {
    overflow: hidden;
    height: 100%;
}
.show-fullscreen-nav #fullscreen-nav {
    z-index: 98;
    opacity: 1;
    -webkit-transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
    transition: all .3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
#fullscreen-nav .container {
    height: 100%;
}
#fullscreen-nav .columns {
    margin-top: 120px;
    position: relative;
    height: calc(100% - 150px);
}
.main-nav ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
.main-nav ul li {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
    font-size: 28px;
    padding: 8px 0px;
}
.main-nav ul li a {
    text-decoration: none;
    color: black;
}
.main-nav ul li a:hover {
    background: linear-gradient(45deg, #34D0E5, #101010);
    -webkit-background-clip: text;
    -webkit-text-fill-color: #fff0;
    background-clip: text;
    display: inline-block;
}
.secondary-nav {
    margin-top: 50px;
}
.secondary-nav ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}
.secondary-nav ul li {
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    padding: 3px 0px;
}
.secondary-nav ul li a {
    text-decoration: none;
    color: black;
}
#fullscreen-nav .column.right {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
}
#fullscreen-nav .nav-image {
    display: none;
}
#fullscreen-nav .usps {
    display: none;
}
#fullscreen-nav .nav-meta {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
#fullscreen-nav .nav-meta .showroom-address {
    margin-bottom: 0px;
}
#about {
    padding: 50px 0px;
}
#about .about-us-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
    gap: 25px;
}
#about .about-us-inner .column.left .subtitle {
    font-size: 24px;
    margin: 0px;
    color: var(--blue);
}
#about .about-us-inner .column.left h2 {
    margin-top: 5px;
}
#about .about-us-inner .column img {
    border-radius: 20px;
}
.service-content .column.left p strong {
    font-size: 18px;
    font-weight: 600;
}
.service-content .column.left h3 {
    color: var(--blue);
    font-weight: 600;
    font-size: 22px;
}
.service-content ul {
    margin: 0px;
    padding-left: 25px;
    list-style-type: none;
}
.service-content ul li {
    position: relative;
    font-size: 18px;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    margin: 15px 0px;
    padding-left: 5px;
}
.service-content ul li::before {
    content: "";
    position: absolute;
    left: -25px;
    top: 2px;
    background-image: url('./assets/img/checkmark.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
}
.service-content .buttons {
    margin: 50px 0px;
}
.service-content .column-content {
    position: relative;
}
.service-content .numbers {
    position: absolute;
    top: -35px;
    left: 25px;
    margin: 0px;
}
.service-content .numbers .number {
    width: auto;
}
.whatsapp-button {
    padding: 15px 20px;
    display: inline-block;
    background-color: #2DB742;
    color: white;
    border-radius: 100px;
    text-align: center;
    text-decoration: none;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-size: 15px;
}
.whatsapp-button .button-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.whatsapp-button .button-content .status {
    font-size: 10px;
    height: 10px;
    line-height: 10px;
    background-color: #45CE5A;
    padding: 5px 10px;
    border-radius: 100px;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
}
#header-vacancy .whatsapp-button span {
    display: flex;
}
.showroom-address {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.showroom-address i {
    color: var(--blue);
    font-size: 50px;
}
.cta-intro {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin: 25px 0px;
}
.cta-intro p {
    font-weight: 600;
}
.numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 25px 0px;
}
.numbers .number {
    width: 49%;
    margin-bottom: 10px;
    border-radius: 20px;
    background-color: var(--lightBlue);
}
.numbers .number .number-content {
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
}
.numbers .number .number-content p {
    margin: 0px;
}
.numbers .number .number-content p:first-child {
    font-size: 26px;
    font-weight: 600;
}
.numbers .number .number-content p:last-child {
    font-size: 22px;
    font-weight: 200;
}
#steps {
        margin-bottom: 50px;
    }
#steps .steps-inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 25px;
}
.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
    gap: 20px;
}
.steps .step {
    background-color: var(--lightBlue);
    border-radius: 20px;
}
.steps .step.cta-step {
    background-color: var(--blue);
}
.steps .step.cta-step h3 {
    color: white;
}
.steps .step.cta-step .button {
    display: inline-block;
    width: fit-content;
}
.steps .step .step-content {
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
}
.steps .step .step-content .step-name {
    font-size: 22px;
    margin: 0px;
}
.steps .step .step-content h3 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 10px;
}
.divider {
    width: calc(100% - 50px);
    max-width: 1310px;
    margin: 0 auto;
    opacity: 0.4;
    margin-top: 50px;
    margin-bottom: 50px;
}
.filter-wrapper {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch; /* Luxe scroll op iPhone */
    padding: 5px 0 20px 0; /* Ruimte voor de hover-effecten */
    margin-bottom: 40px;
    scrollbar-width: none; /* Verbergt scrollbar in Firefox */
}

/* Verberg scrollbar in Chrome/Safari/Edge */
.filter-wrapper::-webkit-scrollbar {
    display: none;
}

/* 2. De Lijst: Flexbox zonder wrapping */
.project-filters {
    display: flex;
    flex-wrap: nowrap; /* Forceert alles op één rij */
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 12px;
}

/* 3. De Knoppen: Styling & Interactie */
.filter-item {
    display: inline-block;
    padding: 12px 24px;
    background: none;
    color: var(--blue);
    border-radius: 50px; /* Mooie ronde pill-shape */
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex: 0 0 auto; /* Cruciaal: voorkomt dat knoppen kleiner worden */
    border: 1px solid var(--blue);
    user-select: none;
    font-family: "Outfit", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
.filter-item:last-child {
	margin-right: 100px;
}

/* Hover & Active states */
.filter-item:hover {
    color: white;
    background-color: var(--blue);
}

.filter-item.active {
    background-color: var(--blue);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

#projecten {
    margin-bottom: 50px;
}
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    transition: all 0.4s ease-in-out;
}

.project-card {
    position: relative;
    transition: opacity 0.4s ease, transform 0.4s ease;
    display: block; /* We gebruiken jQuery .show()/.hide() of .fadeIn() */
}

/* Optioneel: animatie wanneer een kaart verschijnt */
.project-card[style*="display: block"] {
    animation: fadeInScale 0.4s forwards;
}

.project-card::after {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(
        45deg, 
        rgba(16, 16, 16, 0.8) 30%, 
        rgba(52, 208, 229, 0.8) 100%
    );
    border-radius: 20px;
}
.project-card img {
    border-radius: 20px;
}
.project-card .project-card-content {
    position: absolute;
    z-index: 3;
    left: 25px;
    bottom: 25px;
    right: 25px;
}
.project-card .project-card-content h3 {
    color: white;
    font-size: 26px;
    margin: 0px;
    margin-bottom: 10px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
#team-swiper {
    overflow: hidden;
    margin-top: -100px;
}
#team-swiper .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    -o-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}
#team-swiper .swiper-slide {
    position: relative;
    transform: translateY(0);
    will-change: transform, opacity;
}
#team-swiper .swiper-slide .slide-contents {
    position: absolute;
    z-index: 1;
    bottom: 50px;
    right: 0px;
    background-color: var(--lightBlue);
    border-radius: 20px;
    min-width: 200px;
}
#team-swiper .swiper-slide .slide-contents .slide-contents-inner {
    padding: 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    gap: 10px;
}
#team-swiper .swiper-slide .slide-contents .slide-contents-inner h3 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 5px;
}
#team-swiper .swiper-slide .slide-contents .slide-contents-inner p {
    font-size: 22px;
    font-weight: 200;
    margin: 0px;
}
#contact {
    z-index: 2;
    position: relative;
    margin-top: -100px;
}
#contact .contact-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    gap: 25px;
}
#contact .contact-inner .column {
    width: 100%;
    background-color: var(--lightBlue);
    border-radius: 20px;
    opacity: 0;
    transform: translateY(40px);
    will-change: transform, opacity;
}
#contact .contact-inner .column .column-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: column;
    gap: 25px;
}
#contact .contact-inner .column .column-inner .column-top-content {
    padding: 25px 25px 0px 25px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
    gap: 25px;
}
#contact .contact-inner .column .column-inner h3 {
    font-size: 28px;
    margin: 0px;
}
#contact .contact-inner .column .column-inner p {
    font-size: 18px;
    margin: 0px;
}
#contact .contact-inner .column .column-inner p a {
	color: black;
	text-decoration: none;
}
#contact .contact-inner .column .column-inner .button {
    display: inline-block;
    width: fit-content;
    margin: 25px;
}
#footer {
    max-width: 2000px;
    margin: 0 auto;
    background-color: var(--blue);
    padding: 110px 0px 50px 0px;
    position: relative;
}
.footer-contents {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    flex-direction: column;
    gap: 25px;
}
#footer .footer-logo {
    max-width: 200px;
    margin: 0 auto;
}
#footer h3 {
    margin-top: 0px;
    color: white;
}
#footer p {
    color: white;
}
#footer p a {
	text-decoration: none;
    color: white;
}
#footer .copyright {
    text-align: center;
}
#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    border-bottom-left-radius: 100px;
    border-bottom-right-radius: 100px;
    background-color: white;
    z-index: 1;
}
.templates-team #footer::before {
    display: none;
}
#socket {
    padding: 10px 0px;
}
#socket p {
    color: #CCCCCC;
    font-weight: 200;
    margin: 0px;
    text-align: center;
}
/* iPad Portrait */
@media only screen and (min-width: 768px) {
    .header-nav .button.orange {
        display: inline-block;
    }
    .footer-contents {
        flex-direction: row;
        gap: 2%;
    }
    #footer .column {
        width: 48%;
        margin: 35px 0px;
    }
}

@media only screen and (min-width: 990px) {
    h2 {
        font-size: 52px;
    }
}

/* iPad Landscape */
@media only screen and (min-width: 1024px) {
    header {
        height: 90px;
    }
    .sticky-header header {
        top: 20px;
    }
    .header-contents {
        height: 90px;
    }
    #fullscreen-nav .columns {
        margin-top: 150px;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    #fullscreen-nav .main-nav ul li {
        font-size: 36px;
    }
    #fullscreen-nav .secondary-nav ul li {
        font-size: 24px;
    }
    #fullscreen-nav .column.left {
        width: 55%;
    }
    #fullscreen-nav .column.right {
        position: relative;
        width: 45%;
    }
    #fullscreen-nav .nav-image {
        display: block;
        position: relative;
    }
    #fullscreen-nav .nav-image img {
        border-radius: 20px;
    }
    #fullscreen-nav .reviews {
        width: 100%;
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translate(-50%, 0%);
    }
    #fullscreen-nav .nav-meta {
		display: flex;
        margin-top: 50px;
    }
    #fullscreen-nav .usps {
        width: 100%;
        max-width: 1260px;
        position: absolute;
        bottom: 50px;
        left: 50%;
        transform: translate(-50%, 0%);
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        flex-direction: row;
        gap: 25px;
    }
    #fullscreen-nav .usps .usp {
        font-size: 22px;
        font-family: "Outfit", sans-serif;
        font-weight: 400;
    }
    #fullscreen-nav .usps .usp .usp-text {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
    }
    #fullscreen-nav .usps .usp i {
        color: var(--usps-green);
    }
    #about-us {
        padding: 75px 0px;
    }
    #about-us .about-us-inner {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
        gap: 5%;
    }
    #about-us .about-us-inner .column.left {
        width: 45%;
        order: 2;
    }
    #about-us .about-us-inner .column.right {
        width: 40%;
        order: 1;
        margin: 0px 0px;
    }
    #about-us .about-us-inner .column.right .numbers {
        margin: 0px;
    }
    #about {
        padding: 75px 0px;
    }
    #about .about-us-inner {
        justify-content: space-between;
        align-items: center;
        flex-direction: row;
        gap: 5%;
    }
    #about .about-us-inner .column.left {
        width: 45%;
    }
    #about .about-us-inner .column.left h2 {
        font-size: 32px;
    }
    #about .about-us-inner .column.right {
        width: 45%;
    }
    #steps {
        margin-bottom: 100px;
    }
    #steps .steps-inner {
        flex-direction: row;
        justify-content: space-between;
    }
    #steps h2 {
        font-size: 32px;
    }
    #steps .steps-inner .column.left {
        width: 45%;
    }
    #steps .steps-inner .column.right {
        width: 45%;
    }
    #steps .steps-inner .column.right .column-content {
        position: sticky;
        top: 120px;
        right: 0px;
        margin-top: 50px;
    }
    #projecten {
        margin-bottom: 100px;
    }
    #contact .contact-inner {
        flex-direction: row;
        gap: 0px;
    }
    #contact .contact-inner .column {
        width: 32%;
    }
    #contact .contact-inner .column .column-inner {
        height: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        flex-direction: column;
    }
    .service-content .about-us-inner {
        align-items: flex-start !important;
    }
    .service-content .about-us-inner .column.right {
        position: sticky;
        top: 120px;
        right: 0px;
    }
    .service-content .numbers {
        top: inherit;
        bottom: 35px;
        left: -35px;
    }
    .footer-contents {
        gap: 5%;
    }
    #footer .column {
        width: 20%;
    }
}

@media (max-width: 768px) {
    .filter-wrapper {
        margin-left: -20px;  /* Zorgt dat scrollen 'buiten' de container lijkt te gaan */
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
    }
    .filter-item {
        padding: 10px 18px;
        font-size: 13px;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media only screen and (max-width: 1023px) {
	#team-swiper .swiper-slide .slide-contents {
		min-width: auto;
	}
	#team-swiper .swiper-slide .slide-contents .slide-contents-inner {
		padding: 15px;
		gap: 0px;
	}
	#team-swiper .swiper-slide .slide-contents .slide-contents-inner h3 {
		font-size: 20px;
	}
	#team-swiper .swiper-slide .slide-contents .slide-contents-inner p {
		font-size: 16px;
	}
    .footer-contents .column:first-child {
        order: 4;
    }
}