/* Header Styles */
.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo a {
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.logo a:hover {
    transform: scale(1.05);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.nav-list li a:hover::after {
    width: 100%;
}

.nav-list li a:hover {
    color: #667eea;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover span {
    background: #667eea;
}

/* Main Content */
.main-content {
    margin-top: 80px; /* Header height */
    min-height: calc(100vh - 80px);
}

/* Mobile Menu */
.nav.mobile-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    display: block;
}

.nav.mobile-open .nav-list {
    flex-direction: column;
    gap: 1rem;
}

.nav.mobile-open .nav-list li a {
    display: block;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.nav.mobile-open .nav-list li a:hover {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-container {
        padding: 1rem;
    }
    
    .logo a {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.8rem 1rem;
    }
    
    .logo a {
        font-size: 1.3rem;
    }
    
    .mobile-menu-toggle span {
        width: 20px;
        height: 2px;
    }
}
