/* Resume Page Styles */

.resume-nav-wrapper {
    position: sticky;
    top: 68px;
    z-index: 990;
    background: var(--color-bg-primary);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    transition: top 0.3s ease, background 0.3s ease;
}

[data-theme="light"] .resume-nav-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.resume-nav {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3) 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.resume-nav::-webkit-scrollbar {
    display: none;
}

.resume-nav__link {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-small);
    font-weight: var(--weight-medium);
    color: var(--color-text-secondary);
    text-decoration: none;
    border-radius: var(--radius-full);
    white-space: nowrap;
    transition: all var(--duration-fast);
}

.resume-nav__link:hover {
    color: var(--color-text-primary);
    background: var(--glass-bg-hover);
}

.resume-nav__link.active {
    color: #ffffff !important;
    background: var(--color-accent) !important;
    font-weight: var(--weight-semibold);
    box-shadow: 0 4px 12px rgba(41, 151, 255, 0.25);
}

[data-theme="light"] .resume-nav__link {
    color: #4b5563;
}

[data-theme="light"] .resume-nav__link:hover {
    color: #111827;
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .resume-nav__link.active {
    color: #ffffff !important;
    background: var(--color-accent, #2997ff) !important;
    box-shadow: 0 4px 12px rgba(41, 151, 255, 0.2);
}

/* Scroll Offset for Resume Sections */
#education,
#experience,
#publications,
#projects {
    scroll-margin-top: 130px;
}

/* Publications */
.publication-card {
    margin-bottom: var(--space-4);
}

.publication-card__title {
    font-size: var(--text-h4);
    margin: var(--space-3) 0 var(--space-2);
}

.publication-card__authors {
    font-size: var(--text-small);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-1);
}

.publication-card__venue {
    font-size: var(--text-small);
    color: var(--color-text-tertiary);
    font-style: italic;
    margin-bottom: var(--space-3);
}

.publication-card__links {
    display: flex;
    gap: var(--space-2);
}