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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

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

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 0;
    margin-bottom: 40px;
}

.site-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.site-title a {
    color: #333;
    text-decoration: none;
}

.site-title a:hover {
    color: #666;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav > ul > li {
    position: relative;
}

nav a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    display: block;
    padding: 8px 0;
}

nav a:hover {
    color: #333;
}

/* Dropdown Menu */
nav .has-dropdown {
    position: relative;
}

/* Vergroot hover gebied om gap te overbruggen */
nav .has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

nav .dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 180px;
    padding: 8px 0;
    z-index: 1000;
}

nav .dropdown li {
    padding: 0;
}

nav .dropdown a {
    padding: 10px 20px;
    color: #666;
    white-space: nowrap;
}

nav .dropdown a:hover {
    background-color: #f5f5f5;
    color: #333;
}

nav .has-dropdown:hover .dropdown {
    display: block;
}

/* Main Content */
main.content {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    margin-bottom: 40px;
    min-height: 400px;
}

/* Typography */
main.content h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

main.content h2 {
    font-size: 26px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #333;
}

main.content h3 {
    font-size: 22px;
    margin-top: 25px;
    margin-bottom: 12px;
    color: #444;
}

main.content p {
    margin-bottom: 15px;
}

main.content a {
    color: #0066cc;
    text-decoration: none;
}

main.content a:hover {
    text-decoration: underline;
}

/* Lists */
main.content ul,
main.content ol {
    margin-bottom: 15px;
    padding-left: 30px;
}

main.content li {
    margin-bottom: 8px;
}

/* Code */
main.content code {
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

main.content pre {
    background-color: #f4f4f4;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 15px;
}

main.content pre code {
    background-color: transparent;
    padding: 0;
}

/* Blockquotes */
main.content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 20px;
    margin: 20px 0;
    color: #666;
    font-style: italic;
}

/* Tables */
main.content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

main.content th,
main.content td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

main.content th {
    background-color: #f8f8f8;
    font-weight: 600;
}

/* Images */
main.content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
}

/* Forms (voor contact en agenda pagina's) */
.form-group {
    margin-bottom: 20px;
}

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

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #0066cc;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

button[type="submit"]:hover {
    background-color: #0052a3;
}

/* Agenda Events */
.event {
    border-left: 4px solid #0066cc;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.event-date {
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 5px;
}

.event-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.event-description {
    color: #666;
}

/* Footer */
footer {
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0;
    text-align: center;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav .dropdown {
        position: static;
        display: none;
        border: none;
        box-shadow: none;
        padding-left: 20px;
        margin-top: 5px;
        background-color: #f8f8f8;
        border-radius: 4px;
    }

    nav .has-dropdown:hover .dropdown {
        display: block;
    }

    main.content {
        padding: 20px;
    }

    main.content h1 {
        font-size: 26px;
    }
}
