/* ================= RESET & BASE ================= */

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

body {
    background-color: black;
    font-family: Arial, Helvetica, sans-serif;
}

/* ================= HERO / MAIN SECTION ================= */

.main {
    background-image: url(assets/images/bg_image.jpg);
    height: 85vh;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: max(1300px, 100vw);
}

/* Dark overlay */
.transparent_dummy_box {
    position: absolute;
    top: 0;
    width: 100%;
    height: 85vh;
    background-color: black;
    opacity: 0.75;
}

/* ================= NAVBAR ================= */

nav {
    max-width: 80vw;
    height: 80px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
}

/* Netflix logo */
.Netflix_logo {
    width: 150px;
    cursor: pointer;
}

/* Right navigation area */
.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Language selector */
.english_button {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 5px 10px;
    border-radius: 7px;
    border: 1px solid rgba(128, 128, 128, 0.75);
    background-color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
}

.lang_svg {
    color: white;
}

.language_dropdown {
    background-color: transparent;
    color: white;
    border: none;
    outline: none;
    font-size: 16px;
    cursor: pointer;
}

/* Sign in button */
.sign_In_button {
    padding: 7px 16px;
    border-radius: 6px;
    background-color: rgba(255, 0, 0, 0.94);
    cursor: pointer;
}

.sign_In_button:hover {
    background-color: rgba(255, 0, 0, 0.71);
}

.sign_In_button a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

/* ================= HERO TEXT ================= */

.hero_text {
    position: absolute;
    top: 0;
    width: 100%;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding-top: 30px;
}

/* Headline & subtext */
.h1_p {
    width: 588px;
    text-align: center;
}

.h1_p h1 {
    font-size: 56px;
    font-weight: 900;
}

.h1_p p {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 500;
}

/* Signup form */
.form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form h3 {
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}

.action {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.email_div input {
    width: 340px;
    height: 35px;
    padding: 10px 15px;
    font-size: 15px;
    background-color: black;
    color: white;
    border: 1px solid grey;
    border-radius: 5px;
}

.action button {
    padding: 15px 20px;
    font-size: 24px;
    background-color: red;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.action button:hover {
    background-color: rgba(255, 0, 0, 0.77);
}

/* ================= RED DIVIDERS ================= */

.red_curve_1,
.red_curve_2 {
    width: 100%;
    background-color: red;
    transform: translateY(-100%);
}

.red_curve_1 {
    height: 5px;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
}

.red_curve_2 {
    height: 2px;
}

/* ================= TRENDING SECTION ================= */

.trending_now h3 {
    max-width: 75vw;
    margin: auto;
    padding-top: 30px;
    font-size: 24px;
    font-weight: 500;
    color: white;
}

.trending_movies {
    width: 70vw;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    height: 70vh;
    margin-bottom: 50px;
}

.movie {
    width: 12vw;
    height: 30vh;
    border-radius: 8px;
    cursor: pointer;
}

/* Movie backgrounds */
.m1 { background: url(assets/images/img_1.png) center / contain repeat; }
.m2 { background: url(assets/images/img_2.png) center / cover no-repeat; }
.m3 { background: url(assets/images/img_3.png) center / cover no-repeat; }
.m4 { background: url(assets/images/img_4.png) center / cover no-repeat; }
.m5 { background: url(assets/images/img_5.png) center / cover no-repeat; }
.m6 { background: url(assets/images/img_6.png) center / cover no-repeat; }
.m7 { background: url(assets/images/img_7.png) center / cover no-repeat; }
.m8 { background: url(assets/images/img_8.png) center / cover no-repeat; }
.m9 { background: url(assets/images/img_9.png) center / cover no-repeat; }
.m10 { background: url(assets/images/img_10.png) center / cover no-repeat; }

/* ================= REASONS SECTION ================= */

.reason_section h3 {
    max-width: 75vw;
    margin: auto;
    padding-top: 40px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 500;
    color: white;
}

.reason_div {
    max-width: 75vw;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 50px;
}

.reason_item {
    width: 15vw;
    height: 35vh;
    padding: 20px 10px 0 20px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(160deg, #0f0f20 0%, #1b2348 45%, #2a1c3f 100%);
}

.reason_div p {
    margin-top: 10px;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.reason_item svg {
    width: 75px;
    margin-left: auto;
    margin-top: auto;
}

/* ================= FAQ SECTION ================= */

.FAQ h3 {
    max-width: 75vw;
    margin: auto;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 500;
    color: white;
}

.FAQ_grid {
    max-width: 75vw;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
    margin-bottom: 70px;
}

.grid_item {
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: rgba(128, 128, 128, 0.42);
    border: 4px solid black;
    cursor: pointer;
}

.grid_item:hover {
    background-color: rgba(128, 128, 128, 0.58);
}

.grid_item h3 {
    font-size: 24px;
    font-weight: 400;
}

.grid_item img {
    width: 30px;
}

/* ================= FOOTER ================= */

.membership {
    max-width: 80vw;
    margin: auto;
    margin-bottom: 50px;
    text-align: center;
}

.membership h3 {
    font-size: 16px;
    font-weight: 400;
    color: white;
    margin-bottom: 15px;
}

.membership input {
    width: 500px;
}

.related {
    max-width: 75vw;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.call {
    font-size: 16px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.7);
}

.call a {
    color: rgba(255, 255, 255, 0.7);
}

.related_link_grid ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 60px;
}

.related_link_grid a {
    color: rgba(255, 255, 255, 0.7);
}

.footer_lang {
    width: 100px;
    margin-bottom: 40px;
}

.netflix_india,
.protected {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 40px;
}

.protected {
    font-size: 13px;
}

.protected button {
    background: transparent;
    border: none;
    color: rgb(68, 142, 244);
    text-decoration: underline;
    cursor: pointer;
}