html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-y: auto;
  font-family: sans-serif;
  background-color: black;
}

.image-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  flex-wrap: wrap; /* Unified here instead of repeating in media query */
}

nav .logo img {
  height: 100px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease-in-out;
  opacity: 1;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  transition: opacity 0.3s ease;
}

nav ul li a:hover {
  opacity: 0.8;
}

/* Hamburger icon */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 100%;
  background: white;
  border-radius: 2px;
}

.content {
  position: absolute;
  top: 140px; /* Prevents overlap with menu */
  left: 5%;
  right: 5%;
  z-index: 5;
  color: white;
  font-size: 1.2rem;
  line-height: 1.6;
  background: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

/* Responsive styles with transition effects */
@media (max-width: 768px) {
  nav ul {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-top: 1rem;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  nav ul.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .menu-toggle {
    display: flex;
  }

  .content {
    font-size: 1rem;
    padding: 1rem;
    top: 220px;
  }
}

.email-link {
  color: white;
  text-decoration: none;
}

.email-link:hover {
  text-decoration: underline;
}
