/* Algemene instellingen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

/* Header Bar */
header {
    width: 100%;
    height: 105px;
    background-color: #014244;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1000;
}

.logo img {
    height: 140px;
    width: auto;
    display: block;
}

/* Hamburgermenu */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    padding: 0;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #cfbf8f;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

/* Hamburgermenu animatie naar een strak kruisje */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Dropdown Menu onder de Header Bar */
.dropdown-menu {
    position: absolute;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: #014244;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.2);
    z-index: 998;
}

.dropdown-menu.active {
    max-height: 500px;
    padding: 20px 0;
}

.dropdown-menu ul {
    list-style: none;
    text-align: center;
    padding: 0 20px;
}

.dropdown-menu ul li {
    margin: 15px 0;
}

.dropdown-menu ul li a {
    color: #ffffff;
    font-size: 1.2rem;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: color 0.2s ease;
}

.dropdown-menu ul li a:hover {
    color: #cfbf8f;
}

/* Hero Image & Content Afbeeldingen Basis */
.hero-image,
.services-intro-block,
.full-width-banner {
    width: 100%;
}

.hero-image img,
.services-intro-content img,
.full-width-banner img {
    display: block;
    width: 100%;
    height: auto;
}

/* Amsterdam3.jpg / .image-container: standaard (MOBIEL) over de volle breedte */
.image-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #fffaee;
    padding: 20px 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container img {
    display: block;
    width: 100%;
    max-width: 736px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}

/* Laptop / Desktop / Tablet schermaanpassing (vanaf 768px) */
@media (min-width: 768px) {
    header {
        height: auto;
        min-height: auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        padding: 5px 0 0 0;
        box-shadow: none;
    }

    /* Verberg het hamburgermenu volledig op desktop/tablet */
    .menu-toggle {
        display: none !important;
    }

    /* Transformeer de dropdown-menu container tot een inline navigatiebalk binnen de header */
    .dropdown-menu {
        position: static;
        display: block !important;
        max-height: none !important;
        padding: 10px 0 15px 0 !important;
        background: #014244;
        box-shadow: none;
        overflow: visible;
        width: 100%;
        margin-top: 0;
    }

    /* Zet de lijstitems naast elkaar */
    .dropdown-menu ul {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 30px;
        padding: 0;
    }

    .dropdown-menu ul li {
        margin: 0;
    }

    .dropdown-menu ul li a {
        font-size: 1rem;
        font-weight: normal;
        color: #ffffff;
    }

    .logo {
        position: static;
        transform: none;
        margin-top: 0;
        flex-shrink: 0;
    }

    /* Logo in header exact gelijkgetrokken aan de hoogte van .footer-logo (221px) zonder krimp */
    header .logo img {
        height: 221px !important;
        width: auto !important;
        flex-shrink: 0;
    }

    .hero-image,
    .full-width-banner,
    .services-intro-section {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        background-color: #fffaee;
        padding: 40px 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services-intro-block {
        width: 100%;
        max-width: 900px;
        margin: 0 auto 40px auto;
        position: static;
        left: auto;
        right: auto;
        background-color: transparent;
        padding: 0 20px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .services-intro-content {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        position: static;
        left: auto;
        right: auto;
        background-color: transparent;
        padding: 0;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image img,
    .services-intro-content img,
    .full-width-banner img {
        width: 100%;
        max-width: 736px;
        height: auto;
        max-height: none;
        object-fit: contain;
        border-radius: 12px;
        margin: 0 auto;
    }

    /* Amsterdam3.jpg / .image-container: op TABLET/DESKTOP netjes gecentreerd binnen de main container en achtergrondkleur aangepast naar #fffaee */
    .image-container {
        width: 100%;
        max-width: 900px;
        position: static;
        left: auto;
        right: auto;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
        padding: 40px 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background-color: #fffaee;
        border-radius: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .image-container img {
        box-shadow: none;
        max-width: 736px;
        width: 100%;
    }

    .intro-section{
      margin-top: 60px;
    }
   
    /* Verberg de belknop onder "Wij doen de rest" (intro-section) op tablet/desktop */
    .intro-section .call-button {
        display: none !important;
    }
}

/* Introductie Sectie */
.intro-section {
    background-color: #014244;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
}

.intro-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.intro-content p {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Ovale Belknop */
.call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #cfbf8f;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.call-button svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
    flex-shrink: 0;
}

.call-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Sticky Ronde Belknop Rechtsonder */
.sticky-call-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #cfbf8f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 999;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.sticky-call-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.sticky-call-btn svg {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.sticky-call-btn:hover {
    transform: scale(1.08);
    opacity: 0.95;
}

/* Accordeon Secties */
.accordion-section-1,
.accordion-section-2,
.accordion-section-3,
.accordion-section-4,
.accordion-section-0 {
    padding: 35px 20px;
}

.accordion-section-1 { background-color: #e6f2f0; }
.accordion-section-2 { background-color: #d6eae8; }
.accordion-section-3 { background-color: #b4dfd8; }
.accordion-section-4 { background-color: #8accc2; }
.accordion-section-0 { background-color: #56c2b2; }

.accordion-container-1,
.accordion-container-2,
.accordion-container-3,
.accordion-container-4,
.accordion-container-5 {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.accordion-header-left {
    display: flex;
    align-items: center;
    width: 60px;
    flex-shrink: 0;
}

.accordion-header-left img {
    height: 45px;
    width: auto;
    display: block;
}

.accordion-title {
    color: #014244;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    flex-grow: 1;
    padding: 0 10px;
    white-space: nowrap;
}

.accordion-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 60px;
    flex-shrink: 0;
}

.arrow-down {
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 12px solid #d3c191;
    transition: transform 0.3s ease;
}

.accordion-body {
    max-width: 900px;
    margin: 0 auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    color: #014244;
    font-size: 1.05rem;
    line-height: 1.6;
    text-align: center;
}

.accordion-body p {
    padding-top: 20px;
}

/* Ovale 'Lees meer' knop binnen accordeons */
.accordion-body .read-more-btn {
    display: inline-block !important;
    background-color: #cfbf8f;
    color: #ffffff;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 15px;
    transition: opacity 0.2s ease;
}

.accordion-body .read-more-btn:hover {
    opacity: 0.9;
}

.accordion-section-1.active .arrow-down,
.accordion-section-2.active .arrow-down,
.accordion-section-3.active .arrow-down,
.accordion-section-4.active .arrow-down,
.accordion-section-0.active .arrow-down {
    transform: rotate(180deg);
}

.accordion-section-1.active .accordion-body,
.accordion-section-2.active .accordion-body,
.accordion-section-3.active .accordion-body,
.accordion-section-4.active .accordion-body,
.accordion-section-0.active .accordion-body {
    max-height: 400px;
    overflow: visible;
}

/* Extra Sectie */
.extra-section {
    background-color: #fffaee;
    color: #014244;
    padding: 50px 20px;
    text-align: center;
}

.extra-section-content {
    max-width: 900px;
    margin: 0 auto;
}

.extra-section-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #014244;
}

.extra-section-content p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #014244;
    margin-bottom: 30px;
}

.certification-logos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.vca-logo {
    height: 100px;
    width: auto;
    display: block;
}

.niwo-logo {
    height: 125px;
    width: auto;
    display: block;
}

/* Footer Sectie - Volledige breedte gegarandeerd overal */
.footer-section {
    background-color: #fffaee;
    padding: 10px 0 0 0;
    width: 100%;
}

.footer-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    background-color: #fffaee;
    padding: 0;
}

.footer-top-blue {
    background-color: #014244;
    color: white;
    padding: 50px 30px 80px 30px;
    text-align: left;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    max-width: 600px;
    margin: 0 auto;
}

.footer-top-blue h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-top-blue p {
    font-size: 1.05rem;
    opacity: 0.9;
}

.footer-white-card {
    background-color: #ffffff;
    color: #014244;
    border-top-left-radius: 80px; 
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 0px;
    padding: 40px 30px;
    text-align: left;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05), 0 4px 15px rgba(0,0,0,0.05);
    margin-top: -50px;
    position: relative;
    z-index: 2;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-white-card h4 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #014244;
}

/* Formulier styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    color: #014244;
    background-color: #ffffff;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #014244;
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23014244' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px;
    cursor: pointer;
}

/* Offerte aanvraag knop binnen de card */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #cfbf8f;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border: none;
    cursor: pointer;
    padding: 14px 32px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: opacity 0.2s ease, transform 0.2s ease;
    margin-top: 10px;
    width: 100%;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Dynamische velden styling */
.form-section-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #014244;
    margin-top: 10px;
    margin-bottom: -5px;
}

.address-group,
.delivery-group,
.montage-group,
.bouwproject-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    display: none;
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row input {
    flex: 1;
}

.form-row input.small {
    max-width: 90px;
}

.footer-contact-info {
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    fill: #014244;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact-text {
    display: flex;
    flex-direction: column;
}

.footer-contact-info a {
    color: #014244;
    text-decoration: none;
}

.footer-contact-info a:hover {
    text-decoration: underline;
}

/* Volledige breedte footer balk onderaan - gegarandeerd 100% breedte */
.footer-bottom-logo-container {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #014244;
    text-align: center;
    padding: 10px 20px 30px 20px;
    margin-top: 0;
    box-sizing: border-box;
}

.footer-logo {
    height: 221px;
    width: auto;
    display: inline-block;
}

.footer-social-text {
    color: #ffffff;
    font-size: 2.4rem;
    font-weight: normal;
    margin-top: 15px;
    display: inline-block;
    padding-bottom: 8px;
    border-bottom: 4px solid #cfbf8f;
}

.social-icons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 25px;
}

.social-icon {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 0.8;
}

.footer-bottom-meta {
    margin-top: 75px;
    color: #ffffff;
    font-size: 0.73rem;
    line-height: 1.6;
}

.footer-bottom-meta a {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom-meta a:hover {
    text-decoration: underline;
}

/* Hoofdinhoud */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

section {
    padding: 40px 0;
}
