/* font */
@import url("https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&display=swap");
* {
  font-family: "Kantumruy Pro", serif;
  font-optical-sizing: auto;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  scroll-padding: 2rem;
  scroll-behavior: smooth;
}
:root {
  --main-color: #ff2c1f;
  --text-color: #020307;
  --bg-color: #fff;
}
/* custom scrollbar */
html::-webkit-scrollbar{
  width: 0.5rem;
  background: var(--text-color);
}
html::-webkit-scrollbar-thumb{
  background: var(--main-color);
  border-radius: 5rem;
}
body {
  background: var(--text-color);
  color: var(--bg-color);
}
header {
  position: fixed;
  width: 100%;
  top: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  padding: 20px 100px;
  transition: 0.5s;
}
/* Style for header with shadow */
header.shadow {
  background: var(--bg-color); /* Apply background color when scrolled */
  box-shadow: 0 0 4px rgb(14 55 54 / 15%);
}

/* Style for navbar links inside the header when shadow is added */
header.shadow .navbar a {
  color: var(--text-color); /* Change background color of navbar links */
}
header.shadow .logo{
  color: var(--text-color);
}
section {
  padding: 100px 100px;
}
.logo {
  font-size: 30px;
  font-weight: 600;
  color: var(--bg-color);
  display: flex;
  align-items: center;
  column-gap: 0.5rem;
}
.logo .bx {
  font-size: 20px;
  color: var(--main-color);
}
.navbar {
  display: flex;
  column-gap: 5rem;
}
.navbar li {
  position: relative;
}
.navbar a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--bg-color);
  transition: 0.3s;
}
.navbar a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--main-color);
  position: absolute;
  bottom: -4px;
  left: 0;
  transition: 0.3s all linear;
}
.navbar a:hover::after,
.navbar .home-active::after {
  width: 100%;
}
#menu-icon {
  font-size: 24px;
  z-index: 10001;
  cursor: pointer;
  display: none;
}
.btn {
  padding: 0.7rem 1.4rem;
  background: var(--main-color);
  color: var(--bg-color);
  border-radius: 0.5rem;
  font-weight: 400;
}
.btn:hover {
  background: #fa1216;
  transition: 0.3s;
}
.container {
  width: 100%;
  min-height: 100vh; /* Ensures full viewport height */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 3, 7, 0.4); /* Semi-transparent overlay */
  overflow: hidden;
}
.container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%; /* Adjusts the vertical position */
  z-index: -1;
  opacity: 0.5;
}
.swiper-pagination-bullet {
  border-radius: 0.2rem !important;
  width: 6px !important;
  height: 6px !important;
  background: var(--bg-color) !important;
  opacity: 1 !important;
}
.swiper-pagination-bullet-active {
  width: 1.5rem !important;
  background: var(--main-color);
}
.home-text {
  z-index: 1000;
  padding: 20rem 5rem;
  text-transform: uppercase;
}
.home-text span {
  color: var(--bg-color);
  font-weight: 500;
}
.home-text h1 {
  color: var(--bg-color);
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.play {
  position: absolute;
  right: 4rem;
  bottom: 10%;
}
.play .bx {
  font-size: 3rem;
  color: var(--bg-color);
  padding: 10px;
  border-radius: 50%;
  border: 2px solid rgb(2, 3, 7, 0.4);
  color: var(--main-color);
}
.play .bx:hover {
  background: var(--main-color);
  color: var(--bg-color);
  transition: 0.2s all linear;
}
.heading {
  max-width: 968px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.5rem;
  font-weight: 500;
  border-bottom: 1px solid var(--main-color);
}
.movie-container {
  max-width: 968px;
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, auto));
  gap: 1rem;
  margin-top: 2rem;
}
.box .box-img {
  width: 100%;
  height: 270px;
}
.box .box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.box .box-img img:hover {
  transform: translatey(-10px);
  transition: 0.2s all linear;
}
.box h3 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 10px;
}
.box span {
  font-size: 13px;
}
.coming-container {
  display: grid;
  gap: 1rem;
  max-width: 968px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 2rem;
}
.newsletter {
  max-width: 968px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  row-gap: 2rem;
}
.newsletter h2 {
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}
.newsletter form {
  background: var(--bg-color);
  padding: 10px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
}
.newsletter form input {
  border: none;
  outline: none;
}
.newsletter form .email {
  width: 280px;
}
.newsletter form input:hover {
  color: var(--text-color);
  font-size: 0.8rem;
  font-weight: 400;
}
.newsletter .btn{
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
}
.footer{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}
.social{
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}
.social .bx{
    font-size: 2rem;
    color: var(--main-color);
    padding: 2px;
    border-radius: 50%;
    border: 4px solid rgb(2, 3, 7, 0.4);
    background: var(--bg-color);
}
.social .bx:hover{
    color: var(--bg-color);
   background: var(--main-color);
  transition: 0.2s all linear;

}
.copyright{
  padding: 20px;
  text-align: center;
  color: var(--bg-color);
}
@media (max-width: 1080px) {
  .home-text {
    padding: 15rem 3rem;
  }
  .home-text h1 {
    font-size: 3rem;
  }
  .play {
    right: 2rem;
  }
}
@media (max-width: 991px) {
  .home-text {
    padding: 15rem 2rem;
  }
  section{
    padding: 50px 4%;
  }
  .home-text h1 {
    font-size: 2.5rem;
  }
}
@media (max-width: 768px) {
 header{
  padding: 12px 4%;
 }
 #menu-icon{
  display: initial;
  color: var(--bg-color);
 }
 header.shadow #menu-icon{
  color: var(--text-color);
 }
.navbar{
  position: absolute;
  top: -570px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  background: var(--bg-color);
  row-gap: 1.4rem;
  box-shadow: 0 4px 4px rgb(14, 55, 54 / 15%);
  transition: 0.2s all linear;
  padding: 20px;
  text-align: center;
}
.navbar a{
  color: var(--text-color);
}
.navbar a:hover{
  color: var(--main-color);
  font-weight: 600;
  border-bottom: 1px solid var(--main-color);
}
.navbar a:after{
  display: none;
}
.navbar.active{
  top: 100%;
}
.home-text h1{
  font-size: 2.4rem;
}
.btn{
  padding: 0.6rem 1.2rem;
}
.movie-container{
  grid-template-columns: repeat(auto-fit, minmax(200px, auto));
}
}
@media (max-width: 472px) {
  .newsletter form .email{
    width: auto;
  }
  .footer{
    flex-direction: column;
    row-gap: 1rem;
    align-items: center;
  }
  .footer p{
    text-align: center;
  }
}
@media (max-width: 360px) {
  header{
    padding : 8px 4%;
  }
  .home-text h1{
    font-size: 2rem;
  }
  .play {
    right: 1rem;
  }
}