/* Header Styles */
.main-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    height: 80px;
    display: flex;
    align-items: center;
    background-color: rgba(0, 6, 43, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-brand {
    padding: 0;
}

.logo {
    height: 40px;
    width: auto;
}

.navbar-nav {
    margin: 0 auto;
}

.nav-item {
    margin: 0 0.5rem;
}

.nav-link {
    color: #fff !important;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.main-header .social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
}

.main-header .social-link {
    color: #fff;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    text-decoration: none; /* Убираем подчеркивание */
}

.main-header .social-link:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.main-header .social-link img {
    height: 1.5rem;
    width: auto;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(1, 3, 31, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
    }

    .navbar-nav {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .main-header .social-links {
        justify-content: center;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
} 