/*
Theme Name: TOF Techniek Opleidingen Flevoland
Theme URI: https://toflevoland.nl/
Author: TOF Techniek Opleidingen Flevoland
Description: Custom WordPress theme voor Techniek Opleidingen Flevoland.
Version: 1.0.0
Text Domain: tof
*/


/* =========================================================
   DESIGN TOKENS
   ========================================================= */

:root {
    --tof-blue: #244477;
    --tof-blue-dark: #102b55;
    --tof-blue-light: #edf3fa;

    --tof-orange: #f58220;
    --tof-orange-dark: #df6e0d;
    --tof-orange-light: #fff2e7;

    --tof-white: #ffffff;
    --tof-light: #f7f9fc;
    --tof-border: #e3e8ef;

    --tof-text: #17263b;
    --tof-text-light: #5d6b7d;

    --tof-container: 1200px;

    --tof-radius-sm: 8px;
    --tof-radius: 14px;
    --tof-radius-lg: 22px;

    --tof-shadow:
        0 10px 30px rgba(16, 43, 85, 0.08);

    --tof-transition:
        180ms ease;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: var(--tof-white);
    color: var(--tof-text);

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    line-height: 1.6;
}

img {
    display: block;

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.container {
    width: min(
        calc(100% - 48px),
        var(--tof-container)
    );

    margin-inline: auto;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4 {
    margin-top: 0;

    color: var(--tof-blue-dark);

    line-height: 1.15;
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.8rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.35rem;
}

p {
    margin-top: 0;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;

    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;

    padding: 0 24px;

    border-radius: var(--tof-radius-sm);

    font-weight: 700;

    transition:
        transform var(--tof-transition),
        background-color var(--tof-transition),
        border-color var(--tof-transition),
        color var(--tof-transition);
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--tof-white);
    background: var(--tof-orange);
}

.button-primary:hover {
    color: var(--tof-white);
    background: var(--tof-orange-dark);
}

.button-secondary {
    color: var(--tof-blue);

    background: var(--tof-white);

    border: 2px solid var(--tof-blue);
}

.button-secondary:hover {
    color: var(--tof-white);

    background: var(--tof-blue);
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;

    background: var(--tof-white);

    border-bottom: 1px solid var(--tof-border);
}

.site-header__inner {
    min-height: 96px;

    display: flex;

    align-items: center;

    gap: 40px;
}


/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    display: inline-flex;

    align-items: center;

    flex-shrink: 0;
}

.site-logo img {
    display: block;

    width: 180px;

    height: auto;
}


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

.site-navigation {
    margin-left: auto;
}

.site-navigation__list {
    display: flex;

    align-items: center;

    gap: 30px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-navigation__list li {
    margin: 0;
    padding: 0;
}

.site-navigation__list a {
    position: relative;

    display: inline-block;

    padding: 10px 0;

    color: var(--tof-blue-dark);

    font-size: 0.95rem;
    font-weight: 650;

    transition:
        color var(--tof-transition);
}

.site-navigation__list a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 2px;

    width: 0;
    height: 3px;

    border-radius: 3px;

    background: var(--tof-orange);

    transition:
        width var(--tof-transition);
}

.site-navigation__list a:hover,
.site-navigation__list .current-menu-item > a {
    color: var(--tof-orange);
}

.site-navigation__list a:hover::after,
.site-navigation__list .current-menu-item > a::after {
    width: 100%;
}


/* =========================================================
   HEADER CTA
   ========================================================= */

.header-cta {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border-radius: var(--tof-radius-sm);

    color: var(--tof-white);

    background: var(--tof-orange);

    font-size: 0.95rem;
    font-weight: 700;

    white-space: nowrap;

    transition:
        background-color var(--tof-transition),
        transform var(--tof-transition);
}

.header-cta:hover {
    color: var(--tof-white);

    background: var(--tof-orange-dark);

    transform: translateY(-2px);
}


/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-toggle {
    display: none;

    width: 46px;
    height: 46px;

    padding: 10px;

    border: 0;

    border-radius: var(--tof-radius-sm);

    background: var(--tof-blue);

    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 5px 0;

    background: var(--tof-white);
}


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

.mobile-navigation {
    display: none;

    padding: 20px 24px 28px;

    background: var(--tof-white);

    border-top: 1px solid var(--tof-border);
}

.mobile-navigation__list {
    display: flex;

    flex-direction: column;

    gap: 4px;

    margin: 0 0 20px;

    padding: 0;

    list-style: none;
}

.mobile-navigation__list li {
    margin: 0;
}

.mobile-navigation__list a {
    display: block;

    padding: 12px 0;

    color: var(--tof-blue-dark);

    font-weight: 600;
}

.mobile-navigation__cta {
    width: 100%;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 76px 0 72px;

    background: var(--tof-white);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);

    align-items: center;

    gap: 64px;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero__content {
    position: relative;
    z-index: 3;

    padding-left: 0;
}

.hero__eyebrow {
    margin: 0 0 16px;

    color: var(--tof-orange);

    font-size: 0.92rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero h1 {
    max-width: 700px;

    margin: 0 0 24px;

    color: var(--tof-blue-dark);

    font-size: clamp(3.4rem, 5vw, 5rem);
    font-weight: 800;

    line-height: 1.02;
    letter-spacing: -0.045em;
}

.hero h1 span {
    color: var(--tof-orange);
}

.hero__text {
    max-width: 570px;

    margin: 0;

    color: var(--tof-text-light);

    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-top: 32px;
}


/* =========================================================
   HERO MEDIA
   ========================================================= */

.hero__media {
    position: relative;

    min-width: 0;

    display: flex;
    align-items: center;
}

.hero__image-wrapper {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 520px;

    overflow: hidden;

    border-radius: 24px;

    background: var(--tof-blue-light);

    box-shadow: none;

.hero__image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 600ms ease;
}

.hero__image-wrapper:hover .hero__image {
    transform: scale(1.02);
}


/* =========================================================
   HERO DECORATION
   ========================================================= */

.hero__accent {
    position: absolute;

    z-index: 1;

    right: -34px;
    bottom: -30px;

    width: 170px;
    height: 170px;

    border-radius: 50%;

    background: var(--tof-orange);
}

.hero__accent::after {
    content: "";

    position: absolute;

    right: 32px;
    bottom: 32px;

    width: 106px;
    height: 106px;

    border-radius: 50%;

    background: var(--tof-blue);
}


/* =========================================================
   HERO USP BAR
   ========================================================= */

.hero-usps {
    position: relative;
    z-index: 5;

    color: var(--tof-white);

    background: var(--tof-blue-dark);
}

.hero-usps__inner {
    min-height: 88px;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    align-items: center;

    gap: 28px;
}

.hero-usp {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 11px;

    font-size: 0.94rem;
    font-weight: 700;
}

.hero-usp__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    border-radius: 50%;

    color: var(--tof-white);
    background: var(--tof-orange);

    font-size: 0.85rem;
    font-weight: 900;
}


/* =========================================================
   HERO RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .hero {
        padding: 64px 0 60px;
    }

    .hero__inner {
        gap: 42px;
    }

    .hero h1 {
        font-size: clamp(3rem, 5vw, 4.2rem);
    }

    .hero__image-wrapper {
        height: 460px;
    }

    .hero-usps__inner {
        gap: 16px;
    }

    .hero-usp {
        font-size: 0.84rem;
    }
}


/* =========================================================
   HERO RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .hero {
        padding: 54px 0 0;
    }

    .hero__inner {
        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 40px;
    }

    .hero__content {
        order: 1;
    }

    .hero__media {
        order: 2;

        margin-inline: -24px;
    }

    .hero__image-wrapper {
        height: 420px;

        border-radius: 0;
    }

    .hero__accent {
        right: -45px;
        bottom: -45px;

        width: 145px;
        height: 145px;
    }

    .hero__accent::after {
        right: 28px;
        bottom: 28px;

        width: 89px;
        height: 89px;
    }

    .hero-usps__inner {
        grid-template-columns: repeat(2, 1fr);

        min-height: auto;

        padding-top: 24px;
        padding-bottom: 24px;

        gap: 20px;
    }

    .hero-usp {
        justify-content: flex-start;
    }
}


/* =========================================================
   HERO RESPONSIVE — SMALL MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .hero {
        padding-top: 46px;
    }

    .hero h1 {
        font-size: 2.8rem;

        line-height: 1.04;
    }

    .hero__eyebrow {
        font-size: 0.82rem;
    }

    .hero__text {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;

        margin-top: 26px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero__media {
        margin-inline: -16px;
    }

    .hero__image-wrapper {
        height: 350px;
    }

    .hero-usps__inner {
        grid-template-columns: 1fr;

        gap: 14px;
    }
}


/* =========================================================
   TEMPORARY CONTENT
   ========================================================= */

.content-placeholder {
    padding: 100px 0;
}

.section-eyebrow {
    margin-bottom: 12px;

    color: var(--tof-orange);

    font-size: 0.9rem;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.content-placeholder h2 {
    max-width: 700px;

    margin-bottom: 20px;
}


/* =========================================================
   HERO RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .hero__inner {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 40px;
    }

    .hero__media,
    .hero__image-wrapper {
        height: 480px;
        min-height: 480px;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 5vw, 4rem);
    }

    .hero-usps__inner {
        gap: 15px;
    }

    .hero-usp {
        font-size: 0.85rem;
    }
}


@media (max-width: 800px) {

    .hero {
        padding: 60px 0 0;
    }

    .hero__inner {
        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 45px;
    }

    .hero__content {
        order: 1;
    }

    .hero__media {
        order: 2;

        min-height: 420px;
    }

    .hero__image-wrapper {
        height: 420px;
    }

    .hero-usps__inner {
        grid-template-columns:
            repeat(2, 1fr);

        padding: 25px 0;

        gap: 20px;
    }

    .hero-usp {
        justify-content: flex-start;
    }
}


@media (max-width: 600px) {

    .hero h1 {
        font-size: 2.7rem;
    }

    .hero__text {
        font-size: 1.05rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero__media {
        min-height: 350px;
    }

    .hero__image-wrapper {
        height: 350px;

        border-radius: 18px;
    }

    .hero__accent {
        right: -50px;
        bottom: -45px;

        width: 140px;
        height: 140px;
    }

    .hero__accent::after {
        right: 28px;
        bottom: 28px;

        width: 84px;
        height: 84px;
    }

    .hero-usps__inner {
        grid-template-columns: 1fr;

        padding: 25px 0;
    }
}


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

.site-footer {
    padding: 48px 0;

    color: var(--tof-white);

    background: var(--tof-blue-dark);
}

.site-footer p {
    margin: 0;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {

    .site-header__inner {
        gap: 24px;
    }

    .site-navigation__list {
        gap: 20px;
    }

    .site-navigation__list a {
        font-size: 0.9rem;
    }

    .header-cta {
        padding: 0 18px;
    }
}


@media (max-width: 900px) {

    .site-header__inner {
        min-height: 78px;

        gap: 16px;
    }

    .site-logo img {
        width: 150px;
    }

    .site-navigation,
    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;

        margin-left: auto;
    }

    .hero {
        padding: 80px 0;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(
            calc(100% - 32px),
            var(--tof-container)
        );
    }

    h1 {
        font-size: 2.7rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-actions {
        flex-direction: column;

        align-items: stretch;
    }

    .button {
        width: 100%;
    }
}