/* --- Globale Stijlen & Variabelen --- */
:root {
	--primary-color: #D84315;
	/* Diep Oranje */
	--secondary-color: #FF7043;
	/* Lichter Oranje */
	--text-color: #333333;
	--light-bg: #f9f9f9;
	--white-color: #ffffff;
	--shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: 'Poppins', sans-serif;
	color: var(--text-color);
	line-height: 1.7;
	background-color: var(--white-color);
}

/* --- Hulpklassen --- */
.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 20px;
}

section {
	padding: 80px 0;
}

.section-title {
	text-align: center;
	margin-bottom: 60px;
	font-size: 2.5rem;
	color: var(--primary-color);
	font-weight: 700;
}

.section-title::after {
	content: '';
	display: block;
	width: 60px;
	height: 4px;
	background-color: var(--secondary-color);
	margin: 10px auto 0;
	border-radius: 2px;
}

.btn {
	display: inline-block;
	padding: 12px 28px;
	background-color: var(--secondary-color);
	color: var(--white-color);
	text-decoration: none;
	border-radius: 50px;
	font-weight: 600;
	transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn:hover {
	background-color: var(--primary-color);
	transform: translateY(-3px);
}

/* --- Header & Navigatie --- */
.header {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	z-index: 1000;
	padding: 20px 0;
	transition: all 0.3s ease;
}

.header.scrolled {
	background-color: var(--white-color);
	box-shadow: var(--shadow);
	padding: 15px 0;
}

.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 0;
}

.header.scrolled .logo,
.header.scrolled .nav-links a {
	color: var(--primary-color);
}

.header:not(.scrolled) .logo,
.header:not(.scrolled) .nav-links a {
	color: var(--white-color);
}

.header:not(.scrolled) .logo {
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.header:not(.scrolled) .nav-links a {
	text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.nav-links {
	list-style: none;
	display: flex;
}

.nav-links li {
	margin-left: 35px;
}

.nav-links a {
	text-decoration: none;
	font-weight: 600;
	font-size: 1rem;
	position: relative;
	padding-bottom: 5px;
}

.nav-links a::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: 0;
	left: 0;
	background-color: var(--secondary-color);
	transition: width 0.3s ease;
}

.nav-links a:hover::after {
	width: 100%;
}

.hamburger {
	display: none;
	cursor: pointer;
}

.hamburger .bar {
	display: block;
	width: 25px;
	height: 3px;
	margin: 5px auto;
	transition: all 0.3s ease-in-out;
	background-color: var(--primary-color);
}

.header:not(.scrolled) .hamburger .bar {
	background-color: var(--white-color);
}


/* --- Hero Sectie --- */
#home {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--white-color);
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
	padding: 0;
}

.hero-content {
	max-width: 800px;
}

.hero-content h1 {
	font-size: 3.5rem;
	font-weight: 700;
	margin-bottom: 20px;
	line-height: 1.2;
}

.hero-content p {
	font-size: 1.2rem;
	margin-bottom: 40px;
	font-weight: 300;
}

/* --- Diensten Sectie --- */
#diensten {
	background-color: var(--light-bg);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.service-card {
	background-color: var(--white-color);
	padding: 40px 30px;
	text-align: center;
	border-radius: 10px;
	box-shadow: var(--shadow);
	transition: transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
}

.service-icon {
	width: 60px;
	height: 60px;
	margin-bottom: 20px;
	fill: var(--primary-color);
}

.service-card h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: var(--primary-color);
}

/* --- Projecten Sectie --- */
.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.project-item {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: var(--shadow);
}

.project-item img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.project-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(216, 67, 21, 0.9), rgba(255, 112, 67, 0.6));
	color: var(--white-color);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 20px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-item:hover .project-overlay {
	opacity: 1;
	transform: translateY(0);
}

.project-item:hover img {
	transform: scale(1.1);
}

.project-overlay h4 {
	font-size: 1.3rem;
	margin-bottom: 5px;
}

/* --- Over Ons Sectie --- */
#over-ons {
	background-color: var(--light-bg);
}

.about-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.about-text {
	flex: 1;
}

.about-text h3 {
	font-size: 2rem;
	margin-bottom: 20px;
	color: var(--primary-color);
}

.about-image {
	flex: 1;
	max-width: 500px;
}

.about-image img {
	width: 100%;
	border-radius: 10px;
	box-shadow: var(--shadow);
}

/* --- Contact Sectie --- */
.contact-wrapper {
	display: flex;
	gap: 50px;
	background: var(--white-color);
	padding: 50px;
	border-radius: 10px;
	box-shadow: var(--shadow);
}

.contact-info,
.contact-form {
	flex: 1;
}

.contact-info h3 {
	font-size: 1.8rem;
	color: var(--primary-color);
	margin-bottom: 20px;
}

.contact-info p {
	margin-bottom: 20px;
}

.info-item {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.info-item svg {
	width: 24px;
	height: 24px;
	fill: var(--secondary-color);
	margin-right: 15px;
}

.contact-form form {
	display: flex;
	flex-direction: column;
}

.contact-form .form-group {
	margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 15px;
	border-radius: 5px;
	border: 1px solid #ddd;
	font-family: 'Poppins', sans-serif;
	font-size: 1rem;
}

.contact-form textarea {
	min-height: 150px;
	resize: vertical;
}

.contact-form button {
	width: auto;
	border: none;
	cursor: pointer;
}

/* --- Footer --- */
.footer {
	background-color: var(--text-color);
	color: #a0a0a0;
	padding: 40px 0;
	text-align: center;
}

.footer-content {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.footer-logo {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--white-color);
	margin-bottom: 20px;
}

.social-links a {
	color: #a0a0a0;
	margin: 0 10px;
	font-size: 1.5rem;
	transition: color 0.3s ease;
}

.social-links a:hover {
	color: var(--secondary-color);
}

.copyright {
	margin-top: 20px;
	font-size: 0.9rem;
}

/* --- Media Queries voor Responsiviteit --- */
@media (max-width: 992px) {
	.about-content {
		flex-direction: column;
	}

	.about-image {
		margin-top: 40px;
		max-width: 100%;
	}

	.projects-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	html {
		font-size: 15px;
	}

	.hero-content h1 {
		font-size: 2.8rem;
	}

	.nav-links {
		position: fixed;
		left: -100%;
		top: 0;
		flex-direction: column;
		background-color: var(--white-color);
		width: 100%;
		height: 100vh;
		text-align: center;
		transition: 0.3s;
		justify-content: center;
	}

	.nav-links.active {
		left: 0;
	}

	.nav-links li {
		margin: 20px 0;
	}

	.nav-links a,
	.header.scrolled .nav-links a {
		color: var(--primary-color);
		font-size: 1.5rem;
	}

	.hamburger {
		display: block;
		z-index: 1001;
		/* Zorgt dat het boven het menu-vlak staat */
	}

	.hamburger.active .bar:nth-child(2) {
		opacity: 0;
	}

	.hamburger.active .bar:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}

	.hamburger.active .bar:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	.projects-grid,
	.services-grid {
		grid-template-columns: 1fr;
	}

	.contact-wrapper {
		flex-direction: column;
		padding: 30px;
	}
}