/* Profile Page Specific Styles */

/* Header Adjustments */
.profile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: transform 0.3s;
}

.back-link:hover {
    transform: translateX(-4px);
    color: var(--accent-1);
}

/* Profile Hero */
.profile-hero {
    text-align: center;
    padding: 80px 0 40px;
    position: relative;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 24px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: var(--shadow-md);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name {
    font-family: var(--font-en);
    font-size: 3rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.profile-role {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.profile-bio {
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

/* Works Section */
.works-section {
    padding: 60px 0;
}

.section-label {
    display: block;
    text-align: center;
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--accent-1);
    margin-bottom: 12px;
    letter-spacing: 0.1em;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.work-card {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.work-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.work-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    background: #eee;
    overflow: hidden;
    position: relative;
}

.work-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.work-card:hover .work-thumbnail img {
    transform: scale(1.05);
}

.work-info {
    padding: 24px;
}

.work-date {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.work-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.work-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Tag Styles */
.work-tags {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.work-tag {
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-light);
}

/* Footer Adjustments for Profile */
.profile-footer {
    padding-top: 40px;
    margin-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}