/* 
 * Modern Header Styles
 * Файл: css-new/header.css
 */

.site-header {
	background: var(--primary-darkest);
	padding: 15px 0;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.logo-section {
	display: flex;
	align-items: center;
	gap: 15px;
}

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

.logo-text {
	font-family: 'Roboto Slab', serif;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-light);
	line-height: 1.3;
}

.header-right {
	display: flex;
	align-items: center;
	gap: 20px;
}

.lang-switcher {
	display: flex;
	gap: 10px;
}

.lang-btn {
	width: 28px;
	height: 20px;
	border-radius: 3px;
	cursor: pointer;
	opacity: 0.6;
	transition: opacity 0.3s ease, transform 0.3s ease;
	overflow: hidden;
}

.lang-btn:hover {
	opacity: 1;
	transform: scale(1.1);
}

.lang-btn.active {
	opacity: 1;
}

.lang-btn img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 5px;
}

.mobile-menu-toggle span {
	width: 25px;
	height: 2px;
	background: var(--text-light);
	transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 992px) {
	.mobile-menu-toggle {
		display: flex;
	}
}

@media (max-width: 768px) {
	.header-container {
		padding: 0 20px;
	}
	
	.logo-text {
		font-size: 0.8rem;
		max-width: 250px;
	}
}

@media (max-width: 480px) {
	.logo {
		width: 45px;
	}
	
	.logo-text {
		font-size: 0.75rem;
		max-width: 200px;
	}
}
