/* Navigation Container */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding: 20px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-bottom: 1px solid transparent;
}

/* State: Scrolled (Added via JS) */
nav.nav-scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo-text {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1.5px;
    color: var(--black);
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s;
}

.nav-links a:hover { opacity: 0.6; }

/* Mega Menu Logic */
.has-dropdown { position: static; } /* Static allows mega menu to be full width */

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 40px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.menu-column { display: flex; flex-direction: column; gap: 12px; padding: 0 40px; }
.menu-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #aaa;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 10px;
}

.menu-column a { font-size: 1rem; color: var(--black) !important; opacity: 1 !important; }
.menu-column a:hover { color: var(--accent-pro) !important; }