/* Tubelight Navigation Bar */
.tubelight-navbar {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    margin-bottom: 1.5rem;
    padding-top: 0;
}

@media (min-width: 640px) {
    .tubelight-navbar {
        top: 0;
        bottom: auto;
        margin-bottom: 0;
        padding-top: 1.5rem;
    }
}

.navbar-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.25rem;
    border-radius: 9999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.nav-item {
    position: relative;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
}

.nav-item:hover {
    color: #60a5fa;
}

.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
}

/* Text visibility */
.nav-text {
    display: none;
}

@media (min-width: 768px) {
    .nav-text {
        display: inline;
    }
}

/* Icon visibility */
.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .nav-icon {
        display: none;
    }
}

/* Tubelight Effect */
.tubelight-effect {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2rem;
    height: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.nav-item.active .tubelight-effect {
    opacity: 1;
}

.tubelight-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #60a5fa;
    border-radius: 9999px;
    animation: tubeLightPulse 2s ease-in-out infinite;
}

.tubelight-glow-2 {
    position: absolute;
    top: -0.5rem;
    left: -1rem;
    width: 3rem;
    height: 1.5rem;
    background: rgba(96, 165, 250, 0.2);
    border-radius: 9999px;
    filter: blur(8px);
    animation: tubeLightGlow 2s ease-in-out infinite;
}

.tubelight-glow-3 {
    position: absolute;
    top: -0.25rem;
    left: 0;
    width: 2rem;
    height: 1.5rem;
    background: rgba(96, 165, 250, 0.2);
    border-radius: 9999px;
    filter: blur(4px);
    animation: tubeLightGlow 2s ease-in-out infinite 0.5s;
}

/* Tubelight Animations */
@keyframes tubeLightPulse {
    0%, 100% {
        opacity: 1;
        transform: scaleY(1);
    }
    50% {
        opacity: 0.8;
        transform: scaleY(0.9);
    }
}

@keyframes tubeLightGlow {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Enhanced hover effects */
.nav-item:hover .tubelight-effect {
    opacity: 0.5;
}

.nav-item:not(.active):hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
    .navbar-container {
        gap: 0.5rem;
        padding: 0.2rem;
    }
    
    .nav-item {
        padding: 0.5rem;
        min-width: 2.25rem;
        height: 2.25rem;
    }
}

/* Desktop specific adjustments */
@media (min-width: 768px) {
    .nav-item {
        padding: 0.5rem 1.5rem;
        min-width: auto;
        height: 2.5rem;
    }
}

/* Smooth transition for active state changes */
.nav-item .tubelight-effect {
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced glassmorphism for better visibility */
.navbar-container {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Active state background animation */
.nav-item.active {
    background: linear-gradient(45deg, rgba(96, 165, 250, 0.1), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(96, 165, 250, 0.2);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.1);
} 