
/* ========================================
   SLOTENMAKERS SPOEDCENTRALE
   Global Design System
======================================== */

:root {
    --spc-navy: #071b33;
    --spc-navy-light: #102b4a;
    --spc-gold: #f5b400;
    --spc-gold-hover: #dfa300;
    --spc-white: #ffffff;
    --spc-background: #f8f9fb;
    --spc-text: #17243a;
    --spc-muted: #64748b;
    --spc-border: #e5eaf0;

    --spc-radius: 14px;
    --spc-shadow: 0 5px 20px rgba(7, 27, 51, 0.08);

    --spc-container: 1200px;
}

/* Reset */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--spc-text);
    background: var(--spc-white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

/* Layout */

.container {
    width: min(
        calc(100% - 40px),
        var(--spc-container)
    );
    margin-inline: auto;
}

.site-main {
    min-height: 60vh;
}

/* Typography */

h1,
h2,
h3,
h4 {
    color: var(--spc-navy);
    line-height: 1.2;
    margin-top: 0;
    font-weight: 800;
}

p {
    margin-top: 0;
}

/* Buttons */

.spc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 9px;
    font-weight: 700;
    border: 0;
    transition: background .2s ease, transform .2s ease;
}

.spc-button:hover {
    transform: translateY(-2px);
}

.spc-button-primary {
    color: var(--spc-navy);
    background: var(--spc-gold);
}

.spc-button-primary:hover {
    background: var(--spc-gold-hover);
}

.spc-button-dark {
    color: var(--spc-white);
    background: var(--spc-navy);
}

/* Accessibility */

:focus-visible {
    outline: 3px solid var(--spc-gold);
    outline-offset: 3px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
    z-index: 9999;
    background: white;
    padding: 12px;
}

.skip-link:focus {
    left: 10px;
}


/* =========================================
   HEADER - SLOTENMAKERS SPOEDCENTRALE
========================================= */

.spc-header {
    position: sticky;
    top: 0;
    z-index: 9990;
    width: 100%;
    background: #FFFFFF;
    border-bottom: 1px solid #EDF0F3;
    box-shadow: 0 5px 18px rgba(16, 29, 50, 0.09);
}

.spc-header-inner {
    width: min(100% - 60px, 1920px);
    min-height: 112px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Logo */

.spc-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    max-width: 410px;
}

.spc-logo img {
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
    object-fit: contain;
}

/* Dividers */

.spc-header-divider {
    display: block;
    width: 1px;
    height: 62px;
    flex: 0 0 1px;
    background: #E7E9ED;
}

/* Navigation */

.spc-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(14px, 1.6vw, 34px);
    height: 112px;
    flex: 1 1 auto;
}

.spc-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 100%;
    padding: 0 2px;
    border: 0;
    background: transparent;
    color: #101D32;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease;
}

.spc-nav-link:hover,
.spc-nav-link.is-active,
.spc-nav-dropdown.is-active > .spc-nav-link {
    color: #101D32;
    font-weight: 750;
}

.spc-nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #D5A85B;
    transition: width .2s ease;
}

.spc-nav-link:hover::after,
.spc-nav-link.is-active::after,
.spc-nav-dropdown.is-active > .spc-nav-link::after {
    width: 100%;
}

/* Dropdown */

.spc-nav-dropdown {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.spc-chevron {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
}

.spc-dropdown-toggle[aria-expanded="true"] .spc-chevron,
.spc-language-toggle[aria-expanded="true"] .spc-chevron,
.spc-mobile-dropdown-toggle[aria-expanded="true"] .spc-chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.spc-dropdown-menu {
    position: absolute;
    top: calc(100% - 2px);
    left: -18px;
    width: 285px;
    padding: 12px;
    background: #FFFFFF;
    border: 1px solid #E9ECF0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 28px rgba(16, 29, 50, 0.13);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s ease;
}

.spc-nav-dropdown:hover .spc-dropdown-menu,
.spc-nav-dropdown:focus-within .spc-dropdown-menu,
.spc-nav-dropdown.is-open .spc-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.spc-dropdown-menu a {
    display: block;
    padding: 10px 12px;
    color: #27364A;
    font-size: 14px;
    border-radius: 6px;
    transition: background .2s ease, color .2s ease;
}

.spc-dropdown-menu a:hover {
    color: #101D32;
    background: #F4F6F9;
}

/* Help button */

.spc-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex: 0 0 auto;
    min-height: 58px;
    padding: 0 27px;
    border-radius: 40px;
    background: #D5A85B;
    color: #101D32;
    font-size: 17px;
    font-weight: 750;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease;
}

.spc-help-button:hover {
    background: #C99A48;
    color: #101D32;
    transform: translateY(-2px);
}

.spc-help-button img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

/* Language selector */

.spc-language {
    position: relative;
    flex: 0 0 auto;
}

.spc-language-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 17px;
    border: 1px solid #E1E5EA;
    border-radius: 40px;
    background: transparent;
    color: #101D32;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.spc-language-toggle img,
.spc-language-menu img {
    display: inline-block;
    width: 23px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.spc-language-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 210px;
    padding: 8px;
    background: #FFFFFF;
    border: 1px solid #E5E9EF;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(16, 29, 50, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all .2s ease;
}

.spc-language.is-open .spc-language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.spc-language-menu a,
.spc-language-disabled {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 6px;
    font-size: 14px;
    color: #27364A;
}

.spc-language-menu a:hover,
.spc-language-menu a.is-current {
    background: #F4F6F9;
}

.spc-language-disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* Mobile controls */

.spc-mobile-toggle,
.spc-mobile-navigation {
    display: none;
}


/* =========================================
   FOOTER - SLOTENMAKERS SPOEDCENTRALE
========================================= */

.spc-footer {
    background: #101D32;
    color: #FFFFFF;
    margin-top: 0;
}

.spc-footer-main {
    padding: 75px 0 65px;
}

.spc-footer-container {
    width: min(calc(100% - 60px), 1440px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.45fr 1fr 1.15fr 1fr 1fr;
    gap: 42px;
}

/* Brand */

.spc-footer-brand {
    max-width: 350px;
}

.spc-footer-logo {
    display: inline-block;
    margin-bottom: 28px;
}

.spc-footer-logo img {
    display: block;
    width: 100%;
    max-width: 275px;
    max-height: 100px;
    object-fit: contain;
    object-position: left center;
}

.spc-footer-brand h2 {
    color: #FFFFFF;
    font-size: 23px;
    line-height: 1.35;
    margin: 0 0 15px;
    font-weight: 750;
}

.spc-footer-brand p {
    color: #C5CFDC;
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 24px;
}

/* CTA */

.spc-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 12px 19px;
    background: #D5A85B;
    color: #101D32;
    border-radius: 7px;
    font-size: 14px;
    font-weight: 750;
    transition: background .2s ease, transform .2s ease;
}

.spc-footer-cta:hover {
    background: #E3BD7D;
    color: #101D32;
    transform: translateY(-2px);
}

.spc-footer-cta span {
    font-size: 19px;
}

/* Columns */

.spc-footer-column h3 {
    position: relative;
    color: #FFFFFF;
    font-size: 16px;
    font-weight: 750;
    margin: 5px 0 25px;
    padding-bottom: 14px;
}

.spc-footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #D5A85B;
}

.spc-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.spc-footer-column li {
    margin: 0 0 12px;
    padding: 0;
}

.spc-footer-column a {
    color: #C5CFDC;
    font-size: 13px;
    line-height: 1.6;
    transition: color .2s ease;
}

.spc-footer-column a:hover {
    color: #D5A85B;
}

/* Bottom bar */

.spc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.13);
    background: #0C1729;
}

.spc-footer-bottom-inner {
    width: min(calc(100% - 60px), 1440px);
    min-height: 75px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.spc-footer-bottom p {
    margin: 0;
    color: #AEBBCB;
    font-size: 12px;
}

.spc-footer-bottom .spc-footer-tagline {
    color: #D5A85B;
    font-weight: 650;
    letter-spacing: .3px;
}
