/* Algemene stijlen */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

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

/* Header */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    border-bottom: 3px solid #77aaff;
}

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

header .logo {
    display: flex;
    align-items: center;
}

header .logo img {
    height: 40px;
    margin-right: 10px;
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header ul li {
    display: inline;
    margin-left: 20px;
}

header ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header ul li a:hover {
    color: #77aaff;
}

/* Hero Section */
#hero {
    background: #555 url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: #fff;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Animatie voor hero content */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

#hero h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease-out 0.2s both;
}

#hero p {
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.button {
    display: inline-block;
    background: linear-gradient(135deg, #77aaff, #5588dd);
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(119, 170, 255, 0.3);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.button:hover {
    background: linear-gradient(135deg, #5588dd, #3366bb);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(119, 170, 255, 0.4);
}

/* Games Section */
#games {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
}

#games h2 {
    font-size: 2.8rem;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

#games h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #77aaff, #5588dd);
    border-radius: 2px;
}

.filters {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    color: #495057;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, #77aaff, #5588dd);
    border-color: #77aaff;
    color: white;
    transform: translateY(-2px);
}

.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.game-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    padding: 0;
    text-align: left;
    transition: all 0.3s ease;
    overflow: hidden;
}

.game-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0;
    margin-bottom: 0;
}

.game-card-content {
    padding: 20px;
}

.game-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #333;
}

.game-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-card .button {
    width: 100%;
    text-align: center;
    margin: 0;
    animation: none;
}

/* About & Contact Sections */
#about, #contact {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
}

#about h2, #contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

#about p, #contact p {
    max-width: 800px;
    margin: 0 auto 15px auto;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    header nav {
        flex-direction: column;
        text-align: center;
    }

    header ul {
        margin-top: 15px;
    }

    header ul li {
        margin: 0 10px;
    }

    #hero h2 {
        font-size: 2.5rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .game-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    header .logo h1 {
        font-size: 1.5rem;
    }

    #hero h2 {
        font-size: 2rem;
    }

    .button {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    #games h2, #about h2, #contact h2 {
        font-size: 2rem;
    }
}


