/* Tech Fun Navbar Styles */
.tech-fun-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(94, 234, 212, 0.3);
  z-index: 10001;
  transition: all 0.3s ease;
}

.tech-fun-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* Logo Styles */
.tech-fun-navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.tech-fun-navbar-logo:hover {
  transform: scale(1.05);
}

.tech-fun-logo-icon {
  flex-shrink: 0;
}

.tech-fun-navbar-title {
  font-family: 'Orbitron', 'Roboto', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #00fff7 0%, #5eead4 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
}

/* Hamburger Menu Button */
.tech-fun-navbar-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #5eead4;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.tech-fun-navbar-hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.tech-fun-navbar-hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.tech-fun-navbar-hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Menu */
.tech-fun-navbar-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tech-fun-navbar-item {
  position: relative;
}

.tech-fun-navbar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  color: #e5f6f7;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 400;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 44px;
}

.tech-fun-navbar-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.3), transparent);
  transition: left 0.5s ease;
}

.tech-fun-navbar-link:hover::before {
  left: 100%;
}

.tech-fun-navbar-link:hover {
  color: #5eead4;
  background: rgba(94, 234, 212, 0.1);
  transform: translateY(-2px);
}

.tech-fun-nav-icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0;
  color: currentColor;
}

/* Separator */
.tech-fun-navbar-separator {
  width: 1px;
  height: 24px;
  background: rgba(94, 234, 212, 0.3);
  margin: 0 8px;
}

/* Home Link Special Style */
.tech-fun-navbar-link-home {
  background: rgba(8, 182, 185, 0.1);
  border: 1px solid rgba(8, 182, 185, 0.3);
}

.tech-fun-navbar-link-home:hover {
  background: rgba(8, 182, 185, 0.2);
  border-color: #08b6b9;
  color: #00fff7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .tech-fun-navbar-hamburger {
    display: flex;
  }

  .tech-fun-navbar-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: rgba(0, 0, 0, 0.99);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 20px;
    overflow-y: auto;
    transition: right 0.3s ease;
    border-left: 1px solid rgba(94, 234, 212, 0.3);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .tech-fun-navbar-menu.active {
    right: 0;
  }

  .tech-fun-navbar-item {
    width: 100%;
  }

  .tech-fun-navbar-link {
    width: 100%;
    padding: 12px 16px;
    justify-content: flex-start;
  }

  .tech-fun-navbar-separator {
    width: 100%;
    height: 1px;
    margin: 16px 0;
  }

  /* Add subtle glow effect on mobile menu open */
  .tech-fun-navbar-menu.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00fff7, #5eead4, #06b6d4);
    animation: glowPulse 2s ease-in-out infinite;
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: scaleX(1);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.1);
  }
}

/* Scroll Effect */
.tech-fun-navbar.scrolled {
  background: rgba(0, 0, 0, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Focus Styles for Accessibility */
.tech-fun-navbar-link:focus,
.tech-fun-navbar-hamburger:focus {
  outline: 2px solid #5eead4;
  outline-offset: 2px;
}

/* Active Page Indicator */
.tech-fun-navbar-link.active {
  background: rgba(94, 234, 212, 0.15);
  color: #5eead4;
  box-shadow: inset 0 0 10px rgba(94, 234, 212, 0.2);
}

/* Add body padding to account for fixed navbar */
body.has-tech-fun-navbar {
  padding-top: 80px;
}