* { box-sizing: border-box; }

html {
    font-family: 'Helvetica', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

table {
    font-family: inherit;
}

h1, h2, h3 {
    font-family: inherit;
    font-weight: 700;
}

h1 {
    color: #b4011e;
}

h2 {
    font-size: 22px;
}

#over,
#voorraadlijst,
#sfeerbeelden,
#contact,
#jobs {
    scroll-margin-top: 90px;
}

.contact-gegevens {
    font-size: 12px;
}

.header-bar {
    max-width: 1000px;
    margin: 0 auto;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    z-index: 10;
}

.header-bar img {
    height: 70px;
}

.menu-items {
    display: flex;
    gap: 25px;
}

.menu-items a {
    text-decoration: none;
    color: #54595F;
    font-size: 17px;
    font-weight: bold;
    transition: color 0.2s;
}

.menu-items a:hover {
    color: #b4011e;
}

a {
    text-decoration: none;
    color: #54595F;
    font-weight: bold;
    transition: color 0.2s;
}

a:hover {
    color: #b4011e;
}

#footer a {
    color: #fff;
}

#footer a:hover {
    color: #54595F;
}

.section-content {
    position: relative;
    z-index: 10;
    max-width: 1000px;
    margin: 0 auto;
}

.section-outer {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.section-inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 1;
}

.banner-inner {
    position: relative !important;
    height: auto !important;
}

.radius-bottom {
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
}

.section-normal-padding {
    padding: 50px 20px;
}

.section-medium-padding {
    padding: 25px 20px;
}

.section-small-padding {
    padding: 10px 20px;
}

.section-imageslider-padding {
    padding: 40px 0px;
}

section h1:first-child {
    margin-top: 0;
}

#contact-info {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    gap: 20px;
}

#contact-info > span {
    white-space: nowrap;
}

.hamburger {
    display: none;
    width: 35px;
    height: 28px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
}

/* Hamburger lijnen */
.hamburger span {
    position: absolute;
    height: 4px;
    width: 100%;
    background: #54595F;
    left: 0;
    transition: 0.3s;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 12px; }
.hamburger span:nth-child(3) { top: 24px; }

/* Kruisje animatie */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 12px;
}

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

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

/* MOBILE MENU OVERLAY */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #54595F;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 35px;
    z-index: 999;
}

.mobile-menu a {
    font-size: 24px;
    text-decoration: none;
    color: #fff;
}

.mobile-menu a.smaller {
    font-size: 18px;
    text-decoration: none;
    color: #fff;
}

.mobile-menu-logo {
    text-align: center;
    margin: 20px;
}

.mobile-menu-logo img {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Breakpoint */
@media (max-width: 900px) {
    .menu-items {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .hamburger.active {
        position: fixed;
        right: 20px;
    }
}

button.oranje {
    background-color: #b4011e;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

button.oranje:hover {
    background: #830117;
}

@media (max-width: 768px) {
    .menu-items { display: none; }
    .hamburger { display: block; }
    .section-normal-padding { padding: 20px 10px; }
    .section-small-padding { padding: 10px 10px; }
    #contact-info { justify-content: space-between; gap: 0; }
    #span-mail { text-align: left; }
    #span-tel { text-align: right; }
    .verberg_contact { display: none; }
    .header-bar img { height: 60px; }
}

.font-white {
    color: white;
}

.section-right {
    text-align: right;
    align-items: right;
}

/* DIENSTEN 40/60 LAYOUT */
.diensten-columns {
    display: flex;
    gap: 25px;
}
.diensten-left { 
    width: 40%;
    background-color: #f2f2f2;
    /*background-color: #f0f0f0;*/
    padding: 15px;
    border-radius: 10px;
}
.diensten-right { 
    width: 60%;
    text-align: right;
    align-items: right;
}
@media (max-width: 700px) {
    .diensten-columns {
        flex-direction: column;
    }
    .diensten-left {
        order: 1;
        width: 100%;
    }
    .diensten-right {
        order: 2;
        width: 100%;
    }
    .diensten-right p:first-child {
        margin-top: 0;
    }
    .diensten-right img {
        border-radius: 10px;
    }
}

/* DIENSTEN2 60/40 LAYOUT */
.diensten2-columns {
    display: flex;
    gap: 25px;
}
.diensten2-left { 
    width: 60%;
    background-color: #f2f2f2;
    padding: 15px;
    border-radius: 10px;
}
.diensten2-right {
    width: 40%;
    text-align: right;
    align-items: right;
    display: flex;
    justify-content: flex-end;
}
@media (max-width: 700px) {
    .diensten2-columns {
        flex-direction: column;
    }
    .diensten2-left {
        order: 1;
        width: 100%;
    }
    .diensten2-right {
        order: 2;
        width: 100%;
        justify-content: center;
    }
    .diensten2-right p:first-child {
        margin-top: 0;
        align-items: center;
        text-align: center;
    }
    .diensten2-right img {
        width: 150px;
    }
}

/* STATS DIV */
.stats-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}
.stat-box {
    width: 260px;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.stat-box.visible {
    opacity: 1;
    transform: translateY(0);
}
.stat-num {
    font-size: 48px;
    margin: 0;
    font-weight: bold;
}
.stat-num::before {
    content: "+";
    margin-right: 4px;
}
.stat-box span {
    font-size: 20px;
}
.stat-box:nth-child(1) { transition-delay: 0.1s; }
.stat-box:nth-child(2) { transition-delay: 0.2s; }
.stat-box:nth-child(3) { transition-delay: 0.3s; }

/* SFEERBEELDEN SLIDER */
.gallery-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 0 0;
}
.gallery-wrapper .arrow.left,
.gallery-wrapper .arrow.right {
    width: 50px;
    flex: 0 0 50px;
    font-size: 42px;
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
    text-align: center;
    color: #333;
}
.gallery-wrapper .arrow.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: default;
}
.thumb-strip {
    width: calc(100% - 100px);
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 10px 0;
    box-sizing: border-box;
    scroll-snap-type: none;
}
.thumb-strip img {
    flex: 0 0 auto;
    width: 280px;
    height: 170px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    /*
    opacity: 0.88;
    transition: 0.3s ease;
    */
}
/*
.thumb-strip img:hover {
  opacity: 1;
  transform: scale(1.02);
}
*/
.thumb-strip::-webkit-scrollbar {
    display: none;
}
.thumb-strip {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* LIGHTBOX (fullscreen overlay) */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
    box-sizing: border-box;
}
#lightboxImg {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
    border: 10px solid #333;
	border-radius: 10px;
}
.lightbox .close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 34px;
    background: none;
    border: none;
    cursor: pointer;
    user-select: none;
    color: #fff;
}
.lightbox .nav.left,
.lightbox .nav.right {
    width: 50px;
    font-size: 50px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    user-select: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
.lightbox .nav.left  { left: 10px; }
.lightbox .nav.right { right: 10px; }

body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

.menu-disabled {
    color: lightgrey;
    pointer-events: none;
    cursor: default;
    text-decoration: none;
}

.vacature-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.vacature-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border: 10px solid #333;
	border-radius: 10px;
}
.vacature-lightbox .close {
    position: absolute;
    top: 20px;
    right: 20px;
}

.upload-form {
    width: 100%;
    background: #f3f3f3;
    border-radius: 10px;
    margin-top: 2px;
    padding: 8px;
}

.upload-form input,
.upload-form button {
    padding: 4px;
    margin: 2px 0px;
}

.upload-form button {
    cursor: pointer;
    background: #2c7be5;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 4px;
    font-size: 16px;
}

img {
    margin: 0;
    padding: 0;
    display: block;
}

@media (max-width: 450px) {
    html, body {
        font-size: 14px;
    }
    td {
        font-size: 14px;
    }
    h2 {
        font-size: 20px;
    }
    .contact-gegevens {
        font-size: 12px;
    }
}

.fa-green { color: green; }
.fa-red { color: red; }

.hidden-thumb {
    display: none;
}

.border-radius-10px {
    border-radius: 10px;
}

.border-radius-20px {
    border-radius: 20px;
}

.max-width100 {
    max-width: 100%;
}

.banner-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}
.background-banner {
    width: 100%;
    max-width: 1500px;
    height: 550px;
    max-height: 550px;
    object-fit: cover;
    border-radius: 20px;
    opacity: 0.8;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 50;
}
.banner-overlay .section-content p{
    text-align: left;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}
.banner-overlay .section-content h1 {
    text-align: left;
    color: white;
    font-size: 40px;
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.7);
}
@media (max-width: 1050px) {
    .background-banner {
        max-width: none;
        width: 100vw;
        border-radius: 0;
        height: 500px;
    }
    .banner-overlay .section-content {
        padding-top: 0;
    }
}
@media (max-width: 768px) {
    .background-banner {
        height: calc(100vh - 100px);
        max-height: 900px;
    }
}


@media (min-width: 1051px) {
    .banner-radius-bottom {
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }
    .section-banner-content {
        padding-bottom: 20px;
    }
}

#showMoreBtn {
    margin-top: 20px;
    display: inline-block;
    background-color: #e09b24;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

#showMoreBtn:hover {
    background: #f8b94c;
}

#footer {
    background: #b4011e;
    color: white;
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 20px;
    padding: 10px;
}

.footer-logo {
    display: block; /* voorkomt standaard inline-spacing issues */
    margin: 0;
}

.toon_black_overlay {
	display: block;
	position: fixed;
	top: 0%;
	left: 0%;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background-color: black;
	z-index: 1001;
	-moz-opacity: 0.85;
	opacity: .85;
	filter: alpha(opacity=85);
}

.toon_white_content {
	display: block;
	position: fixed;
	top: 15%;
	width: 700px;
	min-height: 480px;
	height: auto;
	left: 50%;
	margin-left: -350px;
	padding: 10px;
	border: 10px solid #333;
	border-radius: 10px;
	background-color: #FFF;
	z-index: 1002;
	overflow: hidden;
}

#footerAdminBtn {
    opacity: 0;
    pointer-events: none;
}

#voorraadlijst:target ~ #footerAdminBtn {
    opacity: 1;
    pointer-events: auto;
}

label {
    font-weight: bold;
    margin-bottom: 6px;
}

input, textarea {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #5274ab;
    font-size: 14px;
}

input.bestanden {
    border: 0;
}

.fullWidth {
    width: 100%;
}

textarea {
    height: 120px;
    resize: none;
}

#charCounter {
    font-size: 14px;
    margin-top: 5px;
    text-align: right;
    color: #444;
}

#charCounter.limit-reached {
    color: red;
}

#sendBtn {
    margin: 10px 0px;
}

#sendBtn:hover {
    background: #f8b94c;
}

@media (max-width: 700px) {
    .form-row {
        flex-direction: column;
    }
    .form-group {
        width: 100%;
    }
}

.alert {
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
}

#top-banner {
    margin-top: 100px;
}
#menu-bar {
    position: fixed;
    top: 0;
    z-index: 1000;
    background: white; /* of jouw gewenste kleur */
    width: 100%;
    border-bottom: 0px solid #b4011e;
}
#menu-bar.scrolled {
    border-bottom: 1px solid #b4011e;
}

#footer-bar {
    background: #444;
    position: relative;
}

#footerAdminBtn {
    position: absolute;
    bottom: 10px;
    left: 15px;
    font-size: 14px;
    text-decoration: none;
    color: #444;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#voorraadlijst:target ~ #footer-bar #footerAdminBtn {
    opacity: 1;
    pointer-events: auto;
}

#footerAdminBtn:hover {
    color: #ffd000;
}

.inputcheck {
    display: none !important;
}

#footer-bar .section-content {
    position: relative;
    z-index: 5;
}

.bg-wit { background-color: #fff; }
.bg-lichtblauw { background-color: #5274ab; }
.bg-donkerblauw { background-color: #425d89; }
.bg-donkergrijs { background-color: #444; }