* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

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

header {
    background-color: #0f172a;
    color: white;
    padding: 15px 0;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 8px;
}

.movie-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
   
}

.movie-card {
    background: white;
    border-radius: 8px;
    flex: 0 0 calc(50% - 10px);
    overflow: hidden;
    width: calc(33.333% - 20px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.movie-card:hover {
    transform: translateY(-5px);
}

.movie-poster {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.movie-info {
    padding: 15px;
}

.movie-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.movie-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.book-btn {
    background-color: #e63946;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-weight: bold;
    transition: background-color 0.3s;
}

.book-btn:hover {
    background-color: #c1121f;
}

.booking-form {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    display: none;
}

.booking-form.active {
    display: block;
}

.form-title {
    margin-bottom: 20px;
    color: #0f172a;
    border-bottom: 2px solid #e63946;
    padding-bottom: 8px;
}

.form-group {
    margin-bottom: 15px;
}


@media screen and (max-width: 992px) {
    .movie-card {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    header {
        padding: 12px 0;
        font-size: 0.9rem;
    }
    
    .movie-selection {
        gap: 15px;
    }
    
    .movie-poster {
        height: 250px;
    }
}

@media screen and (max-width: 576px) {
    .movie-card {
        width: 100%;
        max-width: 350px;
    }
    
    .movie-poster {
        height: 350px;
    }
    
    .booking-form {
        padding: 20px 15px;
    }
    .movie-selection{
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 400px) {
    .movie-poster {
        height: 280px;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
}