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

.site-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    width: 100%;

    background:
        var(--header-color);

    border-bottom:
        var(--standard-border);

}


/* ============================================================
   HEADER INNER
============================================================ */

.header-inner {

    display: flex;

    width: 100%;

    height: 145px;

}


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

.header-logo {

    flex: 0 0 165px;

    width: 165px;

    height: 145px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        var(--section-tertiary-color);

    border-right:
        var(--standard-border);

}


.header-logo img {

    width: 130px;

    height: 130px;

    object-fit: contain;

}


/* ============================================================
   RIGHT SIDE
============================================================ */

.header-content {

    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

}


/* ============================================================
   CLUB NAME
============================================================ */

.header-title {

    flex: 0 0 78px;

    height: 78px;

    display: flex;

    align-items: center;

    padding:
        0
        var(--spacing-xl);

    background:
        var(--header-color);

    color:
        var(--light-text);

    font-family:
        var(--display-font);

    font-size:
        clamp(
            36px,
            4vw,
            58px
        );

    font-weight: 900;

    line-height: 1;

    letter-spacing: 0.025em;

    white-space: nowrap;

}


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

.main-navigation {

    flex: 1;

    display: flex;

    align-items: center;

    justify-content: flex-start;

    gap:
        var(--spacing-sm);

    padding:
        8px
        var(--spacing-xl);

    background:
        var(--section-dark-color);

}


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

.main-navigation a {

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 40px;

    padding:
        0
        20px;

    background:
        var(--box-secondary-color);

    border:
        2px solid var(--border-color);

    color:
        var(--header-text);

    font-family:
        var(--body-font);

    font-size: 14px;

    font-weight: 800;

    letter-spacing: 0.08em;

    white-space: nowrap;

    transition:
        background var(--fast-transition),
        border-color var(--fast-transition),
        color var(--fast-transition),
        transform var(--fast-transition);

}


.main-navigation a:hover {

    background:
        var(--box-color);

    border-color:
        var(--primary-color);

    color:
        var(--primary-color);

    transform:
        translateY(-2px);

}


/* ============================================================
   JOIN US
============================================================ */

.main-navigation .join-button {

    background:
        var(--button-color);

    border:
        2px solid var(--primary-color);

    color:
        var(--button-text);

}


.main-navigation .join-button:hover {

    background:
        var(--button-hover);

    border-color:
        var(--button-hover);

    color:
        var(--button-text);

}


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

@media (max-width: 800px) {

    .header-inner {

        height: 115px;

    }


    .header-logo {

        flex: 0 0 105px;

        width: 105px;

        height: 115px;

    }


    .header-logo img {

        width: 90px;

        height: 90px;

    }


    .header-title {

        flex: 0 0 60px;

        height: 60px;

        padding:
            0
            var(--spacing-md);

        font-size: 25px;

    }


    .main-navigation {

        overflow-x: auto;

        padding:
            5px
            var(--spacing-md);

        gap:
            6px;

        scrollbar-width: none;

    }


    .main-navigation::-webkit-scrollbar {

        display: none;

    }


    .main-navigation a {

        min-height: 38px;

        padding:
            0
            14px;

        font-size: 11px;

    }

}