/* Enhanced Navigation Styles */

.enhanced-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(10, 15, 28, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: all var(--animation-normal);
}

.enhanced-nav.scrolled {
    background: rgba(10, 15, 28, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    height: 100%;
}

/* Enhanced Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    cursor: pointer;
}

.brand-logo {
    width: 40px;
    height: 40px;
    background: url('https://firebasestorage.googleapis.com/v0/b/videolize-3563f.appspot.com/o/bigstar.png?alt=media&token=53c5945b-2b37-4c3e-972c-7bd1b0b9e4f1');
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    transform: rotate(-15deg);
    transition: all var(--animation-normal);
}

.nav-brand:hover .brand-logo {
    transform: rotate(0deg) scale(1.1);
}

.brand-text {
    font-family: var(--font-family-display);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--color-text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-suffix {
    color: var(--color-text-secondary);
    font-weight: 400;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-2xl);
}

.nav-link {
    position: relative;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-base);
    transition: all var(--animation-normal);
    padding: var(--spacing-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--animation-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Navigation Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-family-primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: all var(--animation-normal);
    overflow: hidden;
}

.nav-btn-secondary {
    background: transparent;
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.nav-btn-secondary:hover {
    background: var(--color-surface);
    color: var(--color-text-primary);
    border-color: var(--color-border-hover);
    transform: translateY(-1px);
}

.nav-btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-md);
}

.nav-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.nav-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity var(--animation-normal);
}

.nav-btn-primary:hover::before {
    opacity: 1;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--animation-normal);
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}

/* Mobile Navigation Menu */
.nav-mobile {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(10, 15, 28, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--animation-normal);
    z-index: 999;
}

.nav-mobile.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.nav-mobile-content {
    padding: var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.nav-mobile-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.nav-mobile-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-lg);
    transition: all var(--animation-normal);
    padding: var(--spacing-sm) 0;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
    color: var(--color-text-primary);
    transform: translateX(8px);
}

.nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 var(--spacing-lg);
    }
    
    .nav-links {
        gap: var(--spacing-lg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-actions {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-container {
        padding: 0 var(--spacing-md);
    }
    
    .brand-text {
        font-size: var(--font-size-xl);
    }
}

@media (max-width: 640px) {
    .enhanced-nav {
        height: 70px;
    }
    
    .nav-mobile {
        top: 70px;
    }
    
    .brand-logo {
        width: 32px;
        height: 32px;
    }
    
    .brand-text {
        font-size: var(--font-size-lg);
    }
}