

/* Tag Selectors */
body {
    margin: 0;
    background-color: #101014;
    color: white;
}

p {
    line-height: 1.6;
}

/* Announcement */
.announcement {
    background-color: #e50914;
    color: white;
    padding: 10px;
    font-weight: bold;
}

/* Navigation Bar */
.navbar {
    background-color: #1c1c24;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #e50914;
}

#logo {
    color: #e50914;
    margin: 0;
    font-size: 28px;
}

#logo span {
    color: white;
}

.links {
    display: flex;
    gap: 20px;
}

.links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.links a:hover {
    color: #e50914;
}

/* Featured Section */
.featured {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    padding: 40px 8%;
    background: linear-gradient(120deg, #252530, #111116);
    animation: appear 1s ease-in;
}

.featured-text {
    max-width: 550px;
}

.featured-text h2 {
    font-size: 36px;
    line-height: 1.3;
    letter-spacing: 1px;
}

.featured-text p {
    color: #cccccc;
    word-spacing: 2px;
}

.featured-image img {
    width: 260px;
    height: 360px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s;
}

.featured-image img:hover {
    transform: scale(1.05) rotate(1deg);
}

/* Buttons and Links */
.book-btn {
    display: inline-block;
    background-color: #e50914;
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
}

.book-btn:hover {
    background-color: #ff424b;
    transform: translateY(-3px);
}

/* Movie Gallery */
.movie-section {
    padding: 30px 5%;
    text-align: center;
}

.movie-section h1 {
    color: #e50914;
    font-size: 32px;
    text-decoration: underline;
    text-underline-offset: 8px;
}

.subtitle {
    color: #bbbbbb;
    margin-bottom: 30px;
    font-style: italic;
}

/* Grid Layout */
.movie-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.movie-card {
    background-color: rgb(35, 35, 43);
    padding: 12px;
    border: 1px solid #38383f;
    border-radius: 10px;
    margin: 2px;
    overflow: hidden;
    height: 550px;
    transition: transform 0.3s, border-color 0.3s;
}

.movie-card:hover {
    transform: translateY(-8px);
    border-color: #e50914;
}

.movie-card img {
    width: 100%;
    height: 60%;
    object-fit: cover;
    border-radius: 6px;
    transition: filter 0.5s, transform 0.5s;
}

/* ID Selectors and Image Filters */
#img1 {
    filter: grayscale(100%);
}

#img2 {
    filter: sepia(60%);
}

#img3 {
    filter: saturate(60%);
}

#img4 {
    filter: contrast(80%);
}

#img5 {
    filter: brightness(80%);
}

.movie-card img:hover {
    filter: grayscale(0%) brightness(100%);
    transform: scale(1.03);
}

.movie-card h3 {
    font-size: 17px;
    min-height: 40px;
}

.movie-card p {
    font-size: 14px;
    color: #cccccc;
}

.movie-card .rating {
    color: #ffd700;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Genre List */
.genre-section {
    margin: 25px 5%;
    padding: 25px;
    text-align: center;
    background-color: #1c1c24;
    border-radius: 10px;
}

.genre-section h2 {
    color: orange;
    text-transform: uppercase;
}

.genre-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    padding: 0;
}

.genre-list li {
    background-color: #33333d;
    padding: 10px 18px;
    border: 1px solid #555555;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.genre-list li:hover {
    background-color: #e50914;
}

/* Video and Audio */
.media-section {
    margin: 30px 5%;
    padding: 25px;
    text-align: center;
    background-color: #1c1c24;
    border-radius: 10px;
}

.media-section h1 {
    color: #e50914;
}

.media-section video {
    display: block;
    max-width: 650px;
    max-height: 365px;
    margin: 20px auto;
    border-radius: 8px;
    border: 2px solid #555555;
}

.media-section audio {
    width: 100%;
    max-width: 400px;
}

/* Showtimes Table */
.showtime-section {
    margin: 30px 5%;
    text-align: center;
}

.showtime-section h1 {
    color: #e50914;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #1c1c24;
}

th, td {
    border: 1px solid #555555;
    padding: 12px;
    text-align: center;
}

th {
    background-color: #e50914;
    color: white;
}

tr:nth-child(even) {
    background-color: #292932;
}

tr:hover {
    background-color: #38383f;
}

/* Booking Form */
.booking-section {
    margin: 30px 5%;
    padding: 30px;
    background-color: #1c1c24;
    border: 1px solid #38383f;
    border-radius: 10px;
}

.booking-section h1,
.booking-section > p {
    text-align: center;
}

.booking-section h1 {
    color: #e50914;
}

form {
    max-width: 500px;
    margin: 25px auto 0;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

input, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #666666;
    border-radius: 5px;
    background-color: #101014;
    color: white;
    font-size: 15px;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: orange;
}

/* Button Selector */
.submit-btn {
    width: 100%;
    margin-top: 20px;
    padding: 13px;
    background-color: #e50914;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.submit-btn:hover {
    background-color: #ff424b;
    transform: scale(1.02);
}

/* Footer */
.footer {
    background-color: #1c1c24;
    color: #bbbbbb;
    text-align: center;
    padding: 25px;
    margin-top: 30px;
    font-size: 14px;
    line-height: 1.8;
}

.footer h2 {
    color: #e50914;
}

/* Animation */
@keyframes appear {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tablet Layout */
@media screen and (max-width: 1100px) {
    .movie-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .featured-text h2 {
        font-size: 28px;
    }
}

/* Mobile Layout */
@media screen and (max-width: 700px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .links {
        gap: 12px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .featured {
        flex-direction: column;
        text-align: center;
        padding: 30px 5%;
    }

    .featured-text h2 {
        font-size: 26px;
    }

    .featured-image img {
        width: 220px;
        height: 300px;
    }

    .movie-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .movie-card img {
        height: 220px;
    }

    .movie-card h3 {
        font-size: 15px;
    }

    .genre-list {
        gap: 8px;
    }

    th, td {
        padding: 7px 4px;
        font-size: 12px;
    }

    .booking-section,
    .media-section {
        padding: 18px;
    }
}

/* Small Mobile Layout */
@media screen and (max-width: 400px) {
    .movie-container {
        grid-template-columns: 1fr;
    }

    .movie-card img {
        height: 350px;
    }

    .links {
        gap: 10px;
    }
}
