/* General Reset */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

header, .video-background, footer {
  flex: 1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Header Image */
.header-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  z-index: -1; /* Ensures the image stays in the background */
  opacity: 0.8; /* Adjust transparency (1 for fully opaque, 0 for fully transparent) */
}
p {
  line-height: .6; /* Adjusts line height to reduce space between lines */
}
p1 {
  line-height: 2.6; /* Adjusts line height to reduce space between lines */
}
/* Font Imports */
@font-face {
  font-family: 'TT Chocolates DemiBold';
  src: url('../fonts/TTChocolates-DemiBold.woff2') format('woff2');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'TT Chocolates Medium';
  src: url('../fonts/TTChocolates-Italic.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

body {
  position: relative;
  font-family: 'TT Chocolates Medium';
  min-height: 100vh;
  color: #333;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/BG_IMAGE3.jpg') center/cover no-repeat;
  opacity: 0.8; /* Adjust transparency */
  z-index: -1; /* Places it behind all content */
}

/* Override background for index page only */
body.index-page::before {
  background: url('../images/VIVEK-SRIKUMAR.JPG') center/cover no-repeat;
  opacity: 1; /* you can adjust */
}

/* Header */
header {
  text-align: center;
  padding: 100px 20px; /* Increased padding */
  background-color: transparent;
  max-width: 90%;
  margin: 0 auto;
  word-wrap: break-word;
  color: white;
  position: relative;
}

header h1, header h2, header p:first-of-type {
  font-family: 'TT Chocolates DemiBold';
  text-transform: uppercase;
}

header h1 {
  font-size: 3.2em; /* Slightly bigger */
  margin-bottom: 15px;
}

header h2 {
  font-size: 2em;
  margin-bottom: 10px;
}

header p {
  font-size: 1.2em;
  line-height: 1.5em;
  margin-bottom: 20px;
  margin: 10px 0;
}

header img {
  width: 12%;
  height: auto;
  display: block;
  margin-left: auto;  /* Automatically pushes the image to the right */
  margin-right: auto;    /* Ensures no extra space on the right */
}
/* Social Media Icons */
header .social-links {
  position: absolute;
  top: 15px;
  right: 25px;
  display: flex;
  gap: 15px;
}

header .social-links a img {
  width: 30px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

header .social-links a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* Video Background */
.video-background {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.video-background video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.video-background .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
}

.video-background .content h1 {
  font-family: 'TT Chocolates DemiBold';
  font-size: 4.5em;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.video-background .content h2 {
  font-family: 'TT Chocolates Medium';
  font-size: 2.5em;
  margin-top: 10px;
}

.video-background .content a {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background-color: #f39c12;
  color: white;
  font-size: 1.3em;
  text-transform: uppercase;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.video-background .content a:hover {
  background-color: #e67e22;
}

/* Video Fallback */
.no-video {
  display: none;
}

/* Hides the video background, Unhide if needed */
.video-background {
  display: none; /* Hides the video background */
}

@media (max-width: 768px) {
  .video-background video {
    display: none;
  }
  
  .no-video {
    display: block;
    width: 100%;
    height: 100vh;
    background: url("../images/SHOWREEL_IMAGE.jpg") center/cover no-repeat;
  }
}

/* Film Grid */
.film-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
  justify-items: center;
  margin-top: 30px;
}

.film {
  position: relative;
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
}

.film img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 5px;
}

.film:hover {
  transform: scale(1.05);
}

.film h3 {
  font-family: 'TT Chocolates DemiBold';
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  font-size: 1.5em;
  color: white;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.know-more-text {
  display: flex;
  justify-content: center; /* Horizontally centers the text */
  align-items: center; /* Vertically centers the text */
  text-align: center; /* Ensures the text itself is centered */
  width: 70%; /* Ensure the container spans the full width */
}

.links {
  position: relative; /* Prevents abrupt movement */
  display: flex;
  justify-content: center;
 /* gap: 10px; /* Adjust spacing */
  margin-top: 20px; /* Ensure proper spacing */
  transition: all 0.3s ease-in-out; /* Smooth movement */
  background: rgba(0, 0, 0, 0.4); /* More transparency */
  padding: 10px 15px; /* More padding on top/bottom, less on sides */
  border-radius: 10px;
  /*max-width: 70%; /* Makes the black layer shorter from left & right */
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  flex-wrap: wrap; /* So buttons stack/wrap nicely on smaller screens */
}


/* Base styling for buttons */
.links .btn {
  position: relative;
  display: inline-block;
  margin: 10px;
  padding: 15px 30px;
  font-size: 1.1em;
  color: white;
  background-color: black;
  text-decoration: underline;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* Hover scale effect */
.links .btn:hover {
  transform: scale(1.05);
}

/* Overlay text on hover using pseudo-element */
.links .btn::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 1em;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}

/* Show overlay on hover */
.links .btn:hover::after {
  opacity: 1;
}

footer {
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 20%, rgba(0, 0, 0, 0) 100%);
  color: white;
  text-align: center;
  position: relative;
  margin-top: auto; /* Ensures it stays at the bottom */
}

footer .social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

footer .social-links a img {
  width: 40px;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

footer .social-links a:hover img {
  transform: scale(1.2);
}

footer p {
  font-family: 'TT Chocolates Medium';
  margin-top: 15px;
  font-size: 1em;
}

footer a {
  color: white;  /* Link color */
  text-decoration: none;  /* Remove underline */
}

footer a:hover {
  color: #f39c12;  /* Hover color */
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
  header h1 {
    font-size: 2.5em;
  }

  header h2 {
    font-size: 1.6em;
  }

  .category h3 {
    font-size: 2em;
  }

  .film-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

.category {
  margin-left: 50px;
  margin-right: 50px;
}

.directed-title {
  font-size: 3.2em;
  margin-top: 0;
  color: white;
}

/* Style for the Watch Full Film section */
.watch-full-film-heading {
  font-size: 2.5em; /* Increase font size */
  color: #fff; /* White text */
  text-align: center; /* Center the heading */
  margin-bottom: 20px;
  font-family: 'Arial', sans-serif; /* Elegant font */
}

/* Style for the Watch on YouTube button */
.watch-full-film-btn {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1.5em;
  background-color: #958584; /* Eye-catching color */
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 50px; /* Rounded corners */
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth hover effects */
}

.watch-full-film-btn:hover {
  background-color: #ff3d30; /* Slightly darker color on hover */
  transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Add some space above the section for breathing room */
.watch-full-film-btn {
  margin-top: 20px;
}

/* Contact Info Section Styling */
.contact-info {
  font-family: 'TT Chocolates Medium';
  text-align: center;
  padding: 40px 20px;
  background-color: rgba(34, 34, 34, 0.4); /* Dark background for contrast */
  color: #fff; /* White text */
  flex-grow: 1; /* To make sure the section takes available space */
}

.contact-info h3 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #efefef; /* Golden color for title */
}

.contact-info p {
  font-size: 1.2em;
  line-height: 1.8em;
  margin: 10px 0;
  color: #c0c0c0;
}

.contact-info a {
  color: #f2f2f2; /* Golden link color */
  text-decoration: none;
}

.contact-info a:hover {
  color: #ffffff; /* Slightly darker golden for hover effect */
  text-decoration: underline;
}


.imdb-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 1.2em;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5em; 
  margin-bottom: 30px;
  text-decoration: underline;
  }

  .scroll-down-indicator {
    position: fixed;
    right: 20px;
    bottom: 40px;
    font-size: 4em;
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
    z-index: 10;
    cursor: pointer;
  }
  
  /* Bouncing animation */
  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(10px);
    }
  }

@media screen and (max-width: 480px) {
  header h1 {
    font-size: 2em;
  }

  header h2 {
    font-size: 1.4em;
  }

  header p {
    font-size: 1em;
  }

  .category h3 {
    font-size: 1.8em;
  }

  .film-grid {
    grid-template-columns: 1fr;
  }

  .film-poster {
  position: relative;
  overflow: hidden;
}

.film-poster img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 1.5em;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px 20px;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.film:hover .hover-text {
  opacity: 1;
}

.film:hover img {
  transform: scale(1.05);
}


}