* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #444;
}

p {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

td {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
}

h1, h2, h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
}

h2 {
    font-size: 22px;
}

.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: 80px;
}

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

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

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

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

a:hover {
    color: #e09b24;
}

.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-small-padding {
    padding: 10px 20px;
}

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: white;
    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 */
/* OUDE VERSIE
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #425d89;
    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;
}
*/

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    min-height: 100dvh;
    background: #425d89;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 110px 20px 30px;
    z-index: 999;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.menu-open {
    overflow: hidden;
    touch-action: none;
}

html.menu-open {
    overflow: hidden;
}

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

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

.mobile-menu-logo img {
    max-width: 140px;
    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: #e09b24;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
}

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

@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; }
}

.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: #f0f0f0;
    padding: 15px;
    border-radius: 10px;
}
.diensten-right { width: 60%; }
/*
@media (max-width: 1000px) {
    .diensten-columns { flex-direction: column; }
    .diensten-left,
    .diensten-right { width: 100%; }
}
*/
@media (max-width: 1000px) {
    .diensten-columns {
        flex-direction: column;
    }
    .diensten-left {
        order: 2; /* komt ONDER */
        width: 100%;
        max-width: 400px;
    }
    .diensten-right {
        order: 1; /* komt BOVEN */
        width: 100%;
    }
    .diensten-right p:first-child {
        margin-top: 0;
    }
}

@media (max-width: 550px) {
    .diensten-left {
        width: 100%;
        max-width: 100%;
        border-radius: 20px;
    }
}

.box-blauw {
    position: relative;
    display: block;
    padding: 4% 6%;
    margin: 25px 0px;
    background-color: #5274ab !important;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.box-oranje {
    position: relative;
    display: block;
    padding: 4% 6%;
    margin: 25px 0px;
    background-color: #e09b24 !important;
    box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

.gallery {
    display: grid;
    gap: 12px;
}

@media (min-width: 1000px) {
    .gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 600px) and (max-width: 999px) {
    .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 599px) {
    .gallery { grid-template-columns: repeat(2, 1fr); }
}

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

.gallery-thumb {
    width: 100%;
    padding-top: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.gallery-thumb img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 110%;
    height: 110%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
}

.gallery-thumb:hover img {
    transform: translate(-50%, -50%) scale(1.05);
}

.hidden-thumb {
    display: none;
}

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

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

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

.section-banner-content {
    position: relative;
    z-index: 20;
    max-width: 1200px;
    margin: 0 auto;
}

.video-mask {
    position: relative;
    width: 100%;
    /*height: 650px;*/
    height: calc(100vh - 150px);
    max-height: 700px;
    overflow: hidden;
    border-radius: 20px;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1200px;
    max-width: 1200px;
    min-height: 100%;
    height: auto;
    object-fit: cover;
    transform: translate(-50%, -50%);
    border-radius: 20px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    /*pointer-events: none;*/
}

.banner-overlay button {
    pointer-events: auto;
}

.banner-overlay h1 {
    font-size: 48px;
    margin-bottom: 25px;
    font-weight: bold;
}

@media (max-width: 1050px) {
    .video-mask {
        /*height: 600px;*/
        /*max-height: none;*/
        border-radius: 0;
    }
    .background-video {
        width: 100%;
        min-height: 100%;
        height: 100%;
        left: 0;
        top: 0;
        transform: none;
        border-radius: 0;
        max-width: none;
    }
    .banner-overlay h1 {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    /*.video-mask { height: 500px; }*/
    .banner-overlay h1 { font-size: 26px; }
    .banner-overlay button {
        font-size: 16px;
        padding: 10px 24px;
    }
}

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

/* Tekst en button over de video */
.banner-overlay {
    position: relative;
    z-index: 50;
    text-align: center;
    color: white;
    padding: 120px 20px;     /* ruimte voor tekst */
}

/* Titel styling */
.banner-overlay h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 25px;
}

/* Button styling */
.banner-button {
    background-color: #e09b24;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    cursor: pointer;
    font-weight: bold;
}

/* Button hover */
.banner-button:hover {
    background-color: #f8b94c;
}

/* Responsieve tekstgroottes */
@media (max-width: 900px) {
    .banner-overlay h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .banner-overlay h1 {
        font-size: 26px;
    }
    .banner-button {
        font-size: 16px;
        padding: 10px 24px;
    }
}

#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;
}

#imageViewer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

#viewerImg {
    max-width: 90%;
    max-height: 90%;
}

#closeViewer {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 38px;
    color: white;
    cursor: pointer;
}

.viewer-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: white;
    cursor: pointer;
    user-select: none;
}

#prevArrow { left: 25px; }
#nextArrow { right: 25px; }

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.form-group.full-width {
    width: 100%;
}

#footer {
    background: #425d89;
    color: white;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 10px;
}

#footer-col-1,
#footer-col-3 {
    width: 240px;
    flex-shrink: 0;
}

#footer-col-2 {
    flex: 1;
}

#footer-col-3 {
    text-align: right;
}

.footer-col p {
    margin: 6px 0 12px 0;
    color: white;
    text-decoration: none;
}

.footer-logo {
    height: 80px;
}

.footer-col i {
    margin-right: 6px;
}

@media (max-width: 860px) {
    .footer-container {
        flex-wrap: wrap;
    }
    #footer-col-2 {
        width: calc(100% - 240px);
    }
    #footer-col-3 {
        width: 100%;
        order: 3;
        margin-top: 10px;
        text-align: center;
    }
}

@media (max-width: 599px) {
    .footer-container {
        flex-direction: column;
    }
    #footer-col-1,
    #footer-col-2,
    #footer-col-3 {
        width: 100%;
        order: initial;
    }
    #footer-col-2,
    #footer-col-3 {
        margin-top: 10px;
    }
    #footer-col-3 {
        text-align: center;
    }
}

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

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

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-bar { background: #425d89; color: #fff; }
#menu-bar { background: #5274ab; }
#footer-bar { background: #444; }

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