/* =========================================================
   MOBILE MENU
   ========================================================= */

.mobile-menu-button,
.mobile-menu,
.mobile-menu-overlay {
    display: none;
}


/* Alleen mobiel */
@media (max-width: 991px) {

    /* -----------------------------------------
       Hamburger
       ----------------------------------------- */

    .mobile-menu-button {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 50px;
        height: 50px;

        border: 0;
        background: transparent;

        color: #fff;
        font-size: 24px;

        cursor: pointer;

        padding: 0;
    }


    /* -----------------------------------------
       Verberg het originele Porto-menu
       ----------------------------------------- */

    .desktop-menu {
        display: none !important;
    }


    /* -----------------------------------------
       Overlay
       ----------------------------------------- */

    .mobile-menu-overlay {
        display: block;

        position: fixed;
        inset: 0;

        background: rgba(0, 0, 0, 0.55);

        opacity: 0;
        visibility: hidden;

        transition:
            opacity 0.3s ease,
            visibility 0.3s ease;

        z-index: 99998;
    }


    /* -----------------------------------------
       Zijmenu
       ----------------------------------------- */

    .mobile-menu {
        display: block;

        position: fixed;

        top: 0;
        left: 0;

        width: min(85vw, 380px);
        height: 100vh;

        background: #fff;

        z-index: 99999;

        transform: translateX(-100%);

        transition: transform 0.35s ease;

        overflow-y: auto;

        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
    }


    /* Menu geopend */

    body.mobile-menu-open .mobile-menu {
        transform: translateX(0);
    }

    body.mobile-menu-open .mobile-menu-overlay {
        opacity: 1;
        visibility: visible;
    }


    /* -----------------------------------------
       Binnenkant
       ----------------------------------------- */

    .mobile-menu-inner {
        padding: 80px 25px 30px;
    }


    /* -----------------------------------------
       Sluitknop
       ----------------------------------------- */

    .mobile-menu-close {
        position: absolute;

        top: 20px;
        right: 20px;

        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        border: 0;
        background: transparent;

        color: #222;

        font-size: 24px;

        cursor: pointer;
    }


    /* -----------------------------------------
       Hoofdmenu
       ----------------------------------------- */

    .mobile-nav {
        list-style: none;

        margin: 0;
        padding: 0;
    }


    .mobile-nav>li {
        position: relative;

        margin: 0;
        padding: 0;

        border-bottom: 1px solid #eee;
    }


    .mobile-nav li a {
        display: block;

        padding: 15px 45px 15px 0;

        color: #222;

        text-decoration: none;

        font-size: 16px;
        line-height: 1.4;
    }


    .mobile-nav>li>a {
        font-weight: 600;
    }


    /* -----------------------------------------
       Submenu
       ----------------------------------------- */

    .mobile-nav .sub-menu {
        display: none;

        list-style: none;

        margin: 0;
        padding: 0 0 5px 15px;
    }


    .mobile-nav .sub-menu li {
        margin: 0;
        padding: 0;
    }


    .mobile-nav .sub-menu a {
        padding: 10px 35px 10px 0;

        font-size: 15px;

        color: #555;
    }


    /* Dropdown geopend */

    .mobile-nav li.mobile-submenu-open>.sub-menu {
        display: block;
    }


    /* -----------------------------------------
       Dropdown knop
       ----------------------------------------- */

    .mobile-dropdown-toggle {
        position: absolute;

        top: 7px;
        right: 0;

        width: 42px;
        height: 42px;

        border: 0;
        background: transparent;

        color: #222;

        font-size: 18px;

        cursor: pointer;

        display: flex;
        align-items: center;
        justify-content: center;

        transition: transform 0.25s ease;
    }


    /* Pijltje draaien */

    .mobile-nav li.mobile-submenu-open>.mobile-dropdown-toggle {
        transform: rotate(180deg);
    }


    /* -----------------------------------------
       Voorkom scrollen pagina achter menu
       ----------------------------------------- */

    body.mobile-menu-open {
        overflow: hidden;
    }
}

#footer .fab {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    transition: filter 0.3s ease;
}

.info-block-row {
    display: flex;
    gap: 5px;
}

#footer .fa-facebook {
    background-color: #3f7ac7;
}

#footer .fa-whatsapp {
    background-color: #25d366;
}

#footer .fa-linkedin {
    background-color: #0072b1;
}

#footer .fa-instagram {
    background-color: #e1306c;
}

#footer .fa-youtube {
    background-color: #ff0000;
}

#footer .fab:hover {
    filter: brightness(75%);
}

/* Floating CTA knoppen */
.floating-cta-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

.cta-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: 0.2s ease;
}

.cta-btn:hover {
    transform: scale(1.1);
    text-decoration: none !important;
}


.cta-btn i {
    color: #fff;
    font-size: 22px;
}

.cta-whatsapp {
    background-color: #25d366;
}

.cta-phone {
    background: #45982c;
}

.cta-facebook {
    background: #3f7ac7;
}

.cta-linkedin {
    background-color: #0072b1;
}

.cta-instagram {
    background-color: #e1306c;
}

.cta-youtube {
    background-color: #ff0000;
}


#header .logo-header img {
    position: fixed;
    top: 10%;
    width: auto;
    height: 100px;
}

.sticky-header-active #header .logo-header img {
    position: relative;
    width: auto;
    height: 50px;
}

@media(max-width: 991px) {
    #header .logo-header img {
        position: relative;
        width: auto;
        height: 50px;
    }
}

.sticky-header-active #header .header-nav-main nav>ul>li>a {
    color: #000000;
}

.logo-zwart {
    display: none;
}

.sticky-header-active .logo-wit {
    display: none;
}

.sticky-header-active .logo-zwart {
    display: block;
}