/* Navbar Styles */
.nyx-navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}


.navbar-container {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    /* Remove any margin that pushes it away from left */
    margin-right: auto;
}

.navbar-logo {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

/* Desktop Navlinks */
.navbar-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    margin-left: auto; /* This pushes nav links to the far right */
}

.nav-link {
    color: #e7e7e7;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #149AAA, #046363);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.nav-link.active {
    color: #149AAA;
}

.nav-link.active::before {
    width: 100%;
}

/* Mobile Toggle Button */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.navbar-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #e7e7e7;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Mobile Menu */
.navbar-menu-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(15px);
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
    border-left: 1px solid #2a2a2a;
}

.navbar-menu-mobile.active {
    right: 0;
}

.navbar-nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link-mobile {
    color: #e7e7e7;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #2a2a2a;
    transition: all 0.3s ease;
    position: relative;
    display: block;
}

.nav-link-mobile::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 0;
    background: linear-gradient(135deg, #149AAA, #046363);
    border-radius: 2px;
    transition: height 0.3s ease;
}

.nav-link-mobile:hover {
    color: #149AAA;
    padding-left: 1rem;
}

.nav-link-mobile:hover::before {
    height: 70%;
}

/* Menu Overlay */
.navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.navbar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Toggle Animation */
.navbar-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active span:nth-child(2) {
    opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Force logo to be completely left on larger screens */
@media (min-width: 769px) {
    .navbar-container {
        padding: 0 2rem;
    }
    
    .navbar-logo-link {
        margin-left: 0;
        margin-right: auto;
    }
    
    .navbar-nav {
        margin-left: auto;
        margin-right: 0;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .navbar-nav {
        gap: 2rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .navbar-nav {
        display: none;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu-mobile {
        width: 85%;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0 1rem;
    }
    
    .navbar-menu-mobile {
        width: 100%;
        max-width: none;
        padding: 80px 1.5rem 2rem;
    }
    
    .nav-link-mobile {
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }
}