/* =========================================================
   VISIONDECOR FEATURED PROJECTS
========================================================= */

.vd-projects-section {
	position: relative;
	overflow: hidden;
	width: 100%;
	padding: 125px 0;
	background: #071a3d;
	color: #ffffff;
}

.vd-projects-section::before {
	position: absolute;
	top: -270px;
	left: -240px;
	width: 560px;
	height: 560px;
	border: 1px solid rgba(213, 170, 50, 0.15);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.vd-projects-section::after {
	position: absolute;
	right: -190px;
	bottom: -240px;
	width: 500px;
	height: 500px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

/* =========================================================
   SECTION HEADER
========================================================= */

.vd-projects-header {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.65fr);
	align-items: end;
	gap: 90px;
	margin-bottom: 65px;
}

.vd-projects-heading {
	max-width: 760px;
}

.vd-projects-title {
	margin: 0;
	color: #ffffff;
	font-size: clamp(43px, 5vw, 67px);
	font-weight: 700;
	letter-spacing: -3.4px;
	line-height: 1.07;
}

.vd-projects-title span {
	display: block;
	color: #d5aa32;
}

.vd-projects-introduction {
	padding-bottom: 6px;
}

.vd-projects-introduction p {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.63);
	font-size: 14px;
	line-height: 1.9;
}

.vd-projects-view-all {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: #d5aa32;
	font-size: 13px;
	font-weight: 700;
}

.vd-projects-view-all span {
	font-size: 19px;
	transition: transform 250ms ease;
}

.vd-projects-view-all:hover span {
	transform: translateX(5px);
}

/* =========================================================
   PROJECT GRID
========================================================= */

.vd-projects-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 50px 30px;
}

.vd-project-card {
	min-width: 0;
}

.vd-project-image-link {
	position: relative;
	overflow: hidden;
	height: 430px;
	display: block;
	border-radius: 20px;
	background: #102857;
}

.vd-project-card-featured .vd-project-image-link {
	height: 560px;
}

.vd-project-card:nth-child(2) {
	padding-top: 90px;
}

.vd-project-card:nth-child(4) {
	padding-top: 45px;
}

.vd-project-image {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 700ms ease;
}

.vd-project-card:hover .vd-project-image {
	transform: scale(1.055);
}

.vd-project-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 30px;
	background:
		linear-gradient(
			135deg,
			rgba(18, 70, 156, 0.72),
			rgba(91, 42, 134, 0.82)
		),
		#071a3d;
	color: rgba(255, 255, 255, 0.78);
	text-align: center;
}

.vd-project-image-placeholder span {
	color: #d5aa32;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.vd-project-image-placeholder strong {
	max-width: 360px;
	color: #ffffff;
	font-size: clamp(25px, 3vw, 38px);
	font-weight: 600;
	letter-spacing: -1.5px;
	line-height: 1.25;
}

.vd-project-image-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			to top,
			rgba(3, 16, 39, 0.72),
			transparent 52%
		);
	pointer-events: none;
}

.vd-project-index {
	position: absolute;
	top: 22px;
	left: 22px;
	z-index: 3;
	width: 47px;
	height: 47px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.38);
	border-radius: 50%;
	background: rgba(3, 16, 39, 0.38);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	backdrop-filter: blur(12px);
}

.vd-project-open {
	position: absolute;
	right: 23px;
	bottom: 23px;
	z-index: 3;
	width: 55px;
	height: 55px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #d5aa32;
	color: #071a3d;
	font-size: 22px;
	transition:
		background 250ms ease,
		transform 250ms ease;
}

.vd-project-card:hover .vd-project-open {
	background: #f4c542;
	transform: rotate(8deg);
}

/* =========================================================
   PROJECT TEXT
========================================================= */

.vd-project-content {
	padding: 24px 5px 0;
}

.vd-project-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 12px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.vd-project-meta-divider {
	width: 25px;
	height: 1px;
	background: #d5aa32;
}

.vd-project-content h3 {
	margin: 0 0 13px;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.8px;
	line-height: 1.35;
}

.vd-project-content h3 a {
	color: #ffffff;
	transition: color 250ms ease;
}

.vd-project-content h3 a:hover {
	color: #d5aa32;
}

.vd-project-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #d5aa32;
	font-size: 12px;
	font-weight: 700;
}

.vd-project-link span {
	font-size: 18px;
	transition: transform 250ms ease;
}

.vd-project-link:hover span {
	transform: translateX(5px);
}

/* =========================================================
   SECTION FOOTER
========================================================= */

.vd-projects-footer {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 35px;
	margin-top: 80px;
	padding-top: 38px;
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.vd-projects-footer p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 17px;
	font-weight: 500;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
	.vd-projects-section {
		padding: 90px 0;
	}

	.vd-projects-header {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-bottom: 50px;
	}

	.vd-projects-grid {
		gap: 45px 22px;
	}

	.vd-project-image-link,
	.vd-project-card-featured .vd-project-image-link {
		height: 390px;
	}

	.vd-project-card:nth-child(2),
	.vd-project-card:nth-child(4) {
		padding-top: 0;
	}
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
	.vd-projects-section {
		padding: 72px 0;
	}

	.vd-projects-title {
		font-size: 41px;
		letter-spacing: -2.2px;
	}

	.vd-projects-grid {
		grid-template-columns: 1fr;
		gap: 42px;
	}

	.vd-project-image-link,
	.vd-project-card-featured .vd-project-image-link {
		height: 340px;
		border-radius: 16px;
	}

	.vd-project-index {
		top: 17px;
		left: 17px;
		width: 43px;
		height: 43px;
	}

	.vd-project-open {
		right: 17px;
		bottom: 17px;
		width: 49px;
		height: 49px;
	}

	.vd-project-content {
		padding-top: 20px;
	}

	.vd-project-content h3 {
		font-size: 22px;
	}

	.vd-projects-footer {
		align-items: flex-start;
		flex-direction: column;
		margin-top: 58px;
	}

	.vd-projects-footer .vd-button {
		width: 100%;
	}
}