/* ================================
   MOBILE TIMELINE NAVIGATION
   ================================ */

.mobile-timeline-nav {
    margin: var(--space-8) 0;
    padding: var(--space-6);
    background: var(--color-background-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
}

.nav-section-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 var(--space-4) 0;
    text-align: center;
    letter-spacing: var(--letter-spacing-tight);
}

.nav-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.mobile-nav-button {
    width: 100%;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4) var(--space-6);
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.15s ease;
    min-height: 60px; /* Touch-friendly height */
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: var(--color-background-muted);
    border-color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.nav-icon {
    font-size: var(--font-size-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.bluesky-logo-img {
    width: 24px;
    height: 24px;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(175deg) brightness(1.2);
    /* This filter converts the black SVG to Bluesky blue (#1185fe) */
}

.nav-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.nav-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.nav-subtitle {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin: 0;
}

.nav-arrow {
    font-size: var(--font-size-lg);
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.mobile-nav-link:hover .nav-arrow,
.mobile-nav-link:active .nav-arrow {
    color: var(--color-primary);
    transform: translateX(2px);
}

/* Touch improvements */
@media (max-width: 768px) {
    .mobile-nav-link {
        min-height: 64px; /* Even more touch-friendly */
        padding: var(--space-4) var(--space-4);
    }
    
    .nav-icon {
        font-size: var(--font-size-3xl);
        width: 36px;
        height: 36px;
    }
    
    .nav-title {
        font-size: var(--font-size-lg);
    }
    
    .nav-subtitle {
        font-size: var(--font-size-base);
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .mobile-nav-link,
    .nav-arrow {
        transition: none;
    }
    
    .mobile-nav-link:hover,
    .mobile-nav-link:active {
        transform: none;
    }
    
    .mobile-nav-link:hover .nav-arrow,
    .mobile-nav-link:active .nav-arrow {
        transform: none;
    }
}

/* Focus styles for keyboard navigation */
.mobile-nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(99, 179, 237, 0.3);
    border-color: var(--color-primary);
}