
/* ШРИФТ */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

/* ОСНОВНЫЕ СТИЛИ */
#kazvibe-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 15px 40px;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Manrope', sans-serif;
    box-sizing: border-box;
}

#kazvibe-header.scrolled,
#kazvibe-header.dark-header {
    background-color: #000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.kazvibe-logo {
    height: 80px;
    transition: height 0.3s ease;
}

/* МЕНЮ */
.main-nav-desktop .menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.main-nav-desktop .menu-list li {
    margin-left: 40px;
}

.main-nav-desktop .menu-list a {
    color: #fff !important;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    opacity: 0.65;
}

.main-nav-desktop .menu-list a:hover {
    color: #ffc8b8 !important;
    opacity: 1 !important;
}

.main-nav-desktop .menu-list a.active {
    color: #ff8562 !important;
    opacity: 1 !important;
    font-weight: 600;
}

.main-nav-desktop .menu-list a.active:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ff8562;
}

/* КНОПКИ ЯЗЫКА */
.lang-switcher {
    background: none;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 8px 12px;
    margin-left: 10px;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-switcher.active {
    background-color: #ff8562 !important;
    border-color: #ff8562 !important;
    color: #fff !important;
    font-weight: bold !important;
}

.lang-switcher:hover {
    background-color: rgba(255,255,255,0.2);
}

/* МОБИЛЬНОЕ МЕНЮ */
.burger-menu-wrapper {
    display: none;
}

.burger-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
}

.burger-icon {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-button.open .burger-icon:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.burger-button.open .burger-icon:nth-child(2) {
    opacity: 0;
}
.burger-button.open .burger-icon:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.mobile-menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

.close-mobile-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.main-nav-mobile .menu-list-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.main-nav-mobile .menu-list-mobile li {
    margin: 20px 0;
    width: 100%;
}

.main-nav-mobile .menu-list-mobile a {
    color: #fff !important;
    text-decoration: none;
    font-size: 24px;
    font-weight: 600;
    opacity: 0.65;
    transition: opacity 0.3s ease;
    position: relative;
    display: inline-block;
}

.main-nav-mobile .menu-list-mobile a:hover {
    opacity: 1 !important;
    color: #ffc8b8 !important;
}

.main-nav-mobile .menu-list-mobile a.active {
    color: #ff8562 !important;
    opacity: 1 !important;
}

.main-nav-mobile .menu-list-mobile a.active:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #ff8562;
}

.mobile-lang-switcher {
    margin-top: 40px;
    display: none;
    width: 100%;
    justify-content: center;
    gap: 15px;
}

/* СКРЫТИЕ ФУТЕРА */
.hide-footer [class*="t-footer"],
.hide-footer #rec1092587676, 
.hide-footer #rec1113927071,
.hide-footer #rec1078871336,
.hide-footer #rec1092569356,
.hide-footer #rec1113875051,
.hide-footer #rec1058280351 {
    display: none !important;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 992px) {
    #kazvibe-header {
        padding: 10px 20px;
    }
    
    .kazvibe-logo {
        height: 68px;
    }
    
    .main-nav-desktop {
        display: none;
    }
    
    .header-controls .lang-switcher-wrapper {
        display: none;
    }
    
    .burger-menu-wrapper {
        display: block;
    }
    
    .mobile-lang-switcher {
        display: flex;
    }
}

/* ПЕРЕОПРЕДЕЛЕНИЕ СТИЛЕЙ TILDA */
.t-header, .t228, .tn-atom {
    display: none !important;
}
