/* Header Styles */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
}

.home .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
}

.header-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-left,
.header-right {
    width: 180px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.header-right {
    justify-content: flex-end;
}

.header-center {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.site-branding {
    flex: 0 0 auto;
}

.site-logo-link {
    display: block;
    text-decoration: none;
}

.site-logo-link img {
    max-height: 52px;
    width: auto;
}

.site-title-text {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-navigation {
    min-width: 0;
}

.menu-container {
    margin: 0;
    padding: 0;
}

.menu-primary > ul,
.menu-primary .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 26px;
}

.menu-primary a {
    text-decoration: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.menu-primary a:hover {
    opacity: 0.8;
}

.header-login {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
}

.header-login:hover {
    opacity: 0.8;
}

.burger-toggle {
    border: 0;
    background: transparent;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 0;
}

.burger-icon {
    width: 22px;
    height: 2px;
    background: #ffffff;
    position: relative;
    display: inline-block;
}

.burger-icon::before,
.burger-icon::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    background: #ffffff;
}

.burger-icon::before {
    top: -7px;
}

.burger-icon::after {
    top: 7px;
}

.burger-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    font-weight: 700;
}

.canvas-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1090;
}

.canvas-menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: min(380px, 84vw);
    height: 100vh;
    background: var(--secondary-color);
    color: #ffffff;
    z-index: 1100;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}

body.canvas-menu-open .canvas-menu-panel {
    transform: translateX(0);
}

.canvas-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.canvas-menu-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.canvas-menu-close {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.menu-canvas > ul,
.menu-canvas .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.menu-canvas a {
    color: #ffffff;
    text-decoration: none;
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .header-center {
        justify-content: flex-start;
    }

    .main-navigation {
        display: none;
    }

    .header-right {
        width: auto;
    }
}

@media (max-width: 680px) {
    .header-wrapper {
        padding: 12px 14px;
        gap: 10px;
    }

    .header-left {
        width: auto;
    }

    .site-logo-link img {
        max-height: 40px;
    }

    .site-title-text {
        font-size: 20px;
    }

    .header-login {
        font-size: 13px;
    }

    .burger-label {
        display: none;
    }
}
