/* Algemene instellingen */
html {
    scroll-behavior: smooth;
}

h1, h2 {
    color: #D4AF37;
    text-align: center;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

/* Introductiepagina */
.intro {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    color: #f0f0f0;
    position: relative;
    padding: 0 20px;
}

.intro-content {
    z-index: 1;
    animation: fadeIn 2s ease-in-out;
}

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

.intro p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.intro-button {
    background-color: #D4AF37;
    color: #121212;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.intro-button:hover {
    background-color: #f0c050;
}

/* Fade-in effect */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Projecten sectie */
.projects {
    padding: 4rem 2rem;
    background-color: #000000;
    color: #f0f0f0;
    text-align: center;
}

.filter {
    margin-bottom: 2rem;
}

.filter-button {
    background-color: #D4AF37;
    color: #121212;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 5px;
    margin: 0 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-button:hover {
    background-color: #f0c050;
}

/* Grid van projecten */
.project-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Project tegel */
.project-item {
    position: relative;
    background-color: #2f3c47;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 500px;
    cursor: pointer;
}

.project-item:hover {
    transform: scale(1.05);
}

.project-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    border-bottom: 2px solid #D4AF37;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

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

.project-info h3 {
    font-size: 1.6rem;
    color: #D4AF37;
    margin-bottom: 1rem;
}

.project-info p {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Specifieke filmposters */
.current-film-1 {
    background-image: url('../images/movies/Schitterend.jpg');
}

.current-film-2 {
    background-image: url('path/to/current-film2.jpg');
}

.upcoming-film-1 {
    background-image: url('../images/movies/Untitled-Short.JPG');
}

.upcoming-film-2 {
    background-image: url('path/to/upcoming-film2.jpg');
}









/* MEDIA QUERIES */

/* Smartphones (max-width: 576px) */
@media (min-width: 320px) and (max-width: 768px) {
    mobile-text {
        display: block; /* Laat zien op mobiele schermen */
    }
    .intro h1 {
        font-size: 2.5rem;
    }

    .intro p {
        font-size: 1.1rem;
    }

    .intro-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }

    .project-list {
        grid-template-columns: 80fr 0fr;
    }
    .filter {
        display: flex;
        justify-content: center; /* Centreert de knoppen */
        flex-wrap: wrap; /* Laat de knoppen afbreken indien nodig */
        gap: 8px; /* Ruimte tussen de knoppen */
    }

    .filter-button {
        padding: 0.6rem 1rem; /* Iets compacter voor mobiel */
        font-size: 0.85rem;   /* Kleinere tekst voor mobiel */
        margin: 0;            /* Verwijder verticale marge */
        flex: 1 1 auto;       /* Knoppen groeien mee, maar blijven naast elkaar */
        text-align: center;   /* Tekst gecentreerd */
    }

    .project-item {
        position: relative;
        margin-bottom: 30px;
    }
    
    .project-info {
        color: #fff;
        padding: 20px;
        background-color: rgba(0, 0, 0, 0.6);
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        text-align: center;
    }
    
    .project-image {
        height: 270px;
        background-size: cover;
        background-position: center;
    }
    
    .current-film-1 {
        background-image: url('../images/movies/Schitterend.jpg'); /* Gebruik een voorbeeld van een filmbeeld */
    }
    
    .upcoming-film-1 {
        background-image: url('../images/movies/Untitled-Short.JPG'); /* Gebruik een voorbeeld van een filmbeeld */
    }
}

/* Tablets (min-width: 577px) and (max-width: 768px) */
@media (min-width: 530px) and (max-width: 768px) {
    
    .current-film-1 {
        background-image: url('../images/movies/Schitterend.jpg'); /* Gebruik een voorbeeld van een filmbeeld */
        background-position: center 20%; /* Verplaatst de afbeelding naar beneden */
        background-size: cover; /* Zorgt ervoor dat de afbeelding volledig bedekt wordt */}
    
    .upcoming-film-1 {
        background-image: url('../images/movies/Untitled-Short.JPG'); /* Gebruik een voorbeeld van een filmbeeld */
    }
}

/* Kleine laptops (min-width: 769px) and (max-width: 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .intro h1 {
        font-size: 2.8rem;
    }

    .intro p {
        font-size: 1.2rem;
    }

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

    .project-item {
        height: 450px;
    }
}

/* Desktops (min-width: 993px) */
@media (min-width: 993px) {
    .intro h1 {
        font-size: 3rem;
    }

    .intro p {
        font-size: 1.2rem;
    }

    .project-list {
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    }

    .project-item {
        height: 500px;
    }
}
