.movie-page-container {
    font-family: Arial, sans-serif;
    color: #fff;
}

.movie-header {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.movie-overlay {
    background: rgba(0, 0, 0, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    padding-left:100px;
    align-items: center;
    justify-content: left;
    color:#fff;
}

.movie-details {
    display: flex;
    align-items: center;
    gap: 20px;
    
}

.movie-poster {
    width: 200px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.movie-text {
    text-align: left;
    padding:0 0 0 40px!important;
    
    
}

.movie-title {
    font-family: "Alata", Sans-serif;
    font-size: 40px;
    font-weight:700;
    line-height:42px;
    color:#fff!important;
    margin-bottom:5px!important;
    
}

.movie-release-date {
    font-size: 16px;
   font-family: "Alata", Sans-serif;
   font-weight:500;
    background-color: #FFFFFF08; 
    border-left: 8px solid red; 
    color: white; 
    padding: 8px 10px 8px 10px; 
    display: inline-block; 
    margin-bottom:8px;
}

.watch-trailer-button {
    display: inline-flex; 
    align-items: center; 
    background-color: none; 
    font-family: "Alata", Sans-serif;
    color: #fff; 
    padding: 10px 20px 8px 10px;
    text-decoration: none;
    font-size:18px;
    border: 2px solid white; 
    border-radius: 50px;
    font-weight: 400;
    transition: all 0.3s; 
    margin:0!important;
}

.watch-trailer-button:hover {
    background-color: transparent; 
    box-shadow: 0 0 10px white; 
    color:#fff;
}

/* Add a movie icon on the right */
.watch-trailer-button i {
    /*margin-top:5px;*/
    margin-right: 10px!important; 
    font-size: 32px; 
    color: #FF0000; 
}


.movie-storyline-container {
    background: #121212;
    padding: 50px 100px 0px 100px;

    text-align: left;
    color:#fff;
    
}

.storyline-header {
    font-size: 28px;
    color:#fff!important;
   font-family: "Alata", Sans-serif;
   font-weight:600;
    background-color: #FFFFFF08; 
    border-left: 8px solid red; 
    padding: 8px 10px 8px 10px; 
   
}

.movie-storyline {
    font-size: 18px;
    margin:0!important;
}


.movie-booking-container {

    padding: 20px 100px;
   background: #121212;
text-align:left;
}

.booking-header {
     font-size: 28px;
    color:#fff!important;
   font-family: "Alata", Sans-serif;
   font-weight:600;
    background-color: #FFFFFF08; 
    border-left: 8px solid red; 
    padding: 8px 10px 8px 10px; 
    margin-bottom:8px;
}
.movie-booking-container .form-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    margin-bottom: 15px;
}

.movie-booking-container .form-group > div {
    flex: 1 1 calc(50% - 15px); 
    box-sizing: border-box;
    margin-bottom: 15px;
    margin-right:15px;
}

.movie-booking-container  label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #fff;
}
.movie-booking-container .form-group input,
.movie-booking-container .form-group select {
    width: 100%;
    height:55px!important;
    padding:10px; 
    border: 1px solid #555; 
    border-radius: 4px; 
    background-color: #000; 
    color: #fff; 
    font-size: 16px; 
    box-sizing: border-box; 
    
}

.movie-booking-container .form-group input:active,
.movie-booking-container .form-group select:active {
    width: 100%;
    height:55px!important;
    padding:10px; 
    border: 1px solid #555; 
    border-radius: 4px; 
    background-color: #000; 
    color: #fff; 
    font-size: 16px; 
    box-sizing: border-box; 
}


.movie-booking-container input:hover,
.movie-booking-container select:hover {
    border-color: #0073aa; 
}


.movie-booking-container .form-group input:focus,
.movie-booking-container .form-group select:focus {
    border-color: #0073aa; 
    outline: none; 
    box-shadow: 0 0 5px rgba(0, 115, 170, 0.5); 
}


.movie-booking-container .form-group input::placeholder,
.movie-booking-container .form-group select::placeholder {
    color: #888; 
}


.movie-booking-container .form-group input:disabled,
.movie-booking-container .form-group select:disabled {
    background-color: #f5f5f5; }

 


.payment-info {
    margin: 15px 0;
    color: #555;
    font-style: italic;
}

.book-now-button {
    background-color: #e50914;
    color: white;
    padding: 15px 20px;
    border: none;
    border-radius: 0;
    font-size: 1rem;
    cursor: pointer;
    width: 10%;
}

.book-now-button:hover {
    background-color: #b00710;
}

.booking-success {
    color: green;
    text-align: center;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .movie-header {
         height:auto;
     
    }

    .movie-overlay {
        
        padding: 20px;
        align-items: left;
        text-align: left;
    }
    .movie-details{
        flex-direction:column;
        align-items:start;
        
    }

    .movie-poster {
        width: 100%; /* Reduce poster size */
        margin-bottom: 10px;
    }

    .movie-text {
        padding:0!important;
        text-align: left;
    }

    .movie-title {
        font-size: 28px; /* Reduce title size */
        line-height: 32px;
    }

    .movie-release-date {
        font-size: 14px;
        padding: 5px 8px;
    }

    .watch-trailer-button {
        font-size: 16px;
        padding: 8px 16px;
    }

    .watch-trailer-button i {
        font-size: 24px; /* Reduce icon size */
    }

    .movie-storyline-container {
        padding: 20px; /* Reduce padding */
        text-align: justify;
    }

    .storyline-header {
        font-size: 24px;
    }

    .movie-storyline {
        font-size: 16px; /* Reduce font size */
        line-height: 1.4;
    }

    .movie-booking-container {
        padding: 20px; /* Reduce padding */
    }

    .booking-header {
        font-size: 24px;
    }

    .movie-booking-container .form-group {
        flex-direction: column; /* Stack fields vertically */
        gap: 15px;
    }

    .movie-booking-container .form-group > div {
        flex: 1 1 100%; /* Full width for inputs */
        margin-right: 0; /* Remove margin on the right */
    }

    .movie-booking-container input,
    .movie-booking-container select {
        height: 45px; /* Reduce input height */
        font-size: 14px; /* Smaller font size */
    }

    .book-now-button {
        width: 100%; /* Full width for the button */
        padding: 12px;
        font-size: 1rem;
    }

    .payment-info {
        font-size: 14px;
    }

    .booking-success {
        font-size: 16px;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .movie-title {
        font-size: 24px; /* Further reduce title size */
        line-height: 28px;
    }

    .movie-release-date {
        font-size: 12px;
        padding: 4px 6px;
    }

    .watch-trailer-button {
        font-size: 14px;
        padding: 6px 12px;
    }

    .watch-trailer-button i {
        font-size: 20px;
    }

    .storyline-header {
        font-size: 20px;
    }

    .movie-storyline {
        font-size: 14px;
        line-height: 1.3;
    }

    .movie-booking-container input,
    .movie-booking-container select {
        height: 40px;
        font-size: 12px;
    }

    .book-now-button {
        padding: 10px;
        font-size: 0.9rem;
    }
}
 /* slider for more movies */


.custom-movie-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    gap:15px;
}

.custom-movie-slide {
    flex: 0 0 49.5%; 
    /*padding-right: 15px;*/
    box-sizing: border-box;
}

.custom-movie-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.custom-movie-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s ease; 
}

.custom-movie-card:hover .custom-movie-image {
    transform: scale(1.1); 
}

.custom-movie-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height:100%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px;
    
    box-sizing: border-box;
}

.custom-movie-title {
    font-family: "Alata", Sans-serif;
    margin-top: 25px;
    margin-left: 20px;
    border-left: 8px solid red;
    padding-left:10px;
    font-size: 42px!important;
    position: relative;
    display: inline-block; 
    color: white!important;
    transition: color 0.3s ease; 
}

.custom-movie-title::before {
    content: '';
    position: absolute;
    height: 2.5px;
    width: 0;
    background: red;
    bottom: 0;
    left: 0; /* Line starts from the left */
    transition: width 0.3s ease;
}


.custom-movie-title:hover::before {
    width: 100%; /* Expand the line fully on hover */
}

.custom-movie-prev,
.custom-movie-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    border: none;
    padding: 10px;
    border-radius: none!important;
    cursor: pointer;
    z-index: 10;
}

.custom-movie-prev {
    left: -50px;
}

.custom-movie-next {
    right: -50px;
}

.custom-movie-prev:hover,
.custom-movie-next:hover {
    background: rgba(43, 45, 66, 0.5);
}
/* Mobile-specific styles */
@media (max-width: 480px){
     .custom-movie-title {
        font-size: 18px !important; /* Smaller font for mobile */
        position: relative;
        margin: 0; /* Center the title */
        color: white !important;
        transition: color 0.3s ease;
        display: block;
    }
}
@media (max-width: 768px) {
    .custom-movie-slider {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        position: relative;
        width: 100%;
    }

    .custom-movie-slide {
        flex: 0 0 100%; /* Show one item at a time */
        padding: 10px; /* Adjust spacing */
        box-sizing: border-box;
    }

    .custom-movie-card {
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        width: 100%; /* Full width for mobile */
    }

    .custom-movie-image {
        width: 100%;
        height: 250px; /* Fixed height for mobile */
        object-fit: cover; /* Ensures the image covers the container */
        border-radius: 10px;
        display: block;
        transition: transform 0.5s ease;
    }

    .custom-movie-card:hover .custom-movie-image {
        transform: scale(1.1);
    }

    .custom-movie-overlay {
        position: absolute;
        bottom: 0;
        width: 100%;
        height: 100%; /* Full overlay on image */
        background: rgba(0, 0, 0, 0.5);
        color: white;
        display: flex;
        align-items: flex-end; /* Align text to the bottom */
        padding: 10px;
        box-sizing: border-box;
    }

    .custom-movie-title {
        font-size: 18px !important; /* Smaller font for mobile */
        position: relative;
        margin-top: 250px; /* Center the title */
        color: white !important;
        transition: color 0.3s ease;
        display: block;
    }

    .custom-movie-title::before {
        content: '';
        position: absolute;
        height: 2px;
        width: 0;
        background: white;
        bottom: -2px;
        left: 0;
        transition: width 0.3s ease;
    }

    .custom-movie-title:hover::before {
        width: 100%;
    }

    .custom-movie-prev,
    .custom-movie-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5); /* Slight background for better visibility */
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 10;
    }

    .custom-movie-prev {
        left: 10px; /* Adjust position for mobile */
    }

    .custom-movie-next {
        right: 10px; /* Adjust position for mobile */
    }

    .custom-movie-prev:hover,
    .custom-movie-next:hover {
        background: rgba(43, 45, 66, 0.8);
    }
}

@media screen and (max-width: 1024px) { /* 100% screen width */
    .custom-movie-title {
        font-size: 24px;
         margin-top: 150px;
    }

    .custom-movie-overlay {
        padding: 8px;
    }

    .custom-movie-image {
        height: 220px;
    }
}

@media screen and (max-width: 1126px) { /* 110% screen width */
    .custom-movie-title {
        font-size: 22px;
         margin-top: 180px;
    }

    .custom-movie-overlay {
        padding: 10px;
    }

    .custom-movie-image {
        height: 250px;
    }
}

@media screen and (max-width: 1228px) { /* 120% screen width */
    .custom-movie-title {
        font-size: 20px;
         margin-top: 25px;
    }

    .custom-movie-overlay {
        padding: 12px;
    }

    .custom-movie-image {
        height: 280px;
    }
}

@media screen and (max-width: 1330px) { /* 130% screen width */
    .custom-movie-title {
        font-size: 22px;
         margin-top: 25px;
    }

    .custom-movie-overlay {
        padding: 14px;
    }

    .custom-movie-image {
        height: 300px;
    }
}

/* coming soon slider */

.coming-movie-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    gap:15px;
}

.coming-movie-slide {
    flex: 0 0 49.5%; 
    /*padding-right: 15px;*/
    box-sizing: border-box;
}

.coming-movie-prev,
.coming-movie-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    border: none;
    padding: 10px;
    border-radius: none!important;
    cursor: pointer;
    z-index: 10;
}

.coming-movie-prev {
    left: -50px;
}

.coming-movie-next {
    right: -50px;
}

.coming-movie-prev:hover,
.coming-movie-next:hover {
    background: rgba(43, 45, 66, 0.5);
}

@media (max-width: 768px) {
    .coming-movie-slider {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        position: relative;
        width: 100%;
    }

    .coming-movie-slide {
        flex: 0 0 100%; /* Show one item at a time */
        padding: 10px; /* Adjust spacing */
        box-sizing: border-box;
    }


    .coming-movie-prev,
    .coming-movie-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5); /* Slight background for better visibility */
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 10;
    }

    .coming-movie-prev {
        left: 10px; /* Adjust position for mobile */
    }

    .coming-movie-next {
        right: 10px; /* Adjust position for mobile */
    }

    .coming-movie-prev:hover,
    .coming-movie-next:hover {
        background: rgba(43, 45, 66, 0.8);
    }
}

/* Last Shown slider */

.last-movie-slider {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    gap:15px;
}

.last-movie-slide {
    flex: 0 0 49.5%; 
    /*padding-right: 15px;*/
    box-sizing: border-box;
}

.last-movie-prev,
.last-movie-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: white;
    border: none;
    padding: 10px;
    border-radius: none!important;
    cursor: pointer;
    z-index: 10;
}

.last-movie-prev {
    left: -50px;
}

.last-movie-next {
    right: -50px;
}

.last-movie-prev:hover,
.last-movie-next:hover {
    background: rgba(43, 45, 66, 0.5);
}

@media (max-width: 768px) {
    .last-movie-slider {
        display: flex;
        flex-direction: column; /* Stack items vertically */
        position: relative;
        width: 100%;
    }

    .last-movie-slide {
        flex: 0 0 100%; /* Show one item at a time */
        padding: 10px; /* Adjust spacing */
        box-sizing: border-box;
    }


    .last-movie-prev,
    .last-movie-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.5); /* Slight background for better visibility */
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 10;
    }

    .last-movie-prev {
        left: 10px; /* Adjust position for mobile */
    }

    .last-movie-next {
        right: 10px; /* Adjust position for mobile */
    }

    .last-movie-prev:hover,
    .last-movie-next:hover {
        background: rgba(43, 45, 66, 0.8);
    }
}


