* {
  margin: 0;
  padding: 0;
  font-family: 'Libre Bodoni', serif;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #000000;
  color: #fff;
  min-height: 100vh;
  font-size: clamp(14px, 1.2vw, 18px);
}

/* HEADER */
#header {
  position: relative;
  width: 100%;
  height: 100vh; /* 👈 KEY FIX */
  overflow: hidden;
}

#header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;              /* 👈 ADD THIS */
  pointer-events: none;    /* 👈 ADD THIS (CRITICAL) */
}

.wrapper {
  padding-top: 0;
}

.video-container {
  position: absolute;
  inset: 0;
}

.back-video {
  position: absolute;

  top: 80px;      /* 👈 move DOWN (adjust this number) */
  left: 0;
  width: 100%;
  height: calc(100% + 40px); /* 👈 prevents empty gap at bottom */

  object-fit: cover;
  z-index: 0;
}

/* OPTIONAL CONTENT CONTAINER */
.container {
  padding: 0 10%;
}

/* NAVBAR */
nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
  background: #000;
}

.logo {
 width: 400px;
}

nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 30px;
  position: relative;
}

nav ul li a::after {
  content: '';
  width: 0;
  height: 3px;
  background: #b3160d;
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav ul li a:hover::after {
  width: 100%;
}

/* HEADER TEXT */
.header-text {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 10%;
  max-width: 800px;
}

.header-text h1 {
  font-size: 60px;
  margin-top: 20px;
}

.header-text h1 span {
  color: #b3160d;
}


/* -------------about------------ */
#about{
    padding: 30px 0;
    color: #ababab;
}
.row{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.about-col-1{
    flex-basis: 40%;
}
.about-col-1 img{
    width: 100%;
    border-radius: 15px;
}
.about-col-2{
    flex-basis: 55%;
}
.sub-title{
    font-size: 60px;
    font-weight:600;
    color: #fff;
    line-height: 1.6;
    justify-content: center;
    align-items: center; 
}
.trailer-title{
    font-size: 60px;
    font-weight:600;
    color: #fff;
    line-height: 1.6;
    align-items: center;
    text-align: center; 
}
.tab-titles{
    display: flex;
    margin: 20px 0 40px;
}
.tab-links{
    margin-right: 50px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
}
.tab-links::after{
    content: '';
    width: 0;
    height: 3px;
    background: #d3160d;
    position: absolute;
    left: 0;
    bottom: -8px;
    transition: 0.5s;
}
.tab-links.active-link::after{
    width:50%
}
.tab-contents ul li{
    list-style: none;
    margin: 10px 0;
}
.tab-contents ul li span{
    color: #d3160d;
    font-size: 14px;
}
.tab-contents {
    display: none;
}

.tab-contents.active-tab {
    display: block;

}

/* ----------------services--------------- */
#services{
    padding: 30px 0;
}
.services-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.services-list div{
    background: #262626;
    padding: 40px;
    font-size: 13px;
    font-weight: 300;
    border-radius: 10px;
    transition: background 0.5s, transform 0.5s;
}
.services-list div i{
    font-size: 50px;
    margin-bottom: 30px;
}
.services-list div h2{
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 15px;
}
.services-list div a{
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    margin-top: 20px;
    display: inline-block;
}
.services-list div:hover{
    background: #d3160d;
    transform: translateY(-10px);

}

/*------------------Parallax 2---------------------------------*/
.parallax-2 {
    position: relative;
    min-height: 50vh;
    margin-top: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 0; /* ✅ FIXED */
}

/* --------trailer------ */
#trailer{
    padding: 50px 0;
}



.divider {
    padding-top: 15px;
    border-bottom: 1px solid #d3160d;
    margin: 2px 0;
  }

.video-container-right > div {
    display: flex;
    justify-content: center;
    width: 100%;
}
  .heading-left{
    margin-right: 20px;
    margin-top: -150px;
    margin-bottom: 10px;
    margin-left: 150px;
    color: #d3160d;
  }
  .text-left{
    margin-right: 20px;
    margin-top: 10px;
    margin-left: 150px;
    line-height: 1.6;
  }
.video1 {
    width: 100%;
    max-width: 700px; /* keeps it from getting too large */
    height: auto;
    display: block;
    padding-bottom: 120px; /* optional extra space below text */
}


  .video-container-left{
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-direction: row-reverse;
  }
.heading-right{
    margin-right: 20px;
    margin-top: -150px;
    margin-bottom: 10px;
    margin-left: 50px;
    color: #d3160d;
  }
  .text-right{
    margin-right: 20px;
    margin-top: 10px;
    margin-left: 50px;
    line-height: 1.6;
  }
  .video2{
    flex-shrink: 0;
  }





  
.work-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    grid-gap: 40px;
    margin-top: 50px;
}
.work{
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}
.work img{
    width: 100%;
    border-radius: 10px;
    display: block;
    transition: transform 0.5s;
}
.layer{
    width: 100%;
    height: 0;
    background: linear-gradient(rgba(0,0,0,0.6), #d3160d);
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    font-size: 14px;
    transition: height 0.5s;
}
.layer h3{
    font-weight: 500;
    margin-bottom: 20px;
}
.layer a{
    margin-top: 20px;
    color: #d3160d;
    text-decoration: none;
    font-size: 18px;
    line-height: 60px;
    background: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
}
.work:hover img{
    transform: scale(1.1);
}
.work:hover .layer{
    height: 100%;
}
.btn{
    display: block;
    margin: 50px auto;
    width: fit-content;
    border: 1px solid #d3160d;
    padding: 14px 50px;
    border-radius: 6px;
    text-decoration: none;
    color: #fff;
    transition: background 0.5s;
}
.btn:hover{
    background: #d3160d;
}

/*------------------Parallax---------------------------------*/
.parallax {
    position: relative;
    min-height: 50vh;
    margin-top: -40px; /* pull it upward slightly */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 60px 0; /* 👈 adds space above and below */
}

.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;

    background-position: center 40%; /* 👈 moves image DOWN */

    transform: scale(1.3);
}

.parallax        .parallax-bg { background-image: url('images/experience-the-mystery.jpg'); }
.parallax-2      .parallax-bg { background-image: url('images/Flashlight.png'); }
.parallax-3      .parallax-bg { background-image: url('images/Murder.png'); }

/* Individual vertical positioning */
.parallax .parallax-bg {
    background-position: center 25%; /* 👈 adjust this */
}

.parallax-2 .parallax-bg {
    background-position: center 40%; /* 👈 different value */
}

.parallax-3 .parallax-bg {
    transform: translateX(40px) scale(1.3); /* keep horizontal & scale */
    background-position: center 15%; /* 👈 move background image slightly downward */
}

.parallax-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    transform: translateY(10px) scale(1.2);
}

.parallax-text h2 {
    font-size: clamp(32px, 5vw, 40px);
    letter-spacing: 2px;
}

/*------------------Watch---------------------------------*/

.btn.btn3{
    display: block;        /* 👈 change this */
    margin: 30px auto;     /* 👈 ensures centering */
    background: #d3160d;
    text-align: center;
}

/*------------------Parallax 3---------------------------------*/
.parallax-3 {
    position: relative;
    min-height: 40vh;
    margin-top: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 100px 0; /* ✅ FIXED */
}

.parallax-logo {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    transform: translateY(10px);

}

.parallax-logo img {
    width: clamp(300px, 35vw, 2000px); /* 👈 bigger logo */
    height: auto;
    display: block;
    margin: 0 auto;
}

.parallax-logo-3 h2 {
    font-size: clamp(32px, 5vw, 40px);
    letter-spacing: 2px;
}


/*------------------contact---------------------------------*/
section, 
#about, 
#trailer, 
#watch,
#contact {
  padding: 60px 10%;
}

#trailer {
    padding: 120px 10% 60px; /* top 120px, right/left 10%, bottom 60px */
}

#watch {
    padding: 100px 10%; /* top 100px, bottom 100px (default) */
}

.contact-left{
    flex-basis: 35%;
}
.contact-right{
    flex-basis: 60%;
}
.contact-left p{
    margin-top: 30px;
}
.contact-left p i{
    color: #d3160d;
    margin-right: 15px;
    font-size: 25px;
}
.social-icons{
    margin-top: 30px;
}
.social-icons a{
   text-decoration: none;
   font-size: 50px;
   margin-right: 15px;
   color: #ababab;
   display: inline-block; 
   transition: transform 0.5s;
}
.social-icons a:hover{
    color: #d3160d;
    transform: translateY(-5px);
}
.btn.btn2{
    display: inline-block;
    background: #d3160d;
}
.contact-right form{
    width: 100%;
}
form input, form textarea{
    width: 100%;
    border: 0;
    outline: none;
    background: #262626;
    padding: 15px;
    margin: 15px 0;
    color: #fff;
    font-size: 18px;
    border-radius: 6px;
}
form .btn2{
    padding: 14px 60px;
    font-size: 18px;
    margin-top: 20px;
    cursor: pointer;
}
.copyright{
    width: 100%;
    text-align: center;
    padding: 25px 0;
    background: #262626;
    font-weight: 300;
    margin-top: 20px;
}

.sub-title,
.trailer-title {
  font-size: clamp(32px, 5vw, 60px);
}

/* ---------- CREDITS (IMDb STYLE - 2 COLUMN) ---------- */

.credits-section {
  margin-top: 40px;
  max-width: 600px;
  display: grid;
  grid-template-columns: 1fr 2fr; /* LEFT = role, RIGHT = names */
  gap: 20px 30px;

  align-items: start;
}

/* Each credit group becomes "row-like" */
.credit-block {
  display: contents; /* 🔥 KEY: lets h3 + p act as grid columns */
}

/* LEFT COLUMN (Roles) */
.credit-block h3 {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #d3160d;
  text-align: left;
}

/* RIGHT COLUMN (Names) */
.credit-block p {
  font-size: 16px;
  line-height: 1.8;
  color: #e0e0e0;
}

/* Optional divider for clean separation */
.credit-block p {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 10px;
}

/*-------------------------css for small screen------------------- */
nav .fas{
    display: none;
}

@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
}

@media only screen and (max-width: 600px){
    nav {
    padding: 10px 5%;
  }

  .logo {
    width: 160px;
  }
    
    #header{
    height: 60vh; /* or 70vh depending on your taste */
    }

  .video-container-right {
    flex-direction: column;
    gap: 20px;
  }

  .video1 {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .logo {
    width: 230px;
  }

.credits-section {
  grid-template-columns: 1fr; /* stack on mobile */
}

.credit-block {
  display: block;
  margin-bottom: 20px;
}

.credit-block h3 {
  margin-bottom: 5px;
}

.credit-block p {
  border-bottom: none;
}

  .container {
    padding: 0 5%;
  }

    .header-text{
        font-size: 16px;
    }
    .header-text h1{
        font-size: 30px;
    }
    
    nav .fas{
        display: block;
        font-size: 25px;
    }
    nav ul{
        background: #d3160d;
        position: fixed;
        top: 0;
        right: -200px;
        width: 200px;
        height: 100vh;
        padding-top: 50px;
        z-index: 2;
        transition: right 0.5s;
    }
    nav ul li{
        display: block;
        margin: 25px;

    }
    nav ul .fas{
        position: absolute;
        top: 25px;
        left: 25px;
        cursor: pointer;
    }
    
    .sub-title{
        font-size: 40px;
    }
    .about-col-1, .about-col-2{
        flex-basis: 100%;
    }
    .about-col-2{
        font-size: 12px;
    }
    .tab-links{
        font-size: 16px;
        margin-right: 20px;
    }
    .contact-left, .contact-right{
        flex-basis: 100%;
    }
    .copyright{
        font-size: 14px;
    }
}
#msg{
    color: #61b752;
    margin-top: -40px;
    display: block;
}