@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

*{
    box-sizing: border-box;
    margin: 0px;
    text-decoration: none;
}

body{
    font-family: 'Open Sans',sans-serif;
}



.card-title{
    font-size: 3.8rem;
    font-weight: 900;
    line-height:1.1;
    text-align:center;
    max-width: 650px;
    letter-spacing: -2px;
    margin-bottom:1rem;
}

.card-subtitle{
    margin: 0 0 16px;
    font-size: 20px;
    
}

.email-form-title{
    font-size: 1rem;
    font-weight: 400;
    padding-bottom: 16px;
    text-align: center;
}

.hero-section{
    background-image: url(./assets/the_netflix_background_img.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    position: relative;
    z-index: 1;
}

.section-divider > .back {
    width: 100%;
    height: 10vh;
    position: relative;
    overflow: hidden;
    background: black;
    padding: 0;
    width: 100%;
}

.curve-in{
    height: 10vh;
    width: 100%;
    background: linear-gradient(to right, rgb(169, 55, 146),red,rgb(169, 55, 146)); 
    position: relative; top: 0;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
}

.curve-out{
    height: 90%;
    width: 100%;
    background: radial-gradient(ellipse at 50% 0,blue,black 50%);
    position: absolute;
    top: 10%;
    border-top-left-radius: 45%;
    border-top-right-radius: 45%;
}

.overlay{
    inset: 0;
    z-index: -1;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 80%;
    position: absolute;
    top: 0;
}

.tv-container{
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 0;
    display: flex;
    justify-content: center;
}


.tv-frame{
    position: absolute;
    top: 0;
    width: 100%;
    height: 115%;
    object-fit: contain;
    z-index: 2;
    pointer-events: none;
}


.tv-video{
    width: 85%;
    max-width: 900px;
    aspect-ratio: 16/8.5;
    border-radius: 12px;
    display: block;
    position: relative;
    
}

.trailer-section{
    background-color: black;
    color: white;
    padding: 80px 170px;
    text-align: center;
}

.trailer-title{
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
}

.trailer-video{
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 10px;
    border: 1px solid #333;
}

main section {
    background-color: black;
}
h3 {
    color: white;
    padding: 30px;
}
div span {
    -webkit-text-stroke: 1px white;
    font-weight: 500;
    font-size: 100px;
    position: relative;
    right: 25px;
}
div.cards {
    width: 214px;
    height: 300px;
    border-radius: 5%;

    display: flex;
    align-items: flex-end;

    flex-shrink: 0;

    cursor: pointer;

}
.cards:hover{
    transform: scale(1.05);
}

#card1 {
    background: url(assets/180-img.webp) center no-repeat;
    background-size: cover;
}
main {
    padding: 0 5vw;
    background-color: black;
}
#card2 {
    background: url(assets/apex-img.webp);
    background-size: cover;
}
#card3 {
    background: url(assets/fatal-seduction-img.webp);
    background-size: cover;
}
#card4 {
    background: url(assets/the-cleaning-lady-img.webp);
    background-size: cover;
}
#card5 {
    background: url(assets/beauty-in-black-img.webp);
    background-size: cover;
}
#card6 {
    background: url(assets/trials-of-winnie-img.webp);
    background-size: cover;
}
#card7 {
    background: url(assets/swapped-img.webp);
    background-size: cover;
}
#card8 {
    background: url(assets/nemesis-img.webp);
    background-size: cover;
}
#card9 {
    background: url(assets/man-on-fire-img.webp);
    background-size: cover;
}
#card10 {
    background: url(assets/masha-img.webp);
    background-size: cover;
}
#trending-now {
    display: flex;
    gap: 40px;
    overflow-x: auto;
    scroll-behavior: smooth;
}
#trending-now::-webkit-scrollbar {
    display: none;
}
.cards span{
    font-size: 120px;
    font-weight: 900;
    line-height: 1;

    color: black;
    -webkit-text-stroke: 1px white;

    font-family: Arial, sans-serif;
}

.banner-container{
    text-align: center;
    padding: 0 20px;
    color: white;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    height: calc(100% - 45px);
}

.get-started-form{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.get-started-form input{
    width: 380px;
    height: 56px;
    padding: 0 16px;
    font-size: 1rem;
    color: white;
    background-color: rgba(22,22,22,0.7);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    outline: none;
}

.get-started-form input::placeholder{
    color: #b3b3b3;
}

.get-started-form input:focus{
    border: 2px solid white;
}

.get-started-form button{
    height: 56px;
    padding: 0 28px;
    border: none;
    border-radius: 4px;
    background-color: #e50914;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.get-started-form button:hover{
    background-color: #c11119;
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:24px 170px;
    position: relative;
    z-index: 2;
}
.navbar > img{
    width: 165px;
    height: 45px;
    object-fit: contain;
}
.navbar > a{
    background-color: #e50914;
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}
.navbar a:hover{
    background-color: #c11119;
}

.info-container{
    background-color: black;
    color: white;
    display: flex;
    padding: 70px 45px;
}

.info{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.faq-section{
    background-color: black;
    color: white;
    padding: 70px 140px;
}

.faq-title{
    font-size: 24px;
    font-weight: 700;
    text-align: left;
    margin-bottom:15px;
    width: 100%;
}

.faq-item{
    background-color: #2d2d2d;
    margin-bottom: 8px;
    padding: 20px 28px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-item:hover{
    background-color: #414141;
}

.faq-item summary{
    list-style: none;
    font-size: 1.9rem;
    font-weight: 400;
    position: relative;
}

.faq-item summary::-webkit-details-marker{
    display: none;
}

.faq-item summary::after{
    content: "+";
    position: absolute;
    right: 0;
    font-size: 3rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 3rem;
    font-weight: 300;
}

.faq-item[open] summary::after{
    content: "×";
}

.faq-item p{
    font-size: 1.3rem;
    margin-top: 16px;
    font-size: 1.5rem;
    line-height: 1.5;
    color: #ffffff;
}

.cta-section{
    background-color: black;
    color: white;
    text-align: center;
    padding: 60px 170px;
}

.cta-form{
    justify-content: center;
    margin-top: 10px;
}

.cta-section .email-form-title{
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.cta-section .get-started-form input{
    width: 580px;
    max-width: 100%;
}

.footer{
    background-color: black;
    color: #bab3b3;
    padding: 70px 170px;
}

.footer p{
    margin-bottom: 30px;
    text-decoration: underline;
}

.footer ul{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
}

.footer ul li{
    font-size: 0.9rem;
    cursor: pointer;
    color: #bab3b3;
    text-decoration: underline;
}

.footer ul li:hover{
    text-decoration: underline;
}

.footer-bottom{
    margin-top: 40px;
    font-size: 0.9rem;
}