* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;

    background-image: url("images/background_svd.png.jpeg");
    background-size: 100%;
    background-repeat: no-repeat;
    background-position: center 35%;
    background-attachment: fixed;
}

@media (max-width: 768px) {
    body {
        /* Zelfde positie op alle pagina’s, iets meer naar rechts */
        background-attachment: fixed;
        background-size: cover;
        background-position: 60% 35%;
    }


    body::before {
        position: absolute;
    }
}



body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(46, 45, 45, 0.45);
    z-index: -1;
}

section {
    background: transparent;
}

.site-footer {
    margin-top: 60px;
    padding: 24px 50px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(5px);
}

.site-footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 1100px;
    margin: 0 auto;
    font-size: 14px;
    text-align: center;
}


.site-footer-inner .footer-meta {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    font-weight: 400;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.site-footer-inner .footer-year {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.65);
}


.site-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(241, 12, 12, 0.4);
}

.site-footer a:hover {
    color: #f10c0c;
    border-bottom-color: rgba(241, 12, 12, 0.9);
}

@media (max-width: 768px) {
    .site-footer {
        padding: 18px 18px;
        position: relative;
        bottom: 0;
        width: 100%;
    }

    .site-footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer-left,
    .site-footer-right {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .site-footer-right {
        gap: 14px;
    }
}




/* Navbar */
nav {
    background: rgba(51, 51, 51, 0.101);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    pointer-events: auto;
}


.logo-main {
    color: white;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-sub {
    color: #d9d9d9;
    font-size: 24px;
    font-weight: 500;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Desktop links */
.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #f10c0c;
}

/* Hamburger (checkbox hack) */
.nav-toggle {
    display: none;
}

.nav-hamburger {
    display: none !important;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}


.nav-hamburger::after {
    content: "MENU";
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    color: #fff;
    pointer-events: none;
}

.nav-hamburger {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .nav-hamburger {
        display: flex !important;
    }
}


.nav-hamburger span {

    display: block;
    width: 22px;
    height: 2px;
    background: white;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.2s;
}

.nav-toggle:checked~.nav-hamburger::after {
    content: "SLUIT";
}

/* hamburger animatie naar X bij open */
.nav-toggle:checked~.nav-hamburger span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle:checked~.nav-hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked~.nav-hamburger span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

/* Hero */
.hero {
    height: 55vh;

    display: flex;
    justify-content: center;
    /* fixed: verwijder foutieve regel */
    /* visibility 0.2s ease; */

}


.nav-links a {
    font-size: 16px;
}

.nav-toggle:checked~.nav-links {
    max-height: 360px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-toggle:checked~.nav-links {
    /* specifiek voor mobile uitklap */
    max-height: 360px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* base mobile nav (menu uitklappen) */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 12px;
        padding: 16px 14px;
        background: rgba(51, 51, 51, 0.85);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);

        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.25s ease;
    }

    .nav-links a {
        font-size: 16px;
        width: 100%;
    }
}




.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.logo-main {
    color: white;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-sub {
    color: #d9d9d9;
    font-size: 24px;
    font-weight: 500;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #f10c0c;
}

/* Hero */
.hero {
    height: 55vh;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
}

.hero div {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    color: white;
}

.hero-content h1 {
    font-size: 5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-content p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: -80px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.btn-primary,
.btn-secondary {
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-primary {
    background: #000000;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
}

.btn-secondary {
    background: #000000;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: black;
}

.services-preview {
    padding: 90px 80px;
    text-align: center;
    color: white;
}

.services-preview h2 {
    font-size: 3rem;
    margin-bottom: 60px;
}

.cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
}

@media (max-width: 1100px) {
    .cards {
        flex-wrap: wrap;
    }
}

.card {
    width: 350px;
    padding: 35px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 15px;
}

.card p {
    line-height: 1.6;
}

/* Diensten pagina additions */
.services-page-content {
    max-width: 1100px;
    margin: 0 auto;
}

.services-title {
    font-size: 6rem;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.services-lead {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 60px;
    color: #f5f5f5;
}

.service-list {
    list-style: none;
    margin-top: 20px;
    text-align: left;
    padding-left: 0;
}

.service-list li {
    margin: 10px 0;
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: "✓";
    color: #f10c0c;
    position: absolute;
    left: 0;
    top: 0;
}

.cta {
    margin-top: 70px;
    display: flex;
    justify-content: center;
}

.cta-box {
    width: 100%;
    max-width: 900px;
    padding: 40px 35px;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    color: white;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}


.cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Galerij offerte onderaan - centeren */
.gallery-offerte {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    text-align: center;
}



.galerij-hero {
    height: 40vh;
}

.hero-content p {
    margin-bottom: 0;
}

/* GALERIJ */

.gallery-section {
    padding: 80px;
}

.gallery-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.gallery-column {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px;
}

.gallery-title {
    color: white;
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 18px;
    text-transform: uppercase;
}

/* Over Ons */
.overons-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.overons-grid {
    justify-items: center;
    align-items: stretch;
    place-items: center;
}

.overons-section {
    padding: 90px 80px;
    color: white;
}

.overons-hero {
    height: 60vh;
}

.overons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.overons-card {
    height: 100%;
}

.overons-cta {
    margin-top: 70px;
}

.overons-list {
    text-align: left;
}

@media (max-width: 1100px) {
    .overons-section {
        padding: 60px 22px;
    }
}

@media (max-width: 800px) {
    .overons-grid {
        grid-template-columns: 1fr;
    }
}

/* Over Ons cards alignment tweaks */
.overons-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Contact */
.contact-section {
    padding: 90px 80px;
    color: white;
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.contact-card {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 28px 26px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-card h2 {
    font-size: 1.8rem;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.contact-lead {
    color: #f5f5f5;
    line-height: 1.7;
    margin-bottom: 18px;
}

.contact-list {
    list-style: none;
    text-align: left;
    margin-top: 10px;
}

.contact-list li {
    margin: 10px 0;
    line-height: 1.8;
}

.contact-list a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid rgba(241, 12, 12, 0.4);
}

.contact-list a:hover {
    color: #f10c0c;
    border-bottom-color: rgba(241, 12, 12, 0.9);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: white;
    padding: 12px 14px;
    outline: none;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(241, 12, 12, 0.75);
    box-shadow: 0 0 0 3px rgba(241, 12, 12, 0.15);
}

.contact-form-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 6px;
}

.contact-cta {
    margin-top: 16px;
}

.contact-section .cta-box {
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (max-width: 900px) {
    .contact-section {
        padding: 60px 22px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.gallery-carousel {

    position: relative;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: 14px;
    /* voorkomt dat carousel net buiten beeld valt op small devices */
    max-width: 100%;
}


.carousel-track {
    display: flex;
    transition: transform 0.35s ease;
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    display: block;
}

.carousel-slide img,
.carousel-slide video {
    width: 100%;
    height: 360px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);

    display: block;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    background: rgba(0, 0, 0, 0.2);
}

/* Video thumbnails/opstart op mobiel */
.carousel-slide video {
    /* CSS kan preload niet afdwingen; maar we laten hier markup-taken staan en zorgen voor consistente weergave */
    display: block;
}

/* Belangrijk voor mobile: poster/controls zichtbaar houden en niet “samenvouwen” */
@media (max-width: 768px) {
    .carousel-slide video {
        height: 240px;
        object-fit: contain;
        background: rgba(0, 0, 0, 0.2);
    }

}



.carousel-btn {
    position: absolute;
    z-index: 5;

    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn:hover {
    border-color: rgba(241, 12, 12, 0.65);
    color: #f10c0c;
}

.carousel-btn.is-prev {
    left: 12px;
}

.carousel-btn.is-next {
    right: 12px;
}

@media (max-width: 900px) {
    .gallery-layout {
        grid-template-columns: 1fr;
    }

    .carousel-slide img,
    .carousel-slide video {
        height: 280px;
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 40px 20px;
    }

    .gallery-title {
        font-size: 2rem;
    }
}

/* Prijslijst afbeelding */
.gallery-pricelist {
    width: 100%;
    display: grid;
    place-items: center;
}

.gallery-pricelist img {
    display: block;
}

.prijslijst-image {
    display: block;
}


.prijslijst-figure {
    margin: 0;
    width: 100%;
    max-width: 720px;
}


.prijslijst-image {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    display: block;
    margin-top: -50px;
}


.prijslijst-caption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    text-align: center;
}


.galerij-hero {
    height: 40vh;
}

.hero-content p {
    margin-bottom: 0;
}

/* GALERIJ */

.gallery-section {
    padding: 80px;
}

.gallery-title {
    color: white;
    text-align: center;
    font-size: 3rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.gallery-grid img {
    width: 100%;
    height: 350px;
    object-fit: cover;

    border-radius: 15px;
    transition: 0.3s;

    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.video-grid video {
    width: 100%;
    border-radius: 15px;

    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {

    /* Algemene spacing op mobiel */
    nav {
        height: 70px;
        padding: 0 14px;
        gap: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 3px;
    }

    .services-preview h2 {
        font-size: 1.8rem;
        margin-bottom: 14px;
    }

    /* override: voorkom dubbele nav styling */
    nav {
        height: 70px;
        padding: 0 14px;
        gap: 10px;
    }

    .services-page-content {
        padding: 0 4px;
    }

    .services-title {
        font-size: clamp(2.0rem, 7vw, 3.2rem);
        margin-bottom: 14px;
    }

    .services-lead {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 34px;
    }

    .card {
        padding: 26px 18px;
    }

    .card h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

    .card p {
        font-size: 0.98rem;
    }

    .service-list {
        margin-top: 14px;
    }

    .service-list li {
        font-size: 0.95rem;
        line-height: 1.45;
        padding-left: 18px;
    }


    .logo {
        gap: 8px;
        min-width: 0;
    }

    .logo-text {
        gap: 2px;
        white-space: nowrap;
    }

    .logo-main {
        font-size: 28px;
        letter-spacing: 0.5px;
    }

    .logo-sub {
        font-size: 18px;
    }

    .nav-links {
        gap: 10px;
        justify-content: flex-end;
    }

    .nav-links a {
        font-size: 14px;
        line-height: 1.1;
        white-space: nowrap;
    }

    .hero {
        height: auto;
        padding: 90px 22px;
    }



    .hero-content h1 {
        font-size: clamp(2.1rem, 7vw, 2.6rem);
        line-height: 1.15;
    }

    .hero-content p {
        font-size: 1.05rem;
        line-height: 1.7;
        margin-bottom: 0;
    }


    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 3px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 13px 22px;
        width: 100%;
        max-width: 320px;
    }

    /* Diensten & kaarten */
    .services-preview {
        padding: 70px 22px;
    }

    .cards {
        flex-wrap: wrap;
        gap: 18px;
        justify-content: center;
    }

    .card {
        width: 100%;
        max-width: 380px;
    }

    /* Galerij */
    .gallery-section {
        padding: 40px 20px;
    }

    .gallery-title {
        font-size: 2rem;
    }

    .gallery-layout {
        grid-template-columns: 1fr;
    }

    .carousel-slide img,
    .carousel-slide video {
        height: 240px;
    }

    /* Prijslijst */
    .prijslijst-figure {
        max-width: 96vw;
    }

    .prijslijst-image {
        margin-top: -20px;
    }

    /* Galerij: carousel buttons kleiner op mobiel */
    .carousel-btn {
        width: 36px;
        height: 36px;
        top: 52%;
    }

    .carousel-btn.is-prev {
        left: 8px;
    }

    .carousel-btn.is-next {
        right: 8px;
    }
}