/* Shared Navigation Styles - nav.css */
/* Edit THIS file to change nav across ALL pages */

nav {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links > a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links > a:hover { color: #2563eb; }
.nav-links > a.btn-primary { color: white !important; }

.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    cursor: pointer;
    white-space: nowrap;
}

.nav-dropdown-trigger:hover { color: #2563eb; }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 0.5rem 0;
    min-width: 200px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 1001;
    padding-top: 0.75rem;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 1.25rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #f8fafc;
    color: #2563eb;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #64748b;
    margin: 5px 0;
    transition: 0.3s;
}

.nav-links .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none !important;
    transition: all 0.3s;
    cursor: pointer;
    border: none !important;
    outline: none !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

.nav-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37,99,235,0.4);
}

@media (max-width: 968px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
}
