/* Resume Page Styles */

.resume-container {
    position: relative;
    z-index: 60;
    max-width: 900px;
    margin: 80px auto 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
}

[data-theme="light"] .resume-container {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.resume-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .resume-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.resume-name {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--name-gradient-1), var(--name-gradient-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.resume-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.resume-links a {
    color: var(--tagline-color);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.resume-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-color);
}

[data-theme="light"] .resume-links a {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .resume-links a:hover {
    background: rgba(0, 0, 0, 0.1);
}

.resume-section {
    margin-bottom: 35px;
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--name-gradient-1);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--name-gradient-1);
}

.experience-item,
.education-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.experience-item:hover,
.education-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .experience-item,
[data-theme="light"] .education-item {
    background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .experience-item:hover,
[data-theme="light"] .education-item:hover {
    background: rgba(0, 0, 0, 0.04);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}

.job-title,
.edu-degree {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
}

.job-period {
    font-size: 0.9rem;
    color: var(--tagline-color);
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 15px;
}

[data-theme="light"] .job-period {
    background: rgba(0, 0, 0, 0.05);
}

.job-company {
    font-size: 0.95rem;
    color: var(--tagline-color);
    margin-bottom: 12px;
}

.company-link {
    color: #ff6b35;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.company-link:hover {
    color: #ff8555;
    text-decoration: underline;
}

[data-theme="light"] .company-link {
    color: #e55a2b;
}

[data-theme="light"] .company-link:hover {
    color: #cc4a1b;
}

.job-duties {
    list-style: none;
    padding: 0;
    margin: 0;
}

.job-duties li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.9;
}

.job-duties li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--name-gradient-1);
}

.job-duties strong {
    color: var(--name-gradient-1);
    font-weight: 600;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.skill-category {
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border-left: 3px solid var(--name-gradient-1);
}

[data-theme="light"] .skill-category {
    background: rgba(0, 0, 0, 0.02);
}

.skill-category h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--name-gradient-1);
    margin-bottom: 8px;
}

.skill-category p {
    font-size: 0.85rem;
    color: var(--text-color);
    margin: 0;
    opacity: 0.9;
}

.publication-item {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.6;
}

[data-theme="light"] .publication-item {
    background: rgba(0, 0, 0, 0.02);
}

.publication-item em {
    color: var(--name-gradient-1);
}

.languages-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.language-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

[data-theme="light"] .language-item {
    background: rgba(0, 0, 0, 0.03);
}

.language-name {
    font-weight: 600;
    color: var(--text-color);
}

.language-level {
    font-size: 0.85rem;
    color: var(--tagline-color);
}

/* Responsive */
@media (max-width: 768px) {
    .resume-container {
        margin: 70px 15px 30px;
        padding: 25px 20px;
    }

    .resume-name {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .experience-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .job-title,
    .edu-degree {
        font-size: 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .languages-list {
        flex-direction: column;
    }
}
