/* =====================================
   NAVIGATION STYLES
   ===================================== */

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem; /* Reduced from 2.5rem */
    transition: all 0.4s ease;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: rgba(0, 0, 0, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    padding: 0.4rem 0.8rem; /* Reduced from 0.5rem 1rem */
    border-radius: 12px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Scrolled Navigation */
.header.scrolled .nav-links {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    animation: navSlideIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
    flex-wrap: nowrap;
    align-items: center;
}

@media (max-width: 768px) {
    .header.scrolled .nav-links {
        display: none;
    }
    
    .header.scrolled .login-button {
        display: none;
    }
}

.header.scrolled .nav-links a {
    color: rgba(0, 0, 0, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.header.scrolled .nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.15), 
        transparent);
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled .nav-links a:hover::before {
    left: 100%;
}

.header.scrolled .nav-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: rgba(0, 0, 0, 1);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
}

.header.scrolled .nav-links a::after {
    display: none;
}

/* =====================================
   LOGIN BUTTON STYLES
   ===================================== */

.login-button {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    padding: 0.6rem 1.3rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.login-button i {
    font-size: 1.1rem;
}

.login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-button:hover::before {
    left: 100%;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.header.scrolled .login-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.header-nav-section {
    display: flex;
    align-items: center;
    gap: 1.5rem; /* Reduced from 2rem */
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header.scrolled .login-button {
        display: none;
    }
}
