/* Desktop vs Mobile Visibility Rules */

/* Menu toggle button is hidden on desktop */
@media screen and (min-width: 769px) {
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .hamburger {
    display: none !important;
  }
  
  /* Ensure standard navigation is visible on desktop */
  .nav-links {
    display: flex !important;
  }
  
  .auth-buttons {
    display: flex !important;
  }
}

/* Menu toggle button is only visible on mobile */
@media screen and (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
  }
  
  .hamburger {
    display: flex !important;
  }
  
  /* Hide standard navigation on mobile */
  .nav-links {
    display: none !important;
  }
  
  .auth-buttons {
    display: none !important;
  }
}

/* Ensure proper layout on all devices */
nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

/* Clean up any conflicting display properties */
@media screen and (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

/* From desktop-override.css - Stronger rules for specific screen sizes */
/* Mode Desktop - Hamburger & Mobile Menu harus disembunyikan */
@media screen and (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    z-index: -1 !important;
    pointer-events: none !important;
  }
  
  .hamburger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}

/* Mode Tablet & Desktop Kecil - Semua tombol navigasi harus muncul */
@media screen and (min-width: 769px) and (max-width: 1023px) {
  .nav-links {
    display: flex !important;
  }
  
  .mobile-menu-toggle {
    display: none !important;
  }
  
  .hamburger {
    display: none !important;
  }
}
