/* 
 * 🖥️ DESKTOP HEADER - MINIMAL CLEAN DESIGN
 * 
 * Минималистичный хедер как в архиве
 * Только логотип + переключатель языка
 * ТОЛЬКО ДЛЯ ДЕСКТОПА (> 768px)
 */

/* ============================================
   DESKTOP HEADER TOP - MINIMAL
   ============================================ */

@media (min-width: 769px) {
    
    /* Header - фиксированная высота как на about.html */
    .header {
        height: 112px !important;
    }
    
    .header ~ .main {
        padding-top: 112px !important;
    }
    
    /* Header Top - только логотип и язык */
    .header__top {
        background: #000 !important;
        padding: 0 !important;
        border-bottom: 1px solid #444 !important;
        line-height: 63px !important;
        height: 63px !important;
    }
    
    .header__top .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 100% !important;
    }
    
    /* Logo слева - как на about.html */
    .header__top .header-logo {
        display: block !important;
    }
    
    .header__top .header-logo img {
        height: 16px !important;
        width: auto !important;
        display: block !important;
    }
    
    /* Navigation в header__top - скрываем все ссылки кроме языка */
    .header__top .header-nav {
        display: block !important;
    }
    
    .header__top .header-nav .nav {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        border-left: 1px solid #444 !important;
    }
    
    .header__top .header-nav .nav li:not(:has(.btn-lang)):not(:has([href*="register"])) {
        display: none !important; /* Скрываем все ссылки кроме языка и кнопки входа */
    }
    
    /* Только переключатель языка виден */
    .header__top .header-nav .nav li {
        margin: 0 !important;
    }
    
    /* Language button */
    .header__top .link {
        min-width: 120px !important;
        text-align: center !important;
        border-right: 1px solid #444 !important;
        color: white !important;
        text-decoration: none !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
    }
    
    .header__top .link:hover {
        opacity: 0.8 !important;
    }
    
    /* Language dropdown */
    .header__top .select-lang {
        position: absolute !important;
        z-index: 100 !important;
        left: 50% !important;
        margin-left: -60px !important;
        width: 120px !important;
        display: none !important;
        top: 100% !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Когда открыт */
    .header__top .select-lang.open {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .header__top .btn-lang-main.open + .select-lang {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
    
    .header__top .select-lang .link {
        background: #000 !important;
        border-top: 1px solid #444 !important;
        border-right: 0 !important;
        line-height: 63px !important;
        display: block !important;
        cursor: pointer !important;
    }
    
    .header__top .select-lang .btn-lang {
        display: block !important;
        width: 100% !important;
        cursor: pointer !important;
    }
    
    .header__top .select-lang .link:hover {
        opacity: 1 !important;
        background: #444 !important;
    }
    
    /* Главная кнопка языка */
    .header__top .btn-lang-main {
        cursor: pointer !important;
        position: relative !important;
    }
    
    /* Hide mobile menu trigger on desktop */
    .header__top .header-menu,
    .header__top .mobile-menu-trigger,
    .header__top .btn-menu {
        display: none !important;
    }
    
}


/* ============================================
   DESKTOP HEADER BOTTOM - NAVIGATION
   ============================================ */

@media (min-width: 769px) {
    
    .header__bottom {
        background: #000 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        height: 49px !important;
        line-height: 49px !important;
    }
    
    .header__bottom .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        height: 100% !important;
    }
    
    .header__bottom .header-nav {
        padding: 0 !important;
        height: 100% !important;
    }
    
    .header__bottom .flexible {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 100% !important;
    }
    
    /* Navigation Links */
    .header__bottom .nav.bordered {
        display: flex !important;
        gap: 48px !important;
        margin: 0 !important;
        border: none !important;
        height: 100% !important;
        align-items: center !important;
    }
    
    .header__bottom .nav.bordered li {
        margin: 0 !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .header__bottom .nav.bordered .link {
        color: white !important;
        text-decoration: none !important;
        font-size: 14px !important;
        text-transform: uppercase !important;
        padding: 0 !important;
        display: inline-block !important;
        position: relative !important;
        line-height: 49px !important;
    }
    
    /* Yellow underline on hover */
    .header__bottom .nav.bordered .link::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 0 !important;
        height: 3px !important;
        background: #ebeb47 !important;
        transition: width 0.2s ease !important;
    }
    
    .header__bottom .nav.bordered .link:hover::after {
        width: 100% !important;
    }
    
    .header__bottom .nav.bordered .link:hover {
        opacity: 1 !important;
    }
    
}

