/**
 * BlijfBewust - Contrast Fixes
 * Verbeterde leesbaarheid voor alle tekst op gekleurde achtergronden
 * WCAG AA compliant contrasten
 */

/* ==========================================
   HERO SECTIE - BETER CONTRAST
   Donkerdere achtergrond voor wit tekst
   ========================================== */
.hero {
    background: linear-gradient(135deg, #0a5a9e 0%, #1478c2 100%);
}

.hero h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero p {
    color: #ffffff;
}

/* ==========================================
   SECTION-STATS - VERBETERD CONTRAST
   ========================================== */
.section-stats {
    background: linear-gradient(135deg, #084a7c 0%, #0a5a9e 100%);
}

.section-stats h2,
.stats-content h2 {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.section-stats p,
.stats-content p {
    color: #ffffff;
    opacity: 1;
}

.stat-item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.18);
}

.stat-value {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.stat-label {
    color: #ffffff;
    opacity: 1;
}

.stat-icon {
    opacity: 1;
}

.stats-icon {
    opacity: 1;
}

/* ==========================================
   TEST CTA PROMINENT - VERBETERD CONTRAST
   ========================================== */
.test-cta-prominent {
    background: linear-gradient(135deg, #084a7c 0%, #0a5a9e 100%);
}

.test-cta-prominent h2 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.test-cta-prominent p {
    color: #ffffff;
    opacity: 1;
}

.test-cta-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ==========================================
   TOPIC HEADER - VERBETERD CONTRAST
   ========================================== */
.topic-header {
    background: linear-gradient(135deg, #084a7c 0%, #0a5a9e 100%);
}

.topic-header h1,
.topic-title h1 {
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.topic-header p,
.topic-title p {
    color: #ffffff;
    opacity: 1;
}

.topic-icon {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ==========================================
   FOOTER - VERBETERD CONTRAST
   Donkerdere achtergrond, witte tekst
   ========================================== */
.site-footer {
    background: #063a5e;
}

.footer-logo .logo-text {
    color: #ffffff;
}

.footer-tagline {
    color: #e0f2fe;
    opacity: 1;
}

.footer-links h3,
.footer-contact h3 {
    color: #ffffff;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: #bae6fd;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-contact p {
    color: #e0f2fe;
    opacity: 1;
}

.footer-contact strong {
    color: #ffffff;
}

/* Footer help links - goed zichtbaar */
.footer-help-links {
    color: #e0f2fe;
    margin-top: 1rem;
}

.footer-help-links strong {
    color: #ffffff;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-help-links a {
    color: #7dd3fc;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.footer-help-links a:hover {
    color: #ffffff;
}

.footer-bottom {
    color: #bae6fd;
    border-top-color: rgba(255, 255, 255, 0.15);
}

.footer-bottom p {
    color: #bae6fd;
}

.footer-bottom a {
    color: #7dd3fc;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.footer-disclaimer {
    color: #93c5fd;
    opacity: 1;
}

/* ==========================================
   PAGE HERO (voor privacy pagina etc)
   ========================================== */
.page-hero {
    background: linear-gradient(135deg, #084a7c 0%, #0a5a9e 100%);
    color: #ffffff;
    padding: var(--space-2xl) 0;
    text-align: center;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-sm);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-hero .hero-subtitle,
.page-hero p {
    font-size: var(--text-lg);
    color: #ffffff;
    opacity: 1;
}

/* ==========================================
   BUTTONS OP DONKERE ACHTERGROND
   ========================================== */
.hero .btn-primary,
.section-stats .btn-primary,
.test-cta-prominent .btn-primary,
.page-hero .btn-primary {
    background: #ffffff;
    color: #084a7c;
    font-weight: 700;
}

.hero .btn-primary:hover,
.section-stats .btn-primary:hover,
.test-cta-prominent .btn-primary:hover,
.page-hero .btn-primary:hover {
    background: #e0f2fe;
    color: #063a5e;
    transform: translateY(-2px);
}

.hero .btn-outline,
.test-cta-prominent .btn-outline,
.page-hero .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
    border-width: 3px;
}

.hero .btn-outline:hover,
.test-cta-prominent .btn-outline:hover,
.page-hero .btn-outline:hover {
    background: #ffffff;
    color: #084a7c;
}

/* Start test knop - wit op blauw */
.btn-start-test {
    background: #ffffff !important;
    color: #084a7c !important;
}

.btn-start-test:hover {
    background: #e0f2fe !important;
    color: #063a5e !important;
}

/* ==========================================
   CONTENT BLOCKS (privacy pagina etc)
   ========================================== */
.content-wrapper {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-top: calc(-1 * var(--space-lg));
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.content-block {
    margin-bottom: var(--space-xl);
}

.content-block:last-child {
    margin-bottom: 0;
}

.content-block h2 {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--primary-base);
    margin-bottom: var(--space-md);
}

.content-block p {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.content-block ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.content-block li {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

/* ==========================================
   ALGEMENE LINK KLEUREN OP DONKERE BG
   ========================================== */
.section-dark a,
.hero a,
.section-stats a,
.test-cta-prominent a,
.topic-header a,
.page-hero a {
    color: #7dd3fc;
}

.section-dark a:hover,
.hero a:hover,
.section-stats a:hover,
.test-cta-prominent a:hover,
.topic-header a:hover,
.page-hero a:hover {
    color: #ffffff;
}

/* ==========================================
   SOCIAL BUTTONS - GOEDE LEESBAARHEID
   ========================================== */
.social-buttons a {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.social-buttons a:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ==========================================
   INFO BOXES OP DONKERE ACHTERGROND
   ========================================== */
.hero .info-box,
.section-stats .info-box,
.test-cta-prominent .info-box {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
}

/* ==========================================
   BADGES OP DONKERE ACHTERGROND
   ========================================== */
.hero .badge,
.section-stats .badge,
.topic-header .badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
