/* Navbar + Mobile Menu for index.html */

/* Hamburger button visibility */
.mobile-menu-toggle { display: none; }

/* Transparent background so slideshow shows through */
.site-main,
#mainContent,
.main-content {
  background: transparent !important;
  background-color: transparent !important;
}
.navbar-flex-mobile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  position: relative;
}
@media (max-width: 900px) {
  .mobile-menu-toggle {
    display: flex !important;
    position: static;
    margin-left: auto;
    z-index: 2;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 0;
    width: 44px;
    height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .navbar {
    position: sticky;
    padding-left: 0;
    padding-right: 0;
    overflow: visible !important;
  }
  .nav-links {
    display: none !important;
  }
  .mobile-nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 80vw;
    max-width: 340px;
    height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: -8px 0 30px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(.4,0,.2,1);
    z-index: 20011;
    display: flex;
    flex-direction: column;
  }
  .mobile-nav-menu.open {
    transform: translateX(0);
  }
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 20010;
    display: none;
    backdrop-filter: blur(5px);
  }
  .mobile-nav-overlay[style*="display: block"] {
    display: block;
  }
  .mobile-nav-overlay[style*="opacity: 1"] {
    opacity: 1;
  }
}
