/* AB Computer Header Styles */
.ab-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 0.75rem 0;
  background: #fffdda !important;
}

.navbar-brand {
  font-weight: bold;
  color: #b89c00 !important;
  font-size: 1.5rem;
}

.logo-img {
  height: 40px;
  width: auto;
}

.navbar-nav .nav-link {
  color: rgb(0, 0, 0) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

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

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: #f3c221;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.order-tracking-btn {
  background: #f4b400 !important;
  color: black !important;
  border-radius: 20px !important;
  padding: 0.5rem 1.5rem !important;
  margin-left: 0.5rem;
}

.order-tracking-btn:hover {
  background: #ffc830 !important;   /* oder button hover color */
  color: rgb(255, 255, 255) !important;
}

/* Dropdown Styles */
.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  background: #fffdf0;
}

.dropdown-item {
  padding: 0.5rem 1.5rem;
  color: #000;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: #fff7cc;
  color: #d89e00;
}

/* Multi-level dropdown */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  border-radius: 0 8px 8px 0;
  background: #fff7d1;
}

.dropdown-submenu:hover .dropdown-menu {
  display: block;
}

.dropdown-submenu .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
  float: none;
  margin-top: 0.5em;
}




/* Mobile Menu Styles */
.navbar-toggler {
  border: none;
  padding: 0.5rem;
  font-size: 1.25rem;
  line-height: 1;
  background: linear-gradient(135deg, #111111, #969901);
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.navbar-toggler:hover {
  background: linear-gradient(135deg, #efff61, #b5b804);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.4);
}

.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(33, 150, 243, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  width: 20px;
  height: 20px;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 85%;
  height: 100vh;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  z-index: 9999;
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
  border-radius: 0 20px 20px 0;
}

.mobile-menu-overlay.active {
  left: 0;
}

.mobile-menu-content {
  height: 100%;
  overflow-y: auto;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg,  #bba004, #070707);
  border-bottom: none;
  border-radius: 0 20px 0 0;
}

.mobile-logo {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.mobile-menu-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.mobile-menu-list {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid rgba(33, 150, 243, 0.1);
  margin: 0.25rem 0;
}

.mobile-menu-list a {
  display: block;
  padding: 1rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1rem;
}

.mobile-menu-list a:hover {
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), rgba(33, 150, 243, 0.05));
  color: #414202;
  transform: translateX(5px);
}

.mobile-menu-list a::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(135deg, #f7f33d, #acaf06);
  transition: width 0.3s ease;
}

.mobile-menu-list a:hover::before {
  width: 4px;
}

.mobile-dropdown-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-dropdown-toggle i {
  transition: transform 0.3s ease;
  color: #b49a04;
  font-size: 0.9rem;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
  transform: rotate(180deg);
}

.mobile-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.05), rgba(33, 150, 243, 0.02));
  border-radius: 0 0 10px 10px;
}

.mobile-submenu.active {
  max-height: 1000px;
  padding: 0.5rem 0;
}

.mobile-submenu a {
  padding: 0.75rem 2.5rem;
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  margin: 0.1rem 0;
}

.mobile-submenu a:hover {
  background: rgba(33, 150, 243, 0.1);
  border-left-color: #b10a34;
  transform: translateX(5px);
}

.mobile-submenu .mobile-dropdown {
  margin-left: 1rem;
}

.mobile-submenu .mobile-submenu {
  margin-left: 0;
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.08), rgba(33, 150, 243, 0.03));
  border-radius: 8px;
  margin-top: 0.5rem;
}

.mobile-submenu .mobile-submenu a {
  padding-left: 3.5rem;
  color: #666;
  font-size: 0.85rem;
}

.mobile-submenu .mobile-submenu a:hover {
  background: rgba(33, 150, 243, 0.12);
  border-left-color: #0a380d;
}

.order-tracking-mobile {
  background: linear-gradient(135deg, #030303, #9c8004) !important;
  color: rgb(255, 225, 55) !important;
  margin: 1rem 1.5rem;
  border-radius: 25px !important;
  text-align: center;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

.order-tracking-mobile::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.order-tracking-mobile:hover::before {
  left: 100%;
}

.order-tracking-mobile:hover {
  background: linear-gradient(135deg, #cabd07, #5f6600) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240, 243, 33, 0.4);
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .navbar-toggler {
    order: -1;
  }
  
  .navbar-collapse {
    display: none !important;
  }
}

@media (max-width: 576px) {
  .mobile-menu-overlay {
    width: 90%;
  }
  
  .logo-img {
    height: 35px;
  }
  
  .navbar {
    padding: 0.5rem 0;
  }
}

/* Mobile menu backdrop */
.mobile-menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(8, 8, 8, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 9998;
  backdrop-filter: blur(3px);
}

.mobile-menu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Font Awesome Icons */
.fas {
  font-size: 0.8rem;
}
