/* 





Global Styles




*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: black;
}

.container {
  width: 90%;
  margin: auto;
  max-width: 1800px;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.mt-1 {
  margin-top: 1.5rem;
}

.section-header {
  color: white;
  font-size: 28px;
  margin-bottom: 1rem;
}



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

/* 




Header/Navigation Showcase




*/

header {
  background: linear-gradient(rgba(20, 20, 20, .7), rgba(20, 20, 20, .7)), url(img/netflix-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 900px;
  padding-top: 1rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  width: 200px;
}

.main-nav-menu {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.language-selector-wrapper {
  position: relative;
  display: inline-block;
}

.language-selector-wrapper::after {
  content: "▾";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: white;
  font-size: 12px;
}

.language-selector {
  background-color: black;
  color: white;
  width: 150px;
  height: 40px;
  padding: 0 1.5rem 0 0.75rem;
  outline: none;
  appearance: none;
  border: 1ox solid white;
  border-radius: 4px;
  font-size: 18px;
}

.sign-in-btn {
  background-color: #e50815;
  color: white;
  padding: .6rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: all .1s ease-in;
}

.sign-in-btn:hover {
  opacity: .8;
}

.header-showcase-text-container {
  text-align: center;
  width: 42%;
  margin: 8rem auto 0rem auto;
  color: white;
}

h1 {
  font-size: 55px;
  font: 800;
  margin-bottom: .5rem;
}

.showcase-p {
  font-size: 24px;
}

.email-cta-form {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 8px;
}

.email-input {
  width: 500px;
  height: 60px;
  background-color: black;
  border: 1px solid white;
  padding: 1rem;
  outline: none;
  color: white;
  border-radius: 8px;
  font-size: 21px;
  opacity: .7;
}

.get-started-btn {
  background-color: #e50815;
  border: none;
  border-radius: 8px;
  width: 260px;
  height: 60px;
  font-size: 28px;
  font-weight: 800;
  color: white;
  cursor: pointer;
  transition: all .1s ease-in;
}

.get-started-btn:hover {
  opacity: .8;
}

.red-divider {
  background-color: #e50815;
  height: 2px;
  width: 100%;
}

/* 





Popcorn Banner Ad




*/

.popcorn-ad {
  margin-top: 5rem;
  margin-bottom: 3rem;

}

.popcorn-banner-container {
  display: flex;
  align-items: center;
  column-gap: 10px;
  transition: all .1s ease-in;
}

.popcorn-banner-container:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.popcorn-img {
  width: 100px;
}

.banner-content-container {
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #3A153F;
  background: linear-gradient(99deg, rgba(58, 21, 63, 1) 0%, rgba(21, 26, 63, 1) 21%, rgba(21, 26, 63, 1) 25%);
  width: 100%;
  padding: 1rem;
  border-radius: 20px;
  transition: all .1s ease-in;
}

.banner-content-container:hover {
  background: #472566;
  background: linear-gradient(99deg, rgba(71, 37, 102, 1) 0%, rgba(52, 34, 94, 1) 8%, rgba(30, 30, 85, 1) 72%);
}


.learn-more-btn {
  background-color: #414359;
  border: none;
  border-radius: 8px;
  width: 150px;
  height: 50px;
  color: white;
  font-size: 21px;
  font-weight: 600;
}

/* 






Trending Now






*/

.trending-now {
  margin: 3rem 0rem;
}

.movie-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-items: center;
  align-items: center;
  padding-top: 1rem;

}


.netflix-movie {
  width: 220px;
  cursor: pointer;
  transition: all .1s ease-in;
}

.netflix-movie:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ================= MODAL WRAPPER ================= */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;
}

/* ================= MODAL BOX ================= */
.modal-box {
  position: relative;
  width: 100%;
  max-width: 1000px;
  max-height: 92vh;
  background: #111;
  border-radius: 16px;
  overflow: hidden;
}

/* ================= CLOSE BUTTON ================= */
.close {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 22px;
  color: #fff;
  cursor: pointer;
  z-index: 20;
}

/* ================= BANNER ================= */
.modal-banner {
  position: relative;
  width: 100%;
  height: 420px;
  background-size: cover;
  background-position: center right;
}

/* ================= GRADIENT ================= */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.95) 8%,
    rgba(0,0,0,0.75) 40%,
    rgba(0,0,0,0.35) 70%,
    rgba(0,0,0,0.1) 100%
  );
  display: flex;
  align-items: center;
}

/* ================= CONTENT ================= */
.modal-content {
  padding: 40px;
  max-width: 520px;
}

.modal-content h1 {
  font-size: 46px;
  margin-bottom: 14px;
  color: white;
}

.modal-content p {
  color: white;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 14px;
}

/* ================= TAGS ================= */
.tags {
  color: white;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tags span {
  background: rgba(255,255,255,0.15);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
}

/* ================= BUTTON ================= */
.modal-content button {
  margin-top: 22px;
  background: #e50914;
  border: none;
  padding: 14px 32px;
  font-size: 18px;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .modal-banner {
    height: 520px;
    background-position: center;
  }

  .modal-content {
    padding: 24px;
    max-width: 100%;
  }

  .modal-content h1 {
    font-size: 32px;
  }
}


/* 





More Reasons to Join






*/

.more-reasons {
  padding: 3rem 0rem;
}

.reasons-cards-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: stretch;
  align-items: stretch;
  column-gap: 1.3rem;
  padding-top: 2rem;
}

.reasons-card {
  color: white;
  background: #1A2245;
  background: linear-gradient(117deg, rgba(26, 34, 69, 1) 24%, rgba(30, 21, 40, 1) 61%, rgba(33, 14, 23, 1) 89%);
  border-radius: 12px;
  padding: 2rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 350px;
  gap: .5rem;
  width: 100%;
}

.reason-header {
  font-size: 28px;
  padding-bottom: 1rem;
}

.reason-p {
  opacity: .8;
  font-size: 19px;
  margin-bottom: .5rem;
}

.reason-img-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* 





FAQs






*/

.faqs {
  margin: 3rem 0rem;
}

.faq {
  background-color: #2d2d2d;
  color: white;
  padding: 2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color .1s ease-in;
}

.faq:hover {
  background-color: #333;
}

.faq-question {
  font-size: 28px;
  font-weight: 400;
}

.fa-plus {
  font-size: 40px
}

.fa-xmark {
  font-size: 40px;
  display: none;
}

.faq-answer-container {
  background-color: #2d2d2d;
  color: white;
  margin: 5px 0px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-10px);
  transition: max-height 0.4s ease, opacity 0.4s ease, transform 0.4s ease;

}

.faq-text-container {
  padding: 1.5rem;
}

.faq-answer {
  font-size: 28px;
  margin-top: 1.5rem;
}

.faq.open+.faq-answer-container {
  display: block;
  max-height: 1000px;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: .7rem;
}

.faq.open .fa-plus {
  display: none;
}

.faq.open .fa-xmark {
  display: inline-block;
}

/* 




Bottom CTA




*/

.bottom-cta {
  margin: 3rem 0rem;
}

.bottom-cta-p {
  color: white;
  text-align: center;
  font-size: 21px;
}

/* 





Footer





*/

.phone-number {
  color: #b3b3b3;
  font-size: 21px;
}

.underline {
  text-decoration: underline;
}

.footer-menus-container {
  color: #b3b3b3;
  display: flex;
  align-items: flex-start;
  column-gap: 12rem;
  margin: 5rem 0rem;
}

.footer-menu-li {
  padding: .5rem 0rem;
}

.footer-menu-link {
  text-decoration: underline;
  font-size: 16px;
  cursor: pointer;
}

.footer-recaptcha-text {
  color: #b3b3b3;
  margin: 4rem 0rem;
  font-size: 13px;
}

.learn-more-link {
  color: #448ef4;
  text-decoration: underline;
  cursor: pointer;

}

/* 





Media Queries






*/

@media screen and (max-width: 1500px) {

  .reasons-cards-container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1rem;
    row-gap: 1rem;
  }

}

@media screen and (max-width: 1367px) {
  .header-showcase-text-container {
    width: 50%;
  }

  .get-started-btn {
    font-size: 24px;
  }

  .netflix-movie {
    width: 190px;
  }
}

@media screen and (max-width: 1180px) {
  .header-showcase-text-container {
    width: 65%;
  }

  .get-started-btn {
    width: 200px;
    font-size: 20px;
  }

  .movie-container {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 1rem;

  }

  .netflix-movie {
    width: 220px;
  }

  .footer-menus-container {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1024px) {
  header {
    height: 700px;
  }

  .showcase-p {
    font-size: 20px;
  }
}

@media screen and (max-width: 932px) {
  .header-showcase-text-container {
    width: 90%;
  }

  .popcorn-img {
    width: 90px;
  }
}

@media screen and (max-width: 767px) {
  header {
    height: 650px;
  }

  .nav-logo {
    width: 90px;
  }

  .language-selector {
    width: 100px;
  }

  .sign-in-btn {
    padding: .4rem 1.2rem;
  }

  .header-showcase-text-container {
    width: 100%;
    margin: 5rem auto 0rem auto;
  }

  h1 {
    font-size: 40px;
  }

  .showcase-p {
    font-size: 16px;
  }

  .email-cta-form {
    margin-top: 1.5rem;
    flex-direction: column;
    column-gap: 0px;
    row-gap: 8px;
  }

  .email-input {
    width: 100%;
  }

  .get-started-btn {
    width: 50%;
  }

  .banner-header {
    font-size: 18px;
  }

  .reasons-cards-container {
    grid-template-columns: repeat(1, 1fr);
    column-gap: 0rem;
    row-gap: 1rem;
  }

  .faq-question {
    font-size: 21px;
  }

  .fa-plus {
    font-size: 30px
  }

  .fa-xmark {
    font-size: 30px;
    display: none;
  }

  .faq-answer {
    font-size: 21px;
  }

}

@media screen and (max-width: 730px) {

  .movie-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .netflix-movie {
    width: 100%;
  }
}

@media screen and (max-width: 550px) {
  .header-showcase-text-container {
    width: 100%;
    margin: 3rem auto 0rem auto;
  }

  h1 {
    font-size: 35px;
  }

  .popcorn-ad {
    position: relative;
  }

  .popcorn-banner-container {
    flex-direction: column;
    align-items: flex-start;
    column-gap: 0px;

  }

  .popcorn-img {
    position: absolute;
    top: -45px;
    left: 29px;
  }

  .banner-content-container {
    flex-direction: column;
    justify-content: flex-start;
    height: 210px;
    margin: 0 auto;
    row-gap: 1rem;
    padding: 3rem 1.5rem 1.5rem 1.5rem;
  }

  .banner-button-container {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .faq-question {
    font-size: 18px;
  }

  .fa-plus {
    font-size: 25px
  }

  .fa-xmark {
    font-size: 25px;
    display: none;
  }

  .faq-answer {
    font-size: 18px;
  }

  .bottom-cta-p {
    font-size: 18px;
    text-align: center;
  }

}

@media screen and (max-width: 350px) {
  .nav-logo {
    width: 70px;
  }

  .sign-in-btn {
    padding: .3rem 1rem;
  }

  .faq-question {
    font-size: 16px;
  }

  .fa-plus {
    font-size: 20px
  }

  .fa-xmark {
    font-size: 20px;
    display: none;
  }

  .faq-answer {
    font-size: 16px;
  }
}