/* ═══════════════════════════════════════════════════════════════
   site.css — ERP Brug Design System
   Variables · Reset · Typography · Body
   ═══════════════════════════════════════════════════════════════ */

/* ─── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@300;400;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ─── Design Tokens ────────────────────────────────────────── */
:root {
    --blue-dark:   #0a1628;
    --blue-deep:   #0d1f3c;
    --blue-mid:    #0e3265;
    --blue-bright: #1a7fd4;
    --blue-light:  #3fa0f0;
    --blue-glow:   rgba(26, 127, 212, 0.18);

    --orange:       #10c77a;
    --orange-light: #3dd68c;
    --orange-glow:  rgba(16, 199, 122, 0.2);

    --white:       #f0f4fa;
    --muted:       #7a9ab8;

    --card-bg:     rgba(255, 255, 255, 0.04);
    --border:      rgba(255, 255, 255, 0.07);
    --border-blue: rgba(26, 127, 212, 0.25);

    --font-heading: 'Exo 2', sans-serif;
    --font-body:    'Open Sans', sans-serif;

    --nav-height:  70px;
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    position: relative;
    min-height: 100%;
}

/* ─── Body ──────────────────────────────────────────────────── */
body {
    background: var(--blue-dark);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    overflow-x: hidden;
}

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

/* ─── Page wrapper (below fixed nav) ────────────────────────── */
main {
    padding-top: var(--nav-height);
}

/* ─── Accessibility ─────────────────────────────────────────── */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── Cookie Banner ──────────────────────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1500;
    background: var(--blue-deep);
    border-top: 1px solid var(--border-blue);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 24px;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.3);
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner__text {
    flex: 1;
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.cookie-banner__link {
    color: var(--blue-light);
    text-decoration: none;
    white-space: nowrap;
}

.cookie-banner__link:hover {
    text-decoration: underline;
}

.cookie-banner__btn {
    flex-shrink: 0;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 22px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.cookie-banner__btn:hover {
    background: var(--orange-light);
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }

    .cookie-banner__btn {
        width: 100%;
    }
}
