@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Matemasie&family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Global styles */

:root {

    /* Global Colors */
    --primary-color: #e50914;
    --secondary-color: #2d2d2d;
    --white-color: #fff;
    --black-color: #000;

    /* Global Fonts */
    --font-size-h1: 48px;
    --font-weight-bold: 900;
    --font-size-h2: 24px;
    --font-weight-medium: 500;
    --font-size-h3: 24px;
    --font-weight-regular: 400;
    --font-size-lg-text: 25px;
}

/* Global fonts */

h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-medium);
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-regular);
}

.lg-text {
    font-size: var(--font-size-lg-text);
}

/* Global styles */

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

body {
    background-color: grey;
    font-family: "Lato", sans-serif;
    color: #fff;

}

.wrapper {
    max-width: 1400px !important;
    margin: 0 auto;
}

.wrapper-two {
    max-width: 1200px;
    margin: 0 auto;
}

.button-primary {
    color: var(--white-color);
    background-color: var(--primary-color);
    border-radius: 4px;
}

/*  Navbar */

.netflix-logo-sm img {
    display: none;
}

.navbar {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem;
    position: relative;
    z-index: 9;
}

.netflix-logo-lg img {
    width: 16%;
    cursor: pointer;
}

.navbar_components {
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar_components select {
    padding: 0.4rem;
    width: 180px;
    color: var(--white-color);
    background: transparent;
    outline: 1px solid var(--white-color);
    border-radius: 3px;
    cursor: pointer;
}

.navbar_components select:focus {
    outline: 1px solid blue;
}

.language-select option {
    color: var(--black-color);
}

.navbar button {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: 1.5rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
}

/* Hero content */

.hero-section {
    height: 85vh;
    background-image: url("./assets/netBackgroundImg.jpg");
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    box-shadow: inset 0 -200px 200px 1000px rgba(0, 0, 0, 0.7);
}

.hero-content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.button-container input {
    width: 350px;
    padding: 0.8rem 1rem;
    outline: 1px solid var(--white-color);
    border-radius: 3px;
    background: transparent;
    color: var(--white-color);
    border: none;
}

.button-container input:focus {
    outline: 1px solid blue;
}

.button-container input::placeholder {
    color: var(--white-color);
}

.button-container button {
    padding: 0.8rem 1rem;
    margin-left: 1rem;
}

/* Section Two */

.section-two {
    height: 68vh;
    background-color: var(--black-color);
    margin: 8px 0;

}

.section-two-container {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.section-two-content {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 80px;
}

.section-two-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-two-img img {
    max-width: 100%;
    height: auto;
}

/* Section-three */

.section-three {
    height: 68vh;
    background-color: var(--black-color);
    margin: 8px 0;

}

.section-three-container {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.section-three-content {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 50px;
}

.section-three-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-three-img img {
    max-width: 100%;
    height: auto;
}

/* Section four */

.section-four {
    height: 68vh;
    background-color: var(--black-color);
    margin: 8px 0;
}

.section-four-container {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.section-four-content {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 50px;
}

.section-four-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-four-img img {
    max-width: 100%;
    height: auto;
}

/* Section-five */

.section-five {
    height: 68vh;
    background-color: var(--black-color);
    margin: 8px 0;
}

.section-five-container {
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.section-five-content {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 50px;
}

.section-five-img {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-five-img img {
    max-width: 100%;
    height: auto;
}

/* FAQ section */

.faq-section {
    padding: 4rem 0;
    height: auto;
    background-color: var(--black-color);
    margin: 8px 0;
    display: flex;
    flex-direction: column;
}

.faq-container {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.faq-heading {
    margin-bottom: 20px;
}

.faq-item {
    width: 100%;
}

.faq-question {
    background-color: var(--secondary-color);
    padding: 30px 30px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    margin: 0;
    color: white;
}

.faq-question i {
    font-size: 1.5rem;
    color: white;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    background-color: var(--secondary-color);
    border-radius: 20px;
    margin-top: 8px;
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-top: 20px;
    padding-bottom: 20px;
    margin-bottom: 10px;
}

.faq-answer p {
    color: white;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 10px;
}

.faq-button {
    display: flex;
    justify-content: center;
}

/* Footer */

.footer-container {
    min-height: 50vh;
    height: auto;
    padding: 4rem 0;
    background-color: var(--black-color);
    display: flex;
}

.footer-content {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-content-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
}

.footer-content-list ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-content-list ul li {
    list-style: none;
    margin-bottom: 10px;
}

.footer-content-list ul li a {
    color: #ffffffb3;
    font-weight: 400;
}

.footer-copyright {
    color: #ffffffb3;
    margin-top: 4rem;
    font-weight: 400;
    font-size: 1.5rem;
}