* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    background: black;
    color: white;
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: white;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    padding-bottom: 50px; 
}
/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background-image: url('netflix.jpg');
    background-size: cover;
    background-position: center;
    padding-bottom: 50px; 
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

nav {
    position: absolute;
    top: 20px;
    left: 50px;
    display: flex;
    justify-content: space-between;
    width: 90%;
    align-items: center;
    padding: 10px 0%;
}

.default-ltr-cache-1d568uk {
    width: 9.25rem;
    height: 2.5rem;
    color: rgb(229, 9, 20);
    fill: currentColor;
    display: block;
}

.sign-in {
    background: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
}
.content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}
.content h1 {
    font-size: 3.7em;
    margin-bottom: 20px;
}

.content p {
    font-size: 1.3em;
    margin-bottom: 20px;
}

.input-box {
    display: flex;
    gap: 10px;
}

.input-box input {
    padding: 10px;
    font-size: 1em;
    flex: 1;
    border-radius: 5px;
    border: none;
    width: 500px;
    padding: 15px;
    font-size: 16px;
    border: 1px solid gray;
    background-color: black;
    color: white;
    border-radius: 5px;
}

.get-started {
    background: red;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
}

.trending-section {
    position: relative;
    width: 100%;
    background-color: black;
    overflow: hidden;
}

.curve {
    position: absolute;
    bottom: 0px; 
    left: 0;
    width: 100%;
    height: auto;
}

/* Trending Section */
.trending {
    
    padding: 50px 20px;
    text-align: center;
}

.trending h2{
    font-size: 24px;
    margin-bottom: 20px;
    margin-right: 1405px;
}
.trending-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
}

.movie img {
    width: 150px;
    height: 220px;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

.prev-btn, .next-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
}

.prev-btn:hover, .next-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.features {
    padding: 50px;
    text-align: center;
}

.title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    margin-right: 1300px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.feature-card {
   
    width: 300px; 
    height: 250px; 
    background: linear-gradient(180deg, #1b1724, #120d18);
    padding: 20px;
    border-radius: 12px;
    color: white;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card{
font-size: medium;
padding: 20px;
color: #ff007f;
text-align: center;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14px;
    color: #b3b3b3;
}

.feature-card .icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
}

.feature-card .icon img {
    width: 100%;
    height: auto;
}


.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}


.icon {
    font-size: 40px;
    position: absolute;
    bottom: 15px;
    right: 15px;
    color: #ff007f; 
}


.faq-container {
    width: 60%;
}

h2 {
    text-align: left;
}

.faq-item {
    background: #333;
    margin: 10px 0;
    padding: 15px;
    border-radius: 5px;
}

.faq-question {
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.plus {
    font-size: 22px;
    font-weight: bold;
    transition: transform 0.3s;
}
input[type="checkbox"] {
    display: none;
}

.faq-answer {
    display: none;
    font-size: 16px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid gray;
}
input[type="checkbox"]:checked + .faq-question + .faq-answer {
    display: block;
}

input[type="checkbox"]:checked + .faq-question .plus {
    transform: rotate(45deg);
}


footer {
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    width: 22%;
    min-width: 150px;
}

.footer-column a {
    display: block;
    color: gray;
    text-decoration: none;
    margin: 5px 0;
}

.footer-column a:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 20px;
    
}

select {
    background: black;
    color: white;
    border: 1px solid gray;
    padding: 5px;
    margin-bottom: 10px;
}
.signup-container {
    margin-top: 50px;
}
.signup-container p {
    font-size: 18px;
    margin-bottom: 15px;
}
.signup-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.signup-box input {
    width: 500px;
    padding: 15px;
    font-size: 16px;
    border: 1px solid gray;
    background-color: black;
    color: white;
    border-radius: 5px;
}

.signup-box button {
    background-color: red;
    color: white;
    border: none;
    padding: 20px 45px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
}

.signup-box button:hover {
    background-color: #e50914;
}



/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #000;
    color: white;
}

/* -------------------------
   HERO SECTION
--------------------------*/
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    background-image: url('netflix.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}

nav {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 90%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sign-in {
    background: red;
    padding: 8px 18px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.content {
    z-index: 2;
    max-width: 600px;
    padding: 20px;
}

.content h1 {
    font-size: 3rem;
    font-weight: bold;
}

.content p {
    font-size: 1.3rem;
    margin-top: 10px;
}

.input-box {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.input-box input {
    flex: 1;
    padding: 15px;
    background: black;
    color: white;
    border: 1px solid gray;
    border-radius: 5px;
}

.get-started {
    background: red;
    padding: 15px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* -------------------------
   TRENDING
--------------------------*/
.trending {
    padding: 40px 20px;
    width: 100%;
}

.trending h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.trending-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.trending-container::-webkit-scrollbar {
    display: none;
}

.movie img {
    width: 140px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    transition: .3s;
}

.movie img:hover {
    transform: scale(1.08);
}

/* -------------------------
   FEATURES
--------------------------*/
.features {
    padding: 40px 20px;
    width: 100%;
}

.title {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: left;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 20px;
}

.feature-card {
    background: linear-gradient(180deg,#1b1724,#120d18);
    padding: 20px;
    border-radius: 12px;
    height: 220px;
    color: white;
    position: relative;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-card .icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 38px;
    color: #ff007f;
}

/* -------------------------
   FAQ
--------------------------*/
.faq-container {
    width: 90%;
    max-width: 800px;
    margin: 40px auto;
}

.faq-item {
    background: #333;
    padding: 15px;
    border-radius: 5px;
    margin: 10px 0;
}

.faq-question {
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
}

.faq-answer {
    display: none;
    margin-top: 10px;
}

input[type=checkbox] {
    display: none;
}
input[type=checkbox]:checked + .faq-question + .faq-answer {
    display: block;
}

/* -------------------------
   FOOTER
--------------------------*/
footer {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
    color: gray;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column {
    width: 45%;
    min-width: 150px;
}

.footer-column a {
    color: gray;
    display: block;
    margin: 6px 0;
}

.footer-bottom {
    margin-top: 20px;
}

/* -------------------------
   SIGNUP
--------------------------*/
.signup-container {
    margin-top: 40px;
    padding: 20px;
}

.signup-box {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.signup-box input {
    padding: 15px;
    flex: 1;
    background: black;
    border: 1px solid gray;
    border-radius: 5px;
}

.signup-box button {
    padding: 15px 30px;
    background: red;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* -------------------------
   MOBILE RESPONSIVE
--------------------------*/
@media (max-width: 600px) {

    .content h1 {
        font-size: 1.9rem;
    }

    .content p {
        font-size: 1rem;
    }

    .input-box {
        flex-direction: column;
    }

    .get-started {
        width: 100%;
    }

    .movie img {
        width: 110px;
        height: 160px;
    }

    .feature-card {
        height: auto;
    }

    .signup-box {
        flex-direction: column;
    }

    .signup-box button {
        width: 100%;
    }
}








/* ================================
   MOBILE RESPONSIVE (max-width: 600px)
   Hero Section Fix
==================================*/
@media (max-width: 600px) {

    .hero {
        min-height: 90vh;
        padding: 40px 20px;
        background-position: top;
    }

    nav {
        top: 10px;
        left: 10px;
        width: 95%;
    }

    .content h1 {
        font-size: 2.2rem;  /* Your Option A */
        line-height: 1.2;
    }

    .content p {
        font-size: 1rem;
        padding: 0 10px;
    }

    .input-box {
        flex-direction: column;
        width: 100%;
    }

    .input-box input {
        width: 100%;
        font-size: 14px;
        padding: 12px;
    }

    .get-started {
        width: 100%;
        font-size: 1rem;
        padding: 12px;
    }
}



/* ================================
   RESPONSIVE — TRENDING SECTION
==================================*/

/* Tablet screens */
@media (max-width: 992px) {
    
    .trending h2 {
        font-size: 22px;
        margin: 0;
        text-align: left;
        padding-left: 10px;
    }

    .trending-container {
        gap: 12px;
    }

    .movie img {
        width: 130px;
        height: 200px;
    }
}

/* Mobile screens */
@media (max-width: 600px) {

    .trending {
        padding: 20px 10px;
    }

    .trending h2 {
        font-size: 20px;
        margin: 0;
        text-align: left;
        padding-left: 5px;
    }

    .trending-container {
        gap: 10px;
        flex-wrap: nowrap;     /* Keep horizontal scrolling */
        overflow-x: auto;
        padding: 5px;
    }

    .movie img {
        width: 110px;
        height: 170px;
    }
    
    .prev-btn,
    .next-btn {
        display: none; /* Hide arrows on mobile (Netflix style) */
    }
}


/* ================================
   RESPONSIVE — FEATURES CARDS
==================================*/

/* Tablet */
@media (max-width: 992px) {
    .features {
        padding: 40px 20px;
        text-align: center;
    }

    .title {
        margin: 0 0 20px 0;
        text-align: left;
        padding-left: 5px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 15px;
        padding: 0 10px;
    }

    .feature-card {
        width: 100%;
        height: auto;
        padding: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .title {
        font-size: 20px;
        margin-bottom: 10px;
        text-align: left;
        padding-left: 5px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }

    .feature-card {
        width: 100%;
        text-align: left;
        padding: 18px;
        height: auto;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .feature-card .icon {
        width: 35px;
        height: 35px;
        bottom: 10px;
        right: 10px;
    }
}


/* ================================
   RESPONSIVE — FEATURES CARDS
==================================*/

/* Tablet */
@media (max-width: 992px) {
    .features {
        padding: 40px 20px;
        text-align: center;
    }

    .title {
        margin: 0 0 20px 0;
        text-align: left;
        padding-left: 5px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 15px;
        padding: 0 10px;
    }

    .feature-card {
        width: 100%;
        height: auto;
        padding: 20px;
    }
}

/* Mobile */
@media (max-width: 600px) {

    .title {
        font-size: 20px;
        margin-bottom: 10px;
        text-align: left;
        padding-left: 5px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }

    .feature-card {
        width: 100%;
        text-align: left;
        padding: 18px;
        height: auto;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .feature-card .icon {
        width: 35px;
        height: 35px;
        bottom: 10px;
        right: 10px;
    }
}
/* ================================
   RESPONSIVE — FAQ + FOOTER
==================================*/

/* Tablet Screens */
@media (max-width: 992px) {

    /* FAQ */
    .faq-container {
        width: 80%;
    }

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

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

    /* Footer */
    .footer-container {
        justify-content: flex-start;
        gap: 30px;
    }

    .footer-column {
        width: 30%;
    }
}

/* Mobile Screens */
@media (max-width: 600px) {

    /* FAQ Section */
    .faq-container {
        width: 100%;
        padding: 0 15px;
    }

    .faq-item {
        padding: 12px;
    }

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

    .faq-answer {
        font-size: 14px;
        line-height: 1.4;
    }

    h2 {
        font-size: 22px;
        text-align: left;
    }

    /* Footer Section */
    footer {
        padding: 20px 10px;
        text-align: left;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .footer-column {
        width: 100%;
    }

    .footer-column a {
        font-size: 14px;
    }

    select {
        width: 100%;
        padding: 8px;
        font-size: 14px;
    }
}
/* ================================
   RESPONSIVE — SIGNUP SECTION
==================================*/

/* Tablet Screens */
@media (max-width: 992px) {

    .signup-container p {
        font-size: 17px;
        text-align: left;
        padding-left: 10px;
    }

    .signup-box {
        gap: 10px;
    }

    .signup-box input {
        width: 100%;
        font-size: 15px;
        padding: 14px;
    }

    .signup-box button {
        padding: 18px 35px;
        font-size: 15px;
    }
}

/* Mobile Screens */
@media (max-width: 600px) {

    .signup-container {
        padding: 0 15px;
        text-align: left;
    }

    .signup-container p {
        font-size: 16px;
        line-height: 1.3;
    }

    /* Input + Button Stack Vertical */
    .signup-box {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .signup-box input {
        width: 100%;
        padding: 14px;
        font-size: 14px;
    }
    .signup-box button {
        width: 100%;
        padding: 15px 20px;
        font-size: 15px;
        font-weight: bold;
        border-radius: 6px;
      }
}

