/* General Body Styles */

.mobile-nav-toggle {
    display: none; /* Hide mobile nav toggle on desktop */
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background-color: #f0f2f5;
    color: #111;
    background-image: url('https://maasallroundklus.nl/background.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    z-index: 0;
}

/* Optioneel: overlay voor leesbaarheid */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.82); /* lichte waas voor leesbaarheid */
    z-index: 1;
    pointer-events: none;
}

main, .container, .content-section, .main-header, .main-footer, section, header, footer {
    position: relative;
    z-index: 2;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* MOBILE RESPONSIVE AANPASSINGEN */
@media (max-width: 600px) {
    /* Verbeterde contact pagina styling */
    .contact-page-section {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 20px !important;
    }
    
    .contact-container {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .contact-form-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px !important; /* Consistent 20px padding */
        margin: 0 !important;
        box-sizing: border-box !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .contact-info-container {
        max-width: 100% !important;
        width: 100% !important;
        padding: 20px !important; /* Consistent 20px padding */
        margin: 0 !important;
        border-radius: 0 !important;
        box-sizing: border-box !important;
        background-color: #f9f9f9 !important;
        border-top: 1px solid #eee !important;
        text-align: center !important;
    }
    
    /* Form styling */
    .contact-form .form-group {
        margin-bottom: 15px !important;
        width: 100% !important;
    }
    
    .contact-form label {
        display: block !important;
        margin-bottom: 5px !important;
        font-weight: 500 !important;
    }
    
    .contact-form input,
    .contact-form textarea {
        width: 100% !important;
        padding: 12px !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        box-sizing: border-box !important;
        font-size: 16px !important; /* Voorkom dat iOS inzoomt bij focus */
    }
    
    .contact-form textarea {
        min-height: 120px !important;
        resize: vertical !important;
    }
    
    /* Contact info styling */
    .contact-details {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .contact-item {
        margin-bottom: 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        flex-wrap: wrap !important;
    }
    
    .contact-item i {
        margin-right: 8px !important;
        color: #007bff !important;
    }
    
    .contact-item a,
    .contact-item span {
        color: #333 !important;
        text-decoration: none !important;
        font-size: 16px !important;
    }
    
    /* WhatsApp button verbergen op mobiel */
    .whatsapp-button {
        display: none !important; /* WhatsApp knop verbergen */
    }
    
    /* Maurits foto styling - vergroot voor mobiel */
    .maurits-float {
        margin: 0 auto !important;
        display: block !important;
        width: 240px !important; /* Vergroot van 180px naar 240px */
        height: 240px !important; /* Vergroot van 180px naar 240px */
        border-radius: 50% !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important; /* Extra ruimte onder de foto */
    }
    
    .maurits-float img {
        width: 100% !important;
        height: 100% !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }
    html, body {
        width: 100% !important; /* Changed from 100vw */
        min-width: 100% !important; /* Changed from 100vw */
        max-width: 100% !important; /* Changed from 100vw */
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .container,
    .content-section,
    .faq-section,
    .faq-list,
    .overons-contact-block,
    .faq-contact-block {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
        border-radius: 0 !important;
    }
    /* Content secties - uniforme padding voor alle content containers */
    .content-section,
    .faq-section,
    .faq-list,
    .overons-contact-block,
    .faq-contact-block,
    .main-nav ul,
    .main-nav li,
    .main-nav a {
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Verticale padding voor secties */
    .content-section,
    .faq-section,
    .faq-list,
    .overons-contact-block,
    .faq-contact-block {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        margin-bottom: 18px !important;
    }
    .main-header,
    .main-header .container {
        overflow-x: hidden !important;
        background: #fff !important;
    }
    /* Header container - basisstructuur voor de mobiele header */
    .main-header .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 20px !important; /* 20px rechts EN links voor consistentie */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        position: relative !important; /* Cruciaal voor absolute positionering van menu */
        overflow: visible !important; /* Zodat het uitgeklapte menu zichtbaar is */
    }
    .main-header .logo-link {
        display: block; /* Make it a block for width/max-width to work reliably */
        flex-shrink: 0; /* Prevent logo link from shrinking */
        max-width: 45%; /* Constrain logo link's width */
        margin-right: 10px; /* Space between logo and nav */
    }

    .main-header .logo {
        display: block; /* Ensure it's a block */
        width: 100%; /* Fill the .logo-link container */
        height: auto; /* Maintain aspect ratio */
        max-height: 90px; /* Max height for the logo */
        object-fit: contain; /* Ensure logo scales nicely */
        aspect-ratio: 160/60; /* Keep original aspect ratio */
    }

    /* Verwijderd: dubbele definitie die padding inconsistentie veroorzaakte */

    /* Mobiele menu knop (hamburger) - verbeterde toegankelijkheid en zichtbaarheid */
    .mobile-nav-toggle {
        display: block !important;
        background: transparent !important;
        border: none !important;
        padding: 15px !important; /* Grotere klikbare zone */
        cursor: pointer !important;
        z-index: 1001 !important; /* Boven andere elementen */
        touch-action: manipulation !important; /* Verbeterde touch-interactie */
        -webkit-tap-highlight-color: rgba(0,0,0,0) !important; /* Geen highlight op iOS */
    }

    .hamburger-icon {
        display: block;
        width: 28px; /* Increased width of icon lines */
        height: 2px;
        background-color: #333; 
        position: relative;
        transition: background-color 0.3s ease;
    }

    .hamburger-icon::before,
    .hamburger-icon::after {
        content: '';
        position: absolute;
        left: 0;
        width: 28px; /* Match increased width */
        height: 2px;
        background-color: #333;
        transition: transform 0.3s ease, top 0.3s ease, bottom 0.3s ease;
    }

    .hamburger-icon::before {
        top: -8px; /* Adjusted spacing for new width/feel */
    }

    .hamburger-icon::after {
        bottom: -8px; /* Adjusted spacing for new width/feel */
    }

    /* Styles for when the menu is open (class 'nav-open' on main-nav or header) */
    .nav-open .hamburger-icon {
        background-color: transparent; /* Middle line disappears */
    }

    .nav-open .hamburger-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .nav-open .hamburger-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    /* Mobiele header structuur - voor push-down menu */
    .main-header {
        position: relative !important;
        width: 100% !important;
        background-color: #ffffff !important;
        z-index: 10 !important;
    }
    
    /* Hoofdnavigatie - Push-down implementatie */
    .main-nav {
        display: none !important; /* Standaard verborgen */
        height: 0 !important; /* Geen hoogte voor gesloten menu */
        overflow: hidden !important; /* Verberg inhoud in gesloten staat */
        width: 100% !important;
        background-color: #ffffff !important;
        border-top: 1px solid #eeeeee !important;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
        box-sizing: border-box !important;
        transition: none !important;
    }

    /* Open menu - push-down stijl */
    .main-nav.nav-open {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
        opacity: 1 !important;
    }

    /* Menu lijst - gegarandeerde verticale kolom */
    .main-nav ul {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important; /* Items fullwidth */
        width: 100% !important;
        background-color: #ffffff !important;
    }

    .main-nav ul {
        padding: 0 !important; /* Reset de padding van de ul */
        width: 100% !important;
    }
    
    .main-nav li {
        margin: 0 !important;
        border-bottom: 1px solid #eee !important;
        width: 100% !important;
        padding: 0 !important; /* Reset de padding van li items */
    }

    .main-nav a {
        display: block !important;
        padding: 15px 20px !important; /* 20px links en rechts consistent met andere elementen */
        text-decoration: none !important;
        color: #333 !important;
        text-align: center !important;
        font-weight: 500 !important;
        transition: background-color 0.2s ease !important;
        box-sizing: border-box !important;
    }

    .main-nav a:hover,
    .main-nav a:focus,
    .main-nav a.active {
        background-color: #f9f9f9 !important;
        color: #000 !important;
    }

    /* Show hamburger toggle only on mobile */
    .mobile-nav-toggle {
        display: block; /* Or inline-block, flex, etc. depending on desired layout with logo */
    }

    /* Hide desktop nav items if they were previously forced to show with !important */
    /* This might not be needed if .main-nav is display:none by default now */



    .main-footer {
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        border-top: 1px solid #444 !important;
        background: #222 !important;
    }
    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 12px 20px !important; /* Added 20px horizontal padding */
        width: 100% !important; /* Changed from 100vw to 100% */
        box-sizing: border-box !important;
        text-align: center !important;
        gap: 0 !important;
        overflow-x: hidden !important; /* Keep hidden to prevent accidental horizontal scroll */
    }
    .footer-section {
        min-width: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        padding: 12px 0 !important;
        text-align: center !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        box-sizing: border-box !important;
    }
    .footer-title {
        font-size: 1.1rem !important;
        margin-bottom: 8px !important;
    }
    .footer-section p, .footer-section a, .footer-section span, .footer-section ul li {
        margin-bottom: 8px !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
    }
    .footer-bottom {
        padding: 10px 0 !important;
        font-size: 0.97rem !important;
        border-top: 1px solid #444 !important;
        background: #1a1a1a !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .whatsapp-footer-link i, .footer-section i {
        font-size: 1.1rem !important;
    }
    .faq-item h2,
    .content-section h1,
    .content-section h2 {
        font-size: 1.25rem !important;
        margin-bottom: 12px;
    }
    .faq-item p,
    .content-section p {
        font-size: 1rem;
        line-height: 1.5;
    }
    .overons-contact-row {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 12px;
    }
    .overons-contact-link,
    .faq-contact-link {
        font-size: 1rem;
        padding: 8px 0;
    }
    .whatsapp-contact-img {
        width: 20px;
        height: 20px;
    }
    .faq-list {
        gap: 8px;
    }
    .faq-item {
        padding: 8px 0;
    }

    /* === From contact-mobile-fix.css (Integrated) === */
    /* Contact page specific mobile fixes */
    .contact-page-section .contact-container {
        display: block !important; /* Was grid, now stacks */
    }

    .contact-page-section .whatsapp-button { /* Specific to contact page, not the global float */
        width: 64px !important;
        height: 64px !important;
        margin: 16px auto !important;
        display: block !important;
        position: static !important; /* Overrides fixed positioning if any */
    }
    .contact-page-section .whatsapp-button img {
        width: 100% !important;
        height: 100% !important;
    }
    .contact-form .form-group input,
    .contact-form .form-group textarea {
        font-size: 1rem !important; /* Ensure readability */
        padding: 12px !important;   /* Ensure tappable area */
    }

    /* Footer contact info centering */
    .main-footer .footer-section.contact-info .contact-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin-bottom: 12px !important; /* Increased spacing */
        gap: 6px !important;          /* Increased spacing */
    }
    .main-footer .footer-section.contact-info .contact-item a,
    .main-footer .footer-section.contact-info .contact-item span,
    .main-footer .footer-section.contact-info .contact-item i {
        font-size: 1.05rem !important; /* Slightly larger for readability */
    }
    .main-footer .footer-section.contact-info .contact-separator {
        display: none !important; /* Hide the '/' separator */
    }
    /* === End of rules from contact-mobile-fix.css === */

    /* === General Mobile Enhancements === */
    body, html {
        -webkit-text-size-adjust: 100%; /* Prevent iOS font scaling */
        text-size-adjust: 100%;
    }

    * { /* Universal box-sizing and text wrapping */
        /* box-sizing: border-box !important; /* Already broadly applied in this media query */
        word-break: break-word;
        overflow-wrap: break-word;
    }

    img, video, svg { /* Responsive media */
        max-width: 100%;
        height: auto;
        display: block; /* Remove extra space below images */
    }

    /* Headings and Paragraphs */
    h1, h2, h3, h4, h5, h6 {
        line-height: 1.2; /* Tighter line height for headings */
        /* font-size adjustments already present for .content-section h1, h2 */
    }
    p {
        line-height: 1.6; /* Better readability for paragraphs */
        /* font-size adjustments already present for .content-section p */
    }

    /* Ensure grid/flex sections stack and use full width */
    .services-grid,
    .kernwaarden-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important; /* Consistent gap for stacked items */
        padding-left: 20px !important; /* Symmetrical horizontal padding */
        padding-right: 20px !important; /* Symmetrical horizontal padding */
        width: 100% !important; /* Ensure full width */
        box-sizing: border-box !important; /* Padding included in width */
        align-items: center !important; /* Centreer items horizontaal */
        justify-content: center !important; /* Extra centrering */
    }

    .service-item, .waarde-item {
        width: 100% !important; /* Ensure full width when stacked */
        margin-bottom: 15px !important; /* Overrides potential existing margins */
        padding: 20px !important; /* Add some padding inside items */
        box-sizing: border-box !important;
        text-align: center !important; /* Tekst centreren */
        max-width: calc(100% - 40px) !important; /* Maximale breedte met marge voor lay-out */
    }
    
    .hero {
        padding: 40px 15px !important; /* Adjusted padding for hero */
    }
    .hero h1 {
        font-size: 2rem !important;
    }
    .hero p {
        font-size: 1rem !important;
    }

    /* Adjust padding for main content sections on mobile */
    .content-section, 
    .faq-page > .content-section, /* Targeting .content-section specifically within .faq-page */
    .over-ons-page .content-section, 
    .contact-page-section .content-section /* Ensuring contact page also has consistent padding if it uses .content-section */ {
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }



    /* Buttons and Links */
    .cta-button, button.cta-button, a.cta-button {
        padding: 12px 20px !important; /* Slightly smaller padding on mobile */
        font-size: 1rem !important;    /* Adjust font size */
        display: block !important;     /* Make them full width for easier tapping */
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 300px; /* Prevent them from being too wide */
        text-align: center;
    }

    /* Ensure floating elements are handled or reset */
    .maurits-float, .whatsapp-float { /* Global floating buttons */
        width: 50px !important;
        height: 50px !important;
        padding: 8px !important; 
    }
    .maurits-float img, .whatsapp-float img {
        width: 100% !important;
        height: 100% !important;
    }
    .maurits-float {
        left: 15px !important;
        bottom: 15px !important;
    }
    .whatsapp-float {
        right: 15px !important;
        bottom: 15px !important;
        left: auto !important; /* Ensure it's on the right */
    }
    /* === End of General Mobile Enhancements === */
    
    /* === Footer verbeteringen voor mobiel === */
    .main-footer .container {
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .footer-content {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    
    .footer-section {
        width: 100% !important;
        padding: 15px 20px !important; /* Consistent 20px padding links en rechts */
        margin: 0 !important;
        box-sizing: border-box !important;
        flex: none !important; /* Geen flex op mobiel */
        min-width: 100% !important;
    }
    
    .footer-bottom {
        padding: 15px 20px !important;
        text-align: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    /* === Einde footer verbeteringen === */
}



/* Header Styles */
.main-header {
    background: #fff;
    padding: 1.2rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-header .logo {
    height: 112px;
}

.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* Navigation Styles */
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav li {
    margin-left: 30px;
}

.main-nav a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 8px;
    position: relative;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #007bff; /* Modern Blue */
    transition: width 0.4s ease;
}

.main-nav a:hover {
    color: #000;
    background-color: #f9f9f9;
}

.main-nav a:hover::after {
    width: 100%;
    left: 0;
}

.main-nav a.active, .main-nav .active {
    color: #111 !important;
    background: #fff !important;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}

.main-nav a.active::after {
    display: none; /* No underline for active link */
}

/* Content Section Styling */
.content-section {
    background: #fff;
    margin: 40px auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    max-width: 1000px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.content-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.service-item {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

.service-item:hover {
    background: #f1f1f1;
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff; /* Modern Blue */
}

/* Main Content Styles */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/hero-bg.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button, button.cta-button, a.cta-button {
    background: #007bff !important;
    color: #fff !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10) !important;
    text-shadow: 0 1px 3px #000, 0 -1px 3px #000, 1px 0 3px #000, -1px 0 3px #000 !important;
    padding: 15px 25px !important;
    text-decoration: none !important;
    border: 2px solid #111 !important;
    font-size: 1.15rem !important;
    transition: background 0.3s, color 0.3s, border 0.2s, transform 0.3s !important;
    display: inline-block !important;
}


.cta-button:hover, button.cta-button:hover {
    background: #4fc3ff;
    color: #fff;
    border: 2.5px solid #000;
    text-shadow: 0 1px 3px #000, 0 -1px 3px #000, 1px 0 3px #000, -1px 0 3px #000;
    transform: translateY(-3px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.16);
}

.cta-button:hover {
    background: #22b35a;
    color: #111;
    transform: translateY(-3px);
    box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

/* Footer Styles */
.main-footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 0;
}

/* Verbeterde zichtbaarheid voor contact sectie in footer */
.footer-section.contact-info a,
.footer-section.contact-info span,
.footer-section.contact-info i {
    color: #ffffff !important; /* Helder wit voor betere leesbaarheid */
    font-weight: 600 !important; /* Dikker lettertype */
    text-shadow: 1px 1px 1px rgba(0,0,0,0.3) !important; /* Subtiele schaduw voor contrast */
}

.contact-separator {
    color: #ffffff !important;
    margin: 0 8px !important;
}

.whatsapp-footer-link i {
    color: #25d366 !important; /* WhatsApp groen voor het icoon */
}

.footer-contact-link {
    text-decoration: underline !important;
    color: #ffffff !important;
}

.faq-page + .main-footer,
.over-ons-page + .main-footer {
    margin-top: 0;
}

@media (max-width: 992px) {
    .faq-page > .content-section {
        margin: 20px 6px 40px 6px;
        padding: 18px 6px;
    }
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    padding: 20px;
    min-width: 250px;
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #007bff; /* Modern Blue */
}

.footer-section p, .footer-section a, .footer-section span {
    color: #ffffff; /* Verander van #ccc naar #ffffff voor betere leesbaarheid */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    margin-right: 10px;
    font-size: 1.2rem;
    width: auto;
    text-align: center;
    color: #007bff; /* Modern Blue */
}

.contact-separator {
    margin-left: 8px;
    margin-right: 8px;
    color: #ccc;
}

.whatsapp-footer-link {
    display: inline-flex;
    align-items: center;
}

.whatsapp-footer-link i.fab.fa-whatsapp {
    margin-right: 5px;
    color: #007bff; /* Modern Blue */
    font-size: 1.2rem;
}

.footer-section a.whatsapp-footer-link:hover i.fab.fa-whatsapp {
    color: #fff;
}

/* Maurits Floating Image */
.maurits-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9999;
    background: rgba(255,255,255,0.75); /* semi-transparent white */
    border-radius: 50%;
    box-shadow: 0 2px 16px rgba(0,0,0,0.18);
    padding: 18px;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 180px;
    height: 180px;
}
.maurits-float img {
    width: 144px;
    height: 144px;
    border-radius: 50%;
    display: block;
}

.maurits-float:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.28);
    transform: translateY(-4px) scale(1.07);
}
@media (max-width: 600px) {
    .maurits-float {
        left: 5px;
        bottom: 80px;
        width: 90px;
        height: 90px;
        padding: 8px;
    }
    .maurits-float img {
        width: 64px;
        height: 64px;
    }
}

/* Contact Form Styles */
.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff; /* Blue focus color for inputs */
}

.contact-form input[type="submit"] {
    background-color: #007bff; /* Modern Blue */
    color: #fff;
    padding: 15px 25px;
    border: none;
    border-radius: 0; /* Square button */
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.contact-form input[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Subtle lift */
}

/* WhatsApp Float Button (Image Based) */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    display: block; /* Ensure it's a block for sizing */
    width: 120px; /* Doubled width */
    height: 120px; /* Doubled height */
    background-color: transparent;
    border-radius: 50%; /* If the image is circular, or make it match image */
    box-shadow: 2px 2px 8px rgba(0,0,0,0.25); /* Optional: add a subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0; /* Remove any padding */
}

.whatsapp-float img {
    width: 120px;
    height: 120px;
    display: block;
    border-radius: inherit;
    object-fit: contain;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.3);
    background-color: transparent;
}

/* Contact Page Specific Styles */
.contact-page-section .contact-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.contact-form-container h2 {
    text-align: left;
}

.contact-info-container {
    background: #f9f9f9;
    padding: 24px;
    border-radius: 12px;
    max-width: 350px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.contact-info-container h3 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.contact-info-container .contact-item {
    margin-bottom: 20px;
}

/* WhatsApp Button on Contact Page (Image Based) */

/* Algemene img-styling voor responsiviteit en aspect ratio */
img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
/* Verwijder dubbele img-regels elders in deze file indien aanwezig */

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    margin-top: 20px;
    background-color: transparent;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}


.whatsapp-button img {
    width: 120px;
    height: 120px;
    display: inline-block;
    object-fit: contain;
    border-radius: inherit;
}

.whatsapp-button:hover {
    transform: scale(1.08);
    box-shadow: 2px 2px 12px rgba(0,0,0,0.22);
    background-color: transparent;
    text-decoration: none;
    color: inherit;
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    transition: filter 0.3s;
}

.whatsapp-button:hover img {
    filter: brightness(1.1) saturate(1.2);
}


@media (max-width: 992px) {
    .contact-page-section .contact-container {
        grid-template-columns: 1fr;
    }

}

/* FAQ Accordion Styles */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question i {
    font-size: 1.1rem;
    color: #007bff; /* Modern Blue */
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: #f9f9f9;
}

.faq-answer p {
    padding: 0 20px 25px 20px;
    margin: 0;
    line-height: 1.6;
}

.faq-answer a {
    color: #007bff; /* Modern Blue */
    font-weight: 600;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-contact-link {
    /* Inherits base styles from .faq-answer a */
    display: inline-flex;
    align-items: center;
}

.faq-contact-link i.fab.fa-whatsapp {
    margin-right: 4px; /* Space between icon and text */
    font-size: 1em; /* Match surrounding text size */
    color: #007bff; /* Modern Blue */
}

/* Over Ons Page Specific Styles */

.faq-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 60vh;
}
.faq-page > .content-section {
    background: #fff;
    margin: 40px auto 60px auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    max-width: 1000px;
    width: 100%;
    position: relative;
    z-index: 1;
}
.faq-page .content-section h1, .faq-page .content-section h2 {
    color: #007bff;
    text-align: center;
}
.faq-page .content-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

@media (max-width: 992px) {
    .faq-page > .content-section {
        margin: 20px 6px;
        padding: 18px 6px;
    }
}


.over-ons-page .content-section h1,
.over-ons-page .content-section h2 {
    color: #007bff; /* Modern Blue for main headings */
    margin-bottom: 25px;
}

/* Over Ons Contact Block */
.overons-contact-block {
    background: #f7fafd;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    padding: 32px 24px 24px 24px;
    margin-top: 40px;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.overons-contact-block h2 {
    margin-bottom: 18px;
}
.overons-contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.overons-contact-link {
    color: #007bff;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.overons-contact-link:hover {
    color: #0056b3;
    text-decoration: underline;
}
.whatsapp-contact-link {
    display: inline-flex;
    align-items: center;
}
.whatsapp-contact-img {
    aspect-ratio: 1/1;
    width: 28px;
    height: 28px;
    margin-right: 7px;
    vertical-align: middle;
    max-width: 48px;
    object-fit: contain;
    display: inline-block;
}
.contact-separator {
    color: #bbb;
    font-size: 1.5rem;
    margin: 0 8px;
    user-select: none;
}


.over-ons-page .content-section h1 {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 40px;
}

.over-ons-page .content-section h2 {
    font-size: 2rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.over-ons-page section {
    margin-bottom: 40px;
}

.over-ons-page p {
    line-height: 1.7;
    margin-bottom: 15px;
}

.kernwaarden-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.waarde-item {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.waarde-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.waarde-item i {
    font-size: 2.5rem;
    color: #007bff; /* Modern Blue */
    margin-bottom: 15px;
    display: block;
}

.waarde-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.waarom-ons-section ul {
    list-style: none;
    padding-left: 0;
}

.waarom-ons-section ul li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.waarom-ons-section ul li i {
    font-size: 1.3rem;
    color: #007bff; /* Modern Blue for check icons */
    margin-right: 12px;
}
