<footer class="footer-main mt-5 bg-secondary">
    <div class="footer-inner pt-5 pb-3">
        <div class="container px-lg-5">
            <div class="row">
                
                <div class="col-lg-4">
                    <img src="/img/logo-box.svg" alt="Van Emous Logo" class="mb-4 pb-lg-5" style="height: 240px;max-width:100%;" loading="lazy">
                    <h5 class="fw-bold mb-3">Gratis brochure aanvragen</h5>
                    <form action="#" class="brochure-form">
                        <div class="mb-3">
                            <input type="email" class="form-control rounded-pill border-0 px-4 py-2" placeholder="Vul uw emailadres in">
                        </div>
                        <div class="form-check mb-3 small text-muted">
                            <input class="form-check-input" type="checkbox" id="privacyCheck">
                            <label class="form-check-label" for="privacyCheck">
                                Ik ga akkoord met het privacybeleid.
                            </label>
                        </div>
                        <button type="submit" class="btn btn-cta">Aanvragen</button>
                    </form>
                </div>

                <div class="col-6 col-lg-3 offset-lg-1">
                    <h5 class="fw-bold mb-4">Navigatie</h5>
                    <ul class="list-unstyled">
                        {{ range .Site.Menus.footer }}
                        <li class="mb-2">
                            <a href="{{ .URL | relURL }}" class="text-decoration-none text-dark">{{ .Name }}</a>
                        </li>
                        {{ end }}
                    </ul>
                </div>

                <div class="col-lg-4 col-md-6">
                    <h5 class="fw-bold mb-4">Contactgegevens</h5>
                    <div class="d-flex align-items-center mb-3">
                        <div class="icon-circle me-3"><i class="bi bi-telephone-fill"></i></div>
                        <div>
                            <span class="d-block small text-muted">Telefoon</span>
                            <a href="tel:{{ .Site.Params.telefoon_link }}" class="text-decoration-none text-dark fw-bold">{{ .Site.Params.telefoon | markdownify }}</a>
                        </div>
                    </div>
                    <div class="d-flex align-items-center mb-3">
                        <div class="icon-circle me-3"><i class="bi bi-envelope-fill"></i></div>
                        <div>
                            <span class="d-block small text-muted">E-mail</span>
                            <a href="mailto:{{ .Site.Params.email }}" class="text-decoration-none text-dark fw-bold">{{ .Site.Params.email }}</a>
                        </div>
                    </div>
                    <div class="d-flex align-items-center">
                        <div class="icon-circle me-3"><i class="bi bi-geo-alt-fill"></i></div>
                        <div>
                            <span class="d-block small text-muted">Adres</span>
                            <span class="text-dark fw-bold">{{ .Site.Params.adres }}</span>
                        </div>
                    </div>
                </div>
            </div>

            <hr class="mt-5 mb-4 opacity-10">

            <div class="row small text-muted">
                <div class="col-md-8">
                    Copyright © {{ now.Format "2006" }} | Van Emous Mantelzorgwoningen | kvk: {{ .Site.Params.kvk | markdownify }}
                </div>
                <div class="col-md-4 text-md-end">
                    <a href="/sitemap" class="text-decoration-none text-muted me-3">Sitemap</a>
                    <a href="/privacybeleid" class="text-decoration-none text-muted">Privacybeleid</a>
                </div>
            </div>
        </div>
    </div>
</footer>

<div class="modal fade" id="contactModal" tabindex="-1" aria-hidden="true">
    <div class="modal-dialog modal-dialog-centered modal-lg">
        <div class="modal-content rounded-4 border-0 shadow p-lg-5 p-md-4">
        <div class="modal-header border-0">
            <div class="row">
                <h6 class="text-primary d-lg-inline-block">Een compleet overzicht</h6>
                <h5 class="modal-title h3 d-block">Informatie brochure</h5>
            </div>
            
            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
        </div>
        <div class="modal-body p-4">
            <form action="jouw-verwerkings-url" method="POST">
                <div class="row mb-3">
                    <div class="col-md-6">
                        <label for="voornaam" class="form-label">Voornaam</label>
                        <input type="text" class="form-control rounded-pill bg-light border-0" id="voornaam" name="voornaam" required>
                    </div>

                    <div class="col-md-6">
                        <label for="achternaam" class="form-label">Achternaam</label>
                        <input type="text" class="form-control rounded-pill bg-light border-0" id="achternaam" name="achternaam" required>
                    </div>
                </div>
                <div class="row mb-3">
                    <div class="col-md-6">
                        <label for="email" class="form-label">E-mailadres</label>
                        <input type="email" class="form-control rounded-pill bg-light border-0" id="email" name="email" required>
                    </div>

                    <div class="col-md-6">
                        <label for="telephone" class="form-label">Telefoon</label>
                        <input type="tel" class="form-control rounded-pill bg-light border-0" id="telephone" name="telephone" required>
                    </div>
                </div>

                <hr class="my-4">

                <div class="form-check mb-2">
                    <input class="form-check-input" type="checkbox" id="nieuwsbrief" name="nieuwsbrief">
                    <label class="form-check-label" for="nieuwsbrief">
                        Ja, ik meld mij aan voor de nieuwsbrief en blijf graag op de hoogte.
                    </label>
                </div>
                <div class="form-check mb-4">
                    <input class="form-check-input" type="checkbox" id="callme" name="callme" required>
                    <label class="form-check-label" for="callme">
                        Ik wil graag vrijblijvend & persoonlijk advies ontvangen
                    </label>
                </div>

                <div class="">
                    <p class=" py-4 small">U gaat bij verzenden akkoord met de verwerking van gegevens zoals beschreven in het privacybeleid.</p>
                    <button type="submit" class="btn btn-cta">Verstuur aanvraag</button>
                    
                </div>
            </form>
        </div>
        </div>
    </div>
</div>

{{ $js := resources.Get "node_modules/bootstrap/dist/js/bootstrap.bundle.js" }}
{{ if $js }}
    {{ $js = $js | resources.Minify | resources.Fingerprint }}
    <script src="{{ $js.RelPermalink }}" integrity="{{ $js.Data.Integrity }}"></script>
{{ end }}