/* Hero Banner */
.hero-banner {
    background-image: url('foto/157184-retro-movie-cinema-achtergrond-vector.jpg');
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 90vh;
    min-height: 90vh;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    margin-bottom: 50px;
}

.hero-banner h1 {
    font-size: 3em;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Mobiel Hero Banner */
@media (max-width: 767px) {
    .hero-banner {
        height: auto;
        min-height: 70vh;
        padding: 60px 20px;
    }

    .hero-banner h1 {
        font-size: 2.2em;
    }
}

/* Random Films Sectie */
.random-films {
    text-align: center;
    margin-top: -100px;
    position: relative;
    z-index: 10;
}

/* Titel 'Bekijk onze films!' */
.random-films h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* Film Grid */
.film-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Film Card */
.film-card {
    background-color: #333;
    color: white;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
    width: 400px;
    max-width: 100%;
}

.film-card:hover {
    transform: scale(1.05);
}

.film-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* Film Info */
.film-card .film-info {
    padding: 15px;
    text-align: center;
}

.film-link {
    text-decoration: none;
    color: white;
    font-size: 1.2em;
    transition: color 0.3s ease;
    align-items: center;
}

/* Responsive Grid Fix */
@media (max-width: 1200px) {
    .film-grid {
        justify-content: space-evenly;
    }
}

@media (max-width: 768px) {
    .film-grid {
        flex-direction: column;
        align-items: center;
    }
}

/* Bekijk Alle Films Knop */
.random-films .btn {
    display: block; /* Zorgt dat de knop op een nieuwe regel komt */
    margin: 30px ; /* Centraal plaatsen */
    padding: 8px 16px; /* Kleinere padding voor een kleinere knop */
    font-size: 1em; /* Kleinere tekstgrootte */
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 50%;
    max-width: 200px;
    margin: 0 auto;
}

.random-films .btn:hover {
    background-color: #0056b3;
    border-color: #004085;
}

