/* Navigation enhancements - mobile menu and accessories only */
/* Note: Main navbar styles are in style.css */
.hamburger { 
  display: none; 
  background: transparent; 
  border: none; 
  cursor: pointer; 
  width: 44px; 
  height: 40px; 
  flex-direction: column; 
  align-items: center; 
  justify-content: center; 
  gap: 5px; 
  padding: 8px;
  position: relative;
  z-index: 1002;
}
.hamburger span{ 
  display: block; 
  width: 26px; 
  height: 2.5px; 
  background: #ffffff; 
  border-radius: 2px; 
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}
.mobile-menu { 
  position:fixed; 
  right:-100%; 
  top:0; 
  height:100vh; 
  width:300px; 
  max-width:85vw;
  background: linear-gradient(180deg, rgba(27, 56, 43, 0.99) 0%, rgba(35, 70, 55, 0.99) 100%);
  backdrop-filter: blur(30px);
  color:#fff; 
  padding:90px 24px 20px; 
  transition:right .4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
  z-index:1001; 
  border-left: 1px solid rgba(79, 200, 116, 0.2);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
}
.mobile-menu.open { right:0; }
.mobile-menu ul { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:0; }
.mobile-menu li { 
  border-bottom: 1px solid rgba(79, 200, 116, 0.1); 
}
.mobile-menu a{ 
  color:#fff; 
  text-decoration:none;
  display: block;
  padding: 18px 0;
  font-size: 1.05rem;
  font-weight: 500;
  transition: all 0.3s ease;
}
.mobile-menu a:hover { 
  color: #4fc874; 
  padding-left: 12px;
}
.mobile-menu .dropdown-menu {
  position: static;
  background: rgba(79, 200, 116, 0.08);
  border: none;
  box-shadow: none;
  margin-top: 0;
  padding: 8px 0 8px 20px;
  display: none;
  animation: none;
  border-radius: 8px;
}
.mobile-menu .dropdown.open .dropdown-menu {
  display: block;
}
.mobile-menu .dropdown-menu li {
  border-bottom: none;
}
.mobile-menu .dropdown-menu li a {
  padding: 12px 0;
  font-size: 0.95rem;
  color: rgba(244, 255, 236, 0.85);
}
.mobile-buttons { 
  margin-top:30px; 
  padding-top:30px;
  border-top: 1px solid rgba(79, 200, 116, 0.15);
  display:flex; 
  flex-direction:column; 
  gap:12px; 
}
.mobile-buttons .btn {
  width: 100%;
  text-align: center;
  padding: 14px 24px;
}
.desktop-only { display:flex; }
.mobile-only { display:none; }
@media (max-width: 860px){ 
  .desktop-only{ display:none !important; } 
  .mobile-only{ display:flex; } 
  .hamburger{ display:flex; } 
  .mobile-menu { display: block; }
  
  /* Ensure hamburger is visible */
  header:not(.scrolled) .hamburger span,
  header.scrolled .hamburger span {
    background: #ffffff;
  }
}
@media (max-width: 768px){
  .mobile-menu {
    width: 100%;
    max-width: 100vw;
    padding-top: 80px;
  }
}
/* Accessibility focus */
.nav-links a:focus, .dropdown .dropdown-menu li a:focus, .mobile-menu a:focus{ outline:3px solid rgba(79,200,116,0.16); outline-offset:4px; }
