/* FONTS */

/* Museo 100 (Thin) */
@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-100.otf") format("opentype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-100Italic.otf") format("opentype");
    font-weight: 100;
    font-style: italic;
}

/* Museo 300 (Light) */
@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-300.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}


@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-300Italic.otf") format("opentype");
    font-weight: 300;
    font-style: italic;
}

/* Museo 500 (Medium) */
@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-500.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-500Italic.otf") format("opentype");
    font-weight: 500;
    font-style: italic;
}

/* Museo 700 (Bold) */
@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-700.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-700Italic.otf") format("opentype");
    font-weight: 700;
    font-style: italic;
}

/* Museo 900 (Black) */
@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-900.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "Museo";
    src: url("/assets/museo/MuseoSansCyrl-900Italic.otf") format("opentype");
    font-weight: 900;
    font-style: italic;
}

/* HTML */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Museo", "Museo Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    padding: 0;
    margin: 0;

}

h1 {
    color: #282D34;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

h2 {
    color: #282D34;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
}

a {
    color: #009DE0;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

p {
    margin: 16px 0;
    line-height: 1.75;
}

ul {
    line-height: 1.75;
}

.active-link {
    text-decoration: underline !important;
}

/* HEADER/NAV */

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    color: #fff;
    background: #2e3b6a;
    padding: 0 40px;
}

.nav-top {
    display: flex;
    height: 80px;
    padding: 0 40px;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    background: #FFF;

    img {
        height: 48px;
    }
}

.nav-top-ul {

    display: flex;
    flex-direction: row;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    gap: 16px;
    padding: 0;

    a {
        color: rgb(40, 45, 52);
        text-decoration: none;
        font-size: 21px;
        font-style: normal;
        font-weight: 500;
    }

    a:hover {
        text-decoration: underline;
    }
}

.nav-ul {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    gap: 32px;
    padding: 0;

    a {
        color: #fff;
        text-decoration: none;
        font-size: 18.75px;
        font-style: normal;
        font-weight: 700;
    }

    a:hover {
        text-decoration: underline;
    }
}

.hero {
    img {
        width: 100%;
        aspect-ratio: 4/1;
        object-fit: cover;
    }
}

/* CONTENT */

main {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 40vh;

}

.content-container {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    border-radius: 8px;
    margin-top: -260px;
    padding: 128px;
    background-color: #fff;

}

/* Break content on smaller screens */
@media only screen and (max-width: 1000px) {
    .content-container {
        margin: 8px;
        padding: 16px;
    }
}

.content-title {
    display: flex;
    flex-direction: column;
    align-items: center;

    h1 {
        margin: 0;
    }
}

.subtitle {
    margin: 0;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
}

.arrow-button {
    display: flex;
    padding: 16px 32px;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    gap: 10px;
    border: none;
    border-radius: 100px;
    background: #009DE0;
    color: #FFF;
    cursor: pointer;

    font-size: 19px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;


}

.arrow-button:hover {
    background: #0377a8;
    transition: 0.2s;
}

.arrow-button-orange {
    background: #F7931E !important;
}

.arrow-button-orange:hover {
    background: #a76317 !important;
    transition: 0.2s;
}

.video-section {
    padding: 80px 0;

    h2 {
        text-align: center;
    }
}

.video-card {
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    color: #505A68;
    text-decoration: none !important;
    justify-content: center;
    flex: 1 1 0px;


    p {
        padding: 24px;
        margin: 0;
        font-family: "Museo", "Museo Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
        font-size: 16px;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
        color: #000;
    }

    a:hover {
        text-decoration: none !important;
    }

}

.video-carroussel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
}

.youtube-placeholder {
    width: 100%;

    iframe {
        width: 100%;
        border-radius: 8px;
    }
}


/* JUMBO */
.blue-jumbo {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 0;
    align-self: stretch;

    .card {
        display: flex;
        padding: 64px 120px 64px 120px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        border-radius: 8px;
        background: #bfa76320;
    }

    .card-img {
        position: relative;
        right: 150px;
        width: 160px;

        img {
            border-radius: 8px;
            width: 320px;
            height: 200px;
        }

    }

    @media only screen and (max-width: 1000px) {
        .card-img {
            display: none;
        }

        .card {
            padding: 32px;
        }
    }
}


/* Map container */

#map-container {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;

    iframe {
        width: 100%;
        height: calc(100vh - 60px);
        margin: 0;
        border: none;
    }
}

.alt-section {
    background-color: #F4F4F4;
    padding: 80px 0;
}



/* FORM */

.data-form-cooperatie,
.data-form-gemeente {
    display: none;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.intro-text {
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #2e3b6a;
    margin-bottom: 30px;
    color: #333;
}

.section-title {
    font-weight: bold;
    font-size: 18px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #2e3b6a;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-color: #2e3b6a;
    box-shadow: 0 0 5px rgba(0, 102, 204, 0.2);
}

.checkbox-group {
    margin: 30px 0;
    padding: 20px;
    background-color: #fff8dc;
    border-radius: 4px;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    font-weight: normal;
    cursor: pointer;
}

input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

button {
    background-color: #2e3b6a;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

button:hover {
    background-color: #0052a3;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.required {
    color: #cc0000;
}

/* FOOTER */

.partner-section {
    background-color: rgb(244, 244, 244);
    padding: 40px 32px;
    text-align: center;

    h2 {
        margin-top: 0;
    }
}

footer {
    display: flex;
    width: calc(100% - 128px);
    padding: 32px 64px;
    flex-direction: column;
    align-items: center;
    gap: 40px;

    background: #282D34;

    color: #FFF;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* TODO make images fit better */

.footer-image-carrousel {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;


    img {
        object-fit: cover;
        flex-shrink: 1;
        height: 64px;
    }
}

.footer-link-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    text-decoration: none;
    justify-content: center;
    align-items: center;
    list-style-type: none;
    gap: 16px;
    padding: 0;

    a {
        color: #fff;
        padding-right: 16px;
    }

    li:not(:last-child) {
        border-right: 1px solid #fff
    }
}

/* Cookie Banner Styling */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    display: none;
}

.cookie-banner.show {
    display: block;
    animation: slideUp 0.3s ease-in-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
}

.cookie-banner-text h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #333;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.cookie-banner-text a {
    color: #2e3b6a;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.cookie-btn-accept-all {
    background-color: #2e3b6a;
    color: white;
}

.cookie-btn-accept-all:hover {
    background-color: #0052a3;
}

.cookie-btn-reject-all {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.cookie-btn-reject-all:hover {
    background-color: #e5e5e5;
}

.cookie-btn-settings {
    background-color: transparent;
    color: #2e3b6a;
    border: 1px solid #2e3b6a;
}

.cookie-btn-settings:hover {
    background-color: #f0f7ff;
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cookie-modal-header h2 {
    margin: 0;
    font-size: 22px;
    color: #333;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    color: #333;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookie-category h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.cookie-category p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked+.cookie-toggle-slider {
    background-color: #2e3b6a;
}

.cookie-toggle input:checked+.cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled+.cookie-toggle-slider {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.cookie-required-label {
    font-size: 12px;
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner-buttons {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}