/* ====================== */
/* HAMBURGER MENU STYLES  */
/* ====================== */
/* Always keep hamburger visible above everything */
.hamburger{
  position: fixed;
  top: 24px;          /* adjust if needed */
  right: 24px;
  z-index: 5000;      /* very high */
}


.hamburger {
  position: absolute;
  right: 30px; /* keep it at right edge */
  
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 10px;
  transition: 0.3s;
}

.top-header .container {
  display: flex;
  align-items: center;
  justify-content: center; /* keep AJ logo centered */
  position: relative;
  padding: 0 30px;
}

/* Active state (X animation) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}
/* ✅ Hide the quote button inside UL on desktop */
.nav-links .mobile-quote{
  display: none;
}

/* ✅ Mobile menu behavior */
@media (max-width: 1320px){

  /* show the quote button in the full screen menu */
  .nav-links .mobile-quote{
    display: block;
    margin-bottom: 10px;
  }

  /* make quote button a bit larger inside overlay */
  .nav-links .mobile-quote .nav-btn{
    padding: 12px 40px;
    font-size: 16px;
  }

  /* ✅ When menu is open, hide these */
  body.menu-open .hero-social,
  body.menu-open .up-arrow,
  body.menu-open .hero-bottom{
    display: none !important;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1320px) {

  .hamburger { display: flex; }

  /* FULL SCREEN MENU OVERLAY */
  .navbar nav .nav-links{
    position: fixed;         /* fixed for full screen */
    inset: 0;                /* top:0 right:0 bottom:0 left:0 */
    width: 100vw;
    height: 100vh;

    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(10px);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
padding-top: 90px;
    gap: 28px;
 

    /* hidden by default */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .35s ease, transform .35s ease;

    z-index: 1050;
  }

  /* show state */
  .navbar nav .nav-links.show{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .navbar nav .nav-links li a{
    font-size: 15px;      /* big menu text */
    letter-spacing: 1px;
  }

  /* Optional: Hide GET QUOTE button inside header on mobile */
  /* .nav-btn { display:none; } */
}

@media (max-width: 1320px){

  .nav-links{
    justify-content: flex-start;
    padding-top: 120px;
    overflow-y: auto;
  }

  .dropdown-menu{
    position: static !important;
    display: none;
    margin: 12px auto 0;
    max-height: 55vh;
    overflow-y: auto;
  }

  .dropdown-menu.open{
    display: block;
  }

  /* disable hover open on mobile */
  .dropdown:hover .dropdown-menu{
    display: none;
  }
}
@media (max-width: 1320px){

  /* When Products is focused, hide all menu items... */
  .nav-links.focus-products > li{
    display: none;
  }

  /* ...but show GET QUOTE and Products */
  .nav-links.focus-products > li.mobile-quote,
  .nav-links.focus-products > li.dropdown{
    display: block;
  }

  /* And force product list visible */
  .nav-links.focus-products .dropdown-menu{
    display: block !important;
  }
}
/* show desktop quote normally */
.desktop-quote{ display: inline-flex; }

/* hide desktop quote when hamburger breakpoint active */
@media (max-width: 1320px){
  .desktop-quote{ display: none !important; }
}
@media (max-width: 1320px){

  /* Center the logo inside navbar */
  .navbar .container{
    justify-content: center;
  }

  .navbar .logo1{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  /* ensure hamburger stays on the right */
  .hamburger{
    right: 24px;
  }
}
