/* Normalise css */
html,body{
    background-color: #141414;
    padding:0;
    margin: 0;
    font-family: Helvetica,Arial ,sans-serif;
}
.container{
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}
*{
    box-sizing: border-box;
}
*::-webkit-scrollbar{
    display: none;
}

/* Header Css */
header{
    background-color: transparent;
    position: fixed;
    z-index: 100;
    left:0;
    top: 0;
    width: 100%;
    transition: all ease 600ms;
}
header.black-bg{
    background-color: rgb(20, 20, 20);
}
.header-cont{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.left-cont, .right-cont{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.header-brand{
    max-width: 110px;
}
.main-nav{
    list-style: none;
    display: inline-flex;
    flex-direction: row;
    cursor: pointer;
}
.nav-item{
    margin-right: 20px;
    color: #e5e5e5;
    opacity: .83;
}
.nav-item.active{
    color: white;
    opacity: 1;
    font-weight: 500;
}
/* .right-cont svg,  .right-cont img{
    margin-right: 22px;
    cursor: pointer;
}
.right-cont svg{
    color: white;
}
.right-cont img{
    max-width:40px;
} */


/* Style for the right container */
.right-cont {
    display: flex;
    align-items: center;
    position: relative;
    justify-content: flex-end; /* Aligns the content to the right */
}

/* Style for the search input box */
#search-input {
    padding: 8px 10px;
    border: none;
    border-radius: 4px;
    background-color: transparent;
    color: white;
    outline: none;
    width: 200px; /* Adjust width as needed */
}

/* Style for the search icon */
.search-icon {
    cursor: pointer;
    color: white;  /* Make the search icon white */
    margin-left: 10px;  /* Space between text box and icon */
}

/* Style for the bell icon */
.Hawkins-Icon {
    cursor: pointer;
    color: white !important;  /* Force the bell icon to be white */
    margin-left: 15px;
}

/* Style for the user profile icon */
.right-cont img {
    cursor: pointer;
    max-width: 40px;
    margin-left: 15px; /* Space between bell icon and user profile */
}



/* Movies Section CSS */
.movies-section{
    margin: 41px 0;
}
.movie-section-heading{
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    cursor: pointer;
    margin-bottom: 10px;
}
.explore-nudge{
    color: #54b9c5;
    font-size: 12px;
    display: none;
}
.movie-section-heading:hover .explore-nudge{
    display: inline-block;
}
.movies-row{
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x:auto;
    overflow-y: hidden;
}
.movie-item{
    width: 245px;
    object-fit: contain;
    margin-right: 6px;
    border-radius: 4px;
    position: relative;
}
.move-item-img{
    width: inherit;
}
.movie-item .iframe-wrap{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
    border: none;
    outline: none;
}
.movie-item:hover .iframe-wrap{
    display: block;
}
.movie-item:hover{
    transform: scale(1.3);
    transition: transform linear 300ms;
}


/* Banner Section */
.banner-section{
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 98vh;
    padding-top: 80px;
    position: relative;
}
.banner-content{
    display: flex;
    flex-direction: column;
    padding-top: 70px;
}
.banner__title{
    color: white;
    font-size: 84px;
    line-height: 1.1;
    margin: 0;
    margin-bottom: 16px;
    max-width: 40%;
}
.banner__info{
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: white;
}
.banner__overview{
    font-size: 16.4px;
    color: white;
    line-height: 1.3;
    max-width: 40%;
}
.action-buttons-cont{
    display: flex;
    flex-direction: row;
    align-items: center;
}
.action-button{
    border:none;
    background-color: white;
    padding: 8px 23px;
    margin-right: 11px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    flex-direction: row;
    font-size: 16px;
    font-weight: 700;
    cursor:pointer;
}
.action-button:last-child{
    background-color: rgba(109, 109, 110, 0.7);
    color:white;
}
.banner_fadeBottom{
    height: 120px;
    background:linear-gradient(180deg,
        transparent,
        rgba(37,37,37,.61),
        #141414
    ); 
    position: absolute;
    left:0;
    bottom: 0;
    width: 100%;
}


#recommendations-container {
    display: none; /* Initially hide the container */
}
#recommendations-container:empty {
    display: none; /* Hide the container when it's empty */
}
#recommendations-container:not(:empty) {
    display: grid; /* Show the container when it has content */
}
#recommendations-container {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Dynamic grid layout */
    gap: 16px; /* Space between items */
    max-height: 80vh; /* Scrollable area */
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background */
    border-radius: 10px;
    color: white; /* Text color */
    margin: auto;
    width: 90%; /* Adjust as needed */
}


.recommended-movie {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.1); /* Slight background */
    border-radius: 8px;
    transition: transform 0.2s;
}

.recommended-movie img {
    width: 100%; 
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.recommended-movie:hover {
    transform: scale(1.05); /* Slight zoom on hover */
}

.black-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Black with opacity */
    z-index: 1;
    display: none; /* Hidden by default */
}

.hide-banner {
    display: none; /* Hides the banner section */
}





/* RESPONSIVE CSS */

@media (max-width: 768px) {
    #recommendations-container {
        justify-content: center;
    }

    .recommended-movie {
        width: 150px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .recommended-movie {
        width: 120px;
        height: 200px;
    }
}

@media (max-width:767px) {
    .main-nav{
        display: none;
    }
    .banner__overview, .banner__title{
        max-width: 100%;
    }
}