body {
    font-family: sans-serif;
    background: #fdfbf7;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

header, 

.header-container, .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}



.logo img {
    height: 60px;
}

nav ul.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    color: #caa974;
    text-decoration: none;
    padding: 8px 12px;
    display: block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fdfbf7;
    min-width: 220px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content li {
    border-bottom: 1px solid #ddd;
}

.dropdown-content li:last-child {
    border-bottom: none;
}

.dropdown-content a {
    color: #002244;
    padding: 10px 14px;
}

.dropdown.open .dropdown-content {
    display: block;
}

main {
    padding: 2em;
}

.diensten-blokken {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

.diensten-blokken div {
    text-align: center;
}

.diensten-blokken img {
    max-width: 100px;
    margin-bottom: 0.5em;
}

a:link,
a:visited {
    color: #caa974;
    text-decoration: none;
}

.nav-list a:link,
.nav-list a:visited {
    color: #caa974;
}

a {
    transition: color 0.3s ease;
}

a:hover {
    color: #e2c88f;
}

a:focus,
a:active {
    color: #e2c88f;
    outline: none;
}

.logo a {
    display: inline-block;
    height: 100%;
    width: auto;
    z-index: 10;
}

.logo img {
    display: block;
    height: 60px;
}


#cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #002244;
    color: #fdfbf7;
    text-align: center;
    padding: 1em;
    font-size: 0.9em;
    z-index: 9999;
}

#cookie-banner button {
    margin-left: 1em;
    background-color: #caa974;
    color: #002244;
    border: none;
    padding: 0.5em 1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
}

#cookie-banner button:hover {
    background-color: #e2c88f;
}

.dropdown-content {
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.dropdown.open .dropdown-content,
.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}


/* Fade-in bij hover (desktop) */
@media (hover: hover) and (pointer: fine) {
    .dropdown-content {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .dropdown:hover .dropdown-content {
        opacity: 1;
        visibility: visible;
    }
}

/* Altijd actief bij .dropdown.open voor mobiel klik */
.dropdown.open .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.main-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* === Animaties toegevoegd === */
.logo-animated {
    opacity: 0;
    transform: scale(0.95);
    animation: fadeZoom 1.2s ease-out forwards;
}

@keyframes fadeZoom {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

nav a:hover {
    color: #d4af37;
    border-bottom: 2px solid #d4af37;
    transition: all 0.3s ease;
}

nav ul li ul {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

nav ul li:hover ul {
    opacity: 1;
    visibility: visible;
}

.icon-block:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.icon-block img:hover {
    filter: brightness(1.1);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 1s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}


/* Verwijder blauw focus-kader bij klik op links/knoppen */
a:focus,
button:focus {
    outline: none;
    box-shadow: none;
}


/* Universeel: verwijder alle focus-kaders, ook mobiel */
*:focus {
    outline: none !important;
}

/* Zorg dat dropdown opent bij klik op mobiel */
.dropdown.open .dropdown-content {
    display: block;
}


/* Mobiele weergave navigatie */
@media (max-width: 768px) {
    .main-nav {
        display: block;
        width: 100%;
    }

    .nav-list {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        padding: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 12px 16px;
    }

    .dropdown-content {
        position: relative;
        background-color: #f9f9f9;
        min-width: 100%;
    }
}

/* Responsieve wrapper voor ademende layout */
.wrapper, .header-container, main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

.box-with-shadow {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, color 0.3s ease;
}

.box-with-shadow h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.box-with-shadow p {
    color: #686868;
    margin-top: 0;
}

.box-with-shadow.highlight-when-hovered:hover {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

#hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    width: 80%;
    text-align: center;
    margin: 0 auto;

    h2 {
        font-size: 3.8rem;
        margin-bottom: 0;
        margin-top: 0;
    }

    h4 {
        margin-top: 0;
        font-size: 3.1rem;
        margin-bottom: 0;
    }

    p {
        color: #686868;
        font-size: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .button {
        background-color: #caa974;
        color: #002244;
        padding: 1rem 2rem;
        border-radius: 15px;
        text-decoration: none;
        font-size: 18px;
        transition: background-color 0.3s ease;
        display: block;
        margin-top: 50px;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;

        &:hover {
            background-color: #e2c88f;
        }
    }
}

/* Hamburger-menu styling */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: #caa974;
    display: block;
    border-radius: 2px;
}

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

    .main-nav {
        display: none;
        flex-direction: column;
        background-color: #002244;
        width: 100%;
    }

    .main-nav.active {
        display: flex;
    }

    nav ul.nav-list {
        flex-direction: column;
        gap: 0;
    }

    nav ul.nav-list li {
        width: 100%;
    }

    nav ul.nav-list a {
        padding: 1rem;
        border-top: 1px solid #caa974;
    }
}

@media (max-width: 768px) {
    .main-nav {
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #002b5c;
        width: 100%;
        text-align: right;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .main-nav.active {
        transform: translateX(0);
    }
}

#hero {
    padding-top: 6rem;
    padding-bottom: 4rem;
    width: 90%;
    text-align: center;
    margin: 0 auto;
}

#hero h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

#hero h2 {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

#hero p {
    font-size: 1rem;
    line-height: 1.5;
}

/* Media query voor kleinere schermen */
@media (max-width: 600px) {
    #hero h1 {
        font-size: 1.6rem;
    }

    #hero h2 {
        font-size: 1.3rem;
    }

    #hero p {
        font-size: 0.95rem;
    }
}


/* Toegevoegde achtergrond */
body {
  background-image: url('afbeeldingen/achtergrond-licht.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center center;
}

/* Verbeterde zichtbaarheid header en footer */
.site-header,


footer a,
.site-header a,
.main-nav .nav-list li a {
  color: #fff;
}




footer {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2px);
  z-index: 1000;
}

footer a,
.site-header a,
.main-nav .nav-list li a {
  color: #fff;
}


.site-header {
  background-image: url('afbeeldingen/header-achtergrond.png');
  background-color: rgba(0, 0, 0, 0.7);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
  position: relative;
  z-index: 10;
}


.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 30px;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    background: transparent;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #003366;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Hoverkleur */
.hamburger:hover span {
    background-color: #005599;
}

/* Verberg op desktop */
@media (min-width: 768px) {
    .hamburger {
        display: none;
    }
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.logo {
    flex: 0 0 auto;
    text-align: left;
}

.logo img {
    height: 50px;
    max-width: 180px;
}

.hamburger {
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 1000;
    position: relative;
}


@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: white;
    position: absolute;
    top: 60px;
    right: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 10px;
    border-radius: 6px;
    z-index: 999;
  }

  .main-nav.active {
    display: flex;
  }
}


@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #fefefe;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 180px;
  }

  .main-nav a {
    color: #003366;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a:hover {
    color: #005599;
  }

  .main-nav.active {
    display: flex;
  }
}


@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    min-width: 180px;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    color: #003366 !important;
    padding: 10px 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav a:hover {
    color: #005599 !important;
  }
}


@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    position: absolute;
    top: 60px;
    left: 5%;
    right: 5%;
    padding: 12px 16px;
    border-radius: 12px;
    z-index: 999;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    min-width: unset;
    width: 90%;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    color: #003366 !important;
    padding: 12px 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #ccc;
    display: block;
    width: 100%;
    text-align: left;
  }

  .main-nav a:hover {
    color: #005599 !important;
  }

  .main-nav a:last-child {
    border-bottom: none;
  }

  .main-nav .dropdown-content {
    background-color: #f9f9f9;
    width: 100%;
    padding-left: 12px;
    border-left: 3px solid #003366;
    box-sizing: border-box;
    border-radius: 0 0 10px 10px;
  }

  .main-nav .dropdown-content a {
    font-size: 15px;
    color: #003366 !important;
    padding: 8px 0;
  }

  .main-nav .dropdown-content a:hover {
    color: #005599 !important;
  }
}


/* Zwevende hamburgerknop rechts */
#floating-hamburger-btn {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background-color: #003366;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
}

#floating-hamburger-btn span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  background-color: white;
  border-radius: 2px;
}
@media (max-width: 768px) {
  #floating-hamburger-btn {
    display: block;
  }
}


@media (max-width: 768px) {
  .main-nav {
    left: auto;
    right: 20px;
    top: 60px;
    width: 220px;
  }
}


/* Verberg originele hamburgerknop op mobiel */
@media (max-width: 768px) {
  .hamburger {
    display: none !important;
  }

  .main-nav {
    position: fixed;
    top: 60px;
    right: 20px;
    left: auto;
    width: 220px;
    background-color: #ffffff;
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  .main-nav.active {
    display: flex;
    flex-direction: column;
  }
}





/* === Sticky footer layout via wrapper === */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page-wrapper main {
  flex: 1;
}


/* Zwevende menu knop */
.floating-menu-button {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.menu-icon {
    width: 50px;
    height: 50px;
    background-color: #003366; /* Donkerblauw uit huisstijl */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.menu-icon div {
    width: 30px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
}
