/*
Theme Name: LicenseKit
Theme URI: https://licensekit.nl/
Author: DeBray ICT Diensten
Author URI: https://licensekit.nl/
Description: Eigen WordPress-theme voor het LicenseKit-platform en de openbare LicenseKit-website.
Version: 0.2.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: licensekit-theme
*/

:root {
    --lk-blue: #0867c9;
    --lk-blue-hover: #075bb1;
    --lk-dark-blue: #062d69;
    --lk-orange: #ff7a00;
    --lk-text: #182230;
    --lk-muted: #667085;
    --lk-background: #f7f9fc;
    --lk-surface: #ffffff;
    --lk-border: #e4e7ec;
    --lk-shadow: 0 18px 45px rgba(17, 34, 68, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
    margin: 0;
    color: var(--lk-text);
    background: var(--lk-background);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}
body.lk-menu-open { overflow: hidden; }
a { color: var(--lk-blue); }
img { max-width: 100%; height: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { clip: auto; width: auto; height: auto; margin: 12px; padding: 12px 18px; background: #fff; z-index: 99999; }

.lk-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid var(--lk-border);
    backdrop-filter: blur(12px);
}
.site-header__inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.site-branding { display: inline-flex; align-items: center; gap: 12px; color: var(--lk-text); text-decoration: none; font-size: 1.05rem; font-weight: 850; white-space: nowrap; }
.site-branding__image { width: 58px; height: 58px; object-fit: contain; }
.site-branding .custom-logo { width: auto; max-width: 220px; max-height: 58px; object-fit: contain; }
.lk-primary-navigation { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.lk-primary-menu, .lk-footer-menu { list-style: none; margin: 0; padding: 0; }
.lk-primary-menu { display: flex; align-items: center; gap: 26px; }
.lk-primary-menu a { position: relative; display: block; padding: 29px 0 27px; color: var(--lk-text); text-decoration: none; font-size: .95rem; font-weight: 700; }
.lk-primary-menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--lk-blue); transition: right .2s ease; }
.lk-primary-menu a:hover::after, .lk-primary-menu .current-menu-item > a::after, .lk-primary-menu .current_page_item > a::after { right: 0; }
.lk-header-actions { display: flex; align-items: center; gap: 16px; }
.lk-login-link { color: var(--lk-text); text-decoration: none; font-weight: 750; }
.lk-menu-toggle { display: none; width: 46px; height: 46px; padding: 10px; border: 1px solid var(--lk-border); border-radius: 10px; background: #fff; cursor: pointer; }
.lk-menu-toggle span:not(.screen-reader-text) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--lk-text); transition: transform .2s, opacity .2s; }
.lk-menu-toggle[aria-expanded="true"] span:nth-of-type(2) { transform: translateY(7px) rotate(45deg); }
.lk-menu-toggle[aria-expanded="true"] span:nth-of-type(3) { opacity: 0; }
.lk-menu-toggle[aria-expanded="true"] span:nth-of-type(4) { transform: translateY(-7px) rotate(-45deg); }

.hero { min-height: 660px; padding: 90px 0; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; }
.hero__content { max-width: 720px; }
.lk-eyebrow { margin: 0 0 20px; color: var(--lk-muted); font-size: .82rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.hero h1, .lk-section h2 { margin: 0; line-height: 1.06; letter-spacing: -.035em; }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5.15rem); }
.hero p:not(.lk-eyebrow) { max-width: 720px; margin: 24px 0 0; color: var(--lk-muted); font-size: 1.15rem; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 28px; }
.hero__logo { width: min(100%, 440px); justify-self: end; filter: drop-shadow(0 24px 40px rgba(8,103,201,.12)); }
.lk-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 9px; background: var(--lk-blue); color: #fff; text-decoration: none; font-weight: 800; transition: transform .18s ease, background .18s ease; }
.lk-button:hover { color: #fff; background: var(--lk-blue-hover); transform: translateY(-1px); }
.lk-button--header { min-height: 42px; padding: 9px 16px; font-size: .9rem; }
.lk-text-link { color: var(--lk-blue); text-decoration: none; font-weight: 800; }

.lk-section { padding: 100px 0; }
.lk-section--white { background: var(--lk-surface); border-top: 1px solid var(--lk-border); border-bottom: 1px solid var(--lk-border); }
.lk-section h2 { max-width: 840px; font-size: clamp(2.2rem, 4vw, 3.65rem); }
.lk-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 50px; }
.lk-feature-card { min-height: 270px; padding: 30px; border: 1px solid var(--lk-border); border-radius: 16px; background: #fff; box-shadow: var(--lk-shadow); }
.lk-feature-card__number { color: var(--lk-blue); font-size: .8rem; font-weight: 900; letter-spacing: .08em; }
.lk-feature-card h3 { margin: 45px 0 12px; font-size: 1.35rem; }
.lk-feature-card p { margin: 0; color: var(--lk-muted); }
.lk-split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.lk-split-section > div:last-child { padding-top: 32px; color: var(--lk-muted); font-size: 1.12rem; }
.lk-section--cta { padding: 65px 0; background: var(--lk-dark-blue); color: #fff; }
.lk-section--cta .lk-eyebrow { color: rgba(255,255,255,.68); }
.lk-section--cta h2 { max-width: 740px; font-size: clamp(2rem, 3.7vw, 3.3rem); }
.lk-cta { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.lk-button--light { flex: 0 0 auto; background: #fff; color: var(--lk-dark-blue); }
.lk-button--light:hover { color: var(--lk-dark-blue); background: #eef5ff; }
.content-area { padding: 60px 0; }
.content-area article { max-width: 940px; }

.site-footer { background: #fff; border-top: 1px solid var(--lk-border); }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; padding: 62px 0 42px; }
.site-branding--footer { margin-bottom: 18px; }
.site-footer__brand p { max-width: 620px; margin: 6px 0; color: var(--lk-muted); }
.site-footer__links h2 { margin: 0 0 14px; font-size: 1rem; }
.lk-footer-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }
.lk-footer-menu a { color: var(--lk-muted); text-decoration: none; }
.lk-footer-menu a:hover { color: var(--lk-blue); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0 28px; border-top: 1px solid var(--lk-border); color: var(--lk-muted); font-size: .88rem; }
.site-footer__bottom p { margin: 0; }

@media (max-width: 1040px) {
    .lk-primary-menu { gap: 17px; }
    .lk-primary-navigation { gap: 18px; }
    .lk-header-actions { gap: 10px; }
    .lk-button--header { display: none; }
}

@media (max-width: 860px) {
    .site-header__inner { min-height: 72px; }
    .site-branding__image { width: 50px; height: 50px; }
    .lk-menu-toggle { display: block; margin-left: auto; }
    .lk-primary-navigation { display: none; position: absolute; top: 72px; left: 0; right: 0; max-height: calc(100vh - 72px); overflow-y: auto; padding: 20px; background: #fff; border-bottom: 1px solid var(--lk-border); box-shadow: var(--lk-shadow); }
    .lk-primary-navigation.is-open { display: block; }
    .lk-primary-menu { display: block; }
    .lk-primary-menu li { border-bottom: 1px solid var(--lk-border); }
    .lk-primary-menu a { padding: 15px 4px; }
    .lk-primary-menu a::after { display: none; }
    .lk-header-actions { align-items: stretch; flex-direction: column; margin-top: 18px; }
    .lk-login-link, .lk-button--header { display: flex; justify-content: center; padding: 12px; }
    .hero { min-height: auto; padding: 65px 0; grid-template-columns: 1fr; gap: 45px; }
    .hero__logo { max-width: 320px; justify-self: center; }
    .lk-feature-grid { grid-template-columns: 1fr; }
    .lk-feature-card { min-height: auto; }
    .lk-feature-card h3 { margin-top: 25px; }
    .lk-split-section { grid-template-columns: 1fr; gap: 10px; }
    .lk-split-section > div:last-child { padding-top: 0; }
    .lk-cta { align-items: flex-start; flex-direction: column; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 600px) {
    .lk-container { width: min(100% - 28px, 1180px); }
    .site-branding__name { display: none; }
    .hero h1 { font-size: 2.65rem; }
    .hero p:not(.lk-eyebrow) { font-size: 1.05rem; }
    .lk-section { padding: 72px 0; }
    .lk-footer-menu { grid-template-columns: 1fr; }
    .site-footer__bottom { align-items: flex-start; flex-direction: column; }
}
