@charset "UTF-8";
/*
Theme Name: Beeldbankbureau theme
Theme URI: n/a
Author: Young Birds Studio
Author URI: https://youngbirds.studio/
Description: Beeldbankbureau custom theme!
Version: 1.0.0
Text Domain: beeldbankbureau-theme
*/

/*
	Table of content
    1. GENERAL
        1.1 Headings
        1.2 Text
        1.3 Lists
        1.4 Initials
        1.5 Buttons
        1.6 Colors
        1.7 Label
        1.8 Scheidingslijnen
        1.9 Animaties
    2. HEADER
    3. FOOTER
    RESIZE
*/

/* 1. GENERAL */
/* Mobiel menu vanaf 1024px; wijzig je die breakpoint, pas hem dan hier én in custom-js.js aan */
:root {
    --grid-size-lg: 123rem;
    --grid-size-md: 92.5rem;
    --grid-size-sm: 82rem;
    --grid-padding: 2rem;
    --border-radius: 1.5rem;
    --border-radius-md: 1rem;
    --border-radius-sm: .6rem;

    /* compacte header: gescrold op desktop én mobiel (zelfde hoogte, zelfde logo) */
    --header-padding-sm: 1.9rem;
    --logo-height-sm: 4.2rem;

    --font-family: 'Poppins', sans-serif;

    --color-black: #000000;
    --color-white: #ffffff;
    --color-beige: #f6f3ec;
    --color-blue: #0078ff;
    --color-red: #ff636e;
    --color-brown: #c77d21;
    --color-grey: #959595;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 62.5%;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
}

/* footer altijd onderaan, ook bij een korte pagina */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--color-beige);
    font-family: var(--font-family);
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

main {
    flex: 1 0 auto;
}

:focus,
:focus-visible {
    outline: none;
}

button,
input,
select,
textarea {
    font: inherit;
    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
}

/* 1.1 Headings */
h1, .faux-h1,
h2, .faux-h2,
h3, .faux-h3,
h4, .faux-h4 {
    display: block;
    margin: 0 0 2rem;
    font-family: var(--font-family);
    font-weight: 700;
    color: var(--color-black);
}

h1:last-child, .faux-h1:last-child,
h2:last-child, .faux-h2:last-child,
h3:last-child, .faux-h3:last-child,
h4:last-child, .faux-h4:last-child {
    margin-bottom: 0;
}

h1, .faux-h1 {
    margin-bottom: 2.5rem;
    font-size: 6rem;
    line-height: 1.1;
}

h2, .faux-h2 {
    font-size: 4.5rem;
    line-height: 1.1;
}

h3, .faux-h3 {
    margin-bottom: 1.2rem;
    font-size: 2.6rem;
    font-weight: 600;
    line-height: 1.1;
}

h4, .faux-h4 {
    margin-bottom: 1rem;
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1.15;
}

/* een tussenkop na lopende tekst krijgt lucht erboven */
p + h2, p + .faux-h2,
p + h3, p + .faux-h3,
p + h4, p + .faux-h4 {
    margin-top: 4.6rem;
}

/* 1.2 Text */
p {
	margin: 0 0 1.6em;
}

p:empty {
    display: none;
}

p:last-child {
    margin: 0;
}

/* kleinere tekstmaten: kaarten (medium) en toelichtingen (small) */
.medium {
    font-size: 1.6rem;
    line-height: 1.6;
}

.small {
    font-size: 1.5rem;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: underline;
    transition: .3s;
}

strong {
    font-weight: 600;
}

blockquote {
    margin: 0;
}

/* video uit een teksteditor: altijd 16:9 over de volle breedte */
.video-embed {
    position: relative;
    margin: 4rem 0;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--color-black);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 1.3 Lists */
ul,
ol {
    margin: 0 0 1.6em;
    padding-left: 2rem;
}

ul:last-child,
ol:last-child {
    margin-bottom: 0;
}

/* genummerde lijst: rode cijferrondjes, vetgedrukte eerste regel als titel (zie "Zo werkt het") */
ol {
    display: grid;
    gap: 1.7rem;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

ol li {
    position: relative;
    padding-left: 5.5rem;
    font-size: 1.6rem;
    line-height: 1.6;
    counter-increment: step;
}

ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--color-red);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-black);
}

ol li strong {
    display: inline-block;
    padding: .3rem 0 .4rem;
    font-size: 2.3rem;
    line-height: 1.15;
}

* + ol {
    margin-top: 3.6rem;
}

/* 1.4 Initials */
section {
    position: relative;
    padding: 0 var(--grid-padding);
}

.row-lg,
.row-md,
.row-sm {
    width: 100%;
    margin: 0 auto;
}

.row-lg { max-width: var(--grid-size-lg); }
.row-md { max-width: var(--grid-size-md); }
.row-sm { max-width: var(--grid-size-sm); }

.pt-lg { padding-top: 12rem; }
.pt-md { padding-top: 10rem; }
.pt-sm { padding-top: 6rem; }
.pt-none { padding-top: 0; }
.pb-lg { padding-bottom: 12rem; }
.pb-md { padding-bottom: 10rem; }
.pb-sm { padding-bottom: 6rem; }
.pb-none { padding-bottom: 0; }

/* decoratieve graphic (bruin/blauw) aan de rand van het scherm */
.graphic {
    position: absolute;
    z-index: 2;
    display: block;
    height: auto;
    pointer-events: none;
}

/* 1.5 Buttons */
/* altijd 1px rand (zichtbaar of in de achtergrondkleur), zodat alle knoppen even hoog zijn */
.btn,
.menu-btn a {
	display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 2.2rem;
    cursor: pointer;
    border: 1px solid var(--color-red);
    border-radius: var(--border-radius-sm);
    background-color: var(--color-red);
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-black);
    text-decoration: none;
    white-space: nowrap;
	transition: .3s;
}

.btn:hover,
.menu-btn a:hover {
    border-color: color-mix(in srgb, var(--color-red) 88%, black);
    background-color: color-mix(in srgb, var(--color-red) 88%, black);
}

.btn.dark {
    border-color: var(--color-black);
    background-color: var(--color-black);
    color: var(--color-white);
}

.btn.dark:hover {
    border-color: color-mix(in srgb, var(--color-white) 12%, black);
    background-color: color-mix(in srgb, var(--color-white) 12%, black);
}

.btn-group,
p:has(> .btn) {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* knoppen in een eigen alinea (zonder .btn-group) gedragen zich hetzelfde */
* + .btn-group,
* + p:has(> .btn) {
    margin-top: 2.6rem;
}

/* 1.6 Colors */
/* de achtergrondkleur bepaalt de kleurstelling van alles erin */
.bgcolor-dark {
    background-color: var(--color-black);
    color: var(--color-white);
}

.bgcolor-dark h1, .bgcolor-dark .faux-h1,
.bgcolor-dark h2, .bgcolor-dark .faux-h2,
.bgcolor-dark h3, .bgcolor-dark .faux-h3,
.bgcolor-dark h4, .bgcolor-dark .faux-h4 {
    color: var(--color-white);
}

/* 1.7 Label */
/* klein kopje boven een titel ("Klantcase", "Contact") */
.label {
    display: block;
    margin-bottom: 0;
    font-size: 1.6rem;
    line-height: 1.6;
}

/* 1.8 Scheidingslijnen */
/* stippellijn over de breedte van row-lg, boven of onder de sectie */
.has-line-top::before,
.has-line-bottom::after {
    content: '';
    position: absolute;
    left: max(var(--grid-padding), calc((100% - var(--grid-size-lg)) / 2));
    right: max(var(--grid-padding), calc((100% - var(--grid-size-lg)) / 2));
    height: 1px;
    background-image: repeating-linear-gradient(90deg, var(--color-black) 0 1rem, transparent 1rem 1.7rem);
}

.has-line-top::before {
    top: 0;
}

.has-line-bottom::after {
    bottom: 0;
}

/* 1.9 Animaties */
/* subtiel in beeld schuiven bij scrollen (class via custom-js.js) */
.fade-up {
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .6, .2, 1);
}

.fade-up.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* 2. HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 800;
    padding: 1.7rem var(--grid-padding);
    background-color: var(--color-white);
    transition: padding .3s ease;
}

/* desktop: bij scrollen even compact als de mobiele header (mobiel staat de header niet vast) */
@media (min-width: 1025px) {
    .site-header.scrolled {
        padding-top: var(--header-padding-sm);
        padding-bottom: var(--header-padding-sm);
    }

    .site-header.scrolled .site-logo img {
        height: var(--logo-height-sm);
    }
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-logo {
    display: block;
    flex-shrink: 0;
}

.site-logo img {
    display: block;
    width: auto;
    height: 5rem;
    transition: height .3s ease;
}

.site-nav {
    display: flex;
    align-items: center;
}

.site-nav-links {
    display: flex;
    align-items: center;
    gap: 3.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav-links a {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.6;
    color: var(--color-black);
    text-decoration: none;
    white-space: nowrap;
}

.site-nav-links a:hover {
    text-decoration: underline;
    text-underline-offset: .4rem;
    text-decoration-thickness: 1px;
}

/* menu-item met CSS-class "menu-btn" (Weergave › Menu's) wordt een knop */
.site-nav-links .menu-btn {
    margin-left: .5rem;
}

.site-nav-links .menu-btn a,
.site-nav-links .menu-btn a:hover {
    padding: .6rem 2.1rem;
    font-size: 1.6rem;
    text-decoration: none;
}

.hamburger {
    position: fixed;
    right: var(--grid-padding);
    top: 2rem;
    z-index: 900;
    display: none;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-black);
    cursor: pointer;
}

.hamburger svg {
    fill: currentColor;
}

.hamburger .icon-close,
.hamburger[aria-expanded="true"] .icon-bars {
    display: none;
}

.hamburger[aria-expanded="true"] .icon-close {
    display: block;
}

/* mobiel menu: wit scherm over de hele pagina, links gecentreerd */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 850;
    display: flex;
    flex-direction: column;
    padding: 0 var(--grid-padding) 4rem;
    overflow-x: hidden;
    overflow-y: auto;
    background-color: var(--color-white);
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s;
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

/* zelfde maat als de mobiele header, zodat logo en knop niet verspringen */
.mobile-menu-top {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    min-height: calc(2 * var(--header-padding-sm) + var(--logo-height-sm));
}

.mobile-menu-nav {
    margin-top: 3rem;
}

.mobile-menu-links {
    display: grid;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mobile-menu-links li {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity .4s ease, transform .4s ease;
}

.mobile-menu.is-open .mobile-menu-links li {
    opacity: 1;
    transform: none;
}

.mobile-menu.is-open .mobile-menu-links li:nth-child(1) { transition-delay: .05s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(2) { transition-delay: .1s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(3) { transition-delay: .15s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(4) { transition-delay: .2s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(5) { transition-delay: .25s; }
.mobile-menu.is-open .mobile-menu-links li:nth-child(6) { transition-delay: .3s; }

.mobile-menu-links a {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.8;
    color: var(--color-black);
    text-decoration: none;
}

/* de menuknop als brede knop onderaan de lijst */
.mobile-menu-links .menu-btn {
    margin-top: 1.5rem;
}

.mobile-menu-links .menu-btn a {
    width: 100%;
    padding: .8rem 2.2rem;
    font-size: 1.5rem;
}

.mobile-menu-contact {
    display: grid;
    margin-top: 3rem;
    font-size: 1.6rem;
    line-height: 1.9;
}

.mobile-menu-contact a {
    text-decoration: none;
}

/* menu open: de pagina scrolt niet mee */
body.menu-open {
    overflow: hidden;
}

@media (min-width: 1025px) {
    .mobile-menu {
        display: none;
    }
}

/* 3. FOOTER */
.site-footer {
    position: relative;
    padding: 0 var(--grid-padding);
}

/* graphic links onderin, steekt boven de balk uit */
.footer-graphic {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    display: block;
    width: 22.7rem;
    height: auto;
    pointer-events: none;
}

/* tekst schuift op zodra de graphic er anders overheen zou vallen */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 9rem;
    padding: 2rem 0 2rem max(0rem, calc(24rem - max(var(--grid-padding), (100vw - var(--grid-size-lg)) / 2)));
    font-size: 1.5rem;
    line-height: 1.7;
}

.footer-text p {
    margin: 0;
}

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

.footer-text a:hover {
    text-decoration: underline;
}

.back-to-top {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: var(--border-radius-sm);
    background-color: color-mix(in srgb, var(--color-white) 20%, transparent);
    transition: background-color .3s;
}

.back-to-top svg {
    fill: var(--color-white);
}

.back-to-top:hover {
    background-color: color-mix(in srgb, var(--color-white) 35%, transparent);
}

/* RESIZE */
@media (max-width: 1220px) {
    .site-nav-links {
        gap: 2.4rem;
    }

    h1, .faux-h1 {
        font-size: 5rem;
    }
}

@media (max-width: 1024px) {
    .row-md {
        max-width: 100%;
    }

    /* mobiel menu */
    /* z-index auto: de header is een flex-item van body en zou anders de menuknop onder het mobiele menu houden */
    .site-header {
        position: static;
        z-index: auto;
        padding-top: var(--header-padding-sm);
        padding-bottom: var(--header-padding-sm);
    }

    .site-logo img {
        height: var(--logo-height-sm);
    }

    .site-nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .pt-lg { padding-top: 8rem; }
    .pt-md { padding-top: 7rem; }
    .pt-sm { padding-top: 4rem; }
    .pb-lg { padding-bottom: 9rem; }
    .pb-md { padding-bottom: 7rem; }
    .pb-sm { padding-bottom: 4rem; }

    h1, .faux-h1 {
        font-size: 4.2rem;
    }

    h2, .faux-h2 {
        font-size: 3.8rem;
    }

    .graphic {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --grid-padding: 1.5rem;
    }

    body {
        font-size: 1.6rem;
    }

    .pt-lg { padding-top: 6rem; }
    .pt-md { padding-top: 6rem; }
    .pt-sm { padding-top: 3rem; }
    .pb-lg { padding-bottom: 6rem; }
    .pb-md { padding-bottom: 6rem; }
    .pb-sm { padding-bottom: 3rem; }

    h1, .faux-h1 {
        margin-bottom: 1.5rem;
        font-size: 3rem;
        line-height: 1.2;
    }

    h2, .faux-h2 {
        margin-bottom: 1.2rem;
        font-size: 2.6rem;
        line-height: 1.15;
    }

    h3, .faux-h3 {
        font-size: 2rem;
        line-height: 1.25;
    }

    h4, .faux-h4 {
        font-size: 2rem;
        line-height: 1.3;
    }

    p + h2, p + .faux-h2,
    p + h3, p + .faux-h3,
    p + h4, p + .faux-h4 {
        margin-top: 3.6rem;
    }

    .medium,
    .small {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    .label {
        font-size: 1.4rem;
        line-height: 1.5;
    }

    ol {
        gap: 1.2rem;
    }

    ol li {
        padding-left: 3.5rem;
        font-size: 1.4rem;
        line-height: 1.5;
    }

    ol li::before {
        top: .3rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.4rem;
    }

    ol li strong {
        padding: 0 0 .5rem;
        font-size: 2rem;
        line-height: 1.32;
    }

    * + ol {
        margin-top: 2.4rem;
    }

    /* knoppen onder elkaar, volle breedte */
    .btn,
    .menu-btn a {
        padding: .8rem 2.2rem;
        font-size: 1.5rem;
        line-height: 1.7;
    }

    .btn-group,
    p:has(> .btn) {
        flex-direction: column;
        gap: 1rem;
    }

    .btn-group .btn,
    p:has(> .btn) .btn {
        width: 100%;
    }

    * + .btn-group,
    * + p:has(> .btn) {
        margin-top: 1.6rem;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: flex-start;
        gap: 2.5rem;
        min-height: 18rem;
        padding: 4rem 0 4.6rem;
        font-size: 1.4rem;
        line-height: 1.8;
        text-align: center;
    }

    .footer-graphic {
        width: 13.2rem;
    }
}

@media (max-width: 499px) {
}
