html,
body {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	min-height: 100%;
	overflow-x: hidden; /* voorkom horizontaal scrollen */
}
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0; /* Verwijder marges */
	padding: 0; /* Verwijder padding */
}

p {
	font-size: clamp(16px, 2vw, 20px);
	line-height: 1.5;
	font-weight: 400;
	margin-left: 10%;
	margin-right: 10%;
	padding: 0; /* remove large per-paragraph padding */
	text-align: justify;
}
body {
	font-family: "Arial", sans-serif;
	background-color: rgb(245, 186, 127);
	color: rgb(46, 85, 56);
}

.logo {
	scale: 0.8;
}

.bovenste_foto {
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
	display: block;
	margin-top: 40px;
}

.locatie {
	display: flex;
	justify-content: center;
	align-items: bottom;
	margin-top: 50px;
	gap: 12px;
	font-size: large;
	text-align: justify; /* Changed from justify to center */
	align-items: center; /* Vertically center the text */
	padding-right: 10px;
}
.plategrond {
	width: 25%;
	align-self: center;
	border-radius: 20%;
}

.tussetitel {
	text-align: center;
	margin-top: 50px;
	background-color: rgb(46, 85, 56);
	color: rgb(247, 148, 51);
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}

/* Make tussetitel explicit so switching h1->h2 keeps visual weight */
.tussetitel {
	font-size: 36px;
	font-weight: 700;
	padding: 12px 0;
}

.link {
	color: rgb(46, 85, 56);
	text-decoration: underline;
}

link:hover {
	cursor: pointer;
}

.activiteit {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 50px;
	gap: 20px;
	text-align: center;
}

.activiteit_foto {
	/* Make the tak photos circular and ensure the image fills the circle */
	width: 220px;
	height: 220px;
	max-width: 500px;
	max-height: 500px;
	display: block;
	margin: 20px auto; /* Centers horizontally and adds vertical spacing */
	overflow: hidden;
	border-radius: 50%;
	object-fit: cover; /* Crop the image to fill the square */
}
.activiteit_titel {
	font-size: 30px;
	font-weight: bold;
	margin-top: 50px;
	text-align: center;
}

.activiteit_tekst {
	font-size: 25px;
	text-align: center;
	padding-left: 15%;
	padding-right: 15%;
}

#activiteiten_1 {
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
}

.tussetitel_sponsor {
	text-align: center;
	padding-top: 8px;
	padding-bottom: 8px;
	background-color: transparent;
	font-size: 28px;
	color: white;
	width: 100%;
	margin: 0;
	text-decoration: underline;
}

.balk {
	background-color: rgb(46, 85, 56);
	color: rgb(247, 148, 51);
	text-align: center;
	padding: 10px;
	width: 100%;
	margin: 0;
	position: relative;
}

.footer {
	background-image: url("1982_Willerzie_Zomerkamp_3013-0.jpg");
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	color: rgb(247, 148, 51);
	text-align: center;
	padding: 18px 10px;
	width: 100%;
	margin: 0;
}
.sponsor_container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 50px;
}
.sponsor_foto {
	width: 100%;
}

.sponsor_link {
	width: 20%;
	margin: 10px;
	justify-content: center;
	align-items: center;
	transition: transform 0.5s ease-in-out;
}
.sponsor_link:hover {
	transform: scale(1.1);
}

#programa_table {
	width: 75%;
	margin: 50px auto 100px auto; /* Center the table horizontally */
	margin-top: 50px;
	margin-bottom: 100px;
	border-radius: 10px;
	border-collapse: separate;
	border-spacing: 0;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	overflow: hidden;
	align-self: center;
}

#kader_tabel {
	width: 100%;
	margin-top: 50px;
}

#programa_table th {
	background-color: rgb(46, 85, 56);
	color: rgb(247, 148, 51);
	padding: 15px;
	border: none;
	text-align: left;
	font-size: 18px;
	border-right: 1px solid rgb(247, 148, 51); /* Add vertical lines */
}

#programa_table td {
	padding: 15px;
	border: none;
	background-color: rgba(255, 235, 179, 0.404);
	font-size: 16px;
	border-right: 1px solid rgb(46, 85, 56); /* Add vertical lines */
}

#programa_table tr:nth-child(even) td {
	background-color: rgba(255, 235, 179, 0.6);
}

#programa_table tr th:last-child,
#programa_table tr td:last-child {
	border-right: none; /* Remove the right border for the last column */
}

.tusse_titel_documenten {
	text-align: center;
	padding-top: 10px;
	padding-bottom: 10px;
	font-size: 25px;
	color: rgb(247, 148, 51);
	background-color: rgb(46, 85, 56);
	width: 100vw; /* Zorg ervoor dat de titel box de volledige breedte van de viewport inneemt */
	margin: 0;
}

.documenten {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin-top: 50px;
	margin-bottom: 20px;
}

.tussetitel_programa {
	text-align: center;
	padding-top: 5px;
	padding-bottom: 5px;
	font-size: 30px;
	font-weight: 700;
	color: rgb(247, 148, 51);
	background-color: rgb(46, 85, 56);
	width: 100vw; /* Zorg ervoor dat de titel box de volledige breedte van de viewport inneemt */
	margin: 0;
}

.foto {
	width: 50%;
	height: 100%;
	margin-top: 50px;
	position: relative;
	overflow: hidden;
	left: 50%;
}
.gallery {
	display: grid; /* Use grid layout */
	grid-template-columns: repeat(2, 1fr); /* Ensure two photos per row */
	gap: 10px; /* Add space between photos */
	justify-content: center; /* Center the gallery */
	width: 100%; /* Ensure the gallery takes up the full width of the container */
}

.foto-gallery img {
	size: 10px;
	height: auto; /* Maintain proportional height */
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	display: block; /* Ensure images are block elements */
}

.tak_link {
	background-color: rgb(46, 85, 56);
	text-decoration: none;
	margin: 5px auto; /* Center horizontally and add vertical margin */
	padding: 15px 20px;
	border-radius: 10px;
	color: rgb(247, 148, 51);
	font-weight: bold;
	display: block; /* Ensure it takes up its own line and centers */
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-align: center; /* Center the text inside the button */
}

.tak_link:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1);
	cursor: pointer;
}

.tak_link:active {
	transform: translateY(0);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}

.streep {
	width: 75%;
	height: 5px;
	background-color: rgb(46, 85, 56);
	margin: 50px auto 0 auto; /* Center the line horizontally and add space above */
	border-radius: 5px; /* Ronde hoeken voor de streep */
}
/* Media queries om de lettergrootte aan te passen op kleinere schermen */

@media (max-width: 600px) {
	.tusse_titel_documenten {
		width: 100%;
	}
	.logo {
		scale: 0.6;
	}
	.banner_knop {
		font-size: 10px;
		height: 20px;
	}
	.banner_knop:hover {
		font-size: 15px;
	}
	.banner_knop:active {
		font-size: 8px;
	}
	.locatie {
		font-size: small;
	}
	.tussetitel {
		font-size: 30px;
	}
	.plategrond {
		height: 30%;
		width: 30%;
	}
	.activiteit_tekst {
		font-size: 15px;
	}
	.activiteit_foto {
		width: 160px;
		height: 160px;
	}
	#programa_table {
		width: 100%;
	}
	#programa_table th,
	#programa_table td {
		font-size: 12px;
		padding: 8px;
	}
}

@media (min-width: 640px) {
	/* Small screens (sm) */
	body {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}
@media (min-width: 768px) {
	/* Medium screens (md) */
	body {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

/* Totem item layout: jaren | totem (foto + titel) | beschrijving */
#totems {
	width: 90%;
	margin: 18px auto 60px auto;
}

.totem {
	display: grid;
	grid-template-columns: 80px 1fr 1.6fr; /* jaren | totem | beschrijving */
	gap: 16px;
	align-items: start;
	padding: 16px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.6);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* lijn tussen totems */
.totem + .totem {
	margin-top: 16px;
	border-top: 2px solid rgba(46, 85, 56, 0.12);
	padding-top: 20px;
}

/* linker kolom: jaren onder elkaar */
.totem-years {
	display: flex;
	flex-direction: column;
	gap: 8px;
	color: rgb(46, 85, 56);
	font-weight: 700;
	font-size: 14px;
	text-align: left;
}

/* middelste kolom: foto + titel */
.totem-main {
	display: flex;
	gap: 12px;
	align-items: center;
}

.totem-main img {
	width: 84px;
	height: 84px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.totem-main h2 {
	margin: 0;
	font-size: 18px;
	color: rgb(46, 85, 56);
}

/* rechter kolom: beschrijving */
.totem-desc {
	font-size: 15px;
	color: rgba(46, 85, 56, 0.95);
	line-height: 1.45;
	margin: 0;
}

/* subtitel jaar kleiner */
.totem-year-label {
	font-size: 12px;
	opacity: 0.8;
	font-weight: 600;
}

/* responsive: op smalle schermen stapelen we de kolommen */
@media (max-width: 800px) {
	.totem {
		grid-template-columns: 1fr;
	}
	.totem-years {
		flex-direction: row;
		gap: 12px;
		order: 3;
	}
	.totem-main {
		order: 1;
	}
	.totem-desc {
		order: 2;
	}
	.totem-main img {
		width: 64px;
		height: 64px;
	}
}

/* Ordered lists styling */
ol {
	margin-left: 10%;
	margin-right: 10%;
	padding-left: 1.2rem; /* keep room for markers */
	color: rgb(46, 85, 56);
	font-size: clamp(16px, 1.8vw, 18px);
	line-height: 1.6;
}

ol li {
	margin: 0.5rem 0;
	padding-left: 0.25rem;
}

/* Make numeric markers stand out */
ol li::marker {
	font-weight: 700;
	font-size: 1rem;
}

/* Nested ordered lists use letters for clarity */
ol ol {
	list-style-type: lower-alpha;
	margin-left: 1rem;
}

@media (max-width: 600px) {
	ol {
		margin-left: 6%;
		margin-right: 6%;
		font-size: 15px;
	}
	ol li::marker {
		font-size: 0.95rem;
	}
}

/* Contact page styles */
.contact-section {
	padding: 30px 0 60px 0;
}
.contact-container {
	display: flex;
	gap: 40px;
	justify-content: center;
	align-items: flex-start;
	width: 90%;
	margin: 0 auto 40px auto;
	flex-wrap: wrap;
}
.content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 16px;
}

/* ensure paragraphs inside contact boxes don't inherit large page margins */
.contact-form p,
.contact-details p {
	margin: 0 0 12px 0;
	padding: 0;
}
.contact-form,
.contact-details {
	background: rgb(255 255 255 / 25%);
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.contact-form {
	flex: 1 1 380px;
	min-width: 280px;
}
.contact-details {
	flex: 0 0 360px;
}
.contact-form h3,
.contact-details h3 {
	margin-top: 0;
	color: rgb(46, 85, 56);
}
.contact-form label {
	display: block;
	margin-top: 12px;
	font-weight: 600;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
	width: 90%;
	padding: 10px 12px;
	margin-top: 6px;
	border: 1px solid rgba(46, 85, 56, 0.15);
	border-radius: 6px;
	font-size: 16px;
}
.contact-form textarea {
	resize: vertical;
}
.button-submit {
	margin-top: 14px;
	background: rgb(46, 85, 56);
	color: rgb(247, 148, 51);
	border: none;
	padding: 10px 18px;
	border-radius: 8px;
	font-weight: 700;
	cursor: pointer;
}
.button-submit:hover {
	transform: translateY(-2px);
}
.map iframe {
	border-radius: 8px;
	width: 100%;
	height: 200px;
}

@media (max-width: 800px) {
	.contact-container {
		gap: 20px;
	}
	.contact-details {
		flex: 1 1 100%;
	}
}
