/* ============================================================================
   Stylesheet voor CAPA (Collective Automatic Painting Amsterdam)
   ========================================================================== */

/* ============================================================================
   GLOBAL RESET & LAYOUT FOUNDATIONS
   ========================================================================== */

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scrollbar-gutter: stable;
}

body {
	text-align: center;
	background: white;
	margin: 0;
	padding: 0;
}

#main {
	max-width: 768px;
	width: 100%;
	margin: 0 auto;
	text-align: left;
	padding: 0 10px;
}

/* ============================================================================
   TYPOGRAPHY - HEADINGS
   ========================================================================== */

h1 {
	font: bold 18px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 28px;
	padding: 0;
	margin: 0;
	background: url(ruit.gif);
}

h2 {
	font: 32px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 48px;
	padding: 0;
	margin: 0;
	background: url(ruit.gif);
}

h3 {
	font: bold 36px 'Times New Roman', Times, serif;
	color: #000;
	line-height: 54px;
	padding: 0;
	margin: 0;
	background: #FFF;
}

h4 {
	font: bold 36px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 54px;
	padding: 0;
	margin: 0;
	background: #FFF;
}

.groot {
	font: bold 24px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 54px;
	padding: 0;
	margin: 0;
	background: #FFF;
}

.heelgroot {
	font: bold 24px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 36px;
	padding: 0;
	margin: 0;
	background: #FFF;
}

/* ============================================================================
   TYPOGRAPHY - TEXT STYLES
   ========================================================================== */

.text {
	padding: 0 1em 1em;
	margin: 0;
	font: 13px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 20px;
	background: url(ruit.gif);
	vertical-align: bottom;
}

.fragment {
	padding: 1em 2em 1em 5em;
	font: 15px 'Times New Roman', Times, serif;
	color: #000;
	line-height: 22px;
	background: #F8F8F8;
}

.brief {
	padding: 1em 2em 1em 5em;
	font: 15px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 22px;
	background: #F8F8F8;
}

.dave {
	padding: 0 0 0 2em;
	margin: 0;
	font: 13px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 20px;
	background-color: transparent;
	vertical-align: top;
}

.kleinelettertjes {
	padding: 0 1em;
	font: 10px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 15px;
	background: url(ruit.gif);
	vertical-align: top;
}

.smallcaps {
	font-variant: small-caps;
	font-weight: bold;
	color: #9C0B02;
}

/* ============================================================================
   LINKS & INTERACTIVE ELEMENTS
   ========================================================================== */

a {
	text-decoration: none;
}

a:link, a:visited {
	color: #F00;
	background-color: transparent;
	text-decoration: none;
}

a:link:hover, a:visited:hover {
	color: #F60;
	background-color: transparent;
	text-decoration: none;
}

/* Navigation links */
.navigatie a:link,
.navigatie a:visited {
	color: #F00;
	background: url(ruit.gif);
	text-decoration: none;
}

.navigatie a:link:hover,
.navigatie a:visited:hover {
	color: #F60;
	background: url(ruit.gif);
	text-decoration: none;
}

/* Six-block links */
.zesblokjes a:link,
.zesblokjes a:visited {
	color: #F00;
	background: url(ruit.gif);
	text-decoration: none;
}

.zesblokjes a:link:hover,
.zesblokjes a:visited:hover {
	color: #F60;
	background: url(ruit.gif);
	text-decoration: none;
}

/* ============================================================================
   IMAGES & MEDIA
   ========================================================================== */

.floatlinks img {
	border: 0;
	margin: 0 1em 0 0;
	padding: 0;
}

.foto img {
	border: 0;
	margin: 0;
	padding: 0;
}

.zesblokjes img {
	border: 0;
	margin: 0 4px 0 0;
	padding: 1px 0 0;
	vertical-align: bottom;
}

.midden img {
	border: 0;
	margin: 0;
	padding: 0;
	text-align: center;
}

/* ============================================================================
   TABLES & TABLE CELLS
   ========================================================================== */

table {
	max-width: 768px;
	width: 100%;
	margin: 0;
	padding: 0 0 1em;
	background: url(ruit.gif);
	color: #000;
}

td, p {
	padding: 0;
	border: 0;
	background: url(ruit.gif);
}

/* Make all images responsive */
img {
	max-width: 100%;
	height: auto;
}

iframe {
	max-width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

/* Table text styles */
.t16 {
	padding: 0 4px;
	margin: 0;
	font: 15px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 25px;
	background: #FFF;
	border: solid #999;
	border-width: 2px 0;
	vertical-align: bottom;
}

.t11 {
	padding: 0 4px;
	margin: 0;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 13px;
	background: #FFF;
	border: solid #999;
	border-width: 2px 0;
	vertical-align: bottom;
}

/* ============================================================================
   LAYOUT & POSITIONING BLOCKS
   ========================================================================== */

/* Navigation block */
.navigatie {
	width: 100%;
	margin: 0.5em 0 0;
	padding: 0 4px;
	font: 10px Verdana, Arial, Helvetica, sans-serif;
	color: #444;
	line-height: 15px;
	background: url(ruit.gif);
	vertical-align: bottom;
}

/* Six-block gallery items */
.zesblokjes {
	width: 112px;
	height: 112px;
	margin: 0;
	padding: 4px 4px 2px;
	font: 11px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	border: solid #FFF 4px;
	background: url(ruit.gif);
	vertical-align: top;
}

/* Column width utilities */
.kantlijn {
	padding: 0 1em;
	width: 76px;
}

.vijfde {
	padding: 0.5em;
	width: 153px;
	vertical-align: bottom;
}

.kwart {
	padding: 0 1em;
	width: 192px;
	vertical-align: top;
}

.derde {
	padding: 64px 12px 24px;
	width: 256px;
	vertical-align: bottom;
}

/* ============================================================================
   NAVIGATION ARROWS
   ========================================================================== */

.pijltjesnav {
	padding: 1em 0;
	margin: 12px 12px 12px 339px;
	border: 0;
	background: url(ruit.gif);
}

.pijltjesnav ul {
	margin: 0;
	padding: 0;
}

li.pijltjes {
	float: left;
	width: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

/* ============================================================================
   UTILITY & HELPER CLASSES
   ========================================================================== */

.floatlinks {
	float: left;
	padding: 0.5em 1.5em 1em 0;
	font: 10px Verdana, Arial, Helvetica, sans-serif;
	color: #000;
	line-height: 10px;
	background-color: transparent;
}

.midden {
	text-align: center;
}

.rechts {
	text-align: right;
}

.blauw {
	color: #09F;
}

.onzichtbaar {
	display: none;
}

/* ============================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */

.scroll-to-top-center {
	width: 50px;
	height: 50px;
	background: #F00;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	transition: all 0.3s;
	line-height: 1;
	margin: 30px auto;
}

.scroll-to-top-center:hover {
	background: #F60;
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.scroll-to-top-center:active {
	transform: translateY(-1px);
}

/* ============================================================================
   HAMBURGER MENU & NAVIGATION
   ========================================================================== */

/* Hamburger button */
.hamburger {
	position: fixed;
	top: 20px;
	left: 20px;
	z-index: 1000;
	width: 40px;
	height: 40px;
	background: #F00;
	border: none;
	cursor: pointer;
	padding: 8px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	align-items: center;
	transition: background-color 0.3s;
}

.hamburger:hover {
	background: #F60;
}

.hamburger span {
	display: block;
	width: 24px;
	height: 3px;
	background: white;
	transition: all 0.3s;
}

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

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

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

/* Navigation menu */
.menu {
	position: fixed;
	top: 0;
	left: -300px;
	width: 280px;
	height: 100vh;
	background-color: #f5f5f5;
	background-image: url(ruit.gif);
	z-index: 999;
	transition: left 0.3s;
	overflow-y: auto;
	padding: 80px 20px 20px;
	box-shadow: 2px 0 10px rgba(0,0,0,0.2);
}

.menu.active {
	left: 0;
}

.menu-header {
	font: bold 24px Verdana, Arial, Helvetica, sans-serif;
	color: #F00;
	margin-bottom: 30px;
	padding-bottom: 10px;
	border-bottom: 2px solid #F00;
}

.menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.menu ul li {
	margin: 0 0 15px 0;
	padding: 0;
}

.menu ul li a {
	display: block;
	font: 15px Verdana, Arial, Helvetica, sans-serif;
	color: #F00;
	text-decoration: none;
	padding: 8px 0;
	transition: color 0.3s;
}

.menu ul li a:hover,
.menu ul li a.active-page {
	color: #F60;
}

/* Mobile responsive */
@media (max-width: 768px) {
	#main {
		width: 100%;
		padding: 0 10px;
	}
	
	table {
		width: 100%;
	}
	
	.menu {
		width: 100%;
		left: -100%;
	}
	
	/* Responsive typography */
	h1 {
		font-size: 16px;
		line-height: 24px;
	}
	
	h2 {
		font-size: 24px;
		line-height: 36px;
	}
	
	.text {
		font-size: 14px;
		line-height: 22px;
		padding: 0 0.5em 1em;
	}
	
	.kleinelettertjes {
		font-size: 11px;
		line-height: 16px;
	}
	
	/* Responsive iframe for YouTube */
	iframe {
		width: 100%;
	}
	
	/* Stack navigation columns on mobile */
	.derde {
		width: 100%;
		display: block;
		padding: 12px;
	}
	
	/* Six-block gallery responsive */
	.zesblokjes {
		width: 48%;
		display: inline-block;
		margin: 1%;
		height: auto;
	}
	
	/* Hide decorative spacing on mobile */
	.kleinelettertjes.rechts {
		display: none;
	}
}

@media (max-width: 480px) {
	/* Even smaller phones */
	.hamburger {
		top: 10px;
		left: 10px;
		width: 36px;
		height: 36px;
	}
	
	.hamburger span {
		width: 20px;
		height: 2px;
	}
	
	h1 {
		font-size: 15px;
		line-height: 22px;
	}
	
	.text {
		font-size: 13px;
		line-height: 20px;
	}
	
	.menu {
		padding: 60px 15px 15px;
	}
	
	.menu-header {
		font-size: 20px;
	}
	
	.menu ul li a {
		font-size: 14px;
	}
	
	/* Full width gallery items on very small screens */
	.zesblokjes {
		width: 100%;
		margin: 0 0 10px 0;
	}
}


