/* Mega Menu Styles */

/* By default, mega menu is hidden */
.mega-menu-nav {
  display: none !important;
}

/* When mega menu is enabled, show mega menu and hide simple nav */
body.mega-menu-enabled .mega-menu-nav {
  display: flex !important;
}

body.mega-menu-enabled .simple-nav {
  display: none !important;
}

.mega-menu-item {
  position: relative;
}

.mega-menu-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  color: #002147;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  background: none;
  border: none;
  font-size: inherit;
  font-family: inherit;
}

.mega-menu-trigger:hover,
.mega-menu-item:hover .mega-menu-trigger {
  color: #C4A647;
}

.mega-menu-trigger i {
  font-size: 0.625rem;
  transition: transform 0.2s ease;
}

.mega-menu-item:hover .mega-menu-trigger i {
  transform: rotate(180deg);
}

/* Mega Menu Dropdown */
.mega-menu-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 600px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 33, 71, 0.15);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 100;
}

.mega-menu-item:hover .mega-menu-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.mega-menu-section h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #C4A647;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #D5D2CA;
}

.mega-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mega-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0;
  color: #002147;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mega-menu-links a:hover {
  color: #C4A647;
  padding-left: 0.25rem;
}

.mega-menu-links a i {
  width: 1rem;
  color: #4E6796;
  font-size: 0.75rem;
}

/* Featured item in mega menu */
.mega-menu-featured {
  background: linear-gradient(135deg, #002147 0%, #4E6796 100%);
  border-radius: 8px;
  padding: 1rem;
  color: white;
}

.mega-menu-featured h4 {
  color: #C4A647;
  border-bottom-color: rgba(255,255,255,0.2);
}

.mega-menu-featured p {
  font-size: 0.8125rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
  opacity: 0.9;
}

.mega-menu-featured a {
  color: #C4A647;
  font-size: 0.8125rem;
  font-weight: 600;
}

.mega-menu-featured a:hover {
  color: white;
}

/* Simple links (non-dropdown) */
.mega-menu-nav > a {
  padding: 0.5rem 0;
  color: #002147;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-menu-nav > a:hover {
  color: #C4A647;
}

