/* 
 * Handbalvereniging Aeolus - Stylesheet
 * Primaire kleur: #E55A01 (oranje)
 * Secundaire kleur: #2A2A2A (donkergrijs)
 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #E55A01;
    --primary-dark: #c94d00;
    --primary-light: #ff7a2a;
    --secondary: #2A2A2A;
    --secondary-light: #3a3a3a;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --gray: #888888;
    --dark-gray: #444444;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 25px rgba(0,0,0,0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--secondary);
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Top Bar */
.top-bar {
    background: var(--secondary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.875rem;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left span {
    margin-right: 20px;
}

.top-bar-left i,
.top-bar-right i {
    margin-right: 5px;
    color: var(--primary);
}

.top-bar-right a {
    color: var(--white);
    margin-left: 15px;
    font-size: 1rem;
}

.top-bar-right a:hover {
    color: var(--primary);
}

/* Header */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Navigation */
.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.main-nav .nav-list > li {
    position: relative;
}

.main-nav .nav-list > li > a {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    color: var(--secondary);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.main-nav .nav-list > li > a:hover,
.main-nav .nav-list > li > a.active {
    background: var(--primary);
    color: var(--white);
}

.main-nav .nav-list > li > a i {
    font-size: 0.7rem;
    margin-left: 5px;
}

/* Nav CTA Button (Lid worden) */
.main-nav .nav-list > li > a.btn {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 20px;
    margin-left: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(229, 90, 1, 0.3);
}

.main-nav .nav-list > li > a.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(229, 90, 1, 0.4);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    padding: 10px 0;
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--secondary);
    font-size: 0.95rem;
}

.dropdown-menu li a:hover {
    background: var(--light-gray);
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: var(--light-gray);
    margin: 8px 0;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 15px;
    font-size: 1.25rem;
    border-radius: var(--radius);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23E55A01" stroke-width="2" opacity="0.1"/></svg>') repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 0 30px;
    opacity: 0.9;
}

/* Hero Layout with Matches Widget */
.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    text-align: left;
    flex: 1;
}

.hero-left h1,
.hero-left p {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

.hero-matches {
    flex: 0 0 340px;
    position: relative;
    z-index: 10;
}

.matches-widget {
    background: rgba(255,255,255,0.95);
    border-radius: 12px;
    padding: 20px;
    color: var(--secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    z-index: 10;
}

.matches-widget h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Match Versus Layout - Team vs Team */
.match-versus {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

.match-versus:last-of-type {
    border-bottom: none;
}

.match-versus-date {
    background: var(--primary);
    color: white;
    border-radius: 10px;
    padding: 8px 10px;
    text-align: center;
    min-width: 58px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(229, 90, 1, 0.3);
}

.match-versus-date .day {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}

.match-versus-date .month {
    display: block;
    font-size: 0.55rem;
    text-transform: uppercase;
    margin-top: 2px;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.match-versus-date .time {
    display: block;
    font-size: 0.65rem;
    margin-top: 4px;
    font-weight: 600;
}

.match-versus-teams {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}

.match-versus-teams .team {
    display: flex;
    align-items: center;
}

.match-versus-teams .team.home {
    justify-content: flex-end;
}

.match-versus-teams .team.away {
    justify-content: flex-start;
}

.match-versus-teams .team-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.match-versus-teams .team.aeolus .team-name {
    color: var(--primary);
    font-weight: 700;
    position: relative;
}

.match-versus-teams .team.aeolus .team-name::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
}

.match-versus-teams .team.aeolus.away .team-name::before {
    left: auto;
    right: -8px;
}

.vs-badge {
    background: linear-gradient(135deg, var(--secondary), #1a1a1a);
    color: white;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 5px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Legacy match-mini styles (for other pages) */
.match-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.match-mini:last-of-type {
    border-bottom: none;
}

.match-mini-date {
    background: var(--primary);
    color: white;
    border-radius: 8px;
    padding: 8px 10px;
    text-align: center;
    min-width: 50px;
}

.match-mini-date .day {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.match-mini-date .month {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
}

.match-mini-info {
    flex: 1;
}

.match-mini-info strong {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary);
}

.match-mini-info span {
    display: block;
    font-size: 0.85rem;
    color: #666;
}

.match-mini-info small {
    font-size: 0.75rem;
    color: #999;
}

@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-left {
        text-align: center;
    }
    
    .hero-left h1,
    .hero-left p {
        text-align: center;
        margin: 0 auto 20px;
    }
    
    .hero-matches {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--light-gray);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-gray {
    background: var(--light-gray);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.card-text {
    color: var(--gray);
    margin-bottom: 15px;
}

.card-meta {
    font-size: 0.875rem;
    color: var(--gray);
}

.card-meta i {
    color: var(--primary);
    margin-right: 5px;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Teams Grid - flexibel voor 5 teams of meer */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.teams-grid .team-card {
    text-decoration: none;
    display: block;
}

.teams-grid .team-card .card-image {
    height: 120px;
    overflow: hidden;
}

.teams-grid .team-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teams-grid .team-card .card-body {
    padding: 10px !important;
    text-align: center;
}

.teams-grid .team-card .card-title {
    font-size: 0.9rem;
    margin: 0 0 3px 0 !important;
}

.teams-grid .team-card .card-text {
    font-size: 0.75rem;
    color: #666;
    margin: 0 !important;
}

@media (max-width: 1200px) {
    .teams-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .teams-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card .card-date {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

/* Match Cards */
.match-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.match-date {
    text-align: center;
    min-width: 70px;
}

.match-date .day {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.match-date .month {
    font-size: 0.875rem;
    color: var(--gray);
    text-transform: uppercase;
}

.match-info {
    flex: 1;
}

.match-teams {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.match-teams .vs {
    color: var(--primary);
    margin: 0 10px;
}

.match-details {
    font-size: 0.9rem;
    color: var(--gray);
}

.match-details i {
    margin-right: 5px;
    color: var(--primary);
}

.match-score {
    text-align: center;
    min-width: 100px;
}

.match-score .score {
    font-size: 1.5rem;
    font-weight: 700;
}

.match-score .score.win {
    color: var(--success);
}

.match-score .score.lose {
    color: var(--danger);
}

.match-score .score.draw {
    color: var(--warning);
}

.match-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-home {
    background: var(--primary);
    color: var(--white);
}

.badge-away {
    background: var(--secondary);
    color: var(--white);
}

/* Team Section */
.team-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.team-card {
    text-align: center;
}

.team-card .card-image {
    height: 250px;
}

/* Training Schedule */
.training-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.training-table th,
.training-table td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.training-table th {
    background: var(--secondary);
    color: var(--white);
    font-weight: 600;
}

.training-table tr:hover {
    background: var(--light-gray);
}

.training-table .team-name {
    font-weight: 600;
    color: var(--primary);
}

/* Board Members */
.board-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.board-card {
    text-align: center;
    padding: 30px 20px;
}

.board-card .avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid var(--primary);
}

.board-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.board-card .avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--gray);
}

.board-card .avatar-placeholder.avatar-male {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.board-card .avatar-placeholder.avatar-female {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

/* Placeholder images with orange glow */
.board-card .avatar img.placeholder-img {
    transition: all 0.3s ease;
}

.board-card:hover .avatar img.placeholder-img {
    box-shadow: 0 0 20px rgba(229, 90, 1, 0.6), 0 0 40px rgba(229, 90, 1, 0.3);
}

.board-card .avatar img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.board-card:hover .avatar img {
    transform: scale(1.05);
}

.board-card h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.board-card .role {
    color: var(--gray);
    font-size: 0.9rem;
    font-style: italic;
    margin-bottom: 5px;
}

.board-card .function {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
}

.board-card .team-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.board-card .team-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.board-card .contact {
    font-size: 0.9rem;
    color: var(--gray);
}

/* Sponsors */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.sponsor-card {
    background: var(--white);
    padding: 30px;
    text-align: center;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.sponsor-card img {
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.sponsor-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Photo Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    aspect-ratio: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(229, 90, 1, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--white);
    font-size: 2rem;
}

/* Contact Page */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-box .icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1.25rem;
}

.contact-info-box h4 {
    margin-bottom: 5px;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 10px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* Content Box */
.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.content-box h3 {
    color: var(--primary);
    margin-bottom: 20px;
}

.content-box ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-box ul li {
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin: 0;
}

.footer-col h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.8);
}

.footer-col ul li a:hover {
    color: var(--primary);
}

.footer-col .contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col .contact-info i {
    color: var(--primary);
    width: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1rem;
}

.social-links a:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.footer-sponsors h5 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.sponsor-logos {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sponsor-logos img {
    height: 40px;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom a {
    color: var(--primary);
}

/* Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--gray); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

/* Responsive */
@media (max-width: 992px) {
    .grid-4, .board-grid, .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding: 80px 20px 20px;
        transition: var(--transition);
        overflow-y: auto;
        z-index: 999;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav .nav-list > li > a {
        padding: 15px;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background: var(--light-gray);
    }
    
    .has-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 5px;
        font-size: 0.8rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .grid-2, .grid-3, .news-grid, .contact-section {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col .contact-info li {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .match-card {
        flex-direction: column;
        text-align: center;
    }
    
    .board-grid {
        grid-template-columns: 1fr;
    }
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
}

/* Scroll to top */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ==========================================
   SPONSORS CAROUSEL - Scrollende sponsorbalk
   ========================================== */
.sponsors-carousel-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.sponsors-carousel-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}

.sponsors-carousel-section .section-title h2 {
    font-size: 1.8rem;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.sponsors-carousel-section .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.sponsors-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.sponsors-carousel::before,
.sponsors-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.sponsors-carousel::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa, transparent);
}

.sponsors-carousel::after {
    right: 0;
    background: linear-gradient(to left, #e9ecef, transparent);
}

.sponsors-track {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 40px;
    animation: scroll-sponsors 30s linear infinite;
    width: max-content;
}

.sponsors-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-sponsors {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.sponsor-slide {
    flex: 0 0 auto !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    min-width: 150px;
    height: 90px;
}

.sponsor-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.sponsor-slide img {
    max-width: 130px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(30%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

.sponsor-slide:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.sponsor-slide a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.sponsor-slide .sponsor-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1rem;
    text-align: center;
}

/* Responsive sponsors carousel */
@media (max-width: 768px) {
    .sponsors-carousel-section {
        padding: 30px 0;
    }
    
    .sponsors-track {
        gap: 40px;
        animation-duration: 20s;
    }
    
    .sponsor-slide {
        min-width: 140px;
        height: 80px;
        padding: 10px 20px;
    }
    
    .sponsor-slide img {
        max-width: 120px;
        max-height: 55px;
    }
    
    .sponsors-carousel::before,
    .sponsors-carousel::after {
        width: 80px;
    }
}

/* ==========================================
   WYSIWYG CONTENT STYLING
   Voor content die via TinyMCE is gemaakt
   ========================================== */

/* Content wrapper voor pagina's en nieuws */
.content-box,
.page-content,
.news-content {
    line-height: 1.8;
}

/* Koppen in content */
.content-box h1,
.page-content h1,
.news-content h1 {
    font-size: 2rem;
    color: var(--secondary);
    margin: 1.5em 0 0.75em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--primary);
}

.content-box h2,
.page-content h2,
.news-content h2 {
    font-size: 1.6rem;
    color: var(--secondary);
    margin: 1.25em 0 0.5em;
}

.content-box h3,
.page-content h3,
.news-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin: 1em 0 0.5em;
}

.content-box h4,
.page-content h4,
.news-content h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin: 1em 0 0.5em;
}

/* Paragrafen */
.content-box p,
.page-content p,
.news-content p {
    margin-bottom: 1.25em;
}

/* Links in content */
.content-box a,
.page-content a,
.news-content a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(229, 90, 1, 0.3);
    transition: all 0.2s ease;
}

.content-box a:hover,
.page-content a:hover,
.news-content a:hover {
    color: var(--primary-dark);
    text-decoration-color: var(--primary);
}

/* Ongeordende lijsten */
.content-box ul,
.page-content ul,
.news-content ul {
    margin: 1em 0 1.5em 0;
    padding-left: 0;
    list-style: none;
}

.content-box ul li,
.page-content ul li,
.news-content ul li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 0.5em;
}

.content-box ul li::before,
.page-content ul li::before,
.news-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Geneste lijsten */
.content-box ul ul,
.page-content ul ul,
.news-content ul ul {
    margin: 0.5em 0 0.5em 1em;
}

.content-box ul ul li::before,
.page-content ul ul li::before,
.news-content ul ul li::before {
    width: 6px;
    height: 6px;
    background: transparent;
    border: 2px solid var(--primary);
}

/* Geordende lijsten */
.content-box ol,
.page-content ol,
.news-content ol {
    margin: 1em 0 1.5em 0;
    padding-left: 0;
    list-style: none;
    counter-reset: item;
}

.content-box ol li,
.page-content ol li,
.news-content ol li {
    position: relative;
    padding-left: 2em;
    margin-bottom: 0.5em;
    counter-increment: item;
}

.content-box ol li::before,
.page-content ol li::before,
.news-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5em;
    height: 1.5em;
    background: var(--primary);
    color: white;
    font-size: 0.85em;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Tabellen */
.content-box table,
.page-content table,
.news-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    overflow: hidden;
}

.content-box table thead,
.page-content table thead,
.news-content table thead {
    background: var(--primary);
    color: white;
}

.content-box table th,
.page-content table th,
.news-content table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
}

.content-box table td,
.page-content table td,
.news-content table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.content-box table tbody tr:nth-child(even),
.page-content table tbody tr:nth-child(even),
.news-content table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.content-box table tbody tr:hover,
.page-content table tbody tr:hover,
.news-content table tbody tr:hover {
    background: #f0f0f0;
}

.content-box table tbody tr:last-child td,
.page-content table tbody tr:last-child td,
.news-content table tbody tr:last-child td {
    border-bottom: none;
}

/* Blockquotes */
.content-box blockquote,
.page-content blockquote,
.news-content blockquote {
    margin: 1.5em 0;
    padding: 1.25em 1.5em;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-style: italic;
    color: var(--dark-gray);
}

.content-box blockquote p:last-child,
.page-content blockquote p:last-child,
.news-content blockquote p:last-child {
    margin-bottom: 0;
}

/* Code blocks */
.content-box code,
.page-content code,
.news-content code {
    background: #f4f4f4;
    padding: 0.2em 0.5em;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    color: var(--primary-dark);
}

.content-box pre,
.page-content pre,
.news-content pre {
    background: var(--secondary);
    color: #f8f8f2;
    padding: 1.25em;
    border-radius: var(--radius);
    overflow-x: auto;
    margin: 1.5em 0;
}

.content-box pre code,
.page-content pre code,
.news-content pre code {
    background: none;
    padding: 0;
    color: inherit;
}

/* Horizontale lijn */
.content-box hr,
.page-content hr,
.news-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, var(--primary), transparent);
    margin: 2em 0;
}

/* Afbeeldingen in content */
.content-box img,
.page-content img,
.news-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: 1em 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Afbeelding uitlijning */
.content-box img[style*="float: left"],
.page-content img[style*="float: left"],
.news-content img[style*="float: left"] {
    margin-right: 1.5em;
    margin-bottom: 1em;
}

.content-box img[style*="float: right"],
.page-content img[style*="float: right"],
.news-content img[style*="float: right"] {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

/* Tekst uitlijning classes */
.content-box .text-center,
.page-content .text-center,
.news-content .text-center,
.content-box [style*="text-align: center"],
.page-content [style*="text-align: center"],
.news-content [style*="text-align: center"] {
    text-align: center;
}

.content-box .text-right,
.page-content .text-right,
.news-content .text-right,
.content-box [style*="text-align: right"],
.page-content [style*="text-align: right"],
.news-content [style*="text-align: right"] {
    text-align: right;
}

/* Responsive tabellen */
@media (max-width: 768px) {
    .content-box table,
    .page-content table,
    .news-content table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
    
    .content-box img[style*="float"],
    .page-content img[style*="float"],
    .news-content img[style*="float"] {
        float: none !important;
        margin: 1em auto !important;
        display: block;
    }
}
