/* Tubelight Navbar - Modern navigation with tubelight effect */

:root {
  --navbar-blue: #3481C1;
  --navbar-blue-light: #A3CDFF;
  --navbar-blue-dark: #325D92;
  --navbar-white: #FFFFFF;
  --navbar-gray: #F5F5F5;
  --navbar-text: #333333;
  --navbar-muted: #f1f5f9;
}

.tubelight-navbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  z-index: 1000;
  padding-top: 1.5rem;
}

.tubelight-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.25rem 0.25rem;
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 9999px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tubelight-logo {
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.tubelight-logo .logo-img {
  max-height: 40px;
  width: auto;
}

.tubelight-nav {
  display: flex;
  align-items: center;
  position: relative;
}

.tubelight-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.75rem;
}

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

.tubelight-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.3s ease;
  cursor: pointer;
}

.tubelight-link i {
  font-size: 18px;
  display: none;
}

.tubelight-menu-item.active .tubelight-link {
  color: var(--navbar-blue);
  background-color: var(--navbar-muted);
  position: relative;
}

.tubelight-link:hover {
  color: var(--navbar-blue);
}

.tubelight-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  background-color: rgba(52, 129, 193, 0.05);
  border-radius: 9999px;
  z-index: -1;
}

/* Tubelight effect */
.tubelight-lamp {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2rem;
  height: 0.25rem;
  background-color: var(--navbar-blue);
  border-radius: 9999px 9999px 0 0;
}

.tubelight-lamp::before {
  content: '';
  position: absolute;
  width: 3rem;
  height: 1.5rem;
  background-color: rgba(52, 129, 193, 0.2);
  border-radius: 9999px;
  filter: blur(8px);
  top: -0.5rem;
  left: -0.5rem;
}

.tubelight-lamp::after {
  content: '';
  position: absolute;
  width: 2rem;
  height: 1.5rem;
  background-color: rgba(52, 129, 193, 0.2);
  border-radius: 9999px;
  filter: blur(10px);
  top: -0.25rem;
  left: 0;
}

.tubelight-lamp-dot {
  position: absolute;
  width: 1rem;
  height: 1rem;
  background-color: rgba(52, 129, 193, 0.2);
  border-radius: 9999px;
  filter: blur(4px);
  top: 0;
  left: 0.5rem;
}

/* Mobile menu toggle */
.tubelight-menu-toggle {
  display: none;
  background-color: transparent;
  color: var(--navbar-text);
  border: none;
  border-radius: 9999px;
  padding: 0.5rem;
  margin-right: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.tubelight-menu-toggle:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Media queries for responsive design */
@media (max-width: 768px) {
  .tubelight-navbar {
    bottom: 0;
    top: auto;
    padding-top: 0;
    padding-bottom: 1.5rem;
    width: 90%;
  }

  .tubelight-link span {
    display: none;
  }

  .tubelight-link i {
    display: inline-block;
  }

  .tubelight-lamp {
    display: none;
  }

  /* Show icon on mobile */
  .tubelight-menu-item.active .tubelight-link::before {
    display: none;
  }
} 