/* ==========================================================================
   1. VARIABLES & RESET
   ========================================================================== */
:root {
    --color-dark: #0a0a0a;
    --color-light: #ffffff;
    --color-gray: #f4f4f4;
    --color-text-dark: #111111;
    --color-text-muted: #666666;
    --font-serif: 'Georgia', serif; /* Placeholder voor de specifieke koppen-stijl */
    --font-sans: 'Arial', sans-serif;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

a{
    text-decoration: none;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    line-height: 1.6;
    background-color: var(--color-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   2. BUTTONS & UI
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-outline {
    color: var(--color-light);
    border: 1px solid var(--color-light);
    background: transparent;
}

.btn-outline:hover {
    background: var(--color-light);
    color: var(--color-dark);
}

.btn-dark {
    background: var(--color-dark);
    color: var(--color-light);
    border: 1px solid var(--color-dark);
}

.btn-dark:hover {
    opacity: .8;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 1px;
}

.title-light {
    color: var(--color-light);
}
.title-light::after {
    background-color: var(--color-light);
}

.image-placeholder {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* ==========================================================================
   3. HERO SECTION
   ========================================================================== */
.hero {
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    color: var(--color-light);
    display: flex;
    flex-direction: column;
}
.hero-small {
    height: 40vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    color: var(--color-light);
    display: flex;
    flex-direction: column;
}
.sub-hero{
    height: 60vh;
    min-height: 500px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
    color: var(--color-light);
    display: flex;
    flex-direction: column;
}
.navbar {
    transition: background-color 0.3s ease, padding 0.3s ease;
    position: fixed; /* Of 'sticky', zodat hij bovenaan blijft plakken bij het scrollen */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
}

/* De klasse die jQuery gaat toevoegen */
.navbar.scrolled {
    background-color: var(--color-light) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 40px; /* Maakt de balk optioneel iets compacter tijdens scrollen */
}

/* Zorg dat de tekstkleur van de links donker wordt als de balk wit is */
.navbar.scrolled .nav-links a,
.navbar.scrolled .logo h2 {
    color: var(--color-text-dark);
}
.navbar.scrolled .nav-links a.btn{
    color: var(--color-light);
}

.navbar .logo {
    max-width: 300px;
    width: 100%;
}
.navbar .logo img {
    width: 100%;
}

.navbar .logo span {
    font-size: 0.9rem;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Hamburger Button Setup */
.nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    content: '';
    display: block;
    background: var(--color-light); /* Matches white text on non-scrolled bar */
    height: 3px;
    width: 26px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger::before { transform: translateY(-8px); }
.hamburger::after  { transform: translateY(5px); }

/* Switch hamburger color to dark when navbar is scrolled */
.navbar.scrolled .hamburger,
.navbar.scrolled .hamburger::before,
.navbar.scrolled .hamburger::after {
    background: var(--color-text-dark);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: normal;
}

.hero-content p {
    max-width: 600px;
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* ==========================================================================
   4. DIENSTEN SECTION
   ========================================================================== */
.services-section {
    background-color: var(--color-dark);
    padding: 60px 0;
    margin-top: -40px; /* Creëert de lichte overlap uit de mockup */
    position: relative;
    z-index: 10;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.service-card {
    color: var(--color-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 250px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 20px;
}

.btn-card {
    color: var(--color-light);
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--color-light);
    padding-bottom: 2px;
}

/* ==========================================================================
   5. OVER ONS SECTION
   ========================================================================== */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 25px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.about-text .btn {
    margin-top: 10px;
}

.about-text{
    width: 100%;
}
.about-image{
    width: 100%;
}
    .about-image img{
        width: 100%;
        max-height: 500px;
        object-fit: cover;
    }

/* ==========================================================================
   6. PORTFOLIO SECTION
   ========================================================================== */
.portfolio-section {
    background-color: var(--color-dark);
    padding: 60px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    padding: 0 10px;
}

.portfolio-section.swiper-portfolio-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    padding: 60px 0; /* Ruimte boven en onder */
}

/* Swiper container */
.portfolio-swiper {
    width: 100%;
    height: auto;
    padding-bottom: 50px; /* Ruimte voor paginering onderin */
}

/* De slides */
.portfolio-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.portfolio-swiper .image-placeholder {
    width: 100%;
    height: 400px; /* Of een andere gewenste vaste hoogte */
    overflow: hidden;
}

.portfolio-swiper .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zorgt dat de afbeeldingen netjes schalen */
    display: block;
}

/* Styling voor de navigatiepijlen (optioneel, pas de kleur aan naar smaak) */
.portfolio-swiper .swiper-button-next,
.portfolio-swiper .swiper-button-prev {
    color: #fff;
}
.portfolio-swiper .swiper-pagination-bullet-active {
    background: #fff;
}

/* ==========================================================================
   7. CONTACT SECTION
   ========================================================================== */
.contact-section {
    padding: 80px 0;
    text-align: center;
}

.contact-section h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-intro {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 50px auto;
}

.contact-details {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-item .icon {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item a, .contact-item p {
    color: var(--color-text-muted);
    text-decoration: none;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.footer {
    background-color: var(--color-gray);
    padding: 40px 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo h3 {
    font-family: var(--font-serif);
    color: var(--color-dark);
}

.footer-meta {
    text-align: right;
}

.floating-contact{
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background-color: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
    .floating-contact * {
        font-size: 1.2em;
        color: white;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }


.diensten_container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 64px 16px;
    background: var(--color-dark);
    color: var(--color-light);
}
.diensten_container_white{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 64px 16px;
    background:var(--color-light);
    color:var(--color-dark);
}
    div.diensten_inner{
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 32px;
    }
    div.diensten_container_white{
        max-width: 1200px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 32px;
    }
        div.diensten_container_white .diensten_inner{
            
            flex-direction: row-reverse;
        }
        div.diensten_left{
            width: 100%;
        }
        div.diensten_right{
            width: 100%;
        }
        div.diensten_right img{
            width: 100%;
            object-fit: cover;
            height: 500px;
        }

div.port_container{
    width: 100%;
    padding: 64px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
}
    div.port_container_inner{
        max-width: 1100px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 50px;
    }
        div.port_item{
            max-width: 300px;
            width: 100%;
            overflow: hidden;
        }
            div.port_item img{
                width: 100%;
                height: 400px;
                object-fit: cover;
                transition: all 200ms ease-in-out;
            }
        div.port_item:hover img{
            transform: scale(1.05);
        }
div.about-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 64px 0px;
}
    section.about-section2{
        max-width: 1300px;
        width: 100%;
        padding: 0 32px;
        display: flex;
        flex-direction: column;
        gap: 32px;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .about-images3{
        width: 100%;
    }
        .about-images3 img{
            width: 100%;
            max-height: 400px;
            object-fit: cover;
        }

/* ==========================================================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 868px) {
    div.diensten_inner{
        flex-direction: column;
    }
    .navbar {
        padding: 15px 20px; /* Sightly tighter padding on small screens */
    }

    .navbar.scrolled {
        padding: 10px 20px;
    }

    .navbar .logo {
        max-width: 200px; /* Constrain logo size on phones */
    }

    .nav-toggle {
        display: block;
    }

    /* Mobile Dropdown Container */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-light); /* Always light background when opened on mobile */
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out, box-shadow 0.3s ease;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        max-height: 400px; /* Slide open animation height */
        padding: 10px 0;
    }

    .nav-links li {
        width: 100%;
    }

    /* Ensure text is always dark/readable inside the mobile dropdown menu */
    .nav-links a {
        display: block;
        padding: 12px 25px;
        color: var(--color-text-dark) !important;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .nav-links a.btn {
        color: var(--color-light) !important;
    }

    .nav-links li:last-child a {
        border-bottom: none;
    }

    /* Transform hamburger icon into an 'X' when open */
    .nav-toggle.active .hamburger {
        background: transparent !important;
    }
    .nav-toggle.active .hamburger::before {
        transform: rotate(45deg) translateY(0);
        background: var(--color-text-dark) !important;
    }
    .nav-toggle.active .hamburger::after {
        transform: rotate(-45deg) translateY(-3px);
        background: var(--color-text-dark) !important;
    }
}
@media (max-width: 768px) {
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-meta {
        text-align: center;
    }
}