/*
Theme Name: Bulk Onepager
Theme URI: https://leenweb.nl
Author: Website bulk
Description: Standaardtemplate met een homepage op één pagina en een contactpagina.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: bulk-onepager
*/

:root {
    --ink: #172033;
    --muted: #5c6578;
    --paper: #f6f4ef;
    --white: #ffffff;
    --line: #e4dfd4;
    --accent: #c4512c;
    --accent-dark: #9d3d1f;
    --navy: #1c2b45;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: 'Avenir Next', 'Segoe UI', sans-serif;
    font-size: 1.05rem;
    line-height: 1.6;
}

a {
    color: inherit;
}

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

.wrap {
    width: min(1080px, calc(100% - 2rem));
    margin-inline: auto;
}

.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: 6.5rem;
}

.site-title {
    font-weight: 700;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.site-logo {
    display: block;
    height: 5.5rem;
    width: auto;
}

.header-end {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.header-cta {
    white-space: nowrap;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 1.1rem;
}

.site-nav a {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 650;
}

.site-nav a:hover {
    color: var(--accent);
}

.crumbs {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.92rem;
}

.crumbs .wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    align-items: center;
    min-height: 2.6rem;
}

.crumbs a {
    text-decoration: none;
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 32rem;
    color: var(--white);
    background: var(--navy) center/cover no-repeat;
}

.hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16, 24, 41, 0.92) 0%, rgba(16, 24, 41, 0.78) 38%, rgba(16, 24, 41, 0.35) 100%);
}

.hero .wrap {
    position: relative;
    z-index: 1;
    padding: 4.5rem 0;
}

.hero h1 {
    max-width: 14ch;
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero p {
    max-width: 38rem;
    margin: 0 0 1.75rem;
    color: #d5dbe8;
}

.button {
    display: inline-block;
    padding: 0.8rem 1.15rem;
    border-radius: 999px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 650;
}

.button:hover {
    background: var(--accent-dark);
}

.section {
    padding: 4.5rem 0;
}

.section h2 {
    margin: 0 0 0.4rem;
    font-size: 2rem;
    letter-spacing: -0.03em;
}

.lede {
    margin-top: 0;
    color: var(--muted);
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.25rem;
}

.card h3,
.slide h3 {
    margin: 0 0 0.4rem;
}

.card a,
.slide a {
    text-decoration: none;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: start;
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.25rem;
}

label {
    display: block;
    font-size: 0.92rem;
    font-weight: 650;
    margin-bottom: 0.35rem;
}

input,
textarea {
    width: 100%;
    margin-bottom: 0.9rem;
    padding: 0.7rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 0.6rem;
    font: inherit;
    background: var(--white);
}

button.button {
    border: 0;
    cursor: pointer;
}

.notice {
    padding: 0.8rem 1rem;
    border-radius: 0.7rem;
    background: #e7f6ee;
    color: #135c36;
}

.slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(16rem, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.4rem;
}

.slide {
    scroll-snap-align: start;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
}

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

.slide div,
.story {
    padding: 1rem 1.15rem 1.2rem;
}

.faq {
    border-top: 1px solid var(--line);
    background: var(--white);
}

.faq summary {
    cursor: pointer;
    padding: 0.95rem 0.2rem;
    font-weight: 650;
}

.faq p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.site-footer {
    padding: 2.5rem 0;
    color: var(--muted);
    background: var(--navy);
    color: #d5dbe8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr auto;
    gap: 2rem;
}

.site-footer strong {
    display: block;
    margin-bottom: 0.6rem;
    color: white;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

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

.address p {
    margin: 0 0 0.8rem;
}

.social {
    display: flex;
    gap: 0.55rem;
}

.social a,
.social span {
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.story + .story {
    margin-top: 1.5rem;
}

@media (max-width: 800px) {
    .cards,
    .split,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .site-header .wrap {
        gap: 0.75rem;
        padding: 0.75rem 0;
    }

    .header-end {
        gap: 0.75rem;
    }
}
