/*--------------------------------------------------------------
>>> THEME INFO
--------------------------------------------------------------*/

/*
Theme Name:   Avondkout
Theme URI:    https://avondkout.be/
Description:  Thema voor Avondkout.be
Author:       Studio Studio
Author URI:   https://studiostudio.be/
Template:     blankslate
Version:      1.0.0
*/


/*--------------------------------------------------------------
>>> CSS RESET (Meyer)
--------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu,
nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    font-family: sans-serif;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/*--------------------------------------------------------------
>>> BASISSTIJLEN
--------------------------------------------------------------*/

@font-face {
    font-family: 'DarkPix';
    src: url('fonts/DarkPix.woff2') format('woff2'),
    url('fonts/DarkPix.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: block;
}

body {
    margin: 0;
    scroll-behavior: auto;
    font-size: 18px;
    background-color: #000;
}

p {
    padding-bottom: 2rem;
}

p strong {
    font-weight: bold;
    display: block;
}

ul + p strong {
    padding-top: 2rem;
}

a {
    text-decoration: none;
}

.white-on-black::selection {
    background: white;
    color: black;
}

.black-on-white::selection {
    background: black;
    color: white;
}


/*--------------------------------------------------------------
>>> HEADER
--------------------------------------------------------------*/

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #000;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
}

#site-title {
    font-family: 'DarkPix', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    padding: 1rem;
}

#site-title a {
    color: #fff;
}

#site-description {
    display: none;
}

.acf-menu {
    display: flex;
    justify-content: center;
    gap: 2em;
    padding: 1rem;
    list-style: none;
    margin: 0;
}

.acf-menu li {
    margin: 0;
}

.acf-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    font-family: 'Courier New', monospace;
    padding: 2px 4px;
    border: 2px solid transparent;
    transition: none;
}

.acf-menu a:hover {
    background: white;
    color: black;
    border-color: black;
    box-shadow: none;
}


#menu-toggle {
    display: none;
}

/*--------------------------------------------------------------
>>> SECTIES & STRUCTUUR
--------------------------------------------------------------*/

section {
    padding: 120px 20px 80px;
}

section > *:first-child {
    margin-top: 0;
}

.blok {
    margin-bottom: 3rem;
}

.sectietitel {
    font-family: 'DarkPix', sans-serif;
    font-size: 4rem;
    margin-bottom: 4rem;
    font-weight: bold;
    text-align: center;
}


/*--------------------------------------------------------------
>>> COMPONENT: BIOGRAFIE
--------------------------------------------------------------*/

.gecentreerd {
    max-width: 50%;
    margin: auto;
    text-align: center;
    line-height: 1.5;
}

.blok.gecentreerd {
    font-family: 'Courier New', monospace;
}

/*--------------------------------------------------------------
>>> COMPONENT: BEELD MET TEKST
--------------------------------------------------------------*/

.beeld-met-tekst {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.beeld-met-tekst .tekst,
.beeld-met-tekst .image {
    flex: 1 1 50%;
    max-width: 50%;
    display: flex;
}

.beeld-met-tekst .tekst {
    flex-direction: column;
    justify-content: flex-start;
}

.beeld-met-tekst .image {
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.beeld-met-tekst .image img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.beeld-met-tekst li {
    position: relative;
    padding-left: 2rem;
    font-family: 'Courier New', monospace;
}

.beeld-met-tekst li::before {
    content: '■'; /* Een vierkant blokje als bullet */
    position: absolute;
    left: 0;
    top: 0rem;
    font-size: 1.2rem;
    color: black;
}

/*--------------------------------------------------------------
>>> COMPONENT: SLIDER IMAGE
--------------------------------------------------------------*/

.slider-wrapper {
    width: 80vw;
    max-width: 1600px;
    height: 70vh;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

.slide {
    flex: 0 0 100%;
    max-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide img {
    width: auto;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    color: white;
    border: 2px solid black;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    font-family: 'Courier New', monospace;
    border-radius: 0;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}


/*--------------------------------------------------------------
>>> COMPONENT: VIDEO SLIDER
--------------------------------------------------------------*/

.video-slider-wrapper {
    width: 80vw;
    max-width: 1600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.video-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.video-slide {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper {
    width: 100%;
    padding: 0;
    margin: 0;
}

.video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 4px solid black;
    background: black;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: contain;
}

.video-slider-prev,
.video-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: black;
    color: white;
    border: 2px solid black;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    font-family: 'Courier New', monospace;
    border-radius: 0;
}

.video-slider-prev {
    left: 20px;
}

.video-slider-next {
    right: 20px;
}

/*--------------------------------------------------------------
>>> COMPONENT: SLIDER HOVER
--------------------------------------------------------------*/

.slider-prev:hover,
.slider-next:hover,
.video-slider-prev:hover,
.video-slider-next:hover {
    background: white;
    color: black;
    border-color: black;
}

/*--------------------------------------------------------------
>>> COMPONENT: LINKS MET ICONEN
--------------------------------------------------------------*/

.links-met-iconen {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.links-met-iconen li {
    margin: 0;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    font-size: 1.2rem;
    position: relative;
    transition: transform 0.1s linear;
    padding: 0.25rem
}

.link-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.link-item:hover {
    background: black;
    color: white;
    border-color: white;
}

.link-item:hover img {
    filter: invert(100%);
}

/*--------------------------------------------------------------
>>> COMPONENT: FOOTER
--------------------------------------------------------------*/

footer {
    background-color: #000;
    color: #fff;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    text-decoration: none;
}

#copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    font-size: 1rem;
}

.copyrightleft {
    text-align: left;
}

.copyrightright {
    text-align: right;
}

.brutalist-link {
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: black;
    background: white;
    padding: 2px 4px;
    text-decoration: none;
    border: 2px solid black;
    transition: none;
    position: relative;
}

.brutalist-link:hover {
    background: black;
    color: white;
    box-shadow: none;
}

/*--------------------------------------------------------------
>>> MEDIA QUERIES
--------------------------------------------------------------*/

@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: center;
        position: sticky;
        top: 0;
        overflow: hidden;
        z-index: 1000;
    }

    #site-title {
        text-align: center;
        padding: 1rem 0;
        z-index: 9999;
        position: relative;
    }

    #menu-toggle {
        display: block;
        position: fixed;
        top: 0.2rem;
        right: 1rem;
        z-index: 9999;
        cursor: pointer;
        background: black;
        color: white;
        border: 2px solid black;
        padding: 0.25rem 1rem;
        font-family: 'Courier New', monospace;
        font-size: 2.5rem;
        transition: background 0.2s;
    }

    #menu-toggle:hover {
        background: black;
        color: white;
    }

    #menu-toggle .menu-icon-close {
        display: none;
    }

    body.menu-open #menu-toggle .menu-icon-open {
        display: none;
    }

    body.menu-open #menu-toggle .menu-icon-close {
        display: inline;
        padding-right: 0.5rem;
        font-size: 2.5rem;
    }

    /* Verberg desktopmenu */
    nav#acf-menu,
    nav#menu {
        display: none !important;
    }

    .menu-overlay {
        position: fixed;
        left: 0;
        top: -100%;
        width: 100vw;
        height: 100vh;
        background: black;
        color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        font-family: 'Courier New', monospace;
        font-size: 2rem;
        z-index: 900;
        visibility: hidden;
        transition: top 0.4s ease-in-out, visibility 0s linear 0.4s;
    }

    .menu-overlay.active {
        top: 0;
        visibility: visible;
        transition: top 0.4s ease-in-out, visibility 0s linear 0s;
    }

    .menu-overlay a {
        color: white;
        text-decoration: none;
        border: 2px solid white;
        padding: 0.5rem 1rem;
        transition: none;
    }

    .menu-overlay a:hover {
        background: white;
        color: black;
    }

    ul.acf-menu {
        flex-direction: column;
        align-items: center;
    }

    .acf-menu a {
        font-size: 48px;
    }

    .beeld-met-tekst {
        flex-direction: column;
    }

    .beeld-met-tekst .image,
    .beeld-met-tekst .tekst {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .beeld-met-tekst .image {
        justify-content: center;
        align-items: center;
    }

    .gecentreerd {
        max-width: 90%;
        margin: auto;
    }

    .links-met-iconen {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 4rem;
        justify-content: center;
        padding: 0;
        margin: 0 auto;
        list-style: none;
        max-width: 600px;
    }

    .links-met-iconen li {
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .link-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-decoration: none;
        color: #000;
        font-weight: bold;
        font-size: 1.2rem;
        transition: transform 0.1s linear;
        position: relative;
    }

    .link-item img {
        width: 60px;
        height: 60px;
        object-fit: contain;
    }

    .sectietitel {
        font-size: 2.5rem;
    }

    .slider-wrapper,
    .video-slider-wrapper {
        width: 90vw;
        height: auto;
    }

    .slider-track,
    .video-slider-track {
        align-items: center;
    }

    .slide img {
        max-width: 100%;
        height: auto;
    }

    .video-frame {
        width: 100%;
        aspect-ratio: 16 / 9;
        border: 4px solid black;
        background: black;
        border-radius: 0;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
    }

    .video-frame iframe {
        width: 100%;
        height: 100%;
        border: none;
        display: block;
        object-fit: cover;
    }
}

/*--------------------------------------------------------------
>>> DESKTOP MENU ONLY
--------------------------------------------------------------*/

@media (min-width: 769px) {
    .menu-overlay,
    #menu-toggle {
        display: none !important;
    }

    nav#acf-menu,
    nav#menu,
    .acf-menu {
        display: flex;
    }
}