/* ============================================
   MENU NAVIGATION - CSS ENHANCED
   Tema: Celestiale / Astronomico
   Versione: 2.0 - Migliorato
   ============================================ */

/* ============================================
   1. NAVBAR PRINCIPALE
   ============================================ */
.navbar {
  background: linear-gradient(180deg, rgba(10, 10, 26, 0.98) 0%, rgba(13, 17, 40, 0.95) 100%) !important;
  backdrop-filter: blur(25px) saturate(180%);
  -webkit-backdrop-filter: blur(25px) saturate(180%);
  border-bottom: 1px solid rgba(168, 85, 247, 0.2) !important;
  padding: var(--space-md) var(--space-xl);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Effetto glow sottile sulla navbar */
.navbar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    var(--color-aurora-cyan) 20%, 
    var(--color-aurora-purple) 50%, 
    var(--color-aurora-pink) 80%, 
    transparent 100%);
  opacity: 0.6;
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.99) !important;
  padding: var(--space-sm) var(--space-xl);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(168, 85, 247, 0.1);
}

.bg-body-tertiary {
  background: transparent !important;
}

/* ============================================
   2. BRAND / LOGO
   ============================================ */
.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, 
    var(--color-aurora-cyan) 0%, 
    var(--color-aurora-purple) 50%, 
    var(--color-aurora-pink) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
  transition: all var(--transition-base);
  position: relative;
  padding: var(--space-sm) 0;
  letter-spacing: 0.02em;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.navbar-brand::before {
  content: '🌙';
  margin-right: var(--space-sm);
  -webkit-text-fill-color: initial;
  font-size: 1.4rem;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  animation: moonPulse 3s ease-in-out infinite;
}

@keyframes moonPulse {
  0%, 100% { 
    transform: scale(1) rotate(0deg); 
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
  }
  50% { 
    transform: scale(1.1) rotate(5deg); 
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
  }
}

.navbar-brand:hover {
  transform: scale(1.03);
  filter: brightness(1.2);
}

.navbar-brand.otsweb {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============================================
   3. HAMBURGER MENU ICON - ENHANCED
   ============================================ */
.menu-icon {
  width: 28px;
  height: 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-icon span {
  display: block;
  height: 3px;
  border-radius: var(--radius-full);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
  position: relative;
}

/* Gradiente animato per le linee */
.menu-icon span:nth-child(1) {
  width: 100%;
  background: var(--color-aurora-cyan);
  box-shadow: 0 0 10px var(--color-aurora-cyan);
}

.menu-icon span:nth-child(2) {
  width: 70%;
  background: var(--color-aurora-purple);
  box-shadow: 0 0 10px var(--color-aurora-purple);
  margin-left: auto;
}

.menu-icon span:nth-child(3) {
  width: 40%;
  background: var(--color-aurora-pink);
  box-shadow: 0 0 10px var(--color-aurora-pink);
}

/* Hover effect - tutte le linee si allineano */
.btn:hover .menu-icon span {
  width: 100%;
}

.btn:hover .menu-icon span:nth-child(1) {
  transform: translateY(2px);
}

.btn:hover .menu-icon span:nth-child(3) {
  transform: translateY(-2px);
}

/* Active/Open state - X animation */
.btn[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  width: 100%;
  background: var(--color-aurora-pink);
}

.btn[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
  width: 100%;
}

.btn[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  width: 100%;
  background: var(--color-aurora-cyan);
}

/* Menu button container */
.navbar .btn-primary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.navbar .btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-aurora);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.navbar .btn-primary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 
    0 0 20px rgba(168, 85, 247, 0.3),
    0 0 40px rgba(0, 217, 255, 0.1),
    inset 0 0 20px rgba(168, 85, 247, 0.1);
  transform: scale(1.05);
}

.navbar .btn-primary:hover::before {
  opacity: 0.1;
}

.navbar .btn-primary:focus {
  box-shadow: 
    0 0 0 3px rgba(0, 217, 255, 0.3),
    0 0 20px rgba(168, 85, 247, 0.3);
}

/* ============================================
   4. OFFCANVAS MENU - ENHANCED
   ============================================ */
.offcanvas {
    background: linear-gradient(135deg, rgba(10, 10, 26, 0.98) 0%, rgba(13, 17, 40, 0.98) 50%, rgba(45, 43, 85, 0.95) 100%) !important;
    border-left: 1px solid rgba(168, 85, 247, 0.3) !important;
    width: 100% !important;
    height: max-content;
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}

/* Effetto stelle animate nel menu */
.offcanvas::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.9), transparent),
    radial-gradient(1px 1px at 60px 80px, rgba(255,255,255,0.7), transparent),
    radial-gradient(2px 2px at 100px 50px, rgba(255,255,255,0.8), transparent),
    radial-gradient(1px 1px at 150px 120px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 200px 70px, rgba(255,255,255,0.7), transparent),
    radial-gradient(1px 1px at 250px 150px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 80px 200px, rgba(255,255,255,0.6), transparent),
    radial-gradient(2px 2px at 180px 250px, rgba(255,255,255,0.8), transparent);
  background-repeat: repeat;
  background-size: 300px 300px;
  animation: starsFloat 20s linear infinite;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

@keyframes starsFloat {
  0% { background-position: 0 0; }
  100% { background-position: 300px 300px; }
}

/* Nebula effect */
.offcanvas::after {
  content: '';
  position: absolute;
  top: 30%;
  right: -50%;
  width: 100%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(168, 85, 247, 0.2);
  padding: var(--space-xl);
  background: rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

/* Linea decorativa sotto header */
.offcanvas-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-xl);
  right: var(--space-xl);
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--color-aurora-cyan) 30%, 
    var(--color-aurora-purple) 70%, 
    transparent);
}

.offcanvas-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  background: var(--gradient-aurora);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.05em;
}

.offcanvas-title.otsmenu::before {
  content: '✨';
  margin-right: var(--space-sm);
  -webkit-text-fill-color: initial;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.7; transform: scale(1.2) rotate(15deg); }
}

/* Close button - enhanced */
.btn-close {
  filter: invert(1);
  opacity: 0.7;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: var(--space-sm);
  border-radius: var(--radius-full);
  width: 32px;
  height: 32px;
  position: relative;
}

.btn-close::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  background: var(--gradient-aurora);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-close:hover {
  opacity: 1;
  transform: rotate(180deg) scale(1.1);
}

.btn-close:hover::before {
  opacity: 0.3;
}

.btn-close:focus {
  box-shadow: 0 0 0 3px rgba(0, 217, 255, 0.4);
}

.offcanvas-body {
  padding: var(--space-xl);
  position: relative;
  z-index: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Custom scrollbar per offcanvas */
.offcanvas-body::-webkit-scrollbar {
  width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-full);
}

.offcanvas-body::-webkit-scrollbar-thumb {
  background: var(--gradient-aurora);
  border-radius: var(--radius-full);
}

/* ============================================
   5. MENU COLUMN LAYOUT - ENHANCED
   ============================================ */
.colonna {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.colonna .btn,
.colonna .nav-link {
  width: 100%;
  text-align: left;
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-moon-white);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Indicatore laterale animato */
.colonna .btn::before,
.colonna .nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-aurora);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Effetto glow di sfondo */
.colonna .btn::after,
.colonna .nav-link::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  opacity: 0;
}

.colonna .btn:hover,
.colonna .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 85, 247, 0.4);
  transform: translateX(8px);
  color: var(--color-aurora-cyan);
  box-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(168, 85, 247, 0.1);
}

.colonna .btn:hover::before,
.colonna .nav-link:hover::before {
  transform: scaleY(1);
}

.colonna .btn:hover::after,
.colonna .nav-link:hover::after {
  width: 200%;
  height: 200%;
  opacity: 1;
}

.colonna .btn:active,
.colonna .nav-link:active {
  transform: translateX(5px) scale(0.98);
}

/* Icona freccia */
.colonna .btn > *:last-child::after,
.colonna .nav-link > *:last-child::after {
  content: '→';
  position: absolute;
  right: var(--space-lg);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: var(--color-aurora-cyan);
}

.colonna .btn:hover > *:last-child::after,
.colonna .nav-link:hover > *:last-child::after {
  opacity: 1;
  transform: translateX(0);
}

/* Primary buttons override */
.colonna .btn-primary {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.colonna .btn-primary:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(168, 85, 247, 0.4) !important;
  box-shadow: 
    0 5px 20px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(168, 85, 247, 0.1);
}

/* ============================================
   6. MENU LISTS - ENHANCED
   ============================================ */
.offcanvas-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.offcanvas-body ul li {
  position: relative;
}

.offcanvas-body ul li a {
  display: flex;
  align-items: center;
  padding: var(--space-md) var(--space-lg);
  color: var(--color-moon-glow);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

/* Icona freccia animata */
.offcanvas-body ul li a::before {
  content: '◆';
  margin-right: var(--space-md);
  font-size: 0.6rem;
  color: var(--color-aurora-purple);
  transition: all 0.3s ease;
  opacity: 0.7;
}

/* Linea separatrice con gradiente */
.offcanvas-body ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: calc(var(--space-lg) + 20px);
  right: var(--space-lg);
  height: 1px;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.1) 0%, 
    rgba(255,255,255,0.05) 50%, 
    transparent 100%);
  transition: all 0.3s ease;
}

.offcanvas-body ul li:last-child a::after {
  display: none;
}

/* Hover effect */
.offcanvas-body ul li a:hover {
  background: linear-gradient(90deg, 
    rgba(168, 85, 247, 0.15) 0%, 
    rgba(0, 217, 255, 0.05) 100%);
  color: var(--color-aurora-cyan);
  padding-left: calc(var(--space-lg) + 8px);
}

.offcanvas-body ul li a:hover::before {
  color: var(--color-aurora-cyan);
  transform: rotate(45deg) scale(1.3);
  opacity: 1;
  text-shadow: 0 0 10px var(--color-aurora-cyan);
}

.offcanvas-body ul li a:hover::after {
  background: linear-gradient(90deg, 
    var(--color-aurora-purple) 0%, 
    var(--color-aurora-cyan) 50%, 
    transparent 100%);
  opacity: 0.5;
}

/* Active state */
.offcanvas-body ul li a:active {
  transform: scale(0.98);
}

/* ============================================
   7. BREADCRUMB - ENHANCED
   ============================================ */
#linksite {
  padding: 0;
  margin: 0;
}

nav[aria-label="breadcrumb"] {
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.3) 0%, 
    rgba(0, 0, 0, 0.1) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-sm) var(--space-lg);
  position: relative;
}

nav[aria-label="breadcrumb"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 1px;
  background: var(--gradient-aurora);
  opacity: 0.5;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  padding: var(--space-xs) 0;
  margin: 0;
  list-style: none;
  background: transparent;
  font-size: 0.85rem;
  align-items: center;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: var(--space-sm);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  display: inline-block;
  padding-right: var(--space-sm);
  color: var(--color-aurora-purple);
  font-size: 1.2rem;
  font-weight: 300;
  opacity: 0.7;
}

.breadcrumb-item a {
  color: var(--color-moon-glow);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  position: relative;
}

.breadcrumb-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-sm);
  right: var(--space-sm);
  height: 1px;
  background: var(--color-aurora-cyan);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.breadcrumb-item a:hover {
  color: var(--color-aurora-cyan);
  background: rgba(0, 217, 255, 0.1);
}

.breadcrumb-item a:hover::after {
  transform: scaleX(1);
}

.breadcrumb-item.active {
  color: var(--color-stardust);
}

/* ============================================
   8. ANIMAZIONI MENU - ENHANCED
   ============================================ */
/* Animazione apertura offcanvas più fluida */
.offcanvas.showing,
.offcanvas.show:not(.hiding) {
  transform: translateX(0);
}

/* Stagger animation per menu items */
.offcanvas.showing .colonna > *,
.offcanvas.show:not(.hiding) .colonna > * {
  animation: menuItemSlide 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.offcanvas.showing .colonna > *:nth-child(1),
.offcanvas.show:not(.hiding) .colonna > *:nth-child(1) { animation-delay: 0.1s; }
.offcanvas.showing .colonna > *:nth-child(2),
.offcanvas.show:not(.hiding) .colonna > *:nth-child(2) { animation-delay: 0.15s; }
.offcanvas.showing .colonna > *:nth-child(3),
.offcanvas.show:not(.hiding) .colonna > *:nth-child(3) { animation-delay: 0.2s; }
.offcanvas.showing .colonna > *:nth-child(4),
.offcanvas.show:not(.hiding) .colonna > *:nth-child(4) { animation-delay: 0.25s; }
.offcanvas.showing .colonna > *:nth-child(5),
.offcanvas.show:not(.hiding) .colonna > *:nth-child(5) { animation-delay: 0.3s; }
.offcanvas.showing .colonna > *:nth-child(6),
.offcanvas.show:not(.hiding) .colonna > *:nth-child(6) { animation-delay: 0.35s; }

@keyframes menuItemSlide {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Animazione per le liste con effetto cascade */
.offcanvas.showing ul li,
.offcanvas.show:not(.hiding) ul li {
  animation: listItemFade 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.offcanvas.showing ul li:nth-child(1),
.offcanvas.show:not(.hiding) ul li:nth-child(1) { animation-delay: 0.05s; }
.offcanvas.showing ul li:nth-child(2),
.offcanvas.show:not(.hiding) ul li:nth-child(2) { animation-delay: 0.08s; }
.offcanvas.showing ul li:nth-child(3),
.offcanvas.show:not(.hiding) ul li:nth-child(3) { animation-delay: 0.11s; }
.offcanvas.showing ul li:nth-child(4),
.offcanvas.show:not(.hiding) ul li:nth-child(4) { animation-delay: 0.14s; }
.offcanvas.showing ul li:nth-child(5),
.offcanvas.show:not(.hiding) ul li:nth-child(5) { animation-delay: 0.17s; }
.offcanvas.showing ul li:nth-child(6),
.offcanvas.show:not(.hiding) ul li:nth-child(6) { animation-delay: 0.2s; }
.offcanvas.showing ul li:nth-child(7),
.offcanvas.show:not(.hiding) ul li:nth-child(7) { animation-delay: 0.23s; }
.offcanvas.showing ul li:nth-child(8),
.offcanvas.show:not(.hiding) ul li:nth-child(8) { animation-delay: 0.26s; }
.offcanvas.showing ul li:nth-child(9),
.offcanvas.show:not(.hiding) ul li:nth-child(9) { animation-delay: 0.29s; }
.offcanvas.showing ul li:nth-child(10),
.offcanvas.show:not(.hiding) ul li:nth-child(10) { animation-delay: 0.32s; }
.offcanvas.showing ul li:nth-child(11),
.offcanvas.show:not(.hiding) ul li:nth-child(11) { animation-delay: 0.35s; }
.offcanvas.showing ul li:nth-child(12),
.offcanvas.show:not(.hiding) ul li:nth-child(12) { animation-delay: 0.38s; }

@keyframes listItemFade {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   9. OFFCANVAS BACKDROP - ENHANCED
   ============================================ */
.offcanvas-backdrop {
  background: rgba(10, 10, 26, 0.85) !important;
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
}

.offcanvas-backdrop.show {
  opacity: 1 !important;
}

/* ============================================
   10. SUBMENUS INDICATOR
   ============================================ */
.colonna .btn[data-bs-toggle="offcanvas"]::after {
  content: '▸';
  position: absolute;
  right: var(--space-lg);
  font-size: 0.9rem;
  color: var(--color-aurora-purple);
  transition: all 0.3s ease;
}

.colonna .btn[data-bs-toggle="offcanvas"]:hover::after {
  transform: translateX(5px);
  color: var(--color-aurora-cyan);
}

/* ============================================
   11. RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991px) {
  .navbar {
    padding: var(--space-sm) var(--space-md);
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .navbar-brand::before {
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .offcanvas {
    max-width: 100%;
    border-left: none !important;
    border-top: 1px solid rgba(168, 85, 247, 0.3) !important;
  }
  
  .offcanvas-header {
    padding: var(--space-lg);
  }
  
  .offcanvas-body {
    padding: var(--space-md);
  }
  
  .colonna .btn,
  .colonna .nav-link {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
  
  .offcanvas-body ul li a {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.85rem;
  }
  
  .navbar-brand::before {
    display: none;
  }
  
  .menu-icon {
    width: 24px;
    height: 16px;
  }
  
  .menu-icon span {
    height: 2px;
  }
}

/* ============================================
   12. FOCUS & ACCESSIBILITY
   ============================================ */
.navbar .btn:focus-visible,
.colonna .btn:focus-visible,
.colonna .nav-link:focus-visible,
.offcanvas-body ul li a:focus-visible,
.breadcrumb-item a:focus-visible {
  outline: 2px solid var(--color-aurora-cyan);
  outline-offset: 3px;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .navbar-brand,
  .navbar-brand::before,
  .offcanvas::before,
  .offcanvas.showing .colonna > *,
  .offcanvas.show:not(.hiding) .colonna > *,
  .offcanvas.showing ul li,
  .offcanvas.show:not(.hiding) ul li {
    animation: none;
  }
  
  .menu-icon span,
  .btn-close,
  .colonna .btn,
  .colonna .nav-link,
  .offcanvas-body ul li a,
  .breadcrumb-item a {
    transition: none;
  }
}

/* ============================================
   13. DARK MODE ENHANCEMENTS (already dark)
   ============================================ */
@media (prefers-color-scheme: dark) {
  .navbar {
    background: linear-gradient(180deg, rgba(5, 5, 15, 0.99) 0%, rgba(10, 12, 30, 0.98) 100%) !important;
  }
}

/* ============================================
   14. HIGH CONTRAST MODE
   ============================================ */
@media (prefers-contrast: high) {
  .navbar,
  .offcanvas {
    border-color: white !important;
  }
  
  .colonna .btn,
  .colonna .nav-link,
  .offcanvas-body ul li a {
    border-color: rgba(255, 255, 255, 0.5);
  }
  
  .navbar-brand,
  .offcanvas-title {
    -webkit-text-fill-color: white;
    background: none;
  }
}