/* Mobile Menu Styles */

/* Hide the mobile menu toggle by default (for desktop) */
.mobile-menu-toggle {
  display: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger {
  width: 30px;
  height: 24px;
  position: relative;
  transform: rotate(0deg);
  transition: .5s ease-in-out;
}

.hamburger span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.hamburger span:nth-child(1) {
  top: 0px;
}

.hamburger span:nth-child(2),
.hamburger span:nth-child(3) {
  top: 10px;
}

.hamburger span:nth-child(4) {
  top: 20px;
}

/* When menu is open */
.hamburger.open span:nth-child(1) {
  top: 10px;
  width: 0%;
  left: 50%;
}

.hamburger.open span:nth-child(2) {
  transform: rotate(45deg);
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg);
}

.hamburger.open span:nth-child(4) {
  top: 10px;
  width: 0%;
  left: 50%;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow-y: auto;
}

.mobile-menu-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-menu-content {
  padding: 80px 20px 40px;
  text-align: center;
}

.mobile-menu-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-content li {
  margin-bottom: 20px;
}

.mobile-menu-content a {
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
  display: block;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.mobile-menu-content a:hover,
.mobile-menu-content a.active {
  background: var(--primary-gradient);
  color: var(--text-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(248, 183, 0, 0.3);
}

.mobile-menu-logo {
  margin-bottom: 40px;
}

.mobile-menu-logo img {
  max-width: 180px;
  height: auto;
}

/* Media queries for mobile menu */
@media (max-width: 768px) {
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: block;
  }
  
  /* Hide desktop navigation */
  header nav {
    display: none;
  }
  
  /* Adjust header layout */
  .header-container {
    justify-content: space-between;
  }
}
