/* Header Styles */
.header {
  background-color: #111827; /* bg-gray-900 */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 999997;
  border-bottom: 1px solid #374151; /* border-gray-700 */
}

.header-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px; /* h-20 */
}

/* Logo */
.logo {
  flex-shrink: 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 30px;
  font-weight: 900;
  color: #fbbf24; /* text-amber-400 */
  text-decoration: none;
  font-family: "Assistant Regular";
}

.logo a:hover {
  color: #fbbf24;
}

.logo img {
  height: 32px;
  width: auto;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
}

#menu {
  display: flex;
  align-items: center;
}

#menu ul,
#menu_header ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px; /* space-x-8 */
}

#menu li,
#menu_header li {
  margin: 0;
}

/* Active menu item styling */
#menu .current,
#menu .active {
  position: relative;
}

#menu .current a,
#menu .active a {
  border-bottom-color: #fbbf24 !important;
}

#menu a {
  font-size: 20px; /* text-lg */
  font-weight: 500; /* font-medium */
  color: #d1d5db; /* text-gray-300 */
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 8px 0;
  font-family: "Assistant SemiBold";
  border-bottom: 2px solid transparent;
}

#menu a:hover {
  color: #fbbf24; /* hover:text-amber-400 */
}

/* Ensure active state is maintained on hover */
#menu .current a:hover,
#menu .active a:hover {
  color: #fbbf24 !important;
}

#menu a.active,
#menu .current a,
#menu .active a {
  border-bottom-color: #fbbf24;
}

/* Consultation Button */
.consultation-button {
  display: block;
}

#menu_header {
  display: flex;
  align-items: center;
}

#menu_header ul {
  gap: 0;
}

#menu_header li {
  margin: 0;
}

#menu_header a {
  background-color: #fbbf24; /* bg-amber-400 */
  color: #000000; /* text-black */
  font-weight: 600; /* font-semibold */
  padding: 12px 24px; /* px-6 py-3 */
  border-radius: 8px; /* rounded-lg */
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  transform: scale(1);
  font-size: 16px;
}

#menu_header a:hover {
  background-color: #fbbf24; /* hover:bg-amber-500 */
  transform: scale(1.05);
  color: #000000;
  text-decoration: none;
}

#menu_header a:focus {
  outline: 2px solid #fbbf24;
  outline-offset: 3px;
  border-radius: 4px;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #d1d5db;
  cursor: pointer;
  padding: 0;
  font-size: 24px;
  position: relative;
  z-index: 999998;
}

.mobile-menu-toggle:hover {
  color: #fbbf24;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 24, 39, 0.98);
  z-index: 999999 !important;
  overflow-y: auto;
}

.mobile-menu-overlay.active {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #d1d5db;
  cursor: pointer;
  padding: 10px;
  font-size: 28px;
  transition: color 0.3s ease;
  z-index: 1000000;
}

.mobile-menu-close:hover {
  color: #fbbf24;
}

/* Mobile Menu Content */
.mobile-menu-content {
  text-align: center;
  padding: 20px;
}

.mobile-menu-content ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mobile-menu-content li {
  margin: 0;
}

.mobile-menu-content a {
  font-size: 24px;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 10px 0;
  display: block;
}

.mobile-menu-content a:hover,
.mobile-menu-content .current a,
.mobile-menu-content .active a {
  color: #fbbf24;
}

/* Mobile Menu Module Styling */
#mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#mobile-menu li {
  margin: 0;
}

#mobile-menu a {
  font-size: 24px;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 10px 0;
  display: block;
}

#mobile-menu a:hover,
#mobile-menu .current a,
#mobile-menu .active a {
  color: #fbbf24;
}

.mobile-consultation a {
  font-size: 24px;
  font-weight: 500;
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 10px 0;
  display: block;
}

.mobile-consultation a:hover {
  color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 925px) {
  .mobile-menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
  }

  .consultation-button {
    display: none;
  }
}
