/* Стили для сетки проектов */
.kitchen-projects-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
	padding: 0;
	color: white;
	font-family: 'Montserrat', sans-serif;
	position: relative;
	background-color: transparent;
}

/* Стили для карточек проектов */
.project-card {
	display: flex;
	flex-direction: column;
	border-radius: 12px;
	overflow: hidden;
	position: relative;
	z-index: 2;
	transition: all 0.3s ease;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.05);
	cursor: pointer;
}

.project-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
	border-color: rgba(229, 176, 97, 0.2);
}

/* Стили для изображения - еще более высокие пропорции (соотношение сторон 3:2) */
.image-container {
	width: 100%;
	height: 0;
	padding-bottom: 66.67%; /* Соотношение 3:2 (2/3 = 0.6667 = 66.67%) */
	overflow: hidden;
	position: relative;
}

.project-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

/* Стили project-image перенесены в блок выше */

.project-card:hover .project-image {
	transform: scale(1.05);
}

/* Стили для контента */
.project-info {
	padding: 25px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

/* Явное указание шрифта Montserrat для заголовков */
.project-title {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 8px;
	color: white;
	line-height: 1.3;
	font-family: 'Montserrat', sans-serif;
}

.project-location {
	font-size: 16px;
	margin: 0 0 20px;
	color: #f7a600;
	font-weight: 600;
	font-family: 'Montserrat', sans-serif;
}

.project-details {
	list-style-type: none;
	padding: 0;
	margin: 0 0 20px;
}

.project-details li {
	margin-bottom: 10px;
	display: flex;
	align-items: flex-start;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.3s ease;
	line-height: 1.4;
	font-size: 14px;
}

.project-details li::before {
	content: '•';
	margin-right: 10px;
	color: #f7a600;
	font-size: 16px;
	line-height: 1.2;
}

.project-price {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 20px;
	color: white;
	margin-top: auto;
}

.project-link {
	display: inline-block;
	background-color: #f7a600;
	color: white !important;
	padding: 12px 30px;
	border-radius: 30px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	text-align: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(247, 166, 0, 0.2);
	align-self: flex-start;
	text-transform: lowercase;
}

.project-link:hover {
	background-color: #e69900;
	transform: translateY(-3px);
	box-shadow: 0 8px 20px rgba(247, 166, 0, 0.3);
	color: white !important;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 1024px) {
	.kitchen-projects-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 25px;
		padding: 0;
	}

	.project-title {
		font-size: 20px;
	}

	/* Адаптивное соотношение сторон не требуется менять, так как используется padding-bottom */
}

@media (max-width: 768px) {
	.kitchen-projects-grid {
		grid-template-columns: 1fr;
		gap: 25px;
		padding: 0;
	}

	/* Соотношение сторон изображения поддерживается автоматически */

	.project-info {
		padding: 20px;
	}

	.project-title {
		font-size: 18px;
	}

	.project-location {
		font-size: 15px;
		margin-bottom: 15px;
	}
}

@media (max-width: 480px) {
	.kitchen-projects-grid {
		padding: 0;
		gap: 20px;
	}

	/* Соотношение сторон изображения поддерживается автоматически */

	.project-info {
		padding: 15px;
	}
}
