* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
}

header {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url("heading_background.jpg");
  background-size: cover;
  background-position: center;
}

nav {
  width: 80%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0;
}

#logo-img {
  width: 150px;
}

.nav-right {
  display: flex;
  gap: 15px;
  align-items: center;
}

#language {
  width: 125px;
  height: 35px;
  background: rgba(52, 51, 51, 0.4);
  color: white;
  border: 1px solid gray;
  border-radius: 4px;
  padding-left: 10px;
}

#sign-in-btn {
  width: 80px;
  height: 35px;
  background: #e50914;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

#sign-in-btn:hover {
  background: #c11119;
}

.hero {
  height: calc(100vh - 90px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  width: 90%;
  max-width: 700px;
  text-align: center;
  color: white;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 900;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.hero-content h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.email-box {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.email-box input {
  flex: 1;
  max-width: 320px;
  height: 50px;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid gray;
  color: white;
  border-radius: 4px;
}

.email-box button {
  width: 200px;
  background: #e50914;
  color: white;
  font-size: 1.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.email-box button:hover {
  background: #c11119;
}

.trending h2 {
  color: white;
  padding: 10px;
  padding-left: 38px;
}

.movie-row-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.movie-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
  padding: 10px 38px 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

.movie-container::-webkit-scrollbar {
  height: 8px;
}

.movie-container::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}

.movie-container::-webkit-scrollbar-thumb {
  background: #e50914;
  border-radius: 10px;
}

.movie-container::-webkit-scrollbar-thumb:hover {
  background: #c11119;
}

.movie-container {
  scrollbar-width: thin;
  scrollbar-color: #e50914 #1a1a1a;
}

.scroll-btn {
  position: absolute;
  top: 0;
  bottom: 40px;
  width: 45px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-btn:hover {
  background: rgba(0, 0, 0, 0.85);
}

.scroll-left {
  left: 0;
}

.scroll-right {
  right: 0;
}

.movie {
  width: 180px;
  height: 260px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.2s ease-in-out;
}

.movie:hover {
  transform: scale(1.05);
}

/*  More Reasons Section */
.reason {
  padding: 60px 38px;
}

.reason h2 {
  color: white;
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.2rem;
}

.reason-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.reason-box {
  background: #181818;
  color: white;
  width: 280px;
  padding: 25px;
  border-radius: 6px;
}

.reason-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.reason-box p {
  font-size: 0.95rem;
  color: #b3b3b3;
  margin-bottom: 15px;
  line-height: 1.4;
}

.reason-box img {
  width: 100%;
  border-radius: 4px;
}

/*FAQ Section */
.faq {
  padding: 60px 38px;
}

.faq h2 {
  color: white;
  text-align: center;
  margin-bottom: 30px;
  font-size: 2.2rem;
}

.faq-box {
  max-width: auto;
  margin: 0 auto 8px;
  background: #2d2d2d;
  color: white;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.3rem;
  cursor: pointer;
}

.question:hover {
  background: #3f3f3f;
}

.answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: #e5e5e5;
  line-height: 1.5;
}

/* ===== Footer ===== */
footer {
  background: #000;
  padding: 60px 20px;
  text-align: center;
}

footer h3 {
  color: white;
  font-size: 1.4rem;
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 25px;
}

footer .email-box {
  margin-bottom: 30px;
}

.contact-number {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 25px;
}

.footer-links a {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

#footer-language {
  width: 125px;
  height: 35px;
  background: rgba(52, 51, 51, 0.4);
  color: white;
  border: 1px solid gray;
  border-radius: 4px;
  padding-left: 10px;
  margin-bottom: 20px;
}

footer p {
  color: #b3b3b3;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  nav {
    width: 90%;
  }

  #logo-img {
    width: 110px;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .email-box {
    flex-direction: column;
    align-items: center;
  }

  .email-box input,
  .email-box button {
    max-width: 100%;
    width: 100%;
  }

  .movie {
    width: 140px;
    height: 200px;
  }

  .scroll-btn {
    width: 35px;
    font-size: 1rem;
  }

  .movie-container::-webkit-scrollbar {
    height: 6px;
  }

  .reason-box {
    width: 100%;
    max-width: 400px;
  }

  .faq-box {
    width: 90%;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  nav {
    flex-direction: column;
    gap: 15px;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content h3 {
    font-size: 0.85rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .movie {
    width: 110px;
    height: 160px;
  }

  .movie-container {
    padding: 10px 15px 30px;
    gap: 12px;
  }

  .movie-container::-webkit-scrollbar {
    height: 5px;
  }

  .reason h2,
  .faq h2 {
    font-size: 1.6rem;
  }

  .reason-box,
  .faq-box {
    width: 95%;
  }

  .question {
    font-size: 1.05rem;
    padding: 15px;
  }

  .footer-links {
    gap: 12px;
  }
}
