/* Reset en basis stijlen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-bottom: 60px; /* Space for fixed footer */
}

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

/* Header stijlen */
header {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo h1 {
    color: #2c3e50;
    font-size: 1.8rem;
}

.logo h1 a {
    text-decoration: none;
    color: inherit;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #3498db;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #3498db;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Page Content */
.page-content {
    padding: 120px 0 80px;
    background: white;
}

.page-content .container {
    max-width: 800px;
}

.page-content h1,
.page-content h2,
.page-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.page-content h1 {
    font-size: 2.5rem;
}

.page-content h2 {
    font-size: 2rem;
}

.page-content h3 {
    font-size: 1.5rem;
}

.page-content p {
    margin-bottom: 1rem;
    color: #666;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
    color: #666;
}

/* Hero sectie (voor home pagina) */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 80px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Secties */
section {
    padding: 120px 0 80px 0;
}

section:nth-child(even) {
    background: #f8f9fa;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ecf0f1;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    color: #bdc3c7;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links li {
        margin: 0.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section h2 {
        font-size: 2rem;
    }
    
    .page-content {
        padding: 100px 0 60px;
    }
    
    .page-content h1 {
        font-size: 2rem;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
    }
    
    nav {
        padding: 1rem;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
}

/* Mobile menu animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading state */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Content Image Styles - Force spacing */
.page-content img,
.container img,
main img {
    max-width: 100%;
    height: auto;
    margin: 15px !important;
    border-radius: 4px;
    display: block;
    clear: both;
}

/* Additional spacing for any image that might be missed */
img {
    margin: 15px !important;
}

.page-content .image-full {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}

.page-content .image-side {
    width: 50%;
    max-width: 50%;
    height: auto;
    float: right;
    margin: 1rem 0 1rem 1rem;
    clear: right;
}

.page-content .image-left {
    width: 50%;
    max-width: 50%;
    height: auto;
    float: left;
    margin: 1rem 1rem 1rem 0;
    clear: left;
}

.page-content .image-center {
    width: 50%;
    max-width: 50%;
    height: auto;
    display: block;
    margin: 1rem auto;
    text-align: center;
    float: none;
}

.page-content .image-right {
    width: 50%;
    max-width: 50%;
    height: auto;
    float: right;
    margin: 1rem 0 1rem 1rem;
    clear: right;
}

/* Image Size Classes */
.page-content .image-small {
    width: 25%;
    max-width: 25%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

.page-content .image-medium {
    width: 50%;
    max-width: 50%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

.page-content .image-large {
    width: 75%;
    max-width: 75%;
    height: auto;
    display: block;
    margin: 1rem auto;
}

/* Clearfix for floated images */
.page-content .image-full::after,
.page-content .image-side::after,
.page-content .image-left::after,
.page-content .image-right::after {
    content: "";
    display: table;
    clear: both;
}

/* Responsive images */
@media (max-width: 768px) {
    .page-content .image-side,
    .page-content .image-left,
    .page-content .image-right,
    .page-content .image-center {
        width: 100%;
        max-width: 100%;
        float: none;
        margin: 1rem 0;
        display: block;
    }
}

/* Simple Gallery Styles - No Cards, Just Images */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 300px);
    gap: 0;
    padding: 0;
    justify-content: center;
}

.gallery-image {
    width: 300px;
    height: 400px;
    max-width: 300px;
    max-height: 400px;
    min-width: 300px;
    min-height: 400px;
    object-fit: cover;
    display: block;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    transition: none;
    box-sizing: border-box;
}

.gallery-image:hover {
    transform: none;
    filter: none;
}

/* Lightbox - Simple */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border: none;
    border-radius: 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
}

.lightbox-close:hover {
    color: #bbb;
}

/* Gallery Filter Buttons */
.category-filter {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px !important;
    background: #f0f0f0 !important;
    color: #333 !important;
    border: 1px solid #ddd !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    border-radius: 2px !important;
}

.filter-btn:hover {
    background: #e0e0e0 !important;
    border-color: #ccc !important;
}

.filter-btn.active {
    background: #d0d0d0 !important;
    border-color: #bbb !important;
}

/* Page content image styling - same as admin - override inline styles */
.content img,
.page-content img,
.main-content img,
section img,
.container img {
    display: inline !important;
    max-width: 300px !important;
    height: auto !important;
    margin-right: 10px !important;
    float: left !important;
    margin: 0 10px 10px 0 !important;
    clear: none !important;
}
