.main-gallery-section {
	background-color: #373637;
	color: #ffffff;
	padding: 100px 100px 250px;
}

.gallery-container {
	max-width: 1920px;
	margin: 0 auto;
}

.main-gallery-section .section-title-wrapper-center {
	display: flex;
	align-items: flex-end;
	gap: 60px;
	margin-bottom: 80px;
}

.main-gallery-section .section-title-wrapper-center .title-line-full {
	border: none;
	height: 2px;
	background-color: #5acafa;
	margin: 0;
	flex-grow: 1;
}

.main-gallery-section .section-title-wrapper-center .title-text-content {
	text-align: center;
	flex-shrink: 0;
}

.main-gallery-section .section-title-wrapper-center .section-title {
	font-family: 'Bebas Neue Cyrillic', sans-serif;
	font-weight: 400;
	font-size: 64px;
	line-height: 0.8;
	letter-spacing: 0;
	text-transform: uppercase;
	margin: 0;
}

.main-gallery-section .pre-title {
	display: block;
	font-family: 'Bebas Neue Cyrillic', sans-serif;
	font-weight: 400;
	font-size: 15px;
	line-height: 1;
	letter-spacing: 0;
	color: #5acafa;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.main-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 40px;
}

.gallery-item {
	display: block;
	position: relative;
	overflow: hidden;
	
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1);
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
	transform: scale(1.05);
	opacity: 0.95;
}

@media (max-width: 1200px) {
	.main-gallery-section {
		padding: 90px 60px 200px;
	}

	.main-gallery-section .section-title-wrapper-center .section-title {
		font-size: 54px;
	}

	.main-gallery-grid {
		gap: 30px;
	}
}

@media (max-width: 992px) {
	.main-gallery-section {
		padding: 80px 40px 180px;
	}

	.main-gallery-section .section-title-wrapper-center .section-title {
		font-size: 48px;
	}

	.main-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
	}
}

@media (max-width: 768px) {
	.main-gallery-section {
		padding: 80px 20px 120px;
	}

	.main-gallery-section .section-title-wrapper-center {
		gap: 10px;
		margin-bottom: 40px;
	}

	.main-gallery-section .section-title-wrapper-center .title-line-full {
		width: 100%;
	}

	.main-gallery-section .section-title-wrapper-center .section-title {
		font-size: 36px;
	}

	.main-gallery-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.gallery-item {
		border-radius: 8px;
	}
}

@media (max-width: 480px) {
	.main-gallery-section .section-title-wrapper-center .section-title {
		font-size: 30px;
	}

	.main-gallery-section .pre-title {
		font-size: 13px;
	}

	.main-gallery-section {
		padding: 70px 16px 100px;
	}
}
