/* ===== HEADER.CSS - Стили шапки ===== */

.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-gradient-start) 0%, var(--primary-gradient-end) 100%);
    color: var(--white);
    position: relative;
}

.header::before {
    content: "🧭";
    font-size: 60px;
    position: absolute;
    top: 20px;
    right: 30px;
    opacity: 0.3;
}

/* Языковые ссылки */
.language-links {
    position: absolute;
    top: 20px;
    left: 30px;
    display: flex;
    gap: 8px;
    z-index: 20;
}

.lang-link {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition-base);
}

.lang-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.lang-link.active {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

/* Навигационное меню */
.nav-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0 30px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    transition: var(--transition-base);
    letter-spacing: 0.5px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.nav-link.active {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.nav-link.active:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* Заголовки приложения */
.app-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.app-subtitle {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 20px;
}

/* Теги */
.tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
}

/* Медиа-запросы для header */
@media (max-width: 768px) {
    .header {
        padding: 30px 15px;
    }
    
    .app-title {
        font-size: 28px;
    }
    
    .app-subtitle {
        font-size: 18px;
    }
    
    .header::before {
        font-size: 40px;
        top: 10px;
        right: 20px;
    }
    
    .nav-menu {
        gap: 10px;
        margin: 15px 0 25px;
    }
    
    .nav-link {
        padding: 6px 15px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .language-links {
        position: relative;
        top: 0;
        left: 0;
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    .nav-link {
        width: 80%;
        text-align: center;
        padding: 10px;
    }
    
    .tags {
        flex-direction: column;
        align-items: center;
    }
    
    .tag {
        width: 80%;
        text-align: center;
    }
}