
body {
    margin: 0;
    background-color: #0d0d0d;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}


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


h1, h2, h3 {
    color: #e50914;
    text-align: center;
    margin-bottom: 15px;
}

p {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 20px;
}


a {
    color: #e50914;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}


.navbar {
    background-color: #bb060f;
    display: flex;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    color: #000000;
    font-size: 22px;
    font-weight: bold;
}

.tabs {
    display: flex;
    gap: 20px;
    margin-left: 30px;
}

.tabs a {
    color: #000000;
    font-size: 16px;
    font-weight: bold;
}

.tabs a:hover {
    color: #ffffff;
}


.search-bar {
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    outline: none;
}


.trending-container {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 30px;
}



.movie-box,
.genre-box {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
    overflow: hidden;

    color: white;
}


.movie-box {
    width: 250px;
    height: 350px;

    border: 2px solid #e50914;
    border-radius: 10px;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;

    padding: 20px;

    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.movie-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}


.movie-box h3,
.movie-box p {
    position: relative;
    z-index: 1;
}

.movie-box h3 {
    margin: 0 0 10px 0;
    color: #e50914;
}


.movie-box:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(229, 9, 20, 0.35);
}


.genre-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.genre-box {
    background-color: #111111;

    border: 2px solid #e50914;
    border-radius: 12px;

    padding: 25px;
    width: 400px;
    min-height: 400px;

    text-align: left;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.genre-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}


.genres-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 50px auto;
}

.genre {
    background-color: #e50914;
    color: #000000;
    padding: 60px 20px;
    text-align: center;
    font-weight: bold;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.genre:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
}


.genre:nth-child(1) { grid-column: 2 / 4; }
.genre:nth-child(2) { grid-column: 4 / 6; }
.genre:nth-child(3) { grid-column: 1 / 3; }
.genre:nth-child(4) { grid-column: 3 / 5; }
.genre:nth-child(5) { grid-column: 5 / 7; }



.inception { background-image: url("../images/inception.jpg"); }
.interstellar { background-image: url("../images/interstellar.jpg"); }
.dark-knight { background-image: url("../images/dark-knight.jpg"); }

.the-mask { background-image: url("../images/the-mask.jpg"); }
.home-alone { background-image: url("../images/home-alone.jpg"); }

.the-conjuring { background-image: url("../images/the-conjuring.jpg"); }
.it { background-image: url("../images/it.jpg"); }

.john-wick { background-image: url("../images/john-wick.jpg"); }
.mad-max { background-image: url("../images/mad-max.jpg"); }

.knives-out { background-image: url("../images/knives-out.jpg"); }
.orient-express { background-image: url("../images/orient-express.jpg"); }