/* ==========================================================================
   GoMental.nl - Huisstijl CSS
   Kleuren uit Brandbook 2025
   ========================================================================== */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap');

/* --- CSS Variables (Brandbook kleuren) --- */
:root {
    --donkerblauw: #31287c;
    --geel: #ffe72e;
    --lichtblauw: #a4c3e8;
    --donkergroen: #163b39;
    --rood: #e30613;
    --roze: #f193bd;

    --wit: #ffffff;
    --lichtgrijs: #f5f5f7;
    --tekst: #2a2a2a;

    --font-heading: 'Merriweather', Georgia, serif;
    --font-body: 'Merriweather', Georgia, serif;

    --max-width: 1140px;
    --section-padding: 80px 0;
}

/* --- Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.75;
    color: var(--tekst);
    background: var(--wit);
}

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

a {
    color: var(--donkerblauw);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--rood);
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--donkerblauw);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    margin-bottom: 20px;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 16px;
}

p {
    margin-bottom: 16px;
}

/* ==========================================================================
   HEADER & NAVIGATIE
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--wit);
    border-bottom: 2px solid var(--lichtblauw);
    transition: box-shadow 0.3s;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(49, 40, 124, 0.1);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--donkerblauw);
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--donkerblauw);
    border-radius: 50% 50% 50% 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--geel);
    font-weight: 900;
    font-size: 1.1rem;
}

.logo-descriptor {
    display: block;
    font-size: 0.65rem;
    font-weight: 300;
    color: var(--donkergroen);
    letter-spacing: 0.02em;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--donkerblauw);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--donkerblauw);
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--rood);
    transition: width 0.3s;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

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

.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--lichtblauw) 0%, var(--roze) 50%, var(--geel) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50% 50% 50% 20%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    color: var(--donkerblauw);
    max-width: 700px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--donkergroen);
    max-width: 600px;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-descriptor {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--donkerblauw);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

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

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--donkerblauw);
    color: var(--wit);
}

.btn-primary:hover {
    background: #241d5e;
    color: var(--wit);
}

.btn-secondary {
    background: var(--geel);
    color: var(--donkerblauw);
}

.btn-secondary:hover {
    background: #f0d800;
    color: var(--donkerblauw);
}

.btn-outline {
    background: transparent;
    color: var(--donkerblauw);
    border: 2px solid var(--donkerblauw);
}

.btn-outline:hover {
    background: var(--donkerblauw);
    color: var(--wit);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
    padding: var(--section-padding);
}

.section-alt {
    background: var(--lichtgrijs);
}

.section-blauw {
    background: var(--donkerblauw);
    color: var(--wit);
}

.section-blauw h2,
.section-blauw h3 {
    color: var(--geel);
}

.section-blauw a {
    color: var(--geel);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

/* ==========================================================================
   CARDS & GRID
   ========================================================================== */

.grid {
    display: grid;
    gap: 32px;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: var(--wit);
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(49, 40, 124, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(49, 40, 124, 0.12);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50% 50% 50% 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.card-icon-blauw {
    background: var(--lichtblauw);
    color: var(--donkerblauw);
}

.card-icon-geel {
    background: var(--geel);
    color: var(--donkerblauw);
}

.card-icon-roze {
    background: var(--roze);
    color: var(--donkerblauw);
}

.card-icon-groen {
    background: var(--donkergroen);
    color: var(--geel);
}

/* ==========================================================================
   KERNWAARDEN
   ========================================================================== */

.waarde-item {
    text-align: center;
    padding: 40px 24px;
}

.waarde-label {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.waarde-open .waarde-label {
    background: var(--lichtblauw);
    color: var(--donkerblauw);
}

.waarde-nieuwsgierig .waarde-label {
    background: var(--geel);
    color: var(--donkerblauw);
}

.waarde-moedig .waarde-label {
    background: var(--roze);
    color: var(--donkerblauw);
}

/* ==========================================================================
   STAPPEN (How it works)
   ========================================================================== */

.stappen {
    counter-reset: stap;
}

.stap {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.stap-nummer {
    counter-increment: stap;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--donkerblauw);
    color: var(--geel);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.2rem;
}

.stap-nummer::before {
    content: counter(stap);
}

.stap-tekst h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

/* ==========================================================================
   QUOTE / HIGHLIGHT
   ========================================================================== */

.quote-block {
    border-left: 4px solid var(--geel);
    padding: 24px 32px;
    background: rgba(164, 195, 232, 0.15);
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--donkerblauw);
}

/* ==========================================================================
   DOELGROEPEN
   ========================================================================== */

.doelgroep-card {
    border-top: 4px solid var(--donkerblauw);
}

.doelgroep-card:nth-child(2) {
    border-top-color: var(--rood);
}

.doelgroep-card:nth-child(3) {
    border-top-color: var(--geel);
}

.doelgroep-card:nth-child(4) {
    border-top-color: var(--donkergroen);
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--donkerblauw);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--lichtblauw);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--donkerblauw);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

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

.site-footer {
    background: var(--donkerblauw);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--wit);
    margin-bottom: 12px;
}

.footer-descriptor {
    color: var(--geel);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.site-footer h4 {
    color: var(--geel);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--geel);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 24px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   DISCLAIMER BAR
   ========================================================================== */

.disclaimer {
    background: var(--donkergroen);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 12px 24px;
    font-size: 0.78rem;
}

/* ==========================================================================
   PAGE HERO (subpagina's)
   ========================================================================== */

.page-hero {
    padding: 120px 0 60px;
    background: var(--donkerblauw);
    color: var(--wit);
}

.page-hero h1 {
    color: var(--geel);
}

.page-hero p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
}

/* ==========================================================================
   TWO COLUMN LAYOUT
   ========================================================================== */

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

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

@media (max-width: 900px) {
    .grid-3, .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--wit);
        border-bottom: 2px solid var(--lichtblauw);
        box-shadow: 0 4px 20px rgba(49, 40, 124, 0.1);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--lichtgrijs);
    }

    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }

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

    :root {
        --section-padding: 48px 0;
    }

    .stap {
        flex-direction: column;
        gap: 12px;
    }
}
