/* Hamburger visible only on mobile */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: var(--text-light);
  cursor: pointer;
  z-index: 1101;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

/* Mobile Menu hidden by default */
.mobile-menu {
    display: none;
    background:var(--primary);
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
}

/* When menu is active (opened) */
.mobile-menu.active {
    display: block;
}

/* Mobile nav items */
.mobile-menu ul {
  list-style: none;
  padding: 1rem 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-menu ul li a {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: 0.3s;
}

.mobile-menu ul li a:hover {
  background: var(--text-light);
  color: var(--primary);
  border-radius: var(--radius);
  padding: 0.5rem 0.8rem;
}
.mobile-menu:not(.active) {
  display: none;
}

/* Button inside mobile nav */
.btn.mobile-btn {
  background-color: var(--text-light);
  color: var(--primary);
  font-weight: 600;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 1rem;
}

/* Desktop override - force hide mobile nav */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
    max-height: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}
