@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
html{
    font-size: 16px;
}
body {
    overflow-x: hidden;
    width: 100%;
    padding-bottom: 70px;
    font-family: "Roboto";
}
header{
    position: sticky;
    top: 0;
    z-index: 3;
}
/* Стили хедера */
.header-container {
    padding: 20px 200px;
    background-image: url(./../img/header_bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 100vw;
    box-sizing: border-box;
}

/* Навигация */
.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
    overflow: visible;
    max-width: 100%;
}

.nav-link, .auth-btn {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s;
    white-space: nowrap;
}
.nav-link:hover:after, .header-dropdown-item:hover:after {
    width: 100%;
}
.nav-link:after, .header-dropdown-item:after{
    display: block;
    position: relative;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ffffff;
    content: "";
    transition: width 0.3s ease-out;
}
.nav-link:hover{
    color: white !important;
}

.nav-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    color: #e6e6e6 !important;
}

.nav-link i{
    font-size:1.275rem;
}
.auth-btn {
    border: 1px solid #ffffff !important;
    background: transparent !important;
}
.auth-btn:hover{
    background-color: #ffffff !important;
    color: #094090 !important;
}
/* Выпадающее меню в хедере */
.more-dropdown {
    position: relative;
    display: none;
}

.more-btn {
    background: none;
    border: none;
    color: #ffffff;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s;
}

.header-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 5px;
    background-color: white;
    border: 1px solid #094090;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    min-width: 200px;
    padding: 8px 0;
}

.header-dropdown-menu.header-menu-show {
    display: block;
}

.header-dropdown-item {
    display: block;
    padding: 8px 16px;
    color: #094090;
    text-decoration: none;
    white-space: nowrap;
    font-weight: bold;
}
.header-dropdown-item:after{
    background-color: #094090;
}

/* Мобильное меню */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: #ffffff;
    transition: all 0.3s;
}

.burger-btn.active span{
    background: #094090;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    z-index: 1000;
    transition: left 0.3s;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    padding-bottom: 80px;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-top: 50px;
    padding-bottom: 80px;
    font-weight: bold;
}

.mobile-menu-link {
    display: block;
    padding: 12px 0;
    color: #094090;
    border-bottom: 1px solid #eee;
    text-decoration: none;
}

.mobile-menu-link.disabled {
    color: #6c757d;
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Нижняя панель мобильного меню */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.05);
    z-index: 1001;
}

a{
    text-decoration: none;
}
.mobile-icons {
    display: flex;
    gap: 15px;
}

.mobile-icon-link {
    font-size: 2rem;
    color: #094090;
    font-weight: bold;
}

.mobile-auth-btn {
    background: #094090;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 12px 16px;
    font-weight: bold;
    transition: all 0.3s;
}
#mobileLoginBtn {
    width: 100%;
    display: block;
    text-align: center;
}
.mobile-auth-btn-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

@media (max-width: 1600px) {
    .header-container {
        padding: 20px 100px;
    }
}

@media (max-width: 1200px) {
    .header-container {
        padding: 20px 50px;
    }
}

@media (max-width: 992px) {
    .header-container {
        padding: 20px 30px;
    }
    
    .nav-links {
        display: none;
    }
    
    .burger-btn {
        display: flex;
    }
    
    .header-mobile {
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
    }
}

@media (min-width: 993px) {
    .mobile-menu, .header-mobile {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    html{
        font-size: 14px;
    }
}

@media screen and (max-width: 414px) {
    html{
        font-size: 12px;
    }
}
/* Безопасные зоны */
@supports(padding: max(0px)) {
    .mobile-bottom-bar {
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }
}

.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* SVG стили */
.st0 { clip-path: url(#SVGID_2_); fill: #ffffff; }
.st1 { clip-path: url(#SVGID_4_); fill: #ffffff; }
.st2 { clip-path: url(#SVGID_6_); fill: #ffffff; }
.st3 { clip-path: url(#SVGID_8_); fill: #ffffff; }