:root {
    --brand-olive: #3b4328;
    --brand-orange: #d16531;
    --brand-cream: #f3e7d8;
    --brand-ink: #1a1a1a;
}

html {
    height: 100%;
}

body {
    background: var(--brand-cream);
    color: var(--brand-ink);
    font-family: Georgia, "Times New Roman", serif;

    /* ↓ in plaats van height:100vh */
    min-height: 100vh;

    /* Sticky footer via flexbox */
    display: flex;
    flex-direction: column;
}

/* Wider container than BS3's default to reduce side gaps */
.container-wide {
    width: 96%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 1200px) {
    .container-wide {
        width: 94%;
    }
}

/* Tighten gutters and pull sidebars to edges */
.row-tight {
    margin-left: -10px;
    margin-right: -10px;
}

.row-tight > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.no-padding-left {
    padding-left: 0 !important;
}

.no-padding-right {
    padding-right: 0 !important;
}

/* Navbar (BS3) */
.navbar-inverse {
    background: var(--brand-olive);
    border-color: rgba(0, 0, 0, .1);
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > .active > a {
    color: var(--brand-orange);
    background: transparent;
}

/* 3:2 logo frame */
.logo-frame {
    width: 180px;
    height: 120px;
    display: inline-block;
}

.logo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Card styles (since BS3 has no cards) */
.card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 6px;
}

.card-ghost {
    background: #fffdf8;
    border: 1px dashed rgba(0, 0, 0, .15);
    border-radius: 6px;
}

.card .card-body, .card-ghost .card-body {
    padding: 15px;
}

.card:hover, .card-ghost:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.card-solid {
    border: 1px solid rgba(0, 0, 0, .12);
    border-radius: 6px;
}

/* Buttons */
.btn-brand {
    background: var(--brand-orange);
    color: #fff;
    border: none;
}

.btn-brand:hover {
    background: #b55629;
    color: #fff;
}

.btn-outline-brand {
    background: transparent;
    color: var(--brand-orange);
    border: 1px solid var(--brand-orange);
}

.btn-outline-brand:hover {
    background: var(--brand-orange);
    color: #fff;
}

/* Block 4 & footer */
#blok4 {
    background: var(--brand-olive);
    color: #fff;
}

footer {
    background: var(--brand-olive);
    color: #fff;
}

a.link-invert {
    color: #fff;
    text-decoration: none;
}

a.link-invert:hover {
    text-decoration: underline;
}

/* ---- Taller navbar for desktop (≥768px) ---- */
@media (min-width: 768px) {
    /* Make the bar taller */
    .navbar-inverse {
        min-height: 120px;
    }

    /* Make the brand area match that height and center the logo vertically */
    .navbar-inverse .navbar-brand {
        height: 120px;
        padding: 0 15px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    /* Scale the logo nicely inside */
    .logo-frame {
        width: auto;
        height: 90px;
    }

    /*  ← tweak this */
    .logo-frame img {
        max-height: 100%;
        width: auto;
    }

    /* Vertically center nav links for the taller bar */
    .navbar-inverse .navbar-nav > li > a {
        padding-top: 45px; /* (min-height - line-height)/2 approx */
        padding-bottom: 45px; /* 120px bar → 45/45 looks centered */
    }
}

/* ---- Mobile (≤767px): keep defaults, smaller logo ---- */
@media (max-width: 767px) {
    .navbar-inverse {
        min-height: 50px;
    }

    .navbar-inverse .navbar-brand {
        height: 50px;
        padding: 10px 15px;
    }

    .logo-frame {
        width: auto;
        height: 36px;
    }

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

main#midden {
    flex: 1 0 auto;
}

/* Blok4 is “normaal” content */
#blok4 {
    flex: 0 0 auto;
}

/* De footer duw je naar onder als er ruimte over is */
footer {
    margin-top: auto;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.main-image {
    display: block;
    margin: 0 auto;
    position: relative;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: gray;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

