/* General Styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  padding: 0.5em 1em;
  z-index: 1000;
  transition: background-color 0.3s ease;
  background-color: transparent;
  color: white;
}

.navbar.scrolled {
  background-color: rgba(0, 0, 0, 0.8);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2em;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 0.5em 1em;
}

.nav-links a:hover {
  color: #ff6347;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 25px;
}
.hamburger-menu .bar {
  background-color: rgb(250, 244, 244);
  height: 4px;
  width: 100%;
  border-radius: 5px;
}

.nav-links.active {
  display: flex;
  text-align: center;
  background-color: #333;
  flex-direction: column;
  align-items: left;
  gap: 1em;
  
  
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
  .hamburger-menu {
    display: flex; /* Show hamburger menu on mobile devices */
  }

  .nav-links {
    display: none; /* Hide navigation links by default */
  }

  .nav-links.active {
    display: flex; /* Show navigation links when active */
  }
}

@media screen and (min-width: 769px) {
  .hamburger-menu {
    display: none; /* Hide hamburger menu on larger screens */
  }

  .nav-links {
    display: flex; /* Always display navigation links inline on larger screens */
  }
}

/* Video Section */
.video-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  text-align: center;
}

.video-overlay h1 {
  font-size: 2.5em;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .video-section {
    height: 60vh;
  }

  .video-overlay h1 {
    font-size: 1.8em;
  }
}

/* Sections */
.section {
  padding: 2em;
  text-align: center;
  background-color: #f9f9f9;
  margin-bottom: 1em;
}

/* Gallery */
.gallery {
  padding: 2em;
  background-color: #fff;
}

.gallery h2 {
  text-align: center;
}

.image-container {
  display: flex;
  gap: 1em;
  flex-wrap: wrap;
  justify-content: center;
}

.image-container img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}


@media screen and (max-width: 768px) {
  .image-container img {
    width: 100%;
    max-width: 300px;
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 1em;
  background-color: #333;
  color: white;
  margin-top: 1em;
}

@media screen and (max-width: 768px) {
  .footer {
    padding: 0.5em;
  }
}
