header {
    background-color: #1f1f1f; /* Matches cinematic palette */
    padding: 15px 0;
    border-bottom: 3px solid #D46A39; /* Cinematic orange accent */
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav ul li {
    display: inline-block;
    margin: 0 15px;
}

header nav ul li a {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #D46A39; /* Cinematic orange on hover */
}

.video-header {
    position: relative;
    height: 75vh;
    overflow: hidden;
}

.video-header video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: brightness(0.6); /* Dark overlay for better readability */
}

.navigation-overlay {
    position: absolute;
    top: 20px;
    width: 100%;
    text-align: center;
    z-index: 2;
}

.navigation-overlay ul {
    padding: 0;
    margin: 0;
}

.navigation-overlay ul li {
    display: inline-block;
    margin: 0 15px;
}

.navigation-overlay ul li a {
    color: #ffffff;
    font-size: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navigation-overlay ul li a:hover {
    color: #D46A39;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    padding: 0 20px;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body {
    font-size: 16px;
    color: #eaeaea;
    background-color: #121212;
    line-height: 1.6;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px; /* Ensures space below video */
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.btn-primary {
    display: inline-block;
    background-color: #D46A39;
    color: #fff;
    padding: 12px 30px;
    text-align: center;
    border-radius: 4px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    width: 100%;
    max-width: 560px;
    box-sizing: border-box;
    margin-top: 20px;
}

.btn-primary:hover {
    background-color: #c15f32;
}

.film-header {
    padding: 120px 20px;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), 
                url('film-header-bg.jpg') no-repeat center center/cover;
    color: #eaeaea;
}

.swiper-container {
  position: relative; /* crucial for correct button positioning */
  width: 100%;
  max-width: 900px;
  margin: auto;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
}

.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%; /* vertically centers arrows */
  transform: translateY(-50%);
  z-index: 10; /* ensures visibility over slides */
  color: #ffffff; /* bright arrow color */
  background-color: rgba(0, 0, 0, 0.4); /* subtle transparent bg for better visibility */
  padding: 10px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.swiper-button-prev {
  left: 10px; /* positions left arrow */
}

.swiper-button-next {
  right: 10px; /* positions right arrow */
}

.portfolio-item, .film-details, .cast-crew, .trailer, .press-kit {
    background: #1f1f1f;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: box-shadow 0.3s ease;
}

.portfolio-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
