/* =============================================
   MOBILE NAV (Simple / Homepage Style)
   ============================================= */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 5, 5, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff; /* var(--text) isn't always available in blog? Fallback to white */
  color: var(--text-primary, #fff); /* Try var if exists */
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: #22c55e; /* var(--primary) */
  color: var(--primary, #22c55e);
}

/* Hamburger Button specific to Index style */
.hamburger {
  display: block; /* ensure it is visible on mobile if media query allows */
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10000; /* above mobile nav */
  padding: 10px;
  border-radius: 12px;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

@media (min-width: 769px) {
  .hamburger {
    display: none;
  }
  .mobile-nav {
    display: none !important;
  }
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  background: var(--text-primary, #fff);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
