/* Vertex Cleaning — aanpassingen bovenop het Paanee thema */

/* Header-top: vaste donkere balk zodat tekst op ELKE pagina leesbaar is
   (de header zweeft transparant boven paginabanners) */
.header-top { background: var(--theme_dark); }
.header-top .info-list li,
.header-top .info-list li a { color: rgba(255, 255, 255, 0.88); }
.header-top .info-list li a:hover { color: #fff; }
.header-top .info-list li i { color: #aeb6c0; }
.header-top .social-links li a,
.header-top .social-links li a i { color: rgba(255, 255, 255, 0.85); }
.header-top .social-links li a:hover i { color: #fff; }

.header-top .right-column { display: flex; align-items: center; }
.lang-switcher {
    display: flex;
    align-items: center;
    margin-right: 18px;
    padding-right: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.lang-switcher li { margin-right: 6px; }
.lang-switcher li:last-child { margin-right: 0; }
.lang-switcher li a {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 22px;
    transition: all 0.3s;
}
.lang-switcher li a:hover { color: #fff; }
.lang-switcher li.active a {
    background: var(--theme_primary);
    color: #fff;
}

/* Header-top op kleine schermen: gecentreerd en compact */
@media (max-width: 767px) {
    .header-top .wrapper-box { justify-content: center; text-align: center; }
    .header-top .left-column .info-list { justify-content: center; }
    .header-top .info-list li { margin: 0 8px; font-size: 13px; line-height: 26px; }
    .header-top .right-column { justify-content: center; width: 100%; margin-top: 2px; }
}

/* Binnenpagina's: banner begint onder de zwevende header — titel mag er niet achter vallen */
@media (max-width: 1139px) {
    .page-title { padding: 210px 0 90px; }
}

/* Mobiel menu: native scroll (mCustomScrollbar is uitgeschakeld) */
.mobile-menu .menu-box { overflow-y: auto; -webkit-overflow-scrolling: touch; }

/* Offerte-knop in het mobiele menu (op mobiel is de headerknop verborgen
   en staat Contact niet meer in het menu) */
.mobile-menu .mobile-quote-btn { padding: 25px 30px 0; }
.mobile-menu .mobile-quote-btn a { display: block; text-align: center; }

/* Taalkeuze in het mobiele menu */
.mobile-menu .lang-switcher-mobile {
    display: flex;
    gap: 10px;
    padding: 20px 30px 0;
}
.mobile-menu .lang-switcher-mobile a {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}
.mobile-menu .lang-switcher-mobile a.active {
    background: var(--theme_primary);
    border-color: var(--theme_primary);
}

/* Statische hero: thema verbergt banner-inhoud tot Swiper de slide activeert —
   zonder slider moet alles direct zichtbaar zijn */
.static-hero .content-box .inner,
.static-hero .content-box h1,
.static-hero .content-box .text,
.static-hero .content-box .image,
.static-hero .content-box .link-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.static-hero .content-box { min-height: 760px; }
.static-hero .content-box .inner { max-width: 620px; }
.static-hero .content-box h1 {
    text-transform: none;
    font-size: 42px;
    line-height: 56px;
    margin-bottom: 25px;
}

/* Intro onder de hero + videoblok */
.intro-section .intro-text { max-width: 860px; margin: 0 auto; text-align: center; }
.video-wrapper { max-width: 900px; margin-left: auto; margin-right: auto; }
.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 6px;
    background: #1b1f24;
    box-shadow: 0 18px 45px rgba(15, 20, 30, 0.18);
}
.video-frame iframe,
.video-frame video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
    background: #1b1f24;
}
/* Afspeelknop over de poster; verdwijnt zodra de video speelt (zie script hieronder) */
.video-frame .video-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1b1f24;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 5px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s, background 0.25s, opacity 0.25s;
    z-index: 2;
}
.video-frame .video-play:hover { transform: translate(-50%, -50%) scale(1.08); background: #fff; }
.video-frame.is-playing .video-play { opacity: 0; pointer-events: none; }
@media (max-width: 575px) {
    .video-frame .video-play { width: 62px; height: 62px; font-size: 20px; }
}

/* Categoriekaarten op de homepage */
.category-card .category-service-links li { margin-bottom: 8px; }
.category-card .category-service-links li a { color: #444; font-size: 15px; transition: color .3s; display: block; }
.category-card .category-service-links li a:hover { color: var(--theme_primary); }
.category-card .category-service-links li a i { color: var(--theme_primary); font-size: 11px; }

/* Categoriesecties op de dienstenpagina */
.category-section { scroll-margin-top: 120px; }
.category-heading { border-left: 5px solid var(--theme_primary); padding-left: 22px; }

/* Sidebar: link naar alle diensten */
.all-services-link { display: inline-block; margin-top: 15px; font-weight: 600; color: var(--theme_primary); }
.all-services-link:hover { text-decoration: underline; }
.static-hero .content-box .image {
    right: 0;
    max-width: 500px;
    bottom: auto;
    position: absolute;
}
@media (max-width: 1199px) {
    /* Thema verbergt de hero-afbeelding onder 1099px; op mobiel tonen we ze
       gestapeld onder de tekst in plaats van helemaal niet. */
    .static-hero .content-box .image {
        display: block;
        position: relative;
        right: auto;
        margin: 45px auto 0;
        max-width: 100%;
        text-align: center;
    }
    .static-hero .content-box .image .image-one img { max-width: min(420px, 82vw); }
    .static-hero .content-box { min-height: 0; padding-bottom: 80px; }
}

/* Decoratieve shapes en absolute elementen mogen nooit horizontale scroll veroorzaken */
html, body { overflow-x: hidden; }

/* Cijfers en feature-blokken: icoon en tekst naast elkaar houden (niet omvallen) */
.funfact-block .flexbox_3,
.feature-icon-block .flexbox_3 { flex-wrap: nowrap; }
.funfact-block .flexbox_3 .icon,
.feature-icon-block .flexbox_3 .icon { flex-shrink: 0; }
.funfact-block .flexbox_3 > div:last-child { min-width: 0; }
.feature-icon-block .upper-box h3 { min-width: 0; }

/* Navigatie: 7 menu-items (3 categorieën als hoofdmenu) — compacter zodat alles op één regel past */
@media (min-width: 1140px) {
    .main-header .header-upper .inner-container { flex-wrap: nowrap; }
    .main-header .header-upper .right-column { flex-wrap: nowrap; }
    .main-header .navbar-right-info { flex-shrink: 0; }
    .main-menu .navigation > li { margin-right: 9px; padding: 30px 0; }
    .main-menu .navigation > li.dropdown { padding-right: 9px; }
    .main-menu .navigation > li > a { font-size: 14px; }
    .main-menu .navigation > li.dropdown:before { right: 0; }
    .navbar-right-info .link-btn a { padding: 12px 16px; font-size: 14px; }
    .main-header .logo img { max-width: 120px; max-height: 66px; }
}

/* Dropdown-indicator: pijltje naast menu-items met een submenu */
.main-menu .navigation > li.dropdown > a:after {
    content: "\f107"; /* fa-angle-down */
    font-family: 'Font Awesome 5 Pro';
    font-weight: 400;
    font-size: 12px;
    margin-left: 6px;
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.3s;
}
.main-menu .navigation > li.dropdown:hover > a:after { transform: rotate(180deg); }

/* Logo-afmetingen (gestapeld logo: V-teken boven, tekst eronder) */
.main-header .logo-box { min-width: 0; }
.main-header .logo img,
.sticky-header .logo img { max-height: 72px; max-width: 135px; width: auto; height: auto; }
.mobile-menu .nav-logo img { max-height: 70px; width: auto; }
.main-footer .logo img { max-height: 96px; width: auto; }

/* Mobiel: logo compacter zodat de menuknop altijd zichtbaar blijft */
@media (max-width: 1139px) {
    .main-header .header-upper .inner-container { flex-wrap: nowrap; }
    .main-header .logo img { max-height: 58px; max-width: 120px; }
    .main-header .header-upper .right-column { flex-shrink: 0; }
}

/* Mobiel menupaneel: brede items niet afkappen */
.mobile-menu { width: 340px; }
.mobile-menu .navigation li > a { white-space: normal; }

/* Hero */
.banner-section .content-box .inner .hero-text {
    max-width: 520px;
    margin: 20px 0 30px;
    font-size: 17px;
    line-height: 30px;
}
.banner-section .content-box .image .image-one img {
    border-radius: 50%;
    border: 12px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 60px rgba(15, 20, 30, 0.18);
    max-width: 480px;
    width: 100%;
}

/* Paginatitel-banner: donkere overlay zodat de titel leesbaar blijft op de foto */
.page-title { position: relative; background-size: cover; background-position: center; }
.page-title::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15, 20, 30, 0.72), rgba(77, 87, 97, 0.55));
}
.page-title .auto-container { position: relative; z-index: 1; }

/* Dienstenkaarten op de homepage */
.service-card .inner-box {
    background: #fff;
    height: calc(100% - 30px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.service-card .card-image img { width: 100%; display: block; }
.service-card .card-body { display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.service-card .card-body .text { flex: 1; }
.service-card .card-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
}
.service-card .card-head .icon { line-height: 1; }
.service-card .inner-box h3 a { color: inherit; }
.service-card .inner-box h3 a:hover { color: var(--theme_primary); }

.services-intro { max-width: 700px; margin-left: auto; margin-right: auto; }

/* Grote CTA onderaan elke pagina (donkerblauw, gecentreerd, met 4 USP's) */
.cta-section-big {
    background: linear-gradient(160deg, #22262c 0%, #2f353d 55%, #22262c 100%);
    padding: 100px 0 90px;
}
.cta-section-big .cta-inner { max-width: 760px; margin: 0 auto; }
.cta-section-big .cta-text { font-size: 18px; line-height: 32px; opacity: 0.92; }
.cta-section-big .cta-btn { padding: 16px 44px; font-size: 17px; border-radius: 50px; }
.cta-usps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 20px;
    margin-top: 70px;
    text-align: center;
}
.cta-usp .usp-icon {
    font-size: 34px;
    color: #aeb6c0;
    margin-bottom: 14px;
}
.cta-usp .usp-title {
    color: #fff;
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
}
@media (max-width: 767px) {
    .cta-usps { grid-template-columns: repeat(2, 1fr); margin-top: 50px; }
    .cta-section-big { padding: 70px 0 60px; }
}

/* Dienst-detail sidebar */
.service-sidebar .service-links li { border-bottom: 1px solid #eee; }
.service-sidebar .service-links li:last-child { border-bottom: none; }
.service-sidebar .service-links li a {
    display: block;
    padding: 13px 5px;
    color: #333;
    font-weight: 500;
    transition: color 0.3s, padding-left 0.3s;
}
.service-sidebar .service-links li a:hover,
.service-sidebar .service-links li.active a {
    color: var(--theme_primary);
    padding-left: 12px;
}
.service-detail-content .image img { width: 100%; border-radius: 5px; }

/* Introtekst bovenaan de dienstpagina (de wervende alinea per dienst) */
.service-lead {
    font-size: 19px;
    line-height: 33px;
    color: #333;
    background: #f3f4f6;
    border-left: 5px solid var(--theme_primary);
    border-radius: 0 5px 5px 0;
    padding: 22px 26px;
}

/* Formulier meldingen */
.form-alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-weight: 500;
}
.form-alert-success { background: #e6f7ee; color: #146c43; border: 1px solid #a3e2c2; }
.form-alert-error { background: #fdecea; color: #b02a37; border: 1px solid #f5c2c7; }

/* Honeypot-veld verbergen */
.hp-field { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

/* Toegankelijkheid */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Vinkje in blauw rondje: glyph exact centreren (thema geeft lh_30 op een 25px-cirkel) */
i.fa-check.theme_bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    line-height: 25px;
}
/* Opsommingen: icoon links vast, tekst ernaast (ook bij regelafbraak) */
.service-detail-content .list li,
.why-chooseus-block .list li {
    display: flex;
    align-items: flex-start;
}
.service-detail-content .list li i,
.why-chooseus-block .list li i {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Referentiekaarten: gelijke hoogte, ongeacht de tekstlengte */
.testimonials-section .owl-stage { display: flex; }
.testimonials-section .owl-item { float: none; display: flex; }
.testimonials-section .testimonial-block { display: flex; width: 100%; }
.testimonials-section .testimonial-block .inner-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.testimonials-section .testimonial-block .inner-box .text { flex: 1; }

/* 404 */
.error-section h1 { font-size: 110px; color: var(--theme_primary); }
