/* General Styles */

html, body, .container, .hero, .hero-content {
	overflow-x: hidden; /* Prevent horizontal scrolling */
	scroll-behavior: smooth;
	}
	
body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
    background-color: #121212;
    line-height: 1.6;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2 {
    font-family: 'Oswald', sans-serif;
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Language switcher */
.language-switcher {
    display: flex;
    gap: 10px; /* Space between buttons */
    position: absolute; /* Adjust positioning as needed */
    top: 20px; /* Example positioning */
    right: 20px; /* Example positioning */
    z-index: 1000; /* Ensure it’s above other content */
}

.language-button {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.language-button:hover {
    background-color: #7A0205;
    color: #fff;
}

.language-button:active {
    background-color: #0056b3;
}


/* Hamburger Menu Icon */
.menu-icon {
    display: inline-block;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    transition: transform 0.5s ease;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #ffffff;
    margin: 6px 0;
    transition: 0.4s;
}

/* Rotate Bars to Create "X" */
.change .bar1 {
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: rotate(45deg) translate(-8px, -8px);
}

/* Hamburger Menu Icon */
.menu-icon {
    display: inline-block;
    cursor: pointer;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    transition: transform 0.5s ease;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #ffffff;
    margin: 6px 0;
    transition: 0.4s;
}

/* Rotate Bars to Create "X" */
.change .bar1 {
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: rotate(45deg) translate(-8px, -8px);
}

/* Side Menu Styles */
.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0;
    background-color: #121212;
    overflow-x: hidden;
    transition: 0.3s ease;
    padding-top: 60px;
}

/* Mobile Specific Adjustments */
@media screen and (max-width: 768px) {
    .side-menu {
        width: 0; /* Initially collapsed */
    }

    .side-menu.open {
        width: 100%; /* Full width on mobile */
    }

    .side-menu a {
        font-size: 1.8em;
        padding: 15px 25px;
    }

    .menu-icon {
        top: 15px;
        left: 15px;
    }

    .bar1, .bar2, .bar3 {
        width: 30px;
        height: 4px;
    }
}

.side-menu a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 1.5em;
    color: #ffffff;
    display: block;
    transition: 0.3s;
}

.side-menu a:hover{
    background-color: #C34127;
    color: #ffffff;
}

.side-menu .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2em;
}


/* Hero Section */
.hero {
    position: relative;
    color: #ffffff; /* Ensure text is readable */
}

/* Slideshow container */
.slideshow-container {
    position: relative;
    max-width: 100%;
    height: 100vh;
    margin: auto;
    overflow: hidden;
    z-index: 1;
}

/* Hide the images by default */
.slides {
    display: none;
    width: 100%; /* Ensure the slides container spans full width */
    height: 100%; /* Ensure the slides container spans full height */
    position: absolute;
    top: 0;
    left: 0;
}

/* Image within the slide */
.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures images cover the container while preserving aspect ratio */
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from { opacity: 0.4; } 
    to { opacity: 1; }
}

/* Hero Content Overlay */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    z-index: 2;
    width: 100%;
    padding: 0 20px; /* Optional padding */
}

.movie-logo {
    max-width: 100%;
    height: auto;
    width: 300px; /* Adjust the width according to your preference */
    margin-bottom: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .movie-logo {
        width: 250px; /* Adjust the width for smaller screens */
    }
}

@media (max-width: 480px) {
    .movie-logo {
        width: 200px; /* Further adjust the width for very small screens */
    }
}


.tagline {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 300;
    background-color: rgba(0, 0, 0, 0.3); /* Semi-transparent black background */
    text-shadow: 1px 1px #000;
}

/* Bold Text Styles */
.bold-text {
    font-weight: bold; /* Makes the text bold */
}

/* Italic Text Styles (optional) */
.italic-text {
    font-style: italic; /* Optional: italicizes the text */
}

.btn-primary, .btn-secondary {
    color: #ffffff; /* Ensure text is readable */
    padding: 15px 30px;
    font-size: 1.2em;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.7s ease;
    display: inline-block; /* Ensure buttons align correctly */
}

.btn-primary {
    box-shadow: 3px 4px 0px 0px #8a2a21;
    background-color: rgba(255, 0, 0, 0.7);
    border: 1px solid #d02718;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: scale(1.05); /* Slightly increase the size */
}

.btn-primary:hover {
    background-color: rgba(255, 0, 0, 0.9); /* Darker on hover */
}

.btn-secondary {
    box-shadow: 3px 4px 0px 0px #5c3e04;
    background-color: rgba(255, 124, 0, 0.7);
    border: 1px solid #865a06;
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: rgba(255, 124, 0, 0.9); /* Darker on hover */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .hero .btn-primary, .hero .btn-secondary {
        width: 100%; /* Make buttons full width on mobile */
        padding: 15px 20px; /* Reduce padding for smaller screens */
        font-size: 1.2rem; /* Slightly larger text for easier readability */
        margin: 10px 0; /* Adjust margin for better spacing */
        border-radius: 4px; /* Slightly reduce border-radius */
    }

    /* Center-align buttons on mobile */
    .hero-content {
        text-align: center;
    }
}
/* Synopsis Section */
.synopsis {
    padding: 60px 0;
    background-color: #1c1c1c;
}

.synopsis h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.synopsis h3 {
    font-size: 1.2em;
    color: #cccccc;
}

.synopsis p {
    font-size: 1.0em;
    color: #cccccc;
}

.synopsis p a {
    color: #EE4B2B;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .synopsis h2 {
        font-size: 1.5rem; /* Larger font size for h2 on mobile */
    }

    .synopsis h3 {
        font-size: 1.25rem; /* Larger font size for h3 on mobile */
    }

    .synopsis p {
        font-size: 1.125rem; /* Larger font size for paragraphs on mobile */
    }
}

/* Cast Section */
.cast {
    padding: 60px 0;
    background-color: #141414;
}

.cast h2 {
    font-size: 2em;
    margin-bottom: 20px;
}
.cast h3 {
    font-size: 1.5em;
    margin-bottom: 20px;
	font-family: 'Oswald', sans-serif;
}

.cast-list {
    list-style: none;
    padding: 0;
}

.cast-list li {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Trailer Section */
.trailer {
    padding: 60px 0;
    background-color: #1c1c1c;
}

.trailer h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
}

/* Make the trailer video responsive */
.trailer-video {
    text-align: center;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Aspect ratio 16:9 */
    overflow: hidden;
}

.trailer-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* Remove default iframe border */
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .trailer h2 {
        font-size: 1.5em;
    }

    .trailer-video {
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
    }
}

/* Poster Section */
.poster {
    padding: 60px 0;
    background-color: #1c1c1c;
}

.poster h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

.poster-content {
    text-align: center;
}

/* Media Queries for Big Container */
@media (min-width: 768px) {
.poster-image {
    max-width: 50%;
    height: auto;
    border: 0;
    margin-bottom: 20px;
}
}

/* Media Queries for Small Container */
@media (max-width: 768px) {
.poster-image {
    max-width: 85%;
    height: auto;
    border: 0;
    margin-bottom: 20px;
}
}

.poster-content p {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 20px;
}

.poster-content .btn-primary {
    margin: 0; /* Remove margin to align the button properly */


}

.poster-image{
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.poster-image:hover {
    transform: scale(1.05); /* Slight zoom */
    opacity: 0.9; /* Slight dimming */
}


/* Call to Action Section */
.call-to-action {
    background-color: #1c1c1c;
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
    margin-top: 60px;
}

.call-to-action h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.call-to-action p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 600px;
    margin: 0 auto;
}

.cta-btn {
    background-color: rgba(255, 0, 0, 0.7);
    border: 1px solid #d02718;
    padding: 15px 30px;
    font-size: 1.2em;
    color: #ffffff;
    border-radius: 5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.7s ease;
    display: inline-block;
    box-shadow: 3px 4px 0px 0px #8a2a21;
}

.cta-btn:hover {
    background-color: rgba(255, 0, 0, 0.9);
	transform: scale(1.05); /* Slightly increase the size */
}


/* Footer Section */
.footer {
    padding: 20px 0;
    background-color: #0d0d0d;
    text-align: center;
}

.footer p {
    margin: 0;
    font-size: 0.9em;
    color: #777777;
}

.epk-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 1em;
    margin-top: 10px;
    display: inline-block;
    transition: color 0.3s ease;
    float: left;
}

.epk-link:hover {
    color: #e50914;
}

.email-link {
    color: #ffffff;
    text-decoration: underline;
    font-size: 1em;
    margin-top: 10px;
    display: inline-block;
    transition: color 0.3s ease;
    float: right;
}

.email-link:hover {
    color: #e50914;
}

/* Small Container */
.small-container {
    width: 90%; /* Adjusts based on screen size */
    max-width: 500px; /* Maximum width */
    margin: 0 auto;
    padding: 0 20px; /* Optional padding */
}

/* Media Queries for Small Container */
@media (max-width: 768px) {
    .small-container {
        width: 95%; /* More width on smaller screens */
    }
}

@media (max-width: 480px) {
    .small-container {
        width: 100%; /* Full width on very small screens */
    }
}

/* Spinner Styles */
#loading-spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #CE0C0B;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide content initially */
#content {
    display: none;
}

