/* Шапка сайта */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 2rem;
    margin-right: 8px;
    color: var(--secondary-color);
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--accent-color);
}

.main-nav {
    display: block;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    position: relative;
    transition: background-color 0.3s;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--primary-color);
    transition: transform 0.3s;
}

.menu-icon::before {
    top: -7px;
}

.menu-icon::after {
    top: 7px;
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        gap: 15px;
        z-index: 999;
    }

    .nav-list.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
}

@media (max-width: 480px) {
    .nav-list {
        gap: 10px;
    }

    .nav-link {
        font-size: 16px;
        padding: 8px 0;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }
}