/* =============== RESET =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: black;
    color: white;
}

/* =============== HERO SECTION =============== */
.hero {
    width: 100%;
    height: 90vh;  
    background-image: url("images/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 5;
}

/* Dark overlay exactly like Netflix */
.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.65);
    z-index: 1;
}

/* =============== HEADER (Logo + Language + Sign-in) =============== */
.header {
    position: absolute;
    top: 20px;
    width: 90vw;
    padding: 0 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

.header img {
    width: 250px;
    padding-left: 90px;
}

.header .right-btns {
    display: flex;
    gap: 15px;
}

/* Language dropdown box */
.lang-select {
    padding: 8px 15px;
    background: rgba(11, 11, 11, 0.5);
    border: 1px solid #555;
    border-radius: 4px;
    color: white;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

/* Sign in button */
.signin-btn {
    padding: 7px 18px;
    background-color: #e50914;
    color: white;
    border-radius: 4px;
    border: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

/* =============== CENTER HERO TEXT =============== */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 700px;
    z-index: 10;
}
.hero-content p:nth-of-type(1) {
    font-weight: 600; 
    margin-bottom: 30px;
}
.hero-content h1 {
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 10px;
}

/* =============== EMAIL FORM =============== */
.email-box {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.email-box input {
    width: 300px;
    padding: 15px;
    font-size: 18px;
    border-radius: 4px;
    border: 1px solid #555;
    background: rgba(20,20,20,0.5);
    color: white;
}

.email-box button {
    padding: 10px 55px;
    height: auto;
    background-color: #e50914;
    font-weight: 700;
    color: white;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
/* CURVE BELLOW THE BACKGROUND IMAGE */
.curve-bg {
    position: absolute;
    bottom: 8.5vh;
    left: 0;
    width: 100%;
    height: 2vh;

    border-bottom-left-radius: 50% 100%;
    border-bottom-right-radius: 50% 100%;

    background: linear-gradient(
        to bottom,
        #17000a,
        #a10644,
        #000000
    );

    z-index: 0; /* send curve to the BACK */
}
/* =================== TRENDING NOW SECTION =================== */
.trending-section {
    width: 100%;
    padding: 40px 60px;
    background: black;
    margin-top: 0px;
    /* position: relative; */
    /* z-index: 20; */
    display: flex;
}

 .trending-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    
}

/* Horizontal row */
.trending-row {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow-x: scroll;
    scrollbar-width: none;
    padding-bottom: 10px;
    margin: 0 3%;
    width: 95vw;    
}

/* Cards */
 .card {
    position: relative;
    /* flex: 0 0  auto; */
    display: flex;
    gap: 20px;
    margin-bottom: 30px;  
}
.movie{
    position: relative;
    flex: 0 0 auto;
}
/* .movie img{
     width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s ease;
} */

.ranking-number {
   position: absolute;
   left: -10px;
   bottom: -20px;
   font-size: 7vw;
   font-weight: 900;
   color: rgba(0, 0, 0, 0.9);
   -webkit-text-stroke: 2px white;
   
   z-index: 5;
   font-family: sans-serif;
   line-height: 1;
   margin-left: 10px;
}
@media (min-width:1000px){
    .ranking-number{
        font-size:120px;
        bottom:-25px;
        left:-20px;
    }
}

/* NEW CODE TO HIDE  FOR SCROLL BAR AND BUTTONS  */
.left-btn,
.right-btn {
  display: none;
}
.trending-row {
   overflow-x: auto;
   scrollbar-width: none;      /* Firefox */
}

.trending-row::-webkit-scrollbar {
   display: none;              /* Chrome / Edge */
}
trending-row {
  cursor: grab;
}

.trending-row:active {
  cursor: grabbing;
}

/* 
   @media screen and (min-width: 1000px) {
      .ranking-number {
         font-size: 120px;
         left: -25px;
         bottom: -15px;
      }
   } */

.card img {
    width: 200px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s ease;
    cursor: pointer;
}

.card img:hover {
    transform: scale(1.08); 
}

   @media screen and (min-width: 800px) {
      .ranking-number {
         font-size: 80px;
         left: -10px;
         bottom: 25px;
      }
   }

/* Right-side slide button */
 .right-btn {
    background: #111;
    color: white;
    border: none;
    font-size: 40px;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
}

.right-btn:hover {
    background: #333;
}  

.left-btn {
    background: #111;
    color: white;
    border: none;
    font-size: 40px;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
}

.left-btn:hover {
    background: #333;
}
h3{
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 40px 60px;
}

.second {
    display: flex;
    justify-content: center;
    margin: 20px auto;
    gap: 20px;
    padding: 0 5%;
    position: relative;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width:none ;     /* ADDED */
}

.reason{
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    width: 250px;
    max-width: 400px;
    height: auto;
    border: 0.5px solid #1f1527;
    box-sizing: border-box;
    flex-shrink: 0;
    background-color: #1f1527;
    color: white;
    background: linear-gradient(to right, #191f3b, #1c1932, #211729);
    padding: 15px;             /* ADDED safe padding */
}

/* DESKTOP */
@media screen and (min-width: 1024px) {

    .second {
        flex-wrap: nowrap;
        justify-content: space-between;
        max-width: 90vw;
        margin-left: auto;
        margin-right: auto;
    }

    .reason {
        width: 80%;
        max-width: 325px;
        height: 280px;
    }
}

/* TABLET */
@media screen and (max-width: 800px) {
    .second {
        flex-wrap: wrap;
        justify-content: center;
    }

    .reason {
        width: 45%;
        min-width: 220px;     /* ADDED to prevent text/image overlap */
    }
}

/* SMALL MOBILE */
@media screen and (max-width: 480px) {

    .second {
        flex-direction: column;   /* ADDED */
        align-items: center;
    }

    .reason {
        width: 90%;
        min-width: 260px;         /* ADDED */
    }
}

.second div {
    padding: 10px;
    justify-content: center;
    font-family: sans-serif
}

.bold {
    font-weight: 800;
    font-size: 21px;
    line-height: 1.4;
    color: #dcdcdc;
}

.bold1 {
    font-weight: 400;
    font-size: 15px;
    margin-top: 5px;
    color: rgb(194, 189, 189);
}

.reason img  {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 90px;
    height: auto;
    object-fit: contain;
}

   .faq-section {
    width: 80%;
    margin: 40px auto;
    color: white;
}

 h4 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 40px 60px;

    display: flex;
    /* justify-content: center; */
    /* margin: 20px auto; */
    margin-top: 60px;
    gap: 20px;
    padding: 0 3.8%;
    position: relative;
    overflow-x: auto;
}

/* FAQ Container */
.faq {
    margin: 0.5% 8%;
    /* background: #2b2b2b; */
}

/* Question Box */
.faq-question {
    width: 80vw;
    height: 80px;
    background: #303030;
    border: none;
    outline: none;
    padding: 22px 35px;
    color: white;
    font-size: 24px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* Plus/X Icon */
.faq-question .icon {
    font-size: 60px;
    font-weight:lighter;
}


















/* READY TO WATCH SECTION */
.ready-watch {
    text-align: center;
    color: white;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 18px;
}

.email-container {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.email-container input {
    width: 600px;
    padding: 15px;
    background: rgba(20, 19, 19, 0.8);
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    color: white;
}

.start-btn {
    background: #e50914;
    padding: 15px 25px;
    border: none;
    border-radius: 4px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    cursor: pointer;
}


/* FOOTER SECTION */
.footer {
    width: 100%;
    padding: 50px 15%;
    color: #b3b3b3;
    font-size: 15px;
    font-weight: 540;
}

.footer .contact a {
    color: #b3b3b3;
    text-decoration: none;
}
.footer .contact a:hover {
    text-decoration: underline;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 25px;
    margin-bottom: 30px;
    gap: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: underline;
    color: #b3b3b3;
}
.footer-links a:hover {
    text-decoration: underline;
    /* color: blue; */
}

/* LANGUAGE SELECT */
.footer-lang select {
    background: transparent;
    border: 1px solid #b3b3b3;
    padding: 8px 15px;
    border-radius: 4px;
    color: #b3b3b3;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 20px;
}

/* COUNTRY TEXT */
.country {
    margin-bottom: 25px;
}

/* CAPTCHA TEXT */
.captcha {
    font-size: 13px;
}
.captcha a {
    color: #b3b3b3;
    text-decoration: none;
}
.captcha a:hover {
    text-decoration: underline;
}

/* RESPONSIVENESS */
@media (max-width: 900px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-links {
        grid-template-columns: repeat(1, 1fr);
    }

    .email-container {
        flex-direction: column;
        align-items: center;
    }

    .email-container input {
        width: 90%;
    }

    .start-btn {
        width: 90%;
    }
}
input::placeholder{
    color: rgb(212, 208, 208);
}








