/* STYLESHEET */

/* FONTS ADDENDUM */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap');

/* <style> ================================================================================================================== */
/* ================================================================================================================== */
/* INLINE VARS */ 
/* ================================================================================================================== */

:root {
    
    --clr-primary:          #9f8753;
    --clr-primary-darker:   #5f4713;

    --font-primary:         'Hanken Grotesk', Arial, sans-serif; 
    --font-secondary:       'Hanken Grotesk', Arial, sans-serif; 

    --main-border-radius:               10px;
    --main-border-radius-outspoken:     40px;
    
    --theme-accent1:    #9f8753;
    --theme-accent2:    #9EBD6F;
    
    --theme-text:       #030303;
    --theme-muted:      #b7c2de;
    
    --theme-bg:         #ffffff;
    --theme-bg-alt:     #f3eddb;
    --theme-card:       #ffffff;
    --theme-card-alt:   #f1f1f1;
}


/* ================================================================================================================== */
/* BASIC SETTINGS */
/* ================================================================================================================== */

html, body 
{ 
    font-family: var(--font-primary);
    font-weight: 300;

    min-height:100%;
    max-width:100%;
    height:100%;
    
    background: var(--theme-bg);
    color: var(--theme-text);
    position: relative;
}


/* ================================================================================================================== */
/* BASIC TYPO */
/* ================================================================================================================== */

body { 
    font-size: 16px; 
    line-height: 1.4em; 
} 

@media only screen and (min-width : 768px)
{
    body { font-size: 17px; line-height: 1.4em; } 
}

@media only screen and (min-width : 992px)
{
    body { font-size: 18px; line-height: 1.4em; } 
}

h1 { font-size: 2.5em; }
h2 { font-size: 1.6em; color: var(--theme-accent1); }
h3 { font-size: 1.4em; color: var(--theme-accent1); }
h1, h2, h3 { line-height: 1.2em; margin-bottom: 0.5em; font-weight: 500; font-family: var(--font-secondary); }

p { margin-bottom: 1.3em; }
.contentwrapper p:last-child { margin-bottom: 0 }
.lead { font-size: 1.2em; line-height: 1.4em; font-family: var(--font-secondary); font-weight: 400;  }

b, strong { font-weight: 600; }


/* ================================================================================================================== */
/* BOOTSTRAP OVERWRITES */
/* ================================================================================================================== */


.img-responsive { max-width: 100%; }

.jumbotron { background-color: var(--theme-card-alt); padding: 35px 35px 25px 35px; border-radius: var(--main-border-radius-outspoken); }
.jumbotron h1 { margin: 0 0 10px 0; }
.jumbotron p { margin: 0 0 10px 0; }

.card-body p { margin: 0; }
.card-body p + p { margin-top: 1.3em; }

.card {
    box-shadow: 0px 10px 30px 0px rgba(0,0,0,.10);
    position: relative;
    z-index: 5;
    border-radius: var(--main-border-radius);
    border: 0;
}

.text-right { text-align: right; }
.text-left { text-align: left; }
.float-right { float: right; }

a { color: var(--theme-accent1); text-decoration: underline; }
a:hover, a:focus { color: var(--theme-accent2); text-decoration: none; }

.container { max-width: 90%; width: 1640px; }

.btn { text-decoration: none; --bs-btn-padding-x: 1.5em; border-radius: 60px;  }

/* BUTTON ADDENDUM */
.btn-primary {
    border: 0;
    font-weight: 700;
    background-color: var(--theme-card);
    border-color: var(--theme-card);
    color: white;
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
    background-position: right bottom !important;
    transition: all .5s ease-in-out !important;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--clr-primary-darker);
    border-color: var(--clr-primary-darker);
    transition: all .23s ease-in-out !important;
}

.btn-light {
    background-color: var(--theme-card);
    border-color: var(--theme-card-alt);
    transition: all .5s ease-in-out !important;
}

/* PAGINATION ADDENDUM */
.pagination .page-item.active .page-link {
    color: #fff;
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
}

.pagination .page-item .page-link {
    color: var(--clr-primary);
}

/* CONTACTWELL ADDENDUM */
.contactwell {
    padding: 2em;
    background-color: var(--theme-bg-alt);
    border-radius: var(--main-border-radius);
}

.form-group  + .form-group  {
    margin-top: 1em;
}

.pilul { 
    color: var(--theme-accent1);
    background-color: var(--theme-bg-alt);
    border-radius: var(--main-border-radius-outspoken);
    padding: 4px 12px;
    text-decoration: none;
    transition: all .2s;
    font-size: 0.9em;
}

.pilul:hover { 
    color: var(--theme-bg);
    background-color: var(--theme-accent1);
    transition: all .4s;
}

img.img-radius {
    border-radius: var(--main-border-radius);
}

.sr-only {
    position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0;
}

/* ================================================================================================================== */
/* SITE BLOCKS */
/* ================================================================================================================== */
    
#sitewrapper { 
    padding: 1em; 
    min-height: 85vh; 
    z-index: 1;
    position: relative;
}

.navwrapper {
    background: var(--theme-card);
    border: 1px solid var(--theme-card-alt);
    border-radius: var(--main-border-radius);
    padding: 15px;
    margin-bottom: 1em; 
}

.contentwrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2em 1em;
}

@media only screen and (min-width : 992px)
{
    .navwrapper {
        border-radius: 40px;
        padding: 40px 30px;
        position: sticky;
        top: 1.5em;    
        box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    }
    
    #sitewrapper {
        display: grid;
        gap: 2em;
        padding: 1.5em;
        grid-template-columns: minmax(250px,15%) 1fr; 
    }
    
    .contentwrapper {
        padding: 2em 0em;
    }
}

@media only screen and (min-width : 1200px)
{
    #sitewrapper {
        display: grid;
        gap: 2em;
        padding: 1.5em;
        grid-template-columns: minmax(300px,20%) 1fr; 
    }
    
    .contentwrapper {
        padding: 3em 0em;
    }
}

.tonalbackground {
    position: fixed;
    left: -10px;
    top: 0;
    bottom: 0;
    height: 100vh;
    width: 10px;
    background-image: url('../img/default-image.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 0;
}

@media only screen and (min-width : 992px) 
{
    .tonalbackground 
    {
        left: 0;
        width: max(250px, 16vw);
    }
}

@media only screen and (min-width : 1200px) 
{
    .tonalbackground 
    {
        left: 0;
        width: max(280px, 18vw);
    }
}


/* ================================================================================================================== */
/* NAVIGATION
/* ================================================================================================================== */

.navheader { 
    display: flex;
    gap: 10px;
    align-content: center;
    justify-content: space-between;
    justify-items: stretch;
    align-items: center;
    flex-wrap: nowrap;
}

.navhead-toggle { text-align: right; }
.navhead-brand a { display: block; }
.navhead-brand img { height: 40px; }

.navwrapper .group-sizer {
    display: flex;
    justify-content: center;
}

@media only screen and (min-width : 992px) 
{
    .collapse { display: block !important; } 
    .navheader { margin-bottom: 0; }
    .navhead-toggle { display: none; }
    .navhead-brand { width: 100%; text-align: center; }
    .navhead-brand img { height: auto; width: min(300px, 90%); }
}

#navigation { padding: 1.3em 0 0; }

#navigation ul, #navigation li {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

#navigation li a { 
    color: var(--theme-text); 
    display: block;
    text-decoration: none;
    border-bottom: 1px solid var(--theme-card-alt);
    padding: 6px 8px;
    text-align: center;
}

#navigation li.active a { color: var(--theme-accent1); font-weight: 500; }
#navigation li a:hover { color: var(--theme-accent2); }

#navigation .dd-menu li a { 
    color: var(--theme-text); 
    display: block;
    text-decoration: none;
    border-bottom: 1px solid var(--theme-card-alt);
    padding: 6px 8px 5px 25px;
    font-weight: 300;
}

#navigation .dd-menu li.active a { color: var(--theme-accent1); font-weight: 500; }
#navigation .dd-menu li a:hover { color: var(--theme-accent2); }

#navigation a span { 
    float: right; 
    display: inline-block;
    padding: 5px 0;
    transform: rotate(90deg);
    transition: all 250ms;
}

@media only screen and (min-width : 992px) 
{
    #navigation .dd-menu {
        visibility: hidden;
        height: 0;
        transition: height .5s;
    }

    #navigation li:hover .dd-menu, #navigation li.active .dd-menu {
        visibility: visible;
        height: auto;
        transition: height .5s;
    }

    #navigation a span { 
        transform: rotate(0deg);
    }

    #navigation li:hover a span, #navigation li.active a span { 
        transform: rotate(90deg);
        transition: all 250ms;
    }
}

/* ================================================================================================================== */
/* HOMEPAGE AND HERO SECTION
/* ================================================================================================================== */

.homesection.contentwrapper {
    padding: 0;
}

.homesection + .homesection {
    margin-top: 5em; 
}

.homesection:has(.banner) {
    border-radius: 40px;
    overflow: hidden;
}

.homesection .banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: linear-gradient(to right, rgb(0 0 0 / .5) 0%, transparent 80%);
    font-size: 3rem;
    color: #ffffff;
}

.homesection .banner__inner {
    padding: 4rem;
}

.homesection .banner__inner h1 {
    font-size: 0.8em;
}

@media only screen and (min-width : 992px) 
{
    .homesection .banner__inner {
        padding: 4rem;
        max-width: 75%;
    }

    .homesection .banner__inner h1 {
        font-size: 1em;
    }
}

@media only screen and (min-width : 1200px) 
{
    .homesection .banner__inner {
        max-width: 50%;
    }
}

/* CONTACTWELL ADDENDUM */
.homeblok-inner {
    outline: 1px solid #f2f2f2;
    border-radius: 10px;
    position: relative;
    background-color: white;
    margin-bottom: 2.3em;
}

.homeblok-inner .flap {
    height: 100%;
} 

.homeblok-inner .textflap {
    display: flex;
    align-items: center;
}

.homeblok-inner img {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    aspect-ratio: 20/11;
    object-fit: cover;
} 

.homeblok-inner .padding {
    padding: 20px 30px;
}

@media only screen and (min-width : 992px) 
{  
    .homeblok-inner { 
        display: grid; 
        grid-template-columns: 1fr 1fr;
        align-items: center;
    } 
    
    .homeblok-inner img {
        aspect-ratio: auto;
        height: 100%;
    } 
    
    .homeblok.even .homeblok-inner img {
        border-top-left-radius: 10px;
        border-top-right-radius: 0px;
        border-bottom-left-radius: 10px;
    }
    
    .homeblok.odd .homeblok-inner img {
        border-top-left-radius: 0px;
        border-top-right-radius: 10px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 10px;
    }
}

.homeblok p { margin: 0; }
.homeblok p.button { margin: 15px 0 0 0; }
.homeblok .title {
    font-weight: 500;
    margin: 0 0 10px 0;
    font-size: 1.3em;
    color: var(--theme-accent1);
}

.homeblok.odd .homeblok-inner .flap:nth-child(1) { order: 2; }
.homeblok.odd .homeblok-inner .flap:nth-child(2) { order: 1; }


/* SLIDER */
#heroimage {
    height: 60vh;
    background-color: #cccccc;
    border-radius: var(--main-border-radius);
    border: 1px solid var(--theme-card-alt);
}

.carousel {
    background-color: white;
}

.carousel, .carousel-inner {
    height: 100%;
    width: 100%;
    border-radius: var(--main-border-radius);
} 

#heroimage .item {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
    border-radius: var(--main-border-radius);
}

.carousel .inner-inner-cell {
    width: 100%;
    height: 100%;
    display: table-cell;
    vertical-align: middle;
}

.carousel .inner-cell {
    display: table;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.5);
}

.herotitle {
    font-size: 1.5em;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 0.5em 0;
}

.inner-cell-fixedinnercontent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9;
}

@media only screen and (min-width : 992px) {
    .herotitle {
        font-size: 2.5em;
    }
    
    #heroimage, .carousel, .carousel-inner, #heroimage .item {
        border-radius: 40px;
    }
    
    #heroimage {
        box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
    }
}

/* ================================================================================================================== */
/* CONTENTHELPERS
/* ================================================================================================================== */

.nieuws-meta {
    color: var(--theme-muted);
    margin: 0 0 45px 0;
    padding: 0 0 5px 0;
}


/* ================================================================================================================== */
/* BREADCRUMBS
/* ================================================================================================================== */

.breadcrumbar 
{ 
    border-top: 1px solid var(--theme-bg-alt);
    border-bottom: 1px solid var(--theme-bg-alt);
    background-color: #fff; 
    padding: 10px 0;
    font-size: 0.8em;
    z-index: 2;
    position: relative;
}

.breadcrumb {
    padding: 0;
    margin-bottom: 0;
    background-color: #fff;
    --bs-breadcrumb-divider: '>';
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--theme-bg-alt);
}

.breadcrumb-item a {
    color: var(--theme-muted);
    text-decoration; none
}

.breadcrumb-item a:hover {
    color: var(--theme-accent1);
}


/* ================================================================================================================== */
/* FOOTER
/* ================================================================================================================== */

#footer {
    background-position: center center;
    background-color: var(--theme-accent1);
    background-image: url('../img/patroon.png');
    color: white;
    padding: 3em 0 30px;
    position: relative;
    min-height: 150px;
    z-index: 2;
    position: relative;
}

#footer a { color: white; }
#footer a:hover { color: var(--theme-accent2); }

#footer h1, #footer h2, #footer h3 { color: #fff; }


.postfooter { 
    margin-top: 30px;
    font-size: 0.85em;
}

.footer-left, .footer-right { text-align: center; }
@media (min-width: 767px)  
{
    .footer-left { text-align: left; }
    .footer-right { text-align: right; }
}
