/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.5;
}

/* Header background */
header {
  position: relative;
  height: 100vh;
  background: url("https://assets.nflxext.com/ffe/siteui/vlv3/8d617e19-3c3c-4c28-8998-c9b14dbc7200/web/ZA-en-20250901-TRIFECTA-perspective_57922680-eda4-47f9-9431-4c31cb662829_large.jpg") center center/cover no-repeat;
  padding-left: 70px;
  padding-right: 70px;
}

/* Dark overlay on banner */
header::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

/* Navbar */
nav {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

nav svg {
  width: 100px;
  height: auto;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  background: #e50914;
  padding: 7px 17px;
  border-radius: 3px;
}

/* Banner text */
.banner-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  color: #fff;
}

.banner-container h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.banner-container h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.banner-container h3 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 15px;
}

.banner-container form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.banner-container input {
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #fff;   
  outline: none;
  width: 300px;
  max-width: 90%;
  background: transparent; 
  color: #fff;
  margin-right: 10px;              
}

.banner-container input::placeholder {
  color: #bbb; 
}

.banner-container input:focus {
  border-color: #e50914;    
  box-shadow: 0 0 5px #e50914;
}

.banner-container button {
  background: #e50914;
  color: #fff;
  border: none;
  font-size: 1rem;
  padding: 15px 25px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

.banner-container button:hover {
  background: #f40612;
}

/* Trending card */
.trending-now {
  padding: 50px 20px;
  text-align: center;
  background: #000;
}

.trending-now h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.trending-now p {
  color: #999;
  margin-bottom: 20px;
}

.trending-now video {
  width: 100%;
  max-width: 700px;
  border-radius: 10px;
}

/* Carousel wrapper */
.carousel-section {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  background: #000;
  padding: 20px 0;
  overflow: visible;
}

.carousel {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.poster-container {
  flex: 0 0 calc(20% - 10px);
  max-width: 200px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s;
}

.poster-container:hover {
  transform: scale(1.05);
  z-index: 2;
}

.poster-box {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.poster-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.poster-number {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 3rem;
  font-weight: 800;
  color: white;
  -webkit-text-stroke: 2px black;
  z-index: 2;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  z-index: 3;
  transition: background 0.2s;
}

.arrow:hover {
  background: rgba(0,0,0,0.8);
}

.arrow-left { left: 10px; }
.arrow-right { right: 10px; }

/* Features */
.features {
  padding: 50px 20px;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.features-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.feature-card {
  position: relative;
  background-color: #111;
  border-radius: 10px;
  padding: 30px 20px 60px 20px;
  width: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.feature-card:hover {
  transform: scale(1.05);
  background-color: #222;
}

.feature-text h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-align: left;
}

.feature-text p {
  font-size: 0.95rem;
  color: #bbb;
  text-align: left;
  line-height: 1.4;
}

.feature-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  fill: #e50914;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

/* FAQ Section */
.faq {
  padding: 50px 20px;
  background-color: #000;
  color: #fff;
  text-align: center;
}

.faq h2 {
  font-size: 2rem;
  margin-bottom: 40px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.faq-item {
  margin-bottom: 10px;
  border-bottom: 1px solid #333;
}

.faq-question {
  width: 100%;
  background: #111;
  color: #fff;
  font-size: 1.2rem;
  padding: 20px;
  text-align: left;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: #222;
}

.faq-icon {
  font-size: 2rem;
  font-weight: bold;
  color: #e50914;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-question:hover .faq-icon {
  color: #ff1a2b;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;         
  background: #111;
  padding: 0 20px;
  color: #bbb;
  font-size: 1rem;
  line-height: 1.5;
}

.faq-item.active .faq-answer {
  display: block;        
  padding: 20px;
}



/* Membership form */
.membership-form {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #333;
}

.membership-form h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.membership-form form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.membership-form input {
  padding: 15px;
  font-size: 1rem;
  border: 1px solid #fff;
  outline: none;
  width: 300px;
  max-width: 90%;
  background: transparent;
  color: #fff;
}

.membership-form input::placeholder {
  color: #bbb;
}

.membership-form button {
  background: #e50914;
  color: #fff;
  border: none;
  font-size: 1rem;
  padding: 15px 25px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.membership-form button:hover {
  background: #f40612;
}

/* Footer */
.footer {
  background: #000;
  color: #757575;
  padding: 40px 20px;
  font-size: 14px;
}

.footer a {
  color: #757575;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-top {
  margin-bottom: 30px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
  gap: 12px;                             /* space between items */
  list-style: none;                      /* remove bullets */
  margin: 0 auto;                        /* center container itself */
  padding: 0;                            /* remove fixed padding */
  justify-items: center;                 /* center each li horizontally */
}

.footer-links li {
  padding: 10px; /* equal padding around each li */
  text-align: center;
}


.footer-links li {
  margin-bottom: 10px;
}

.footer-lang select {
  background: #000;
  border: 1px solid #757575;
  color: #757575;
  padding: 8px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.footer-country {
  margin-bottom: 20px;
}

.footer-recaptcha {
  font-size: 12px;
  color: #757575;
  max-width: 500px;
}

/* ---------------- RESPONSIVE ---------------- */

/* Tablets / Medium screens */
@media (max-width: 1024px) {
  /* Header & Banner */
  nav {
    padding: 15px 30px;
  }
  nav svg {
    width: 80px;
  }
  .banner-container h1 {
    font-size: 2.2rem;
  }
  .banner-container h2 {
    font-size: 1.2rem;
  }
  .banner-container h3 {
    font-size: 0.9rem;
  }
  .banner-container input {
    width: 250px;
    margin-bottom: 10px;
  }
  .banner-container button {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Posters / Carousel */
  .poster-container { flex: 0 0 calc(25% - 10px); max-width: 180px; height: 270px; }
  .poster-number { font-size: 2.5rem; }

  /* Feature cards */
  .feature-card { width: 45%; padding-bottom: 50px; }

  /* FAQ */
  .faq-question { font-size: 1.1rem; padding: 18px; }
  .faq-answer { font-size: 0.95rem; padding: 18px; }

  /* Footer */
  .footer-links { grid-template-columns: repeat(3, 1fr); }
}

/* Small screens / Mobile */
@media (max-width: 767px) {
  /* Header & Banner */
  header {
    padding-left: 20px;
    padding-right: 20px;
  }

  nav {
    display: flex;
    justify-content: space-between; /* logo left, button right */
    align-items: center;
    padding: 10px 0;
  }

  nav a {
    margin-top: 0; /* remove extra spacing from previous column layout */
  }

  nav svg {
    width: 70px;
    height: auto;
  }

  .banner-container {
    max-width: 95%; /* make hero section wider on mobile */
    padding: 0 10px;
    text-align: center; /* optional: center text */
  }

  .banner-container h1 {
    font-size: 1.8rem;
  }

  .banner-container h2 {
    font-size: 1rem;
  }

  .banner-container h3 {
    font-size: 0.85rem;
  }

  .banner-container form {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-container input {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .banner-container button {
    width: 100%;
    padding: 12px;
  }
}


  /* Posters / Carousel */
  .poster-container { flex: 0 0 calc(40% - 10px); max-width: 140px; height: 210px; }
  .poster-number { font-size: 2rem; }
  .arrow { font-size: 1.5rem; padding: 6px; }

  /* Feature cards */
  .feature-card { width: 100%; padding-bottom: 70px; }

  /* FAQ */
  .faq-question { font-size: 1rem; padding: 15px; }
  .faq-answer { font-size: 0.9rem; padding: 15px; }

  /* Footer */
  .footer-links { grid-template-columns: repeat(2, 1fr); }


/* Extra small screens / Phones */
@media (max-width: 480px) {
  /* Footer */
  .footer-links { grid-template-columns: 1fr; }
  .footer { padding: 30px 15px; font-size: 13px; }
  .footer-lang select { width: 100%; }
}

/* ---- Feature cards: Netflix-style row with neat icon ---- */
.features-container {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
}

.feature-card {
  flex: 0 0 calc(25% - 15px); /* 4 cards across */
  min-width: 220px;
  position: relative;
  padding: 20px 20px 50px;    /* add bottom padding for icon space */
  background-color: #141414;
  border-radius: 8px;
  box-sizing: border-box;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

/* make text slightly smaller so it fits nicely */
.feature-card h3 {
  font-size: 1rem;   /* adjust as needed */
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  line-height: 1.3;
  margin-bottom: 0;
}

/* Position the icon/logo nicely in the bottom right */
.feature-card i,
.feature-card svg,
.feature-card img.logo {
  position: absolute;
  right: 15px;
  bottom: 15px;
  font-size: 1.6rem; /* size of icon/logo */
  width: 24px;       /* if it’s an <img>, set width/height */
  height: 24px;
  color: red;        /* or remove if your logo already has color */
}


