body {
    font-family: 'Roboto', Arial, sans-serif;
    background-color: #101010;
    color: #fff;
    margin: 0;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    position: fixed;
    width: 100%;
    top: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.navbar-logo h1 {
    color: #e50914; /* Changed to red */
    font-size: 1.8rem;
    font-family: 'Arial Black', sans-serif;
}

.navbar-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.navbar-links a {
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s;
}

.navbar-links a:hover {
    color: #e50914; /* Changed to red */
}

.navbar-search form {
    display: flex;
    align-items: center;
    background: #222;
    border-radius: 5px;
    padding: 0.5rem;
}

.navbar-search input {
    background: none;
    border: none;
    color: #fff;
    padding: 0.5rem;
    outline: none;
}

.navbar-search button {
    background: none;
    border: none;
    color: #e50914; /* Changed to red */
    cursor: pointer;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

.swiper-container {
    width: 100%;
    height: 80vh; /* Adjust height as per your design */
    position: relative;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.hero {
    position: relative;
    height: 80vh;
    background: #000;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 2rem;
    box-sizing: border-box;
}

.hero-info {
    max-width: 50%;
    margin-bottom: 20px;
}

.hero-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-info p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.btn-play {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #e50914, #b20710); /* Changed to red gradient */
    border-radius: 50px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
}

.btn-play:hover {
    background: linear-gradient(135deg, #b20710, #e50914); /* Changed to red gradient */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.btn-play:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.6); /* Changed to red */
}

.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Positioning arrows on the sides */
.swiper-button-next {
    right: 20px;
}

.swiper-button-prev {
    left: 20px;
}

.movie-genres {
    padding: 2rem;
}

.genre {
    margin-bottom: 2rem;
}

.genre h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #fff;
}

.movie-carousel {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    gap: 1.5rem;
    padding: 1rem 0;
    scroll-behavior: smooth;
    scrollbar-color: #1f80e0 #222;
    scrollbar-width: thin;
}

/* Scrollbar Customization */
.movie-carousel::-webkit-scrollbar {
    height: 10px; /* Height for horizontal scrollbar */
}

.movie-carousel::-webkit-scrollbar-thumb {
    background-color: #1f80e0;
    border-radius: 4px;
}

.movie-carousel::-webkit-scrollbar-track {
    background-color: #222;
}

/* Movie Card */
.movie-card {
    flex: 0 0 200px;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.movie-card:hover {
    transform: scale(1.05);
}

.movie-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.movie-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    background: rgba(0, 0, 0, 0.6);
    padding: 5px;
    border-radius: 5px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
}

.movie-card:hover .movie-title {
    opacity: 1;
    transform: translateY(0);
}

footer {
    background: #111;
    padding: 2rem 2rem;
    text-align: center;
    color: #777;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .navbar-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
        background: #000;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 1rem 0;
        z-index: 1000;
    }

    .navbar-links.active {
        display: flex;
        z-index: 1001;
    }

    .navbar-search {
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hero-info {
        max-width: 100%;
        text-align: center;
        padding: 1rem;
    }

    .hero-info h1 {
        font-size: 2rem;
    }

    .hero-info p {
        font-size: 0.9rem;
    }

    .btn-play {
        font-size: 1rem;
        padding: 0.8rem 2rem;
    }

    .slider-container h2 {
        font-size: 1.2rem;
    }

    .movie-card {
        max-width: 150px;
    }
}

.hamburger.open + .navbar-links {
    display: flex;
}

.hamburger.open div:nth-child(1) {
    transform: rotate(45deg);
    top: 5px;
}

.hamburger.open div:nth-child(2) {
    opacity: 0;
}

.hamburger.open div:nth-child(3) {
    transform: rotate(-45deg);
    top: -5px;
}

@media screen and (max-width: 768px) {
    .hero-info h1 {
        font-size: 2.2rem;
    }

    .hero-info p {
        font-size: 1rem;
    }

    .btn-play {
        font-size: 1.1rem;
    }

    .movie-card {
        max-width: 180px;
    }
}

/* Additional Enhancements */
.hero-info h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.hero-info p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    line-height: 1.4;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.btn-play {
    padding: 1rem 3rem;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #e50914, #b20710); /* Changed to red gradient */
    border-radius: 50px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
}

.btn-play:hover {
    background: linear-gradient(135deg, #b20710, #e50914); /* Changed to red gradient */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    transform: translateY(-4px);
}

.btn-play:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.6); /* Changed to red */
}

.movie-card {
    flex: 0 0 220px;
    height: 330px;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.movie-card:hover {
    transform: scale(1.1);
}

.movie-title {
    font-size: 1.4rem;
    padding: 10px;
}

footer {
    background: #111;
    padding: 2rem 2rem;
    text-align: center;
    color: #777;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .hero-info h1 {
        font-size: 2.5rem;
    }

    .hero-info p {
        font-size: 1.2rem;
    }

    .btn-play {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
    }

    .movie-card {
        max-width: 180px;
        height: 270px;
    }

    .movie-title {
        font-size: 1rem;
    }
}