/*

:root{
    --white: #f9f9f9;
    --black: #36383F;
    --grey: #85888C;
	--blue: #2F5C8F;
	--aliceblue:#F0F8FF;
}*/

        /* Основные переменные в хоккейной тематике */
        :root {
            --primary: #0038A8; /* Синий NHL */
            --secondary: #CE1126; /* Красный NHL */
            --accent: #FFFFFF; /* Белый */
            --text: #333333;
            --light-bg: #F8F9FA;
            --menu-hover: rgba(0, 56, 168, 0.1);
            --transition: all 0.3s ease;
        }

        /* Сброс стилей */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', 'Arial', sans-serif;
            background-color: var(--light-bg);
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* Шапка */
        .header {
            background-color: var(--accent);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            position: sticky;
            top: 0;
            width: 100%;
            z-index: 9999;
            padding: 0 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 80px;
        }

        .content{
            padding: 5px;
        }

        /* Логотип */
        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 50px;
            width: auto;
            transition: var(--transition);
        }

        .logo:hover img {
            transform: scale(1.05);
        }

        /* Основное меню */
        .nav {
            display: flex;
            align-items: center;
        }

        .menu {
            display: flex;
            list-style: none;
        }

        .menu > li {
            position: relative;
            margin-left: 5px;
        }

        .menu > li > a {
            display: flex;
            align-items: center;
            padding: 0 20px;
            height: 80px;
            color: var(--text);
            font-weight: 600;
            font-size: 16px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            transition: var(--transition);
            position: relative;
        }

        /* Иконка для пунктов с подменю (десктоп) */
        .menu > li.has-submenu > a::after {
            content: '\f078'; /* Иконка стрелки вниз из Font Awesome */
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            font-size: 12px;
            margin-left: 8px;
            transition: transform 0.3s ease;
        }

        .menu > li > a:hover {
            color: var(--primary);
            background-color: var(--menu-hover);
        }

        /* Подчеркивание при наведении */
        .menu > li > a::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 0;
            height: 3px;
            background-color: var(--primary);
            transition: var(--transition);
        }

        .menu > li > a:hover::before {
            width: 100%;
        }

        /* Подменю */
        .submenu {
            position: absolute;
            top: 100%;
            left: 0;
            background-color: var(--accent);
            min-width: 220px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            border-radius: 0 0 8px 8px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: var(--transition);
            z-index: 10;
        }

        .menu > li:hover .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .submenu li a {
            display: block;
            padding: 12px 20px;
            color: var(--text);
            font-weight: 500;
            transition: var(--transition);
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }

        .submenu li:last-child a {
            border-bottom: none;
        }

        .submenu li a:hover {
            background-color: var(--primary);
            color: var(--accent);
            padding-left: 25px;
        }

        /* Иконка меню для мобильных */
        .hamb {
            display: none;
            cursor: pointer;
            padding: 10px;
        }

        .hamb-line {
            display: block;
            width: 25px;
            height: 2px;
            background-color: var(--primary);
            position: relative;
            transition: var(--transition);
        }

        .hamb-line::before,
        .hamb-line::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background-color: var(--primary);
            transition: var(--transition);
        }

        .hamb-line::before {
            top: -8px;
        }

        .hamb-line::after {
            top: 8px;
        }

        /* Чекбокс для мобильного меню */
        .side-menu {
            display: none;
        }

        /* Хоккейные декоративные элементы */
        .header::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
        }

        /* Адаптивность */
        @media (max-width: 1080px) {
            .header {
                padding: 0 15px;
            }
            
            .menu > li > a {
                padding: 0 15px;
                font-size: 15px;
            }
        }

        @media (max-width: 768px) {
            .nav {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: var(--accent);
                flex-direction: column;
                align-items: stretch;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.5s ease;
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            }
            
            .side-menu:checked ~ .nav {
                max-height: 100vh;
                overflow-y: auto;
            }
            
            .menu {
                flex-direction: column;
            }
            
            .menu > li {
                margin-left: 0;
                border-bottom: 1px solid rgba(0, 0, 0, 0.05);
            }
            
            .menu > li > a {
                height: auto;
                padding: 15px 20px;
                justify-content: space-between;
            }
            
            .menu > li > a::before {
                display: none;
            }
            
            /* Подменю для мобильных */
            .submenu {
                position: static;
                box-shadow: none;
                opacity: 1;
                visibility: visible;
                transform: none;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
                background-color: var(--light-bg);
                border-radius: 0;
                display: none;
                padding-left: 20px;
            }
            
            .menu > li.active .submenu {
                display: block;
                max-height: 500px;
            }
            
            .hamb {
                display: block;
            }
            
            .side-menu:checked ~ .hamb .hamb-line {
                background-color: transparent;
            }
            
            .side-menu:checked ~ .hamb .hamb-line::before {
                top: 0;
                transform: rotate(45deg);
            }
            
            .side-menu:checked ~ .hamb .hamb-line::after {
                top: 0;
                transform: rotate(-45deg);
            }
            
            /* Иконка для пунктов с подменю (мобильные) */
            .menu > li.has-submenu > a::after {
                content: '\f078'; /* Иконка стрелки вниз из Font Awesome */
                font-family: 'Font Awesome 6 Free';
                font-weight: 900;
                font-size: 12px;
                margin-left: 5px;
                transition: transform 0.3s ease;
            }
            
            .menu > li.has-submenu.active > a::after {
                transform: rotate(180deg);
            }
        }

        /* Анимация логотипа (как хоккейная шайба) */
        @keyframes pulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }

        .logo:hover {
            animation: pulse 1.5s infinite;
        }