/* JD Nevins Shared Navigation Styles */
/* This CSS works with nav-auto.js to provide complete navigation */

/* Navigation Container */
#jdnevins-nav {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

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

.logo {
    height: 40px;
    z-index: 10001;
}

.logo img {
    height: 100%;
    width: auto;
}

/* Desktop Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #0A0E27;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #0066FF;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
    transition: width 0.3s;
}

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

.nav-cta {
    background: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 10001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #0A0E27;
    transition: all 0.3s;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 5rem 2rem 2rem;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin: 0;
    padding: 0;
}

.mobile-menu a {
    text-decoration: none;
    color: #0A0E27;
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 102, 255, 0.1);
}

.mobile-menu .nav-cta {
    background: linear-gradient(135deg, #0066FF 0%, #00D9FF 100%);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-align: center;
    margin-top: 1rem;
    border-bottom: none;
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none !important;
    }

    .hamburger {
        display: flex !important;
    }
}

/* Ensure body has top padding for fixed nav */
body {
    padding-top: 80px;
}
