/* header.css - Header Specific Styles */
.main-header {
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 243, 255, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.user-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Logo */
.logo-name {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.logo-name img {
    border-radius: 50%;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    padding: 5px 0;
    animation: logoPulse 2s ease-in-out infinite alternate;
}

@keyframes logoPulse {
    0% {
        text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    }
    100% {
        text-shadow: 
            0 0 20px var(--neon-blue),
            0 0 40px var(--neon-purple),
            0 0 60px rgba(0, 243, 255, 0.3);
    }
}

/* Hamburger Menu */
.hamburger {
    width: 45px;
    height: 45px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.3);
    border-radius: 10px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1001;
}

.hamburger:hover {
    background: rgba(0, 243, 255, 0.2);
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.hamburger .bar {
    width: 22px;
    height: 2px;
    background: var(--neon-blue);
    border-radius: 1px;
    transition: var(--transition);
}

.hamburger.is-active {
    background: var(--neon-blue);
}

.hamburger.is-active .bar {
    background: white;
}

.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(30px);
    padding: 100px 30px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    border-right: 2px solid var(--neon-blue);
    box-shadow: 0 0 40px rgba(0, 243, 255, 0.2);
}

.mobile-nav.is-active {
    left: 0;
}

.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: linear-gradient(to bottom, rgba(10, 14, 23, 0.9), transparent);
    z-index: 1;
}

.mobile-nav a {
    display: block;
    padding: 18px 25px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 243, 255, 0.1);
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 243, 255, 0.2),
        transparent
    );
    transition: left 0.6s ease;
}

.mobile-nav a:hover::before {
    left: 100%;
}

.mobile-nav a:hover {
    background: rgba(0, 243, 255, 0.15);
    border-color: var(--neon-blue);
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.2);
}

.mobile-nav a i {
    margin-right: 10px;
    color: var(--neon-blue);
    width: 20px;
    text-align: center;
}

/* Header Scroll Effect */
.main-header.scrolled {
    padding: 10px 0;
    background: rgba(10, 14, 23, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border-bottom-color: var(--neon-blue);
}

/* Responsive Header */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .logo {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .mobile-nav {
        width: 250px;
    }
    
    .mobile-nav a {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
        letter-spacing: 1px;
    }
    
    .mobile-nav {
        width: 220px;
        padding: 90px 20px 20px;
    }
    
    .hamburger {
        width: 40px;
        height: 40px;
    }
    
    .hamburger .bar {
        width: 20px;
    }
}

/* Header Animation on Load */
@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.main-header {
    animation: headerSlideDown 0.5s ease-out;
}