/* style.css */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
  font-family:'Poppins',sans-serif;
}

body{
  background:#000;
  color:#fff;
  overflow-x:hidden;
}

a{
  text-decoration:none;
  color:white;
}

ul{
  list-style:none;
}

/* NAVBAR */

nav{
  width:100%;
  padding:25px 7%;
  position:fixed;
  top:0;
  left:0;
  z-index:1000;

  display:flex;
  justify-content:space-between;
  align-items:center;

  background:rgba(0,0,0,0.5);
  backdrop-filter:blur(10px);
}

.logo{
  font-size:38px;
  font-weight:800;
  color:red;
}

.nav-links{
  display:flex;
  gap:40px;
}

.nav-links li a{
  transition:0.3s;
}

.nav-links li a:hover{
  color:red;
}

.menu-toggle{
  display:none;
  font-size:32px;
  cursor:pointer;
}

/* HERO */

.hero{
  width:100%;
  height:100vh;

  background:
  linear-gradient(to right, rgba(0,0,0,0.95), rgba(0,0,0,0.3)),
  url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?q=80&w=1974&auto=format&fit=crop');

  background-size:cover;
  background-position:center;

  display:flex;
  align-items:center;
  padding:0 7%;
  position:relative;
}

.hero-content{
  max-width:650px;
}

.hero-content h1{
  font-size:90px;
  line-height:95px;
  margin-bottom:20px;
}

.hero-content p{
  font-size:20px;
  color:#ddd;
  margin-bottom:35px;
}

.hero-buttons{
  display:flex;
  gap:20px;
}

.btn{
  padding:15px 35px;
  border-radius:10px;
  font-weight:600;
  transition:0.3s;
}

.btn-red{
  background:red;
  box-shadow:0 0 20px rgba(255,0,0,0.5);
}

.btn-red:hover{
  transform:translateY(-5px);
}

.btn-dark{
  background:rgba(255,255,255,0.1);
  border:1px solid rgba(255,255,255,0.2);
}

.btn-dark:hover{
  background:white;
  color:black;
}

/* FLOAT CARD */

.floating-card{
  position:absolute;
  right:8%;
  width:300px;
  height:420px;
  border-radius:20px;
  overflow:hidden;

  animation:float 4s ease-in-out infinite;
}

.floating-card img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* SECTION */

section{
  padding:100px 7%;
}

.section-title{
  font-size:50px;
  margin-bottom:50px;
}

/* MOVIES */

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

.movie-card{
  position:relative;
  height:340px;
  border-radius:20px;
  overflow:hidden;
  transition:0.4s;
  cursor:pointer;
}

.movie-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:0.5s;
}

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

.movie-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 40px rgba(255,0,0,0.2);
}

.overlay{
  position:absolute;
  bottom:0;
  left:0;
  width:100%;
  padding:25px;
  background:linear-gradient(to top, rgba(0,0,0,0.95), transparent);
}

.overlay h3{
  margin-bottom:5px;
}

/* PLANS */

.plans{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.plan-card{
  background:#111;
  padding:40px 30px;
  border-radius:20px;
  transition:0.4s;
}

.plan-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 40px rgba(255,0,0,0.2);
}

.price{
  font-size:50px;
  color:red;
  margin:20px 0;
}

.plan-card ul{
  margin-bottom:30px;
}

.plan-card ul li{
  margin-bottom:15px;
  color:#ccc;
}

/* FOOTER */

footer{
  padding:40px;
  text-align:center;
  background:#0a0a0a;
  color:#777;
}

/* ANIMATION */

@keyframes float{

  0%{
    transform:translateY(0);
  }

  50%{
    transform:translateY(-15px);
  }

  100%{
    transform:translateY(0);
  }

}

/* RESPONSIVE */

@media(max-width:900px){

  .hero{
    justify-content:center;
    text-align:center;
  }

  .floating-card{
    display:none;
  }

  .hero-buttons{
    justify-content:center;
  }

}

@media(max-width:768px){

  .nav-links{
    position:absolute;
    top:90px;
    right:-100%;
    width:250px;
    background:#111;
    flex-direction:column;
    padding:30px;
    transition:0.4s;
  }

  .nav-links.active{
    right:0;
  }

  .menu-toggle{
    display:block;
  }

  .hero-content h1{
    font-size:60px;
    line-height:65px;
  }

  .section-title{
    font-size:40px;
  }

}

@media(max-width:500px){

  .hero-content h1{
    font-size:45px;
    line-height:50px;
  }

  .hero-content p{
    font-size:16px;
  }

  .btn{
    padding:12px 25px;
  }

}
