.project-hero {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	padding: 0 100px;
	margin-top: 64px;
	padding-bottom: 64px;
}

.project-hero__left {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	min-height: 400px;
}

.project-hero__details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.project-hero__detail {
	font-size: clamp(0.95rem, 1.25vw, 1.5rem);
	line-height: 1.4;
	color: var(--text-lighter);
}

.project-hero__label {
	color: var(--text-lighter);
}

.project-hero__value {
	color: var(--text-lighter);
}

.project-hero__title {
	font-size: clamp(2.25rem, 5vw, 6rem);
	font-weight: 500;
	line-height: 1;
	color: var(--text-dark);
	margin: 40px 0 0 0;
}

.project-hero__right {
	width: 100%;
	display: flex;
	justify-content: flex-end;
}

.project-hero__image {
	width: 100%;
	max-width: 800px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 8px;
}

.project__heading {
	color: var(--text-dark);
	margin-bottom: 12px;
}

.project__heading h3 {
	font-size: clamp(1.5rem, 2.5vw, 3rem);
	font-weight: 500;
	/* Instrument Sans Medium */
}

.project__heading h4 {
	font-size: clamp(1.125rem, 1.75vw, 2rem);
	font-weight: 500;
	/* Instrument Sans Medium */
}

.project__heading hr {
	background-color: var(--divider);
}


.project__content {
	color: var(--text-lighter);
	font-weight: 500;
	font-size: clamp(1rem, 1.15vw, 1.375rem);
	line-height: 1.5;
}

.project-info__organisation,
.project-info__details,
.project-gallery {
	padding: 64px clamp(20px, 18.23vw, 350px);
	padding-bottom: 32px;
}

.project-gallery__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
}

.project-gallery__image {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
}

.project-gallery {
	width: 100%;
	padding: 64px clamp(20px, 18.23vw, 350px);
	box-sizing: border-box;
}

.project-gallery__carousel {
	display: flex;
	gap: 16px;
	width: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
}

.project-gallery__carousel::-webkit-scrollbar {
	display: none;
}

.project-gallery__image {
	flex: 0 0 calc(50% - 8px);
	min-width: 0;
	border-radius: 8px;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	scroll-snap-align: start;
}

.project-gallery__wrapper {
	position: relative;
	display: flex;
	align-items: center;
}

.project-gallery__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(18, 18, 18, 0.4);
	backdrop-filter: blur(8px);
	color: #ffffff;
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease, background-color 0.2s ease;
}


.project-gallery__wrapper:hover .project-gallery__arrow {
	opacity: 1;
}

.project-gallery__arrow:hover {
	background: rgba(18, 18, 18, 0.8);
}

.project-gallery__arrow--prev {
	left: 16px;
}

.project-gallery__arrow--next {
	right: 16px;
}

/* Responsive voor Mobiel */
@media (max-width: 768px) {
	.project-hero {
		grid-template-columns: 1fr;
		gap: 40px;
		padding: 40px 20px;
		margin-top: 0;
	}

	.project-hero__left {
		min-height: auto;
	}

	.project-hero__title {
		margin-top: 32px;
	}

	.project-info__organisation,
	.project-info__details,
	.project-gallery {
		padding: 40px 20px;
	}

	.project-gallery__grid {
		grid-template-columns: 1fr;
		width: 100%;
	}

	.project-gallery__arrow {
		display: none;
	}

	.project-gallery {
		padding: 40px 20px;
	}

	.project-gallery__image {
		flex: 0 0 85%;
	}
}
