/* ==========================================
   WESTERFUN HEADER
========================================== */


/* ==========================================
   TOPBAR
========================================== */

.topbar {
    position: relative;
    z-index: 1001;

    width: 100%;
    min-height: 38px;

    display: flex;
    align-items: center;

    background: #0b5d32;
    color: #ffffff;

    font-size: 12px;
    font-weight: 600;
}

.topbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 28px;
}

.topbar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-right a {
    color: #ffffff;
    text-decoration: none;

    opacity: .9;
    transition: .2s ease;
}

.topbar-right a:hover {
    opacity: 1;
    color: #b9e85c;
}


/* ==========================================
   MAIN HEADER
========================================== */

.header {
    position: relative;
    z-index: 1000;

    width: 100%;
    height: 88px;

    background: rgba(255, 255, 255, .97);

    border-bottom:
        1px solid rgba(11, 79, 45, .08);

    transition:
        height .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.header .container {
    height: 100%;

    display: flex;
    align-items: center;

    gap: 30px;
}


/* ==========================================
   LOGO
========================================== */

.logo {
    flex-shrink: 0;

    display: flex;
    align-items: center;

    text-decoration: none;
}

.logo img {
    display: block;

    width: auto;
    height: 74px;

    object-fit: contain;

    transition: transform .3s ease;
}

.logo:hover img {
    transform: scale(1.03);
}


/* ==========================================
   NAVIGATION
========================================== */

.header nav {
    margin-left: auto;
}

.header nav ul {
    display: flex;
    align-items: center;

    gap: 4px;

    list-style: none;
}

.header nav li {
    position: relative;
}

.header nav a {
    position: relative;

    display: flex;
    align-items: center;

    min-height: 46px;

    padding: 0 13px;

    color: #173626;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    border-radius: 9px;

    transition:
        color .25s ease,
        background .25s ease;
}

.header nav a:hover {
    color: #4fae24;
    background: #f3f8ef;
}


/* groene lijn onder menu */

.header nav a::after {
    content: "";

    position: absolute;

    left: 13px;
    right: 13px;
    bottom: 3px;

    height: 3px;

    background: #69b928;

    border-radius: 20px;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform .25s ease;
}

.header nav a:hover::after {
    transform: scaleX(1);
}


/* HOME ACTIVE */

.header nav li:first-child a {
    color: #4fae24;
}

.header nav li:first-child a::after {
    transform: scaleX(1);
}


/* ==========================================
   TICKET BUTTON
========================================== */

.ticket-button {
    flex-shrink: 0;

    min-height: 50px;

    padding: 0 23px;

    background: #ff7a00;
    color: #ffffff;

    border-radius: 11px;

    font-size: 13px;
    font-weight: 800;

    text-transform: uppercase;

    box-shadow:
        0 8px 20px rgba(255, 122, 0, .25);
}

.ticket-button:hover {
    background: #eb6d00;

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(255, 122, 0, .32);
}


/* ==========================================
   MENU BUTTON
========================================== */

.menu-toggle {
    display: none;

    width: 48px;
    height: 48px;

    margin-left: auto;

    align-items: center;
    justify-content: center;

    background: #f2f7ef;
    color: #0b5d32;

    border: 0;
    border-radius: 10px;

    cursor: pointer;

    font-size: 23px;
}


/* ==========================================
   MOBILE MENU
========================================== */

.mobile-menu {
    display: none;
}


/* ==========================================
   STICKY / SCROLL HEADER
========================================== */

.header.scroll {
    position: fixed;

    top: 0;
    left: 0;

    height: 74px;

    background: rgba(255, 255, 255, .98);

    box-shadow:
        0 10px 35px rgba(12, 58, 33, .12);

    animation: headerDown .3s ease;
}

.header.scroll .logo img {
    height: 62px;
}

@keyframes headerDown {

    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }

}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1180px) {

    .header nav a {
        padding-left: 9px;
        padding-right: 9px;

        font-size: 12px;
    }

    .header nav ul {
        gap: 0;
    }

    .ticket-button {
        padding: 0 17px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 1000px) {

    .topbar-left span:nth-child(3),
    .topbar-left span:nth-child(4) {
        display: none;
    }

    .topbar-right {
        display: none;
    }

    .header {
        height: 76px;
    }

    .header nav {
        display: none;
    }

    .logo img {
        height: 64px;
    }

    .ticket-button {
        margin-left: auto;

        min-height: 44px;

        padding: 0 16px;

        font-size: 11px;
    }

    .menu-toggle {
        display: flex;
        margin-left: 0;
    }


    /* MOBILE DROPDOWN */

    .mobile-menu {
        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        padding: 18px 5% 25px;

        background: #ffffff;

        border-top:
            1px solid #edf0ed;

        box-shadow:
            0 20px 35px rgba(0, 0, 0, .12);

        flex-direction: column;

        gap: 4px;
    }

    .mobile-menu.open {
        display: flex;
    }

    .mobile-menu a {
        display: block;

        padding: 14px 16px;

        color: #173626;

        text-decoration: none;

        font-weight: 700;

        border-radius: 10px;
    }

    .mobile-menu a:hover {
        color: #4fae24;
        background: #f3f8ef;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 600px) {

    .topbar {
        min-height: 34px;
        font-size: 10px;
    }

    .topbar-left {
        width: 100%;

        justify-content: space-between;

        gap: 10px;
    }

    .topbar-left span:nth-child(2) {
        display: none;
    }

    .header {
        height: 70px;
    }

    .logo img {
        height: 57px;
    }

    .ticket-button {
        display: none;
    }

    .menu-toggle {
        margin-left: auto;
    }

    .mobile-menu {
        top: 70px;
    }

}