:root {
    --bg: #efebe9;
    --panel-bg: #ffffff;

    --text: #202020;
    --muted: #5e5e5e;

    --ccc-brown: #b46a3a;
    --ccc-brown-dark: #8b4d2a;

    --logo-design: #171717;
    --line-grey: #a7adb1;

    --black-overlay: rgba(0, 0, 0, 0.82);

    --header-height: 106px;
    --side-width: 280px;
    --site-padding: 58px;
    --slider-height: 478px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

/* Header */

.site-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 var(--site-padding);
    background: var(--bg);
}

.site-logo {
    line-height: 1;
    white-space: nowrap;
    display: flex;
    align-items: baseline;
}

.logo-main {
    color: var(--ccc-brown);
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo-sub {
    color: var(--logo-design);
    font-size: 32px;
    font-style: italic;
    font-weight: 400;
    margin-left: 4px;
}

/* Main layout */

.site-main {
    display: grid;
    grid-template-columns: var(--side-width) minmax(0, 1fr);
    align-items: start;
}

/* Services */

.side-menu {
        min-height: 0;
        padding: 22px 12px 22px 58px;
        background: var(--bg);
    }

.services-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-list li {
    color: var(--text);
    font-size: 14px;
    line-height: 1.25;
    margin-bottom: 6px;
}

.services-list li.is-active {
    color: var(--ccc-brown);
}

/* Slider */

.visual-section {
    min-width: 0;
    position: relative;
}

.slider {
    position: relative;
    height: var(--slider-height);
    overflow: hidden;
    background: #111;
}

.slides-track {
    position: relative;
    height: 100%;
    display: flex;
    transition: transform 0.7s ease;
}

.slide {
    position: relative;
    flex: 0 0 64%;
    height: 100%;
    overflow: hidden;
}

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

/* Donkere laag over alle niet-actieve slides */
.slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--black-overlay);
    opacity: 1;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.slide.is-active::after {
    opacity: 0;
}

/* Pijltjes */

.slider-controls {
    position: absolute;
    left: 28px;
    top: calc(var(--slider-height) - 52px);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-arrow {
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ccc-brown);
    font-size: 30px;
    line-height: 22px;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.slider-arrow:hover {
    background: var(--ccc-brown);
    color: #fff;
    transform: translateY(-1px);
}

.slider-play-pause {
    width: 30px;
    height: 30px;
    border: 1px solid #fff;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ccc-brown);
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.slider-play-pause:hover {
    background: var(--ccc-brown);
    color: #fff;
    transform: translateY(-1px);
}

/* Tekst onder slider */

.intro-line {
    display: flex;
    justify-content: flex-end;
    padding: 32px 58px 44px 0;
}

.slogan {
    margin: 0;
    max-width: 520px;
    color: #333;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 400;
}

/* Footer */

.site-footer {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    gap: 30px;
    padding: 30px var(--site-padding);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #555;
    font-size: 13px;
    line-height: 1.6;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--ccc-brown);
}

/* Responsive */

@media (max-width: 980px) {
    :root {
        --site-padding: 28px;
        --side-width: 220px;
    }

    .slide {
        flex-basis: 78%;
    }

    .intro-line {
        grid-template-columns: 1fr;
        padding-right: 28px;
    }

    .slogan {
        font-size: 16px;
    }
}

@media (max-width: 720px) {
    :root {
        --header-height: auto;
        --site-padding: 22px;
    }

    .site-header {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .logo-main {
        font-size: 40px;
    }

    .logo-sub {
        display: inline-block;
        position: relative;
        font-size: 24px;
        top: -2px;
    }

    .site-main {
        display: flex;
        flex-direction: column;
    }

    .visual-section {
        display: contents;
    }

    .side-menu {
        order: 2;
        min-height: 0;
        padding: 22px 22px 0;
        background: var(--bg);
    }

    .slider {
        order: 1;
        height: auto;
        aspect-ratio: 1000 / 562;
        overflow: hidden;
    }

    .slider-controls {
        order: 2;
        position: static;
        transform: none;
        display: flex;
        justify-content: center;
        gap: 8px;
        padding: 14px 0 20px 22px;
        background: var(--bg);
    }

    .side-menu {
        order: 3;
        min-height: 0;
        padding: 22px 22px 0;
        background: var(--bg);
    }

    .intro-line {
        order: 4;
        padding: 24px 22px 34px;
    }

    .services-list {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 25px;
    }

    .services-list li {
        display: inline-block;
        margin-bottom: 0;
        /* padding: 6px 10px;
        background: #fff; */
        border-radius: 16px;
        font-size: 13px;
    }

    .slide {
        flex-basis: 86%;
    }

    .slider-arrow,
    .slider-play-pause {
        border-color: rgba(0, 0, 0, 0.12);
        background: #fff;
    }
    
    .site-footer {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }
    
}