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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #1b1313;
    color: rgb(138, 146, 156);
}

.navbar .logo img {
    height: 60px;
}

.navbar .nav-links {
    display: flex;
    align-items: center;
}

.navbar .nav-links a {
    margin: 0 20px;
    color: rgb(207, 206, 206);
    text-decoration: none;
    font-size: 16px;
}

.navbar .nav-links a:hover {
    text-decoration: underline;
}

.navbar .search-bar {
    position: relative;
    margin-right: 20px;
}

.navbar .search-bar input {
    padding: 8px 40px 8px 10px;
    font-size: 14px;
    border: none;
    border-radius: 4px;
    outline: none;
}

.navbar .search-bar button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: none;
    border: none;
    cursor: pointer;
    color: #c51428;
    font-size: 18px;
}

.navbar .user-menu img {
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background-image: url('images/download (3) main.jpeg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 20px;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.7);
}

.hero button {
    padding: 15px 30px;
    font-size: 20px;
    color: white;
    background-color: #e50914;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero button:hover {
    background-color: #f40612;
}

/* Movie Grid */
.movie-grid {
    padding: 40px;
    background-color: #141414;
    color: white;
}

.movie-grid h2 {
    margin-bottom: 30px;
    font-size: 28px;
    text-align: center;
}

.movie-grid .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.movie-card img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
}

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

/* Features Section */
.features {
    padding: 40px;
    background-color: #000000;
    color: white;
    text-align: center;
}

.features h2 {
    margin-bottom: 20px;
    font-size: 28px;
}

.features .feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    padding: 20px;
    background-color: #141414;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.feature-item h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.feature-item p {
    font-size: 16px;
    color: #b3b3b3;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 0;
    background-color: #141414;
    color: white;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 18px;
    }

    .hero button {
        font-size: 16px;
    }
}
