/* sferiQ Header Builder Styles */

/* Reset and base styles */
:root{
    --shb_primary-color: #1c2927;
    --shb_secondary-color: #eac200;
    --shb_accent-color: #1e7c40;
    --shb_font-family: aller-bold, sans-serif;
}

.shb-header * {
    box-sizing: border-box;
}

.shb-header {
    width: 100%;
    z-index: 1000;
}
.shb-desktop-header::after{
    content: "";
    display: block;
    clear: both;
    width: 100%;
    height: 4px;
    background-image: url("/wp-content/uploads/2019/09/ATC-colors-bar.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.shb-header a, .shb-header li, .shb-header p{
    font-family: var(--shb_font-family);
    color: var(--shb_primary-color);
}

.shb-header.shb-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Topbar Styles */
.shb-topbar {
    padding: 0;
}
.shb-topbar .shb-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 32px;
}
.shb-topbar .shb-language-switcher ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
}
.shb-topbar .shb-language-switcher ul a{
    color: var(--shb_primary-color) ;
    font-weight: 500;
}
.shb-topbar .shb-language-switcher ul a:hover{
    color: var(--shb_secondary-color);
}

/* Main Header Styles */
.shb-main-header {
    padding: 16px 0;
    transition: all 0.3s ease;
}

.shb-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.shb-logo a {
    display: inline-flex;
    align-items: flex-end;
}
.shb-logo a img {
    height: auto;
    width: auto;
}

.shb-desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Navigation Styles */
.shb-navigation {
    display: flex;
    align-items: center;
}

.shb-menu {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.shb-menu li {
    position: relative;
}

.shb-menu a {
    display: flex;
    align-items: center;
    padding: 0px;
    text-decoration: none;
    color: var(--shb_primary-color);
    font-weight: 500;
    transition: color 0.2s ease;
    font-size: 20px;
}
.shb-menu a:focus {
    color: var(--shb_secondary-color);
    text-decoration: none;
}

.shb-menu a:hover {
    color: var(--shb_secondary-color);
    text-decoration: none;
}

/* Dropdown Menu */
.shb-menu .sub-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 37px;
    left: 0;
    width: 260px;
    padding: 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 0 10px rgba(0,0,0,.28);
    background-color: #fff;
    transition: all 300ms ease;
}

.shb-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 200ms ease-in-out;
}

.shb-menu .sub-menu li {
    width: 100%;
    background: #7bb3e61a;
    width: 100%;
    border-bottom: 1px solid #ddd;
}

.shb-menu .sub-menu a {
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 500;
}

.shb-menu .sub-menu li:hover > a {
    color: var(--shb_secondary-color);
}

.shb-menu .sub-menu li .sub-menu {
    top: 0;
    left: 96%;
    box-shadow: -4px 0 10px rgba(0,0,0,.28);
    z-index: 20;
}

.shb-menu .sub-menu li .sub-menu li {
    background: #7bb3e640;
}

.shb-menu .sub-menu li .sub-menu li:hover a {
    color: var(--shb_accent-color);
    text-decoration: none;
}

/* Action Button */
.shb-action-button-text {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.shb-action-button-image {
    display: inline-flex;
    align-items: center;
    padding: 0px;
    cursor: pointer;
    width: 100px;
    height: auto;
}

.shb-action-button-image:hover, .shb-action-button-text:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
}

/* Responsive Design */
@media (min-width: 1300.1px){
    .shb-logo a img {
        max-width: 300px;
    }
}
@media (max-width: 1300px){
    .shb-logo a img {
        max-width: 200px;
    }
}
@media (min-width: 1200px) {
    .shb-container {
        max-width: 1450px;
        width: 100%;
        margin: 0 auto;
        padding: 0 95px;
        width: 100%;
    }
}
@media (min-width: 1024.1px) {
    .shb-container {
        margin: 0 auto;
        padding: 0 32px;
    }
    .shb-mobile-header {
    display: none;
    }
    .shb-submenu-toggle {
        display: none;
    }
}


@media (max-width: 1024px) {

    .shb-desktop-header {
        display: none;
    }
    .shb-desktop-header.shb-mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 80vw;
        max-width: 420px;
        background: #fff;
        z-index: 2001 !important;
        box-shadow: -2px 0 16px rgba(0,0,0,0.15);
        overflow-y: auto;
        animation: shb-slide-in 0.3s;
    }
    .shb-desktop-header.shb-mobile-open .shb-topbar .shb-container{
        padding: 64px 16px 0px;
    }
    .shb-desktop-header.shb-mobile-open .shb-header-content {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 32px;
    }
    .shb-desktop-header.shb-mobile-open .shb-logo {
        align-self: center;
    }
    .shb-desktop-header.shb-mobile-open .shb-desktop-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        width: 100%;
    }
    .shb-desktop-header.shb-mobile-open .shb-navigation {
        width: 100%;
    }
    .shb-desktop-header.shb-mobile-open .shb-menu {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
    }
    .shb-desktop-header.shb-mobile-open .shb-menu li {
        position: relative;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }
    .shb-desktop-header.shb-mobile-open .shb-menu > li > a{
        padding: 8px 16px 8px;
        width: 100%;
    }
    .shb-desktop-header.shb-mobile-open .shb-menu .sub-menu {
        display: none;
        position: static; 
        margin: 0;
        background: none;
        box-shadow: none;
    }
    .shb-desktop-header.shb-mobile-open .shb-menu li.submenu-open > .sub-menu {
        display: block;
        flex: 1 0 100%;
        opacity: 1;
        visibility: visible;
    }

    .shb-desktop-header.shb-mobile-open .shb-menu li.submenu-open > .sub-menu li a{
        padding: 8px 16px 8px;
        width: 100%;
    }
    .shb-submenu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        width: 42px;
        height: 42px;
        position: absolute;
        right: 0;
        top: 0;
        background:rgba(0, 0, 0, 0.025)
    }
    .shb-submenu-toggle::after {
        content: "▼";
        font-size: 12px;
        color: var(--shb_secondary-color);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: transform 0.3s;
    }
    li.submenu-open > .shb-submenu-toggle::after {
        transform: translate(-50%, -50%) rotate(-180deg);
    }

    .shb-desktop-header.shb-mobile-open .shb-action-button-image{
        align-self: center;
    }

    .shb-offcanvas-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 1999;
    }
    .shb-offcanvas-overlay.hide {
        display: none;
    }

    .shb-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 32px 40px;
        background: var(--shb_primary-color);
    }

    /* Burger styles */
    .shb-burger {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 9999;
        position: relative;
        padding: 0;
    }
    .shb-burger span {
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--shb_secondary-color);
        border-radius: 2px;
        transition:
            top 300ms cubic-bezier(.4,0,.2,1),
            transform 300ms cubic-bezier(.4,0,.2,1),
            opacity 300ms cubic-bezier(.4,0,.2,1);
    }
    .shb-burger span:nth-child(1) {
        top: 5px;
        transform: none;
    }
    .shb-burger span:nth-child(2) {
        top: 13px;
        transform: none;
    }
    .shb-burger span:nth-child(3) {
        top: 21px;
        transform: none;
    }
    /* Animatie burger -> X */
    .shb-burger.active span:nth-child(1) {
        top: 13px;
        transform: rotate(45deg);
    }
    .shb-burger.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0.5);
    }
    .shb-burger.active span:nth-child(3) {
        top: 13px;
        transform: rotate(-45deg);
    }

    .shb-mobile-logo{
        max-width: 200px;
    }
}
@media (max-width: 500px) {
    .shb-mobile-header{
        padding: 24px 16px;
    }
}
/* Animatie slide-in */
@keyframes shb-slide-in {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}


/* Animation for sticky header */
.shb-header.shb-sticky.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
}

/* Smooth transitions */
.shb-header,
.shb-header * {
    transition: all 0.3s ease;
}

/* Focus states for accessibility */
.shb-menu a:focus,
.shb-action-button:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .shb-header {
        border-bottom: 2px solid currentColor;
    }
    
    .shb-menu .sub-menu {
        border: 2px solid currentColor;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .shb-header,
    .shb-header *,
    .shb-menu .sub-menu {
        transition: none;
    }
}


/* extra - icons topbar */
.shb-topbar .custom-socials-topbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
}
.shb-topbar .custom-socials-topbar .social-wrapper{
    width: 30px;
    height: 30px;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    filter: grayscale(1);
}

.shb-topbar .custom-socials-topbar .social-wrapper:hover {
	background: #fff;
	filter: grayscale(0);
	transform: scale(1.4);
	transition-duration:0.2s;
}