/* --- UNIT VII CONSOLIDATED NAVBAR --- */

.unit-vii-nav {
  /* Positioning & Layout */
  position: fixed;
  top: 30px; 
  left: 50%;
  transform: translate(-50%, 0); /* Visible on load + Centered */
  width: 95%;
  max-width: 1400px;
  z-index: 9999;
  
  /* Aesthetics */
  background: rgba(30, 30, 30, 0.95);
  border-radius: 20px;
  overflow: hidden; 
  padding: 0 !important;
  font-family: 'Courier Prime', monospace;
  box-shadow: -2px 0px 1px #EE2E3C;
  
  /* High-Performance Transition */
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Logo & Link Styling */
.nav-logo { 
  height: 50px; 
  width: auto; 
}

.nav-link {
  color: #fff !important;
  font-weight: 400;
  letter-spacing: 2px;
  padding: 0 15px !important;
  font-size: 16px;
  font-family: 'Courier Prime', monospace;
}

.nav-link:hover { 
  color: #EE2E3C !important; 
}

/* Red Action Area (Right Side) */
.nav-action-area {
  background-color: #EE2E3C;
  height: 80px; 
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  min-width: 120px;
}

.offcanvas {
  z-index: 99999; /* Below the navbar */
}

.online-order-link {
  color: #fff !important;
  text-decoration: none;
  font-size: 16px;
  height: 100%;
  align-items: center;
  padding: 0 20px;
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
  text-shadow: 0 0 10px #ffffffa5, 0 0 30px #ffffffa3;
    transition: 0.3s ease-in-out;
}

/* Hamburger Icon Styles */
.navbar-toggler { 
  border: none !important; 
  padding: 0; 
}

.hamburger-icon {
  display: block;
  width: 30px;
  height: 3px;
  background: white;
  margin: 5px 0;
  border-radius: 2px;
}

/* --- RESPONSIVE OVERRIDES --- */

/* Tablet (Small Laptops/iPads) */
@media (max-width: 991px) {
  .unit-vii-nav {
    border-radius: 20px;
  }
}

/* Mobile (Phones) */
@media (max-width: 767px) {
  .unit-vii-nav {
    position: sticky !important; /* Fixed at the very top */
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    border-radius: 0;
    transform: translate(0, 0) !important; /* Disable centering transform */
  }

  .nav-action-area {
    height: 60px;
    padding: 0 20px !important;
    min-width: 50px !important;
  }

  .nav-logo {
    height: 40px;
  }
}
/* Style for the active menu item */
.nav-link.active {
  color: #EE2E3C !important;
  font-weight: 700; /* Optional: makes it stand out more */
}

/* Ensure mobile offcanvas links also show active state */
.offcanvas-body .nav-link.active {
  border-left: 3px solid #EE2E3C;
  padding-left: 10px !important;
}