

/* Start:/local/templates/.default/components/bitrix/news/portfolio_home/bitrix/news.detail/.default/style.css?17682883583573*/
.project-card {
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 20px;
}
.project-title {
	font-size: 32px;
	font-weight: 700;
	text-transform: uppercase;
	margin-bottom: 40px;
	text-align: center;
	color: #000;
}
.project-main {
	display: flex;
	gap: 40px;
	margin-bottom: 60px;
	flex-wrap: wrap;
}
.project-main-image {
	flex: 1;
	min-width: 300px;
}
.project-main-image img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}
.project-description {
	flex: 1;
	min-width: 300px;
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}
.project-description p {
	margin: 0 0 20px 0;
}
.order-button {
	align-self: flex-start;
	padding: 12px 24px;
	background-color: #8c2131;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: 5px;
	transition: background-color 0.3s ease;
	cursor: pointer;
}
.order-button:hover {
	background-color: #6b1a24;
}
.project-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}
.gallery-item img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	cursor: pointer;
	transition: transform 0.3s ease;
}
.gallery-item img:hover {
	transform: scale(1.05);
}
.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.8);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}
.modal-content {
	position: relative;
	max-width: 90%;
	max-height: 90%;
}
.modal-content img {
	width: 100%;
	height: auto;
	max-height: 80vh;
	object-fit: contain;
	border-radius: 8px;
}
.modal-close {
	position: absolute;
	top: -40px;
	right: -40px;
	color: #fff;
	font-size: 30px;
	cursor: pointer;
}
.modal-prev,
.modal-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	font-size: 40px;
	cursor: pointer;
	padding: 10px;
}
.modal-prev {
	left: 10px;
}
.modal-next {
	right: 10px;
}
.form-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.7);
	z-index: 1000;
	justify-content: center;
	align-items: center;
}
.form-modal-content {
	background: #fff;
	max-width: 500px;
	width: 90%;
	padding: 40px;
	border-radius: 10px;
	position: relative;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.form-modal-content p.h2 {
	font-size: 24px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0 0 20px;
	text-align: center;
	color: #000;
}
.form-modal-content label {
	display: block;
	font-size: 16px;
	margin-bottom: 8px;
	color: #333;
}
.form-modal-content input,
.form-modal-content textarea {
	width: 100%;
	padding: 12px;
	margin-bottom: 20px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 16px;
	box-sizing: border-box;
}
.form-modal-content textarea {
	height: 100px;
	resize: vertical;
}
.form-modal-content input[required]+label::after {
	content: '*';
	color: #8c2131;
	margin-left: 5px;
}
.form-modal-content button {
	width: 100%;
	padding: 12px;
	background-color: #8c2131;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.form-modal-content button:hover {
	background-color: #6b1a24;
}
.form-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	font-size: 24px;
	color: #333;
	cursor: pointer;
}
/* End */
/* /local/templates/.default/components/bitrix/news/portfolio_home/bitrix/news.detail/.default/style.css?17682883583573 */
