/* Общие стили */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Roboto', sans-serif;
}

body {
	background-color: #f4f4f4;
	color: #333;
	font-size: 16px;
}

/* Контейнер */
.container {
	width: 80%;
	margin: 0 auto;
}

/* Шапка */
.header {
	background-color: #333;
	color: white;
	padding: 20px 0;
}

.header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header .logo {
	font-size: 24px;
	font-weight: bold;
}

.header .header-right {
	display: flex;
	align-items: center;
}

.header .contact-info {
	margin-right: 20px;
}

.header .contact-info a {
	color: white;
	text-decoration: none;
	margin-left: 15px;
}

.header .language-switcher {
	display: flex;
}

.header .lang-btn {
	background: none;
	border: none;
	color: white;
	font-size: 16px;
	cursor: pointer;
	margin-left: 10px;
}

.header .lang-btn:hover {
	text-decoration: underline;
}

.header .slogan {
	text-align: center;
	font-size: 18px;
	margin-top: 10px;
	width: 100%;
}

/* Услуги */
.services {
	background-color: #fff;
	padding: 40px 0;
}

.services h2 {
	text-align: center;
	font-size: 32px;
	margin-bottom: 20px;
}

.filter {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.filter button {
	background-color: #333;
	color: white;
	border: none;
	padding: 10px 20px;
	margin: 0 5px;
	cursor: pointer;
	font-size: 16px;
}

.filter button.active {
	background-color: #ff8c00;
}

.filter button:hover {
	background-color: #555;
}

.services-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
}

.service-item {
	background-color: #f9f9f9;
	padding: 20px;
	margin-bottom: 20px;
	width: 22%;
	box-sizing: border-box;
	border-radius: 8px;
	text-align: center;
	transition: all 0.3s ease;
}

.service-item:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item h3 {
	font-size: 20px;
	margin-bottom: 10px;
}

.service-item p {
	font-size: 18px;
}

/* Галерея */
.gallery {
	padding: 50px 0;
	background-color: #f4f4f4;
	text-align: center;
}

.gallery h2 {
	font-size: 2rem;
	margin-bottom: 20px;
	font-weight: 700;
}

.gallery-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 20px;
	justify-items: center;
}

.gallery-grid img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	transition: transform 0.3s ease;
}

.gallery-grid img:hover {
	transform: scale(1.1);
}

/* Форма обратной связи */
.feedback {
	padding: 50px 0;
	background-color: #fff;
}

.feedback h2 {
	font-size: 2rem;
	margin-bottom: 20px;
	font-weight: 700;
	text-align: center;
}

#feedback-form {
	max-width: 600px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

#feedback-form input,
#feedback-form textarea {
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	width: 100%;
	box-sizing: border-box;
}

#feedback-form textarea {
	resize: vertical;
	height: 150px;
}

#feedback-form button {
	padding: 15px;
	background-color: #ff8c00;
	color: white;
	font-size: 1rem;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s;
}

#feedback-form button:hover {
	background-color: #e07b00;
}

#feedback-form input:focus,
#feedback-form textarea:focus {
	outline: none;
	border-color: #ff8c00;
}

/* Подвал */
.footer {
	background-color: #333;
	color: white;
	padding: 20px 0;
	text-align: center;
}

.footer .contact-info a {
	color: white;
	text-decoration: none;
	margin-left: 15px;
}

.footer .contact-info a:hover {
	text-decoration: underline;
}

/* Адаптация для мобильных устройств */

/* Мобильные устройства */
@media (max-width: 768px) {
	.container {
		width: 90%;
	}

	.header .container {
		flex-direction: column;
		align-items: flex-start;
	}

	.header .header-right {
		margin-top: 10px;
	}

	.services h2 {
		font-size: 28px;
	}

	.filter {
		flex-direction: column;
		align-items: center;
	}

	.filter button {
		width: 100%;
		margin-bottom: 10px;
	}

	.services-list {
		flex-direction: column;
		align-items: center;
	}

	.service-item {
		width: 80%;
	}

	.gallery h2 {
		font-size: 1.5rem;
	}

	.gallery-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	}

	#feedback-form {
		width: 100%;
	}

	#feedback-form button {
		width: 100%;
	}
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
	.service-item {
		width: 100%;
	}

	.gallery-grid {
		grid-template-columns: 1fr;
	}

	#feedback-form input,
	#feedback-form textarea {
		font-size: 14px;
	}

	#feedback-form button {
		font-size: 14px;
	}
}
