body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	background: linear-gradient(180deg, #f0f4f8 0%, #e2e8f0 100%);
	color: #2d3748;
	line-height: 1.6;
	font-size: 16px;
	padding: 15px 12px 60px 12px;
	margin: 0;
	min-height: 100vh;
}
.main-logo {
	display: block;
	max-width: 160px;
	height: auto;
	margin: 10px auto 25px auto;
	filter: drop-shadow(0 4px 6px rgba(0,0,0,0.05));
}
section
{
	max-width:1240px;
	margin:auto;
}
.language-switcher {
	display: flex;
	gap: 12px;
	margin-bottom: 22px;
}
.lang-btn {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 10px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 50px;
	text-decoration: none;
	color: #475569;
	font-weight: 700;
	font-size: 17px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease-in-out;
	position: relative;
}
.lang-btn .flag {
	font-size: 18px;
}
.lang-btn .check-icon {
	font-size: 14px;
	color: #ffffff;
	margin-left: 4px;
}
.lang-btn.active {
	background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
	color: #ffffff;
	border-color: #1e40af;
	box-shadow: 0 10px 15px -3px rgba(30, 64, 175, 0.3);
}
.qr-content-card {
	background: #ffffff;
	padding: 25px 20px;
	border-radius: 16px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	margin-bottom: 22px;
	position: relative;
	overflow: hidden;
}
.card-header-icon {
	font-size: 32px;
	color: #0284c7;
	margin-bottom: 12px;
	text-align: center;
}
.qr-title {
	font-size: 28px;
	color: #1e293b;
	margin-top: 0;
	margin-bottom: 18px;
	text-align: center;
	font-weight: 800;
}
.qr-text {
	font-size: 19px;
	color: #334155;
}
.qr-text p {
	margin-top: 0;
	margin-bottom: 16px;
}
.media-box {
	background: #ffffff;
	padding: 18px;
	border-radius: 16px;
	margin-bottom: 18px;
	box-shadow: 0 4px 15px rgba(0,0,0,0.03);
	border-left: 5px solid #0284c7;
}
.audio-box {
	border-left-color: #22c55e;
}
.media-title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 12px;
	font-size: 22px;
}
.media-title i {
	font-size: 18px;
	color: #0284c7;
}
.audio-box .media-title i {
	color: #22c55e;
}
.mobile-player {
	width: 100%;
	border-radius: 10px;
	display: block;
	outline: none;
}
.qr-gallery-section {
	background: #ffffff;
	padding: 20px 15px;
	border-radius: 16px;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
	margin-bottom: 25px;
	

	border-left: 5px solid #ef4444; 
}


.gallery-title {
	margin-top: 0;
	font-size: 22px;
	color: #1e293b;
	margin-bottom: 16px;
	font-weight: 700;
}
.gallery-title i {
	color: #ef4444;
	margin-right: 6px;
}
.qr-gallery-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}
.gallery-item {
	display: block;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	position: relative;
	box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.gallery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(30, 41, 59, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	font-size: 20px;
	opacity: 0;
	transition: opacity 0.2s;
}
.gallery-item:active .gallery-overlay {
	opacity: 1;
}
.gallery-item:only-child {
    grid-column: span 2;
    aspect-ratio: auto; 
}
.gallery-item:only-child img {
    height: auto;
    max-height: 400px; 
    object-fit: contain; 
    background: #f8fafc;
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(15, 23, 42, 0.95) 100%);
    color: #ffffff;
    padding: 16px 10px 8px 15px;
    font-size: 17px; 
    font-weight: 700;
    line-height: 1.3;
    z-index: 3;
    pointer-events: none;
    box-sizing: border-box;
}

.gallery-caption span {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maximaal 2 regels tekst */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}



.route-footer-icons {
	display: flex;
	justify-content: space-around;
	align-items: center;
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #cbd5e1;
}
.icon-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	font-weight: 700;
	color: #64748b;
}
.icon-item i {
	font-size: 22px;
	color: #94a3b8;
}
#backToTop {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	bottom: 25px;
	right: 25px;
	z-index: 99;
	border: none;
	outline: none;
	background: #1e293b;
	color: #ffffff;
	cursor: pointer;
	width: 50px;
	height: 50px;
	border-radius: 12px;
	transition: all 0.3s ease;
	opacity: 0;
	visibility: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
#backToTop i {
	font-size: 20px;
}
#backToTop:hover {
	background: linear-gradient(135deg, #1e40af 0%, #0284c7 100%);
	color: #FFF;
	transform: translateY(-5px);
}
#backToTop.show {
	opacity: 1;
	visibility: visible;
}
.lang-btn .fi {
	font-size: 16px;
	line-height: 1;
	display: inline-block;
	vertical-align: middle;
	border-radius: 2px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.lang-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
#cboxOverlay {
	background: rgba(15, 23, 42, 0.85) !important;
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	z-index: 9998 !important;
}
#colorbox {
	outline: none !important;
	padding: 0 !important;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
	background: #ffffff !important;
	border-radius: 12px !important;
	overflow: hidden !important;
		z-index: 9999 !important;
}
#cboxWrapper {
	background: #ffffff !important;
	border-radius: 12px !important;
	overflow: hidden !important;
}
#cboxContent {
	background: #ffffff !important;
	position: relative;
	overflow: hidden !important;
}
/* Zorg dat zowel liggende als staande foto's altijd volledig binnen het frame passen */
#cboxLoadedContent img.cboxPhoto {
    border-radius: 12px 12px 0 0 !important;
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: calc(95vh - 54px) !important;
    
    margin: 0 auto !important;
}
#cboxLoadedContent img.cboxPhoto {
	border-radius: 12px 12px 0 0 !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 auto !important;
}
#cboxClose {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 32px;
	height: 32px;
	background: rgba(239, 68, 68, 0.9) !important;
	color: #ffffff !important;
	font-size: 0 !important;
	border: none !important;
	border-radius: 50% !important;
	cursor: pointer !important;
	z-index: 9999 !important;
	box-shadow: 0 2px 8px rgba(0,0,0,0.3);
	transition: transform 0.2s ease, background-color 0.2s ease;
}
#cboxClose:active {
	transform: scale(0.9);
}
#cboxClose:hover {
	background: rgba(239, 68, 68, 1) !important;
}
#cboxClose::before {
	content: "\f00d";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 100%;
}
#cboxPrevious, #cboxNext {
	position: absolute;
	bottom: 10px;
	width: 44px;
	height: 34px;
	background: #1e293b !important;
	color: #ffffff !important;
	border: none !important;
	font-size: 0 !important;
	border-radius: 6px !important;
	cursor: pointer !important;
	z-index: 9999 !important;
}
#cboxPrevious {
	left: 12px;
}
#cboxNext {
	right: 12px;
}
#cboxPrevious::before {
	content: "\f060";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
#cboxNext::before {
	content: "\f061";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
}
#cboxCurrent {
	position: absolute;
	bottom: 18px;
	left: 0;
	width: 100%;
	text-align: center;
	color: #FFF !important;
	font-family: system-ui, -apple-system, sans-serif;
	font-size: 13px !important;
	font-weight: 600;
	margin: 0 !important;
	padding: 0 !important;
	pointer-events: none;
}
#cboxTitle {
	display: none !important;
}
@media (max-width: 768px) {
    .qr-gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px; 
    }
}