/* Навигация */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.login_reg,
.nav_links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.login_reg a,
.nav_links a {
    color: #161e2c;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.login_reg a::after,
.nav_links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.login_reg a:hover::after,
.nav_links a:hover::after {
    width: 100%;
}

.login_reg a:hover,
.nav_links a:hover {
    color: var(--primary-color);
}


/* Бургер-меню */

.burger {
    display: flex;
    flex-direction: column;
    width: 24px;
    height: 18px;
    cursor: pointer;
    position: relative;
    display: none;
}

.burger div {
    height: 2px;
    width: 100%;
    background-color: var(--dark-color);
    transition: all 0.3s ease;
    transform-origin: center;
    position: absolute;
}

.burger div:nth-child(1) {
    top: 0;
}

.burger div:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.burger div:nth-child(3) {
    bottom: 0;
}

.burger.toggle div:nth-child(1) {
    transform: rotate(45deg);
    top: 50%;
}

.burger.toggle div:nth-child(2) {
    opacity: 0;
}

.burger.toggle div:nth-child(3) {
    transform: rotate(-45deg);
    top: 50%;
}


/* Футер */

footer {
    background: rgba(26, 36, 55, 0.85);
    backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.85);
    padding: 40px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 12px;
    line-height: 1.5;
}

.footer_content p {
    margin: 0;
    max-width: 500px;
}