/* =========================================================
   GALLERY HERO
========================================================= */

.vd-gallery-hero {
	position: relative;
	overflow: hidden;
	padding: 120px 0 100px;
	background:
		radial-gradient(
			circle at 88% 15%,
			rgba(213, 170, 50, 0.18),
			transparent 28%
		),
		linear-gradient(
			135deg,
			#031027,
			#071a3d 58%,
			#28144c
		);
	color: #ffffff;
}

.vd-gallery-hero::before {
	position: absolute;
	top: -240px;
	right: -220px;
	width: 520px;
	height: 520px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 50%;
	content: "";
}

.vd-gallery-hero-content {
	position: relative;
	z-index: 2;
	max-width: 850px;
}

.vd-gallery-hero h1 {
	margin: 0 0 26px;
	font-size: clamp(54px, 7vw, 88px);
	font-weight: 700;
	letter-spacing: -4.5px;
	line-height: 1;
}

.vd-gallery-hero h1 span {
	display: block;
	color: #d5aa32;
}

.vd-gallery-hero-content > p:last-child {
	max-width: 690px;
	margin: 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 17px;
	line-height: 1.9;
}


/* =========================================================
   PHOTO GALLERY
========================================================= */

.vd-gallery-page {
	padding: 100px 0 120px;
	background: #fcfaf6;
}

.vd-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
}

.vd-gallery-photo-card {
	min-width: 0;
}

.vd-gallery-photo-wrap {
	position: relative;
	overflow: hidden;
	height: 520px;
	border-radius: 22px;
	background: #071a3d;
	box-shadow: 0 18px 50px rgba(7, 26, 61, 0.1);
}

.vd-gallery-photo-card:nth-child(4n + 2) .vd-gallery-photo-wrap,
.vd-gallery-photo-card:nth-child(4n + 3) .vd-gallery-photo-wrap {
	height: 620px;
}

.vd-gallery-photo-wrap img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
	transition: transform 650ms ease;
}

.vd-gallery-photo-card:hover img {
	transform: scale(1.055);
}

.vd-gallery-photo-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 40px;
	background:
		radial-gradient(
			circle at 80% 15%,
			rgba(213, 170, 50, 0.22),
			transparent 28%
		),
		linear-gradient(
			135deg,
			#071a3d,
			#28144c
		);
	color: #ffffff;
	text-align: center;
}

.vd-gallery-photo-placeholder span {
	color: #d5aa32;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.vd-gallery-photo-placeholder strong {
	max-width: 400px;
	font-size: clamp(28px, 4vw, 42px);
	font-weight: 600;
	letter-spacing: -1.4px;
	line-height: 1.2;
}

.vd-gallery-photo-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(
			to top,
			rgba(3, 16, 39, 0.94) 0%,
			rgba(3, 16, 39, 0.3) 42%,
			transparent 70%
		);
	pointer-events: none;
}

.vd-gallery-photo-number {
	position: absolute;
	top: 22px;
	left: 22px;
	z-index: 3;
	width: 48px;
	height: 48px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 50%;
	background: rgba(3, 16, 39, 0.4);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	backdrop-filter: blur(12px);
}

.vd-gallery-photo-content {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	padding: 34px;
	color: #ffffff;
}

.vd-gallery-photo-content p {
	margin: 0 0 8px;
	color: #d5aa32;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
}

.vd-gallery-photo-content h2 {
	max-width: 500px;
	margin: 0;
	font-size: clamp(25px, 3vw, 36px);
	font-weight: 700;
	letter-spacing: -1.2px;
	line-height: 1.2;
}


/* =========================================================
   FINAL CTA
========================================================= */

.vd-gallery-cta {
	padding: 80px 0;
	background: #f8f5ef;
}

.vd-gallery-cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 50px;
	padding: 55px;
	border-radius: 24px;
	background:
		radial-gradient(
			circle at 90% 15%,
			rgba(213, 170, 50, 0.21),
			transparent 27%
		),
		linear-gradient(
			135deg,
			#031027,
			#071a3d 62%,
			#28144c
		);
	color: #ffffff;
}

.vd-gallery-cta-inner > div {
	max-width: 720px;
}

.vd-gallery-cta p {
	margin: 0 0 10px;
	color: #d5aa32;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.vd-gallery-cta h2 {
	margin: 0;
	font-size: clamp(28px, 4vw, 43px);
	letter-spacing: -1.7px;
	line-height: 1.25;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
	.vd-gallery-photo-wrap,
	.vd-gallery-photo-card:nth-child(4n + 2) .vd-gallery-photo-wrap,
	.vd-gallery-photo-card:nth-child(4n + 3) .vd-gallery-photo-wrap {
		height: 500px;
	}

	.vd-gallery-cta-inner {
		align-items: flex-start;
		flex-direction: column;
	}
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
	.vd-gallery-hero {
		padding: 85px 0 75px;
	}

	.vd-gallery-hero h1 {
		font-size: 50px;
		letter-spacing: -2.7px;
	}

	.vd-gallery-page {
		padding: 75px 0;
	}

	.vd-gallery-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.vd-gallery-photo-wrap,
	.vd-gallery-photo-card:nth-child(4n + 2) .vd-gallery-photo-wrap,
	.vd-gallery-photo-card:nth-child(4n + 3) .vd-gallery-photo-wrap {
		height: 460px;
		border-radius: 17px;
	}

	.vd-gallery-photo-number {
		top: 18px;
		left: 18px;
		width: 44px;
		height: 44px;
	}

	.vd-gallery-photo-content {
		padding: 25px 22px;
	}

	.vd-gallery-photo-content h2 {
		font-size: 27px;
	}

	.vd-gallery-cta {
		padding: 60px 0;
	}

	.vd-gallery-cta-inner {
		padding: 34px 25px;
		border-radius: 17px;
	}

	.vd-gallery-cta-inner .vd-button {
		width: 100%;
	}
}