/* Resume page styles */
.resume-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, "system-ui", "Segoe UI", sans-serif;
    color: var(--primary-color);
    text-align: left;
}

.resume-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

/* Social Links & Download */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 60px 0 40px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-decoration: none;
    background-color: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.social-button svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-color);
    fill: none;
}

.social-button.kaggle-link svg {
    fill: var(--accent-color);
    stroke: none;
}

.social-button:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.social-button:hover svg {
    stroke: white;
}

.social-button.kaggle-link:hover svg {
    fill: white;
}

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

.section-title {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    border-bottom: 1px solid var(--tag-background);
    padding-bottom: 5px;
    text-align: center;
}

.resume-item {
    margin-bottom: 25px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.item-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.item-location {
    text-align: right;
    color: var(--secondary-color);
}

.item-subtitle {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-style: italic;
    color: var(--secondary-color);
}

.item-date {
    text-align: right;
}

.item-details {
    margin-left: 0;
}

.item-details ul {
    margin: 0;
    padding-left: 20px;
}

.item-details li {
    margin-bottom: 8px;
}

/* Publication styles */
.publication-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.publication-content {
    flex: 1;
    min-width: 0;
    padding-right: 15px;
}

.publication-title {
    font-weight: normal;
    margin: 0;
}

.publication-links {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    min-width: 120px;
    margin-top: 5px;
}

.pub-button {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.paper-btn {
    background-color: #0066cc;
}

.code-btn {
    background-color: #333;
}

.pub-button:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

/* Skills section */
.skills-group {
    margin-bottom: 12px;
}

.skills-title {
    font-weight: bold;
    margin-right: 5px;
}

.skills-list {
    display: inline;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .item-header, .item-subtitle {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .item-location, .item-date {
        text-align: left;
        margin-top: 5px;
    }
    
    .publication-item {
        flex-direction: column;
    }
    
    .publication-content {
        padding-right: 0;
    }
    
    .publication-links {
        justify-content: flex-start;
        margin-top: 8px;
    }
}