*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#0b0b0b;
    color:#ffffff;
    font-family:Arial, Helvetica, sans-serif;
}

/* Header */
.header{
    background:#111;
    height:70px;
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    border-bottom:1px solid #222;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

.header .container{
    height:70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:#e50914;
    font-size:28px;
    font-weight:bold;
    text-decoration:none;
}

.menu a{
    color:#fff;
    text-decoration:none;
    margin-left:25px;
    transition:.3s;
}

.menu a:hover{
    color:#e50914;
}

/* Banner principal */
.banner{
    margin-top:70px;
    height:500px;
    background:
        linear-gradient(
            rgba(0,0,0,.4),
            #0b0b0b
        ),
        url('../img/banner.jpg');

    background-size:cover;
    background-position:center;

    display:flex;
    align-items:end;
    padding-bottom:50px;
}

.banner-content h1{
    font-size:50px;
}

.banner-content p{
    margin-top:15px;
    max-width:600px;
    color:#ddd;
}

.btn{
    display:inline-block;
    margin-top:20px;
    background:#e50914;
    color:white;
    padding:12px 25px;
    text-decoration:none;
    border-radius:5px;
}

/* Sección películas */
.section{
    padding:40px 0;
}

.section h2{
    margin-bottom:20px;
}

.grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fill,minmax(180px,1fr));
    gap:20px;
}

.card{
    background:#161616;
    border-radius:10px;
    overflow:hidden;
    transition:.3s;
}

.card:hover{
    transform:scale(1.05);
}

.card img{
    width:100%;
    height:270px;
    object-fit:cover;
}

.card-info{
    padding:15px;
}

.card-info h3{
    font-size:16px;
}

.footer{
    background:#111;
    padding:25px;
    text-align:center;
    color:#777;
}

/* Responsive */
@media(max-width:768px){

    .menu{
        display:none;
    }

    .banner{
        height:400px;
    }

    .banner-content h1{
        font-size:32px;
    }

}