/* Background Header Section */
body {
	margin: 0;
}
.bg {
	position: relative;
	background-image: url("Auto Waverveen.jpg");
	background-size: cover;
	background-position: center;
	height: 550px;
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	/* Aligns menu to the bottom */
}
.map iframe {
	width: 100%; /* Makes iframe responsive */
	max-width: 600px; /* Limit the size to match the layout */
}

/* Logo styling */
.logo {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 180px;
	background: rgba(255, 255, 255, 0.8);
	padding: 5px;
	border-radius: 5px;
	z-index: 2;
	/* Ensures logo stays on top of the menu */
}

.logo img {
	max-width: 100%;
	height: auto;
}

/* Navigation Menu */
.nav-menu {
	display: flex;
	gap: 20px;
	position: absolute;
	bottom: 0;
	/* Keeps the menu at the bottom of the background */
	width: 100%;
	justify-content: center;
	background-color: rgba(255, 255, 255, 0.8);
	padding: 15px 0;
	z-index: 1;
	/* Ensures it stays below the logo */
}

.nav-menu a {
	color: black;
	text-decoration: none;
	padding: 10px;
	font-size: 18px;
	font-weight: 600;
	transition: color 0.3s;
}

.nav-menu a:hover {
	color: #007bff;
}

/* Main Content */
.content {
	display: flex;
	flex-direction: row;
	align-items: left;
	text-align: left;
	padding: 40px 20px;
	gap: 40px;
}

.intro-text,
.contact-section {
	max-width: 600px;
	text-align: left;
}

.intro-text h1 {
	font-size: 24px;
	margin-bottom: 10px;
}

.intro-text p {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
}

/* Information Section */
.info-row {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 15px;
}

#afleverpakketten {
	display: block;
	margin: 0 auto;
	width: 80%;
}

.info-row img {
	width: 40px;
}

/* Contact Section */
.contact-section p,
.contact-section a {
	font-size: 16px;
	line-height: 1.6;
	color: #333;
	margin: 0;
}

/* Footer */
.footer {
	background-color: #333;
	color: #fff;
	text-align: center;
	padding: 20px;
}

.map {
	flex-grow: 2;
}

.contact-info {
	flex-grow: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
	.bg {
		height: 300px;
	}

	.map iframe {
		height: auto;
	}

	.map {
		flex-grow: 1;
	}

	.contact-info {
		flex-grow: 1;
	}
	.logo {
		width: 140px;
	}

	.nav-menu {
		flex-direction: column;
		padding: 10px;
	}

	.nav-menu a {
		font-size: 14px;
		padding: 8px 0;
	}

	.content {
		padding: 20px;
		flex-direction: column;
	}
}

@media (max-width: 480px) {
	.bg {
		height: 250px;
		text-align: center;
	}

	.map {
		flex-grow: 1;
	}

	.map iframe {
		height: auto;
	}

	.contact-info {
		flex-grow: 1;
	}

	.logo {
		position: absolute;
		/* Keeps logo positioned at the top */
		top: 10px;
		left: 10px;
		margin-bottom: 10px;
		width: 120px;
	}

	.nav-menu {
		flex-direction: column;
		gap: 10px;
	}

	.intro-text h1 {
		font-size: 20px;
	}

	.intro-text p,
	.contact-section p,
	.info-row {
		font-size: 14px;
	}

	.contact-section {
		padding-left: 10px;
	}
}
