/* --- Hamburger Button Icon --- */
.menu-toggle {
  display: none; /* Hidden on desktop screens */
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Mobile Menu Base (Hidden state) --- */
.mobile-menu {
  display: none; /* Completely hidden standard layout */
  list-style: none;
  background-color: #0f172a; /* Slightly lighter dark slate for contrast */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  border-top: 1px solid #1e293b;
}

.mobile-menu li {
  text-align: center;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  color: #94a3b8;
  text-decoration: none;
  font-size: 1.1rem;
}

.mobile-menu a:hover {
  color: #ffffff;
  background-color: #1e293b;
}

/* =======================================================
   RESPONSIVE BREAKPOINT (Screens smaller than 768px)
   ======================================================= */
@media (max-width: 768px) {
  /* Hide the normal inline horizontal navbar options */
  .nav-links {
    display: none;
  }

  /* Reveal the hamburger menu icon button */
  .menu-toggle {
    display: flex;
  }

  /* When the JavaScript class ".is-active" is added, show the menu */
  .mobile-menu.is-active {
    display: block;
    animation: slideDown 0.3s ease forwards;
  }
}



/* Float Elements */
@keyframes float-up {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float-up 3s ease-in-out infinite;
}

/* ///////////////////////////////// */
/* Simple entry animation for fluid mobile feel */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ///////////////////////////////// */
/* Infinite scroll for 2 images */
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Scrolls exactly half the width */
}

.animate-scroll {
    display: flex;
    /* Ensure the container width is large enough for both images */
    animation: scroll 30s linear infinite;
    width: max-content; 
}

/* ///////////////////////////////// */