/* ============================================
   BASE.CSS — Reset, Custom Properties, Typografie
   Concept Facilities
   ============================================ */

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

:root {
    /* Kleuren */
    --color-primary:     #2C2960;
    --color-primary-mid: #3D3A7A;
    --color-accent:      #4A7EC8;
    --color-accent-dark: #3568B0;
    --color-light:       #F3F3F8;
    --color-white:       #FEFEFF;
    --color-accent-light: #A8C4E8;
    --color-text:        #1A1830;
    --color-subtext:     #5A5878;
    --color-border:      #DDDDE8;
    --color-success:     #1A7A4A;

    /* Spacing */
    --sp-1:  0.25rem;
    --sp-2:  0.5rem;
    --sp-3:  0.75rem;
    --sp-4:  1rem;
    --sp-5:  1.25rem;
    --sp-6:  1.5rem;
    --sp-8:  2rem;
    --sp-10: 2.5rem;
    --sp-12: 3rem;
    --sp-16: 4rem;
    --sp-20: 5rem;
    --sp-24: 6rem;

    /* Typografie */
    --fs-xs:  0.75rem;
    --fs-sm:  0.875rem;
    --fs-base: 1rem;
    --fs-md:  1.125rem;
    --fs-lg:  1.25rem;
    --fs-xl:  1.5rem;
    --fs-2xl: 1.875rem;
    --fs-3xl: 2.25rem;
    --fs-4xl: 3rem;
    --fs-5xl: 3.75rem;

    /* Line-heights */
    --lh-tight:  1.2;
    --lh-snug:   1.35;
    --lh-normal: 1.6;
    --lh-loose:  1.8;

    /* Font weights */
    --fw-regular: 400;
    --fw-medium:  500;
    --fw-semibold: 600;
    --fw-bold:    700;
    --fw-black:   900;

    /* Border radius */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  20px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(11,31,58,0.08);
    --shadow-md: 0 4px 16px rgba(11,31,58,0.12);
    --shadow-lg: 0 8px 32px rgba(11,31,58,0.16);
    --shadow-xl: 0 16px 48px rgba(11,31,58,0.20);

    /* Transitions */
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --trans-fast:   150ms cubic-bezier(0, 0, 0.2, 1);
    --trans-normal: 250ms cubic-bezier(0, 0, 0.2, 1);
    --trans-slow:   400ms cubic-bezier(0, 0, 0.2, 1);

    /* Container */
    --container-max: 1200px;
    --container-pad: var(--sp-6);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

/* ============================================
   TYPOGRAFIE
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    color: var(--color-primary);
    overflow-wrap: break-word;
    word-break: break-word;
}

h1 { font-size: var(--fs-5xl); letter-spacing: -0.02em; }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { line-height: var(--lh-normal); }

strong { font-weight: var(--fw-semibold); }

.text-accent { color: var(--color-accent); }
.text-white  { color: var(--color-white); }
.text-sub    { color: var(--color-subtext); }

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

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

/* ============================================
   SECTION SPACING
   ============================================ */

section {
    padding: var(--sp-20) 0;
}

section.section--sm {
    padding: var(--sp-12) 0;
}

section.section--lg {
    padding: var(--sp-24) 0;
}

.section-label {
    display: inline-block;
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: var(--sp-3);
}

.section-header {
    margin-bottom: var(--sp-12);
}

.section-header h2 {
    margin-bottom: var(--sp-4);
}

.section-header p {
    font-size: var(--fs-md);
    color: var(--color-subtext);
    max-width: 600px;
}

.section-header--center {
    text-align: center;
}

.section-header--center p {
    margin: 0 auto;
}

/* ============================================
   GOOGLE FONTS IMPORT
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&display=swap');

/* ============================================
   FOCUS & ACCESSIBILITY
   ============================================ */

:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.btn:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    box-shadow: 0 0 0 4px rgba(74,126,200,0.20);
}

a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ============================================
   REDUCED MOTION
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
