/* Clean Navigation - Simple & Professional */

/* ===== GLOBAL NAVIGATION STYLES ===== */
.clean-navbar {
  background: var(--accent-color, #014e98);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px var(--shadow-color, rgba(0, 0, 0, 0.1));
}

.clean-navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== BRAND/LOGO ===== */
.clean-brand {
  color: white;
  font-family: 'Caveat', 'Brush Script MT', 'Lucida Handwriting', cursive;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  margin: 0;
  flex-shrink: 0;
}

.clean-brand:hover {
  color: white;
  text-decoration: none;
}

/* ===== DESKTOP NAVIGATION ===== */
.clean-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.clean-nav-links li {
  margin: 0;
}

.clean-nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.clean-nav-links a:hover {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.clean-nav-links a i {
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

/* Navigation SVG icons */
.clean-nav-links a .nav-icon,
.clean-mobile-links a .nav-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1); /* Make SVG white */
}

/* Footer button icons */
.icon .nav-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* Dark mode - adjust icon colors if needed */
.dark-mode .icon .nav-icon {
  filter: brightness(0) invert(1);
}

/* ===== MOBILE MENU BUTTON ===== */
.clean-menu-button {
  display: none;
  background: var(--accent-color, #014e98);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.clean-menu-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== MOBILE MENU DROPDOWN ===== */
.clean-mobile-menu {
  display: none;
  background: rgba(1, 78, 152, 0.95);
  backdrop-filter: blur(10px);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 4px 20px var(--shadow-color, rgba(0, 0, 0, 0.15));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.clean-mobile-menu.active {
  display: block;
}

.clean-mobile-links {
  list-style: none;
  margin: 0;
  padding: 1rem 0;
  text-align: center;
}

.clean-mobile-links li {
  margin: 0;
}

.clean-mobile-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  transition: background-color 0.2s ease;
}

.clean-mobile-links a:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.clean-mobile-links a i {
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

/* ===== SUBTLE DARK MODE TOGGLE ===== */
.clean-theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: white;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clean-theme-toggle .theme-icon {
  width: 20px;
  height: 20px;
  display: block;
  filter: brightness(0) invert(1); /* Make SVG white */
}

.clean-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Desktop: Show full navigation */
@media screen and (min-width: 769px) {
  .clean-nav-links {
    display: flex !important;
  }
  
  .clean-menu-button {
    display: none !important;
  }
  
  .clean-mobile-menu {
    display: none !important;
  }
}

/* Mobile: Show menu button */
@media screen and (max-width: 768px) {
  .clean-nav-links {
    display: none !important;
  }
  
  .clean-menu-button {
    display: block !important;
  }
  
  .clean-theme-toggle {
    display: none !important;
  }
  
  /* Show theme toggle in mobile menu */
  .clean-mobile-links .theme-toggle-item {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0;
  }
  
  .clean-mobile-links .theme-toggle-item .clean-theme-toggle {
    display: flex !important;
    margin: 0 auto;
    width: auto;
    height: auto;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

/* ===== DARK MODE STYLES ===== */
.dark-mode .clean-navbar {
  background: var(--bg-secondary, #2d2d2d);
  box-shadow: 0 2px 4px var(--shadow-color, rgba(0, 0, 0, 0.3));
}

.dark-mode .clean-menu-button {
  background: var(--bg-secondary, #2d2d2d);
}

.dark-mode .clean-menu-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.dark-mode .clean-mobile-menu {
  background: rgba(45, 45, 45, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dark-mode .clean-theme-toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .clean-theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== UTILITY CLASSES ===== */
.hidden {
  display: none !important;
}

.text-center {
  text-align: center;
}

/* ===== ANIMATIONS ===== */
.clean-navbar * {
  transition: all 0.2s ease;
}

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
