/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
header {
    background-color: #2A4D93;
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

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

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* Hero Section */
.hero-slider {
    background: linear-gradient(135deg, #2A4D93 0%, #5B9B5B 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.slide-content {
    flex: 1;
    text-align: left;
}

.hero-image {
    flex: 0 0 300px;
    text-align: right;
}

.hero-child-img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* Nieuws Section */
.nieuws-section {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.nieuws-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: #2A4D93;
    font-weight: 700;
}

.nieuws-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.nieuws-item {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nieuws-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.nieuws-item.featured {
    grid-row: span 2;
}

.nieuws-item h3 {
    color: #2A4D93;
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.nieuws-date {
    color: #C96640;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.nieuws-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-top: 1rem;
    max-height: 120px;
    object-fit: contain;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    margin-top: 1rem;
}

#megabytes-video {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(42, 77, 147, 0.9);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.play-button:hover {
    background: rgba(42, 77, 147, 1);
    transform: translate(-50%, -50%) scale(1.05);
}

.play-button.hidden {
    display: none;
}

/* Content Sections */
.content-sections {
    padding: 4rem 0;
    background-color: white;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.section-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #C96640;
    transition: transform 0.3s ease;
}

.section-card:hover {
    transform: translateY(-3px);
}

.section-card h3 {
    color: #2A4D93;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-card p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: #2A4D93;
    color: white;
    padding: 2rem 0;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.social-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-links a:hover {
    opacity: 1;
}

.social-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-slider {
        padding: 2rem 0;
    }
    
    .slide {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .slide-content {
        text-align: center;
    }
    
    .slide-content h2 {
        font-size: 2rem;
    }
    
    .hero-image {
        flex: none;
    }
    
    .nieuws-grid {
        grid-template-columns: 1fr;
    }
    
    .nieuws-item.featured {
        grid-row: span 1;
    }
    
    .sections-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .nieuws-section h2 {
        font-size: 1.8rem;
    }
    
    .play-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}