/* Main Styles affecting the whole Body of the page */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
   font-family: 'brother-1816', Arial, sans-serif;
	 background-color: #ffffff;
}

/* Navigation Bar Items */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: transparent;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  transition: background-color 0.3s ease; /* Add transition for smooth color change */
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background color when scrolled */
  backdrop-filter: blur(10px); /* Apply blur effect */
  -webkit-backdrop-filter: blur(10px); /* Apply blur effect for Safari */
}

.navbar img {
  max-width: 300px;
  height: auto;
}


.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: lighter; /* Change to lighter font weight */
  margin-right: 15px;
}


/* The Menu Triggered by hamburger in nav bar */

    #menuIcon, #closeIcon {
      cursor: pointer;
      width: 35px; /* Adjust the width of your icons */
      height: 35px; /* Adjust the height of your icons */
      z-index: 7;
		    position: fixed;
      top: 7px;
      right: 20px;
    }
    @keyframes moveBackground {
      0% {
        background-position: 0% 0%;
      }
      100% {
        background-position: 100% 100%;
      }
    }
    #overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(63, 163, 87, 0.9);
		  -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
      justify-content: center;
      align-items: center;
      z-index: 4;
		  text-align: center; /* Center-align the buttons */
  flex-direction: column; /* Arrange buttons vertically */
  align-items: center; /* Center-align the buttons horizontally */
		font-family: 'brother-1816', Arial, sans-serif;
    }

    #menu {
      color: #fff;
      text-align: center;
		font-family: 'brother-1816', Arial, sans-serif;
		
    }

    #menu a {
      display: block;
      padding: 15px;
      text-decoration: none;
      color: #fff;
      font-size: 18px;
		font-family: 'brother-1816', Arial, sans-serif;
    }

    #closeIcon {
      position: absolute;
      top: 7px;
      right: 20px;
      display: none;
      z-index: 7;
    }

    #overlay #menu .menu-btn {
      background: none; /* Remove the background */
      color: white; /* Default text color */
      border: none; /* Remove border */
      padding: 10px 0; /* Adjust padding for spacing */
      font-size: clamp(24px, 5vw, 48px); /* Dynamically scale font size */
      font-weight: 400; /* Start with regular weight */
      transition: font-weight 0.2s ease, transform 0.2s ease, letter-spacing 0.3s ease-in-out;
      display: block; /* Stack items */
      text-transform: uppercase; /* Make text uppercase for a strong visual */
      width: fit-content; /* Let width adjust dynamically */
      margin: 15px auto; /* Center and space out links */
      position: relative; /* Needed for pseudo-elements */
      font-family: 'brother-1816', Arial, sans-serif;
      text-decoration: none;
    }
    
    #overlay #menu .menu-btn:hover {
      font-weight: 700; /* Bold text on hover */
      transform: scale(1.1); /* Slight zoom effect */
      letter-spacing: 2px; /* Expand letter spacing */
    }
    
    /* Optional: Animated underline effect */
    #overlay #menu .menu-btn::after {
      content: "";
      display: block;
      height: 2px;
      width: 0;
      background: white;
      transition: width 0.3s ease-in-out;
      margin-top: 5px;
    }
    
    #overlay #menu .menu-btn:hover::after {
      width: 100%; /* Expand underline on hover */
    }
    
    /* Ensure the overlay menu scales well for mobile */
    @media (max-width: 768px) {
      #overlay #menu .menu-btn {
        font-size: clamp(20px, 6vw, 36px); /* Adjust for mobile */
      }
    }

/* Hero Items */

.hero {
  position: relative;
  overflow: hidden;
	 min-height: 500px; /* Minimum height of the hero section */
}

 .herob {
    position: relative;
    height: 500px;
    background: #190F35;
    overflow: hidden;
  }
  .herobi {
    position: relative;
    height: 500px;
    background: #313334;
    overflow: hidden;
  }
  .heroaiga {
    position: relative;
    height: 500px;
    background: #000000;
    overflow: hidden;
  }

.heroabout {
  position: relative;
  height: 500px;
  background: #06241c;
  overflow: hidden;
}

  .layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .heroblur {
    filter: blur(5px); /* Adjust the blur radius as needed */
  }
  .heroblurmore {
    filter: blur(10px); /* Adjust the blur radius as needed */
  }
.heronoblur {
  filter: blur(0px); /* Adjust the blur radius as needed */
}
.layer img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: auto;
  max-width: none; /* Reset any previous max-width */
  max-height: none; /* Reset any previous max-height */
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  animation: rotate 20s linear infinite; /* Adjust rotation speed as needed */
  transform-origin: center center; /* Rotate around the center */
  }
  .layer-1 img {
    animation-duration: 60s; /* Adjust rotation speed for the first layer */
  }
  .layer-2 img {
    animation-duration: 45s; /* Adjust rotation speed for the second layer */
  }
  .layer-3 img {
    animation-duration: 25s; /* Adjust rotation speed for the third layer */
  }
  @keyframes rotate {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

.hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* Maintain video aspect ratio and cover the container */
	  min-height: 500px; /* Minimum height for the image */
	max-height: 500px;
}

.text-overlay {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1; /* Ensure the text overlay appears above the video */
	 width: 80%; /* Or a specific width if desired */
}

.text-overlay h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.text-overlay p {
  font-size: 1.5em;
}

.logo-container {
  position: absolute;
  top: 50%; /* Adjust this value to place the logo as needed */
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}
.hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover; /* Maintain image aspect ratio and cover the container */
	  min-height: 500px; /* Minimum height for the image */
		max-height: 500px;
}

/* Adjust the aspect ratio for smaller screens */
@media (max-width: 768px) {
  .hero {
    height: 30vh; /* Set a specific height relative to viewport height */
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Maintain image aspect ratio and cover the container */
  }
  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
  }
  .hero-text h1 {
    font-size: 3em;
    margin-bottom: 10px;
  }
  .hero-text p {
    font-size: 1.5em;
  }
}

/* Default styles for title and subtitle */
#title {
  font-size: 4em;
  text-align: center;
  line-height: 1.2;
  background: linear-gradient(to right, #fff, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0; /* Start invisible */
  transform: translateY(20px); /* Start slightly below */
  animation: fadeInUp 1s ease-out forwards;
  text-transform: uppercase; /* Ensures text is always uppercase */
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

#subtitle {
  font-size: 1.7em; /* Adjust the default font size as needed */
  text-align: center;
  line-height: 1.2;
}

/* Adjust font size for screens smaller than 800px */
@media (max-width: 800px) {
  #title {
    font-size: 3em; /* Adjust the font size for smaller screens */
  }

  #subtitle {
    font-size: 1.5em; /* Adjust the font size for smaller screens */
  }
}

    .image-slideshow {
      position: relative;
      width: 100%;
      height: 500px; /* Adjust the height as needed */
      overflow: hidden;
    }

    .image-slideshow img {
      position: absolute;
      width: 100%;
      height: 100%;
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
    }

    .image-slideshow img.active {
      opacity: 1;
    }

/* Value Props */

.value-props {
  background-color: #ffffff;
  padding: 30px 80px;
  text-align: center; /* Center-align the content */
  display: flex;
  justify-content: center; /* Center the items horizontally */
  color: #000000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a slight drop shadow */

  /* Adjustments for smaller screens if needed */
  @media (max-width: 600px) {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns in the grid layout */
    row-gap: 40px; /* Vertical gap */
    column-gap: 5px; /* Horizontal gap */
    align-items: center; /* Center the items vertically */
  }
}

.value-propsb {
  background-color: #ffffff;
  padding: 60px 80px 30px; /* Top: 100px, Left/Right: 80px, Bottom: 30px */
  text-align: center; /* Center-align the content */
  display: flex;
  justify-content: center; /* Center the items horizontally */
  color: #000000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a slight drop shadow */
}

/* Adjustments for smaller screens if needed */
@media (max-width: 600px) {
  .value-propsb {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns in the grid layout */
    row-gap: 40px; /* Vertical gap */
    column-gap: 5px; /* Horizontal gap */
    align-items: center; /* Center the items vertically */
  }
}

.value-prop {
  display: inline-block; /* Display the value props as inline blocks */
  margin: 0 40px; /* Adjust the margin between value props */
}

.value-prop img {
  width: 60px; /* Adjust the width of the icons */
  height: auto;
  margin-bottom: 10px;
}

.value-prop p {
  font-size: 1.2em;
  margin-bottom: 0px;
  color: #000000;
}

.value-prop a {
  text-decoration: none; /* Remove underline from links */
}

.value-link {
  text-decoration: none;
  color: inherit;
}

.value-link:hover p {
  font-weight: bold;
}

.value-link:hover img {
  content: attr(data-roll);
}

/* Styles for the text block section */
.text-block-section {
  background-color: white;
  text-align: center;
  padding: 30px 20px 30px; 
  margin: 20px auto 0; /* Center the gallery and add space above it */
}

.text-block2 {
  max-width: 1000px;
  margin: 0 auto;
}

.≈ .section-title {
  font-size: 1.7em; /* Match the font size of the hero subtitle */
  text-align:justify;
  line-height: 1.2;
  color: black; /* Ensure the text is black */
  font-weight:100;
}

.text-block-title {
  font-weight:100;
}

.text-block2 p {
  font-size: 1.2em;
  text-align: justify;
  line-height: 1.8;
  padding-left: 20px;
  padding-right: 20px;
}

/* Larger screens: Increase font size */
@media (min-width: 800px) {
  .text-block2 p {
    font-size: 1.4em; /* Increase font size for larger screens */
  }
}

/* Smaller screens: Reduce font size */
@media (max-width: 470px) { /* Changed from 410px to 400px for consistency */
  .text-block2 p {
    font-size: 1em; /* Adjusted value to avoid making it too small */
    text-align: left !important; /* Align text to the left */
  }
}


/* Link Buttons */

.link-button {
  text-align: center;
  padding-bottom: 50px;
  background: #ffffff;
  color: white;
  bottom: 0;
  width: 100%;
}

.link-button-buttons {
  display: flex;
  justify-content: center;
}

.link-button-buttons a {
  background: #000000;
  color: white;
  border: none;
  padding: 10px 10px;
  border-radius: 40px;
  margin: 15px;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  display: block;
  width: 250px;
  font-family: 'futura-pt', Arial, sans-serif;
  text-decoration: none; /* Remove underline */
}

.link-button-buttons a:hover {
  background: #3FA357; /* Static color for hover */
  color: white;
}


/* Lil Image Section */

.image-section {
  max-width: 1400px;
  margin: 50px auto; /* Adds 50px above and below */
  text-align: center;
}

.section-title {
  font-size: 1.5em;
  font-weight: 100;
  color: black;
    margin-bottom: 40px; 
}

.image-container {
  margin-top: 20px; /* Add space between title and image */
  padding: 0 20px; /* Adjust padding as needed */
}

.image-section img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.mobile-image {
  display: none; /* Initially hide mobile image */
}

@media (max-width: 700px) {
  .desktop-image {
    display: none; /* Hide desktop image on small screens */
  }

  .mobile-image {
    display: inline-block; /* Show mobile image on small screens */
  }
}

.wideimage {
  position: relative;
  overflow: hidden;
}


/* Lil Image Section 2 */


.image-section2 {
  max-width: 1400px;
  margin: auto;
  text-align: center;
  margin-bottom: 20px; 
}

.section-title2 {
  font-size: 1.8em;
  font-weight: 100;
  color: black;
}

.image-container {
  margin-top: 20px; /* Add space between title and image */
  padding: 0 20px; /* Adjust padding as needed */
}

.image-section2 img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.mobile-image2 {
  display: none; /* Initially hide mobile image */
}

@media (max-width: 700px) {
  .desktop-image2 {
    display: none; /* Hide desktop image on small screens */
  }

  .mobile-image2 {
    display: inline-block; /* Show mobile image on small screens */
  }
}

/* Big Image Section */

.big-image-section {
  background-color: white; /* White background */
  text-align: center; /* Center-align content */
  padding: 20px 0; /* Add padding top and bottom */
}

.big-section-title {
  font-size: 1.5em; /* Title font size */
  font-weight: 100; /* Light font weight */
  color: black; /* Black text color */
  margin-bottom: 10px; /* Bottom margin */
}

.big-image-container {
  margin-top: 10px; /* Space between title and image */
  position: relative; /* Position relative for absolutely positioned children */
}

.big-image {
  display: block; /* Ensure image is displayed as block element */
  max-width: 100%; /* Maximum width of the image is 100% of the viewport */
  height: auto; /* Maintain aspect ratio */
  border-radius: 10px; /* Rounded corners */
  margin: 0 auto; /* Center-align image */
}

@media (min-width: 701px) {
  .big-mobile-image {
    display: none; /* Hide mobile image on larger screens */
  }
}

@media (max-width: 700px) {
  .big-desktop-image {
    display: none; /* Hide desktop image on smaller screens */
  }
}

/* VIDEO Style the iframe to match the images */
.video-container {
  max-width: 1400px;
  margin: 50px auto;
  text-align: center;
  padding: 0 20px; /* Adjust padding as needed */
}

.video-container iframe {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* Keeps a responsive video ratio */
  border-radius: 10px; /* Matches image style */
  display: block;
  margin: auto;

}

/* Optional: Mobile adjustments */
@media (max-width: 768px) {
  .video-container iframe {
    aspect-ratio: 4 / 3; /* Slightly different ratio for mobile */
  }
}

.hero-video-container {
  position: relative;
  width: 100%;
  height: 500px; /* Matches the hero image height */
  overflow: hidden;
}

.hero-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover; /* Ensures it behaves like a background image */
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-video-container {
    height: 300px; /* Reduce height on smaller screens */
  }
}

/* The Gallery */


.project-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 80px; /* Adjusted for 100px top padding */
  padding-bottom: 50px; /* Adjusted for 100px bottom padding */
  max-width: 1400px; /* Limit the width of the gallery */
  margin: auto;
}

/* Limit the maximum number of columns to 3 */
@media (min-width: 768px) {
  .project-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.project img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease-in-out;
  border-radius: 10px;
}

.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}

.project:hover .project-info {
  transform: translateY(0);
  background-color: rgba(0, 0, 0, 0.7);
}

.project:hover img {
  transform: scale(1.1);
}


/* My Text Block */


/* Glamor Shots that replace The Gallery on Project pages */


.glamor-images {
  max-width: 800px;
  margin: 40px auto 20px; /* Added margin-bottom of 20px */
  text-align: center;
}

.glamor-image {
  margin-bottom: 40px;
	padding-left: 40px;
	padding-right: 40px;
}

.glamor-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.text-block {
  text-align: left;
  margin-bottom: 40px;
		padding-left: 40px;
	padding-right: 40px;
}


/* The Footers */

.footer {
  text-align: center;
  padding: 20px;
  background: linear-gradient(to right, #190F35, #2165AF);
  color: white;
  bottom: 0;
  width: 100%;
}

.footer-buttons {
  display: flex;
  justify-content: center;
}

.footer-buttons a {
  background-color: white;
  color: black;
  border: none;
  padding: 10px 10px;
  border-radius: 40px;
  margin: 15px;
  cursor: pointer;
  font-size: 20px;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
  display: block;
  width: 150px;
  font-family: 'futura-pt', Arial, sans-serif;
  text-decoration: none; /* Remove underline */
}

.footer-buttons a:hover {
  background-color: #000000;
  color: white;
}


.footer2 {
  text-align: center;
  padding: 40px;
  background-color: #000000;
  color: white;
  bottom: 0;
  width: 100%;
}

.footer3 {
  text-align: center;
  padding: 20px;
  color: white;
  bottom: 0;
  width: 100%;
}

@media (max-width: 500px) {
  #title {
    font-size: 2.5em; /* Adjust the size as needed */
  }
}