/* ═══════════════════════════════════
   DOEL2020 – GEDEELDE STIJLEN
   ═══════════════════════════════════ */
:root {
    --bg: #fff1e5;
    --bg-dark: #f5e6d8;
    --accent: #c41e3a;
    --accent-dark: #9a1830;
    --text-dark: #2d2d2d;
    --text-muted: #5a5a5a;
    --border: #e8ddd0;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: var(--bg);
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-slide-in {
    animation: slideInLeft 0.5s ease-out forwards;
}

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.open {
    max-height:none;
}

/* Links */
.link-accent {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.link-accent:hover {
    color: var(--accent-dark);
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    z-index: 1000;
    text-decoration: none;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 10px;
    color: white;
}

/* Pattern overlay */
.pattern-overlay {
    background-image:
        radial-gradient(circle at 15% 85%, rgba(196, 30, 58, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 85% 15%, rgba(196, 30, 58, 0.03) 0%, transparent 35%);
}

/* Dropdown menu */
.nav-item {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s ease;
    z-index: 100;
    padding: 8px 0;
    margin-top: 8px;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.15s ease;
}

.dropdown a:hover {
    background-color: var(--bg);
    color: var(--accent);
    padding-left: 24px;
}

/* Mobile dropdown */
.mobile-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-dropdown.open {
    max-height: none;
}

/* MEDIA article styling */
.media-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.2s ease;
}

.media-item:last-child {
    border-bottom: none;
}

.media-item:hover {
    padding-left: 8px;
}

.media-item:hover .media-title {
    color: var(--accent);
}

.media-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--accent);
    font-size: 14px;
    transition: all 0.2s ease;
}

.media-item:hover .media-number {
    background: var(--accent);
    color: white;
}

/* NEWS card styling */
.news-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 20px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.news-card:hover .news-title {
    color: var(--accent);
}

/* Featured news card */
.featured-news {
    background: linear-gradient(135deg, var(--accent) 0%, #a01830 100%);
    color: white;
    border: none;
}

.featured-news:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(196, 30, 58, 0.25);
}

.featured-news .news-title {
    color: white;
}

.featured-news:hover .news-title {
    color: white;
}

.featured-news .news-date {
    color: rgba(255, 255, 255, 0.8);
}

.featured-news .news-excerpt {
    color: rgba(255, 255, 255, 0.9);
}

/* Section header */
.section-header {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Pers article card */
.pers-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 24px;
    transition: all 0.25s ease;
    text-decoration: none;
    display: block;
}

.pers-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.pers-card:hover .pers-title {
    color: var(--accent);
}

/* NEWS link styling */
.news-link {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.2s ease;
}

.news-link:last-child {
    border-bottom: none;
}

.news-link:hover {
    padding-left: 8px;
}

.news-link:hover .news-title {
    color: var(--accent);
}

.section-header {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 24px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

/* Article content */
.article-content p {
    margin-bottom: 1.25rem;
}

.article-content h3 {
    font-family: 'Merriweather', Georgia, serif;
    font-weight: bold;
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.section-header {
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.section-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}