/* Juf Marijke — styles */

:root {
    --color-primary: #f8b500;
    --color-primary-dark: #d99e00;
    --color-text: #383432;
    --color-muted: #706f6f;
    --color-bg: #ffffff;
    --color-bg-alt: #f8f8f6;
    --color-border: #e5e3df;
    --container-max: 1100px;
    --content-max: 760px;
    --font-display: 'Oswald', 'Source Sans 3', sans-serif;
    --font-body: 'Source Sans 3', system-ui, sans-serif;
    --radius: 4px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    font-size: 17px;
    background: var(--color-bg);
}

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

a { color: var(--color-primary-dark); }
a:hover { color: var(--color-primary); }

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.25;
    color: var(--color-text);
    margin: 1.4em 0 0.6em;
}
h1 { font-size: 2.4rem; margin-top: 0; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1em; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.05s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}
.btn-primary {
    background: var(--color-primary);
    color: var(--color-text);
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-text);
}
.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid var(--color-primary);
}
.btn-secondary:hover {
    background: var(--color-primary);
}

/* Header */
.site-header {
    background: var(--color-text);
    border-bottom: 3px solid var(--color-primary);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    gap: 1rem;
    flex-wrap: wrap;
}
.logo img {
    height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
}

.mobile-actions {
    display: none;
    align-items: center;
    gap: 0.25rem;
}
.phone-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
}
.phone-icon:hover { color: var(--color-primary); }
.header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.phone {
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    font-family: var(--font-display);
}
.phone:hover { color: var(--color-primary-dark); }
.header-link {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    text-decoration: none;
}
.header-link:hover { color: var(--color-primary); }

/* Navigation */
.main-nav {
    width: 100%;
    background: var(--color-text);
    margin-top: 0.6rem;
}
.nav-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: var(--container-max);
    margin: 0 auto;
}
.nav-list > li {
    position: relative;
}
.nav-list > li > a {
    display: block;
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.9rem;
}
.nav-list > li > a:hover,
.nav-list > li > a.active {
    background: var(--color-primary);
    color: var(--color-text);
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    list-style: none;
    margin: 0;
    padding: 0.4rem 0;
    min-width: 220px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    z-index: 50;
}
.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
    display: block;
}
.submenu a {
    display: block;
    padding: 0.45rem 1rem;
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-body);
    font-weight: 400;
}
.submenu a:hover { background: var(--color-bg-alt); }

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    padding: 0.4rem;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--color-text);
    margin: 5px 0;
    border-radius: 2px;
}
.cta-mobile { display: none; }

/* Banner */
.page-banner {
    width: 100%;
    overflow: hidden;
    max-height: 360px;
    background: var(--color-bg-alt);
}
.page-banner img {
    width: 100%;
    object-fit: cover;
    max-height: 360px;
}

/* Content */
.page-content {
    padding: 2rem 0 3rem;
}
.content-area {
    max-width: var(--content-max);
}
.content-area h1 + h2,
.content-area .subtitle h2 {
    color: var(--color-muted);
    font-weight: 400;
    font-size: 1.2rem;
    margin-top: -0.5em;
}
.content-area .inner { margin-bottom: 1.5rem; }
.content-area img { margin: 1rem 0; border-radius: var(--radius); }
.content-area ul, .content-area ol { padding-left: 1.5rem; }
.content-area li { margin-bottom: 0.4rem; }

.content-area .links-container {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
}
.content-area .links a {
    display: inline-block;
    margin: 0.3rem 0.4rem 0.3rem 0;
    padding: 0.4rem 0.9rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    font-weight: 600;
}
.content-area .links a:hover { background: var(--color-primary); }

/* Home CTA section */
.home-cta {
    margin-top: 3rem;
    padding: 2.5rem 1.5rem;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    text-align: center;
}
.home-cta .btn { margin: 0.4rem; }

/* Forms */
.contact-form {
    margin-top: 2.5rem;
    max-width: 560px;
}
.form-row {
    margin-bottom: 1.1rem;
}
.form-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-family: var(--font-display);
}
.form-row input[type='text'],
.form-row input[type='email'],
.form-row input[type='tel'],
.form-row textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font: inherit;
    background: var(--color-bg);
}
.form-row input:focus,
.form-row textarea:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 1px;
}
fieldset.form-row {
    border: 0;
    padding: 0;
    margin-bottom: 1.1rem;
}
fieldset.form-row legend {
    font-weight: 600;
    font-family: var(--font-display);
    margin-bottom: 0.3rem;
    padding: 0;
}
fieldset.form-row label {
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
    font-weight: 400;
    font-family: var(--font-body);
}
fieldset.form-row input[type='radio'] {
    margin-right: 0.3rem;
}
.form-placeholder {
    margin-top: 2rem;
    padding: 1.2rem 1.4rem;
    background: var(--color-bg-alt);
    border-left: 4px solid var(--color-primary);
}

/* Footer */
.site-footer {
    background: var(--color-text);
    color: #e0ddd8;
    margin-top: 0;
}
.footer-top {
    padding: 1.5rem 0;
    border-bottom: 1px solid #4a4641;
}
.footer-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-logo img {
    height: 56px;
    width: auto;
    opacity: 0.9;
}
.footer-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.footer-contact a {
    color: #e0ddd8;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 600;
}
.footer-contact a:hover { color: var(--color-primary); }
.footer-contact-link {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.9rem;
}
.footer-ctas {
    padding: 2rem 0;
    border-bottom: 1px solid #4a4641;
}
.footer-ctas .container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}
.btn-footer {
    background: var(--color-primary);
    color: var(--color-text);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s;
}
.btn-footer:hover {
    background: var(--color-primary-dark);
    color: var(--color-text);
}
.footer-bottom {
    padding: 1rem 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--color-muted);
    flex-wrap: wrap;
    gap: 0.5rem;
}
.footer-bottom a {
    color: var(--color-muted);
    text-decoration: none;
}
.footer-bottom a:hover { color: var(--color-primary); }

/* ───────── Legacy content classes (original CMS) ───────── */

.page-home .page-content {
    padding: 0;
}

.inner {
    max-width: 1040px;
    margin: 0 auto;
    position: relative;
    clear: both;
    padding: 0 40px;
}

/* Hero section */
.bulletqueue {
    height: 70vh;
    min-height: 500px;
    position: relative;
    border-bottom: 3px solid var(--color-primary);
    background-image: url('/images/juf-marijke-afbeelding-juf-met-kind-1800x700.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
}
.bulletqueue::before {
    position: absolute;
    display: block;
    content: '';
    left: 0; top: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.35);
}
.bulletqueue .inner {
    height: 70vh;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.bulletqueue .inner h2 {
    text-shadow: 1px 1px #000;
    color: inherit;
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.22;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 18px;
    margin-top: 0;
}
.bulletqueue .inner ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.bulletqueue .inner ul li {
    position: relative;
    padding-left: 22px;
    font-size: 18px;
    line-height: 32px;
    font-weight: 500;
}
.bulletqueue .inner ul li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 22px;
}

/* Legacy buttons */
.button,
.checkbutton {
    font-size: 16px;
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    border-radius: 4px;
    height: 60px;
    line-height: 58px;
    padding: 0 30px;
    white-space: nowrap;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    margin-top: 20px;
}
.button:hover, .button:focus,
.checkbutton:hover, .checkbutton:focus {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    color: #fff;
}
.button.accent-donker,
.button.donker-accent {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}
.button.accent-donker:hover,
.button.donker-accent:hover {
    background-color: #383432;
    border-color: #383432;
}

/* Thumb grid */
.thumbs {
    clear: both;
    overflow: hidden;
    margin-left: -30px;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
.thumbs a {
    text-decoration: none;
}
.thumbs .thumb {
    position: relative;
    overflow: hidden;
    width: 300px;
    min-height: 350px;
    margin-left: 30px;
    margin-top: 40px;
    background: #383432;
    border-radius: 4px;
    border: 1px solid #383432;
}
.thumbs .thumb .img {
    background-position: center center;
    background-size: cover;
    width: 300px;
    height: 200px;
    display: block;
}
.thumbs .thumb .txt {
    height: 135px;
    padding: 20px;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
}
.thumbs .thumb .txt h3 {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
    line-height: inherit;
    text-align: left;
    color: #fff;
}
.thumbs a:hover .thumb {
    border-color: #bbb;
}
.thumbs a:hover .thumb .txt h3 {
    color: var(--color-primary);
}

/* Banner sections */
.banner {
    height: 50vh;
    min-height: 300px;
    background-image: url('/images/hands-smiles-1920x510.jpg');
    background-color: #383432;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}
.banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.banner .inner {
    text-align: center;
    max-width: 800px;
    color: #fff;
    position: relative;
    z-index: 1;
}
.banner .inner .title h1,
.banner .inner .title h2 {
    color: inherit;
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 400;
    line-height: 1.22;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 24px;
    text-shadow: 1px 1px #000;
}
.banner .inner .title h3 {
    color: inherit;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px;
}

/* Sidekick section */
.sidekick-homepage {
    clear: both;
    position: relative;
    max-width: 960px;
    margin: 40px auto 0;
}
.sidekick-homepage > img {
    display: block;
    width: 100%;
}
.sidekick-homepage .sidekickcontent {
    position: relative;
    max-width: 800px;
    background: #fff;
    margin: -260px auto 0;
    border: 1px solid #bbb;
    padding: 8px 40px 40px;
    border-radius: 2px;
    text-align: center;
}
.sidekick-homepage .sidekickcontent .title h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
}
.sidekick-homepage .sidekickcontent a:not(.button) {
    color: var(--color-primary);
    text-decoration: underline;
}

/* CMS content */
.cmscontent {
    position: relative;
    overflow: hidden;
    width: 100%;
}
.cmscontent .page-container {
    max-width: 860px;
    margin: 28px auto 0;
}
.cmscontent h3 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 12px;
}
.cmscontent p { margin-bottom: 22px; }
img[src*="profielfoto"] {
    float: right;
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 0 1rem 2rem;
}
.cmscontent ul {
    list-style: none;
    margin: 0 0 25px 28px;
    padding: 0;
}
.cmscontent ul li {
    padding-left: 22px;
    position: relative;
}
.cmscontent ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Title headings */
.title {
    text-align: center;
    max-width: 800px;
    margin: 27px auto 0;
}
.title h1, .title h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.11;
    letter-spacing: 2px;
    color: #000;
    margin-top: 0;
}
.title.subtitle h2,
.title h3 {
    color: #706f6f;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 16px;
}

/* Mobile */
/* Prijspakketten */
.pakket-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}
.pakket-card {
    border: 1px solid #ddd;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pakket-header {
    background: var(--color-primary);
    padding: 1rem 1.2rem 0.8rem;
    font-size: 0.85rem;
    height: 130px;
    overflow: hidden;
}
.pakket-header h2 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}
.pakket-body {
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
    flex: 1;
}
.pakket-body img[src*="groen-vinkje"] {
    display: inline;
    width: 16px;
    height: 16px;
    margin: 0 4px 0 0;
    border-radius: 0;
    vertical-align: middle;
    float: none;
}

@media (max-width: 800px) {
    .site-header > .container {
        flex-wrap: nowrap;
        align-items: center;
    }
    .header-meta { display: none; }
    .mobile-actions { display: flex; }
    .nav-toggle { display: block; }
    .nav-toggle span { background: #fff; }
    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        z-index: 99;
        background: var(--color-text);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .main-nav.open { display: block; }
    .nav-list { flex-direction: column; }
    .nav-list > li { width: 100%; }
    .nav-list > li > a {
        color: #fff;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-list > li > a:hover,
    .nav-list > li > a.active {
        background: var(--color-primary);
        color: var(--color-text);
    }
    .has-submenu .submenu {
        display: none;
        position: static;
        box-shadow: none;
        border: 0;
        background: rgba(0,0,0,0.25);
        padding: 0.25rem 0;
    }
    .has-submenu.open .submenu { display: block; }
    .has-submenu .submenu a {
        color: rgba(255,255,255,0.85);
        padding-left: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .has-submenu .submenu a:hover {
        background: rgba(255,255,255,0.08);
        color: #fff;
    }
    .submenu-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .submenu-toggle::after {
        content: '›';
        font-size: 1.4rem;
        padding-right: 1rem;
        transition: transform 0.2s;
        display: inline-block;
    }
    .has-submenu.open .submenu-toggle::after {
        transform: rotate(90deg);
    }
    .cta-mobile {
        display: block;
        margin-top: 0.5rem;
    }
    .cta-mobile a {
        background: var(--color-primary);
        color: var(--color-text);
    }
    .header-cta { display: none; }
    .page-banner, .page-banner img { max-height: 240px; }
    .pakket-cards {
        grid-template-columns: 1fr;
    }
    .pakket-header {
        height: auto;
    }
    h1 { font-size: 1.9rem; }
    .bulletqueue {
        min-height: 380px;
    }
    .bulletqueue .inner {
        min-height: 380px;
        padding: 1.5rem 1.25rem;
    }
    .bulletqueue .inner h2 {
        font-size: 26px;
        letter-spacing: 1px;
    }
}
