/* ========================================
   STRIPE-INSPIRED NAVIGATION STYLES
   ========================================
   Clean, minimal navigation matching Stripe's design patterns
   
   DESIGN PRINCIPLES:
   - Minimal visual noise
   - Clean typography
   - Subtle interactions
   - Mobile-first responsive
*/

/* ==========================================
   STRIPE-STYLE HEADER
   ========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 1001 !important;
    height: 60px !important;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
}
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    z-index: 1000 !important;
    height: 60px !important;
}

.main-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ==========================================
   STRIPE-STYLE LOGO
   ========================================== */
.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo a {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    color: #e8e8e8;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}

.logo .the {
    color: #ff4d00;
    margin-right: 4px;
}

.logo .journeyman {
    color: #e8e8e8;
}

/* ==========================================
   STRIPE-STYLE NAVIGATION
   ========================================== */
.main-nav {
    display: flex;
    align-items: center;
    height: 100%;
}

/* New template brand and actions */
.nav-brand { display: flex; align-items: center; height: 100%; }
.nav-brand .brand-logo { color: #e8e8e8; text-decoration: none; font-size: 20px; font-weight: 600; display: flex; align-items: center; }
.nav-brand .brand-logo .the { color: #ff4d00; margin-right: 4px; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-actions .btn { padding: 6px 12px; border-radius: 6px; font-size: 13px; min-height: 36px; }
.nav-actions .btn-outline { color: #e8e8e8; border: 1px solid #2a2a2a; background: transparent; }
.nav-actions .btn-outline:hover { border-color: #ff4d00; color: #ff4d00; }
.nav-actions .btn-primary { color: #ffffff; background: #ff4d00; border: 1px solid #ff4d00; }
.nav-actions .btn-primary:hover { background: #ff8000; border-color: #ff8000; }

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
    align-items: center;
    height: 100%;
}

.main-nav li {
    display: flex;
    align-items: center;
    height: 100%;
}

.main-nav a {
    color: #a0a0a0 !important;
    text-decoration: none !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500 !important;
    font-size: 14px !important;
    padding: 8px 0 !important;
    transition: color 0.2s ease !important;
    position: relative !important;
    display: flex;
    align-items: center;
    height: 100%;
    white-space: nowrap !important;
}

.main-nav a:hover,
.main-nav a.active {
    color: #e8e8e8;
}

/* ==========================================
   STRIPE-STYLE AUTH BUTTONS
   ==========================================/* Auth Buttons */
.auth-buttons {
    display: flex;
    gap: 8px; /* Reduced from 16px */
    align-items: center;
    height: 100%;
}

.auth-buttons .btn {
    padding: 6px 12px; /* Reduced padding */
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    font-size: 13px; /* Reduced from 15px */
    transition: all 0.15s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
}

.auth-buttons .btn-outline {
    color: #e8e8e8;
    border-color: #2a2a2a;
    background: transparent;
}

.auth-buttons .btn-outline:hover {
    border-color: #ff4d00;
    color: #ff4d00;
}

.auth-buttons .btn-primary {
    color: #ffffff;
    background: #ff4d00;
    border-color: #ff4d00;
}

.auth-buttons .btn-primary:hover {
    background: #ff8000;
    border-color: #ff8000;
}

/* ==========================================
   DROPDOWN MENUS (Desktop + Mobile toggle)
   ========================================== */
.desktop-nav { display: flex; gap: 24px; align-items: center; }
.nav-dropdown { position: relative; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 1002;
}
.dropdown-menu .dropdown-item { display: block; padding: 8px 14px; color: #a0a0a0; text-decoration: none; white-space: nowrap; }
.dropdown-menu .dropdown-item:hover { color: #e8e8e8; background: rgba(255,77,0,0.08); }
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown.dropdown-active > .dropdown-menu { display: block; }

/* More menu alignment */
.nav-dropdown.more { order: 99; display: none; }

/* ==========================================
   MOBILE MENU TOGGLE
   ========================================== */
.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #e8e8e8;
    font-size: 18px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.menu-toggle:hover {
    background: rgba(255, 77, 0, 0.1);
    color: #ff4d00;
}

/* ==========================================
   MOBILE MENU
   ========================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #141414;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #2a2a2a;
}

.mobile-brand {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #e8e8e8;
}

.close-menu {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    transition: all 0.15s ease;
}

.close-menu:hover {
    background: rgba(255, 77, 0, 0.1);
    color: #ff4d00;
    padding: 24px;
    margin: 0;
}

.mobile-nav-links {
    list-style: none;
    padding: 24px;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 8px;
}

.mobile-nav-links a {
    color: #a0a0a0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    padding: 12px 0;
    transition: color 0.15s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
    color: #e8e8e8;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    margin-top: auto;
    border-top: 1px solid #2a2a2a;
}

.mobile-auth-buttons .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* ==========================================
   NAVIGATION OVERLAY
   ========================================== */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 768px) {
    .main-nav,
    .auth-buttons {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-header {
        height: 64px;
    }
    
    .main-header .container {
        padding: 0 16px;
    }
    
    .logo a {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .main-header {
        height: 56px;
    }
    
    .logo a {
        font-size: 16px;
    }
    
    .mobile-menu {
        width: 100%;
    }
}


