/* General Styles */
body {
  font-family: 'Work Sans', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1.6;
  color: #333;
}



html {
  scroll-behavior: smooth;
}


h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  color: #222;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 80%;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  background: #333;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  height: 40px;
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
}

/* Hamburger Menu Button (Hidden on Desktop) */
.hamburger {
  display: none; /* Default: Hidden */
  font-size: 24px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}


.nav-links a:hover {
  color: #ff6f61;
}


/* Mobile Navbar */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* Show hamburger menu */
  }

  /* Hide the nav links by default */
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9); /* Dark transparent effect */
    text-align: center;
    padding: 20px 0;
    transition: all 0.3s ease-in-out;
  }

  /* Show menu when active */
  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 15px 0;
  }

  .nav-links a {
    font-size: 20px;
    display: block;
    padding: 10px;
  }
}

/* Banner Video */
.banner {
  display: flex;
  justify-content: center; /* Center content horizontally */
  align-items: center;
  padding: 50px 0; /* Space above and below */

}

.video-container {
  position: relative;
  width: 90%; /* Match the width of other sections */
  max-width: 90%; /* Same as .container */
  aspect-ratio: 16 / 9; /* Maintain 16:9 ratio */
  padding-right: 30px; /* Space above and below */

}

#banner-video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Ensures no cropping */
border-style: solid;
  border-color: #222820;
border-width: 15px;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
}

.btn {
  background: #ff6f61;
  color: #fff;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  margin: 0 10px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #e65a50;
}

/* About Me Section */
.about-section {
  padding: 5vh 0;
}

.about-content {
  display: flex;
  align-items: flex-start; /* Align items to the top */
  gap: 40px;
}

.about-image {

  flex: 1; /* Take up half of the container */
  max-width: 50%; /* Ensure the image does not exceed halfway horizontally */
  display: flex;
  justify-content: center; /* Center the image horizontally */
  align-items: flex-start; /* Align the image to the top */
}

.about-image img {
  width: 80%; /* Fill the container */
  max-height: 60vh; /* Ensure the image does not exceed 60% of the screen height */
  aspect-ratio: 3/4; /* Fixed aspect ratio (3:4 for portrait) */
  object-fit: cover; /* Ensures the image fills the container without stretching */
  border-radius: 10px;
}

.about-text {
  flex: 1; /* Take up the other half of the container */
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  color: #555;
}

/* What I Do Section */
.what-i-do-section {
  padding: 80px 0;
  background: #222820;

}

.what-i-do-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.what-i-do-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ececec;
  text-align: center;


}

.what-i-do-text p {
  font-size: 18px;
  color: #ececec;
  text-align: justify;

}

.what-i-do-images {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.what-i-do-images img {
  width: 30%; /* Adjust width as needed */
  height: 600px; /* Set a specific height for portrait orientation */
  object-fit: cover; /* Ensures the image fills the container without stretching */
  border-radius: 10px;
}

/* Recent Work Section */
.recent-work-section {
  padding: 80px 0;
}

.recent-work-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

/* Video Grid */
/* Recent Work Section */
.recent-work-section {
  padding: 80px 0;
}

.recent-work-section h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

/* Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Default: 3 columns */
  gap: 30px; /* SAME spacing for rows & columns */
  justify-content: center; /* Center items horizontally */
  place-content: center; /* Centers the whole grid vertically & horizontally */
  padding: 20px 0; /* Space above and below */
  max-width: 850px; /* Controls grid width, similar to Instagram */
  margin: 0 auto; /* Center the grid in the page */
}

/* Video Thumbnails - Always Square */
.video-thumbnail {
  position: relative; /* Needed for absolute positioning */
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure images fit inside square containers */
.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* Circular Play Button Overlay */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.6); /* Default dark transparent */
  color: white;
  font-size: 20px;
  padding: 15px;
  border-radius: 50%; /* Makes it circular */
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; /* Ensures a perfect circular shape */
  height: 30px; /* Same height as width */
}

/* Play Button Hover - Transparent Grey */
.play-button:hover {
  background: rgba(255, 255, 255, 0.2); /* Light transparent grey */
}



.recent-work-section .btn {
  display: block;
  margin: 40px auto 0;
  text-align: center;
}

/* Brand Carousel */
.brand-carousel {
  padding: 80px 0;
  background: #f9f9f9;
}

.brand-carousel h2 {
  font-size: 32px;
  margin-bottom: 40px;
  text-align: center;
}

.carousel {
  display: flex;
  overflow-x: auto;
  gap: 40px;
  padding-bottom: 20px;
}

.carousel img {
  height: 50px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.carousel img:hover {
  filter: grayscale(0%);
}

/* Contact Form */
.contact-section {
 background: #222820;
  padding: 80px 0;
}

.contact-section h2 {
  font-size: 50px;
  margin-bottom: 40px;
  text-align: left;
color:#ececec;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form input, .contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Work Sans', sans-serif;
  font-size: 6px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form button {
  background: #ff6f61;
  color: #fff;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #e65a50;
}

.contact-info {
  margin-top: 40px;
  text-align: left;
}

.contact-info p {
  font-size: 30px;
  color: #ececec;
}

/* Footer */
.footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px 0;
}

.footer p {
  margin: 0;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .about-content, .what-i-do-content {
    flex-direction: column;
  }


  .about-image img {
    width: 80%;
  }

  .what-i-do-images {
    flex-direction: column;
    align-items: center;
  }

  .what-i-do-images img {
    width: 80%;
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr); /* Switch to 2 columns */
    gap: 15px; /* SAME spacing as desktop */
    max-width: 400px; /* Keeps it centered & similar to Instagram */
  }

  .video-thumbnail {
    max-width: 180px; /* Reduce size slightly for mobile */
  }

  .carousel {
    gap: 20px;
  }
}


/* Play Showreel Button */
.play-showreel-btn {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(236, 236, 236, 0.6);
  color: #222820;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 20px;
  border-radius: 5px;
  transition: background 0.3s ease;
  z-index: 2;
}

.play-showreel-btn:hover {
color: #ececec;
  background: rgba(34, 40, 32, 0.9);
}

/* Fullscreen Close Button */
.exit-fullscreen-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 10px 20px;
  font-size: 18px;
  border: none;
  cursor: pointer;
  display: none; /* Initially hidden */
  z-index: 1000;
  border-radius: 5px;
}

.exit-fullscreen-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}


