/* Fixed header styles for scroll effect */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #000;
    color: #fff;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.3s, color 0.3s;
}
.fixed-header .header_h1,
.fixed-header .header_a,
.fixed-header .header_ul li,
.fixed-header nav,
.fixed-header .header_nav {
    color: #fff !important;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


.container{
    width: 100%;
    margin: auto;
}

/* header */
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 33px;
    background-color: #0F172A;
}
.header_ul{
    display: flex;
    column-gap: 29px;
}
.header_h1{
    font-family: Inter;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 36px;
    letter-spacing: 0%;
    color: #FF5733;
}
.header_a{
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    color: #FFFFFF;
}
.header_a:hover{
    color: #FF5733;
}
/* main section */
.main_section{
    background-color: #0F172A;
    background-image: url(../images/IMAGE.png);
    background-size: cover;
    background-position: center;
    width: 100%;
    padding-block: 80px 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main_section_h1{
    font-family: Inter;
    font-weight: 800;
    font-style: Extra Bold;
    font-size: 60px;
    line-height: 75px;
    letter-spacing: 0%;
    text-align: center;
    color: #FF5733;
    margin-bottom: 24px;
}
.main_section_p{
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 20px;
    line-height: 30px;
    letter-spacing: 0%;
    text-align: center;
    color: #D1D5DB;
    margin-bottom: 40px;
}
.search_bar{
    width: 100%;
    height: 64px;
    opacity: 1;
    border-radius: 9999px;
    padding: 19px 24px;
    padding-right: 56px;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 18px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #999999;
    margin-bottom: 16px;
    border: none;
    background-color: #374151;
    box-sizing: border-box;
}
.search_bar:focus{
    outline: none;
    box-shadow: 0 0 0 3px #8B5CF6;
}
.search_container {
    position: relative;
    width: 576px;
}
.search_icon {
    position: absolute;
    right: 6px;
    top: 40%;
    left: auto;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-size: 22px;
    display: flex;
    align-items: center;
    background-color: #8B5CF6;
    border-radius: 50%;
    padding: 15px;
}
.search_icon:hover{
    background-color: #7C3AED;
    cursor: pointer;
}
.search_bar::placeholder{
    color: #9CA3AF;
}
.main_section_span{
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0%;
    text-align: center;
    color: #9CA3AF;
    margin-bottom: 8px;
}
.top_search_ul{
    display: flex;
    column-gap: 8px;
}
.top_search_li{
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 12px;
    line-height: 18px;
    letter-spacing: 0%;
    text-align: center;
    color: #9CA3AF;
    background-color: #374151;
    border-radius: 9999px;
    padding: 4px 12px;
    margin-bottom: 48px;
}
.top_search_li:hover{
    background-color: #FF5733;
    color: #FFFFFF;
    cursor: pointer;
}
.watch_btn{
    font-family: Inter;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
    background-color: #8B5CF6;
    border: none;
    border-radius: 9999px;
    box-shadow: 0px 10px 15px 0px #0000001A;
    box-shadow: 0px 4px 6px 0px #0000001A;
    padding: 12px 32px;
    cursor: pointer;
}
.watch_btn::after{
    content: url(../images/arrow.svg);
    margin-left: 15px;
}
.watch_btn:hover{
    background-color: #7C3AED;
}

/* main section 2 */
.main_section_2{
    width: 100%;
    background-color: #0F172A;
    height: 165px;
    box-shadow: inset 0px 15px 60px 0px #000000b3;
}

/* footer */
footer{
    width: 100%;
    height: 128px;
    background-color: #020617;
    padding-block: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.footer_p,
.footer_a{
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    color: #9CA3AF;
}
.footer_ul{
    display: flex;
    column-gap: 10px;
}


/* MOVIES PAGE */
.main_section_movies{
    background-color: #020617;
    width: 100%;
    padding: 39px 33px;
    display: flex;
    flex-direction: row;
    column-gap: 32px;
    justify-content: center;
    align-items: flex-start;
}
.sidebar {
    width: 224px;
    background: #1E293B;
    border-radius: 12px;
    padding: 30px 24px;
    color: #fff;
    box-shadow: 0 2px 8px 0 #00000022;
}
.sidebar h2 {
    font-size: 20px;
    margin-bottom: 16px;
    font-family: Inter;
    font-weight: 700;
}
.filter_option_txt{
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
}
.filter_txt{
    font-family: Inter;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0%;
    color: #FFFFFF;
    display: block;
    margin-bottom: 8px;
}
.genre-filter{
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #374151;
    background: #1E293B;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    position: relative;
    transition: background .15s, border-color .15s;
}
.genre-filter:checked{
    background: #8B5CF6;
    border-color: #8B5CF6;
}
.genre-filter:checked::after{
    content: "";    
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 8px; 
    height: 8px;
    border-radius: 50%;
    background: #fff;
}
.movie_year_filter{
    width: 100%;
    border-radius: 6px;
    background-color: #D9D9D9;
    padding: 8px 12px;
    border: 1px solid #374151;
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #000000;
    cursor: pointer;
}
.filter-group {
    margin-bottom: 24px;
    padding-bottom: 34px;
    border-bottom: 1px solid #E5E7EB;
}
.filter-option{
    display: flex;
    align-items: center;
    margin-block: 12px;
}
.sidebar input[type="checkbox"] {
    margin-right: 6px;
}
.sidebar input[type="number"] {
    margin: 4px 0 0 0;
    padding: 2px 6px;
    border-radius: 6px;
    border: 1px solid #374151;
    background: #232f3e;
    color: #fff;
}
.apply_btn{
    font-family: Inter;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: center;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    background: none;
    display: block;
    margin: 16px auto 0;
}
.apply_btn:hover{
    text-decoration: underline;
}
.movies_grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 24px;
    width: 736px;
}
.card{
    background-color: #1E293B;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 4px 6px 0px #0000001A;
    cursor: pointer;
    transition: all .3s ease;
}
.card:hover{
    box-shadow: 16px 16px 32px 0px #00000066;
    transform: translateY(-5px);
}
.card img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.card_content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 4px;
    padding: 16px;
}
.movie_name{
    font-family: Inter;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 18px;
    line-height: 27px;
    letter-spacing: 0%;
    color: #FFFFFF;
    margin-bottom: 8px;
}
.movie_year{
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 21px;
    letter-spacing: 0%;
    color: #9CA3AF;
}
.popular_movies{
    display: flex;
    flex-direction: column;
    row-gap: 16px
}
.popular_movie_card{
    display: flex;
    flex-direction: row;
    column-gap: 16px;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    border-radius: 6px;
}
.popular_movie_card:hover{
    background-color: #374151;
}
.popular_movie_img{
    width: 64px;
    border-radius: 6px;
}
.popular_card_content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    row-gap: 0;
}
.popular_movie_name{
    font-family: Inter;
    font-weight: 600;
    font-style: Semi Bold;
    font-size: 16px;
    line-height: 20.8px;
    letter-spacing: 0%;
    color: #FFFFFF;
}
.popular_movie_year{
    font-family: Inter;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0%;
    color: #9CA3AF;
}