/*
    关于页面专用样式
    此文件包含关于/简历页面的样式

    自定义指南：
    - 修改简历条目布局和排版
    - 调整个人照片样式和位置
    - 自定义配色方案和间距
    - 添加动画和过渡效果
*/

/* ===== 页面布局 ===== */
.main-content {
    padding-top: 100px; /* Space for fixed navbar */
    min-height: 100vh;
    background: linear-gradient(135deg, #fefefe 0%, #f8f8f8 100%);
}

/* ===== 签名样式（在所有页面中保持一致） ===== */
.signature-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.signature-text:hover {
    color: #666;
    transform: scale(1.05);
}

/* ===== 关于页面标题区域 ===== */
/*
    包含介绍和个人照片的标题区域
    在这里自定义布局、排版和间距
*/
.about-header {
    padding: 60px 0 80px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1.6rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.page-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.3rem;
    color: #666;
    font-weight: 300;
    margin-bottom: 2rem;
    font-style: italic;
    letter-spacing: 0.3px;
}

.about-intro {
    max-width: 600px;
}

.about-intro p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* ===== 个人照片样式 ===== */
/*
    Profile image container with decorative frame
    Modify size, positioning, and effects here
*/
.profile-image-container {
    --profile-image-size: 440px;
    position: relative;
    text-align: center;
    width: min(100%, var(--profile-image-size));
    max-width: 100%;
    margin: 0 auto;
}

.profile-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    opacity: 1 !important;
    filter: none;
    box-shadow: 0 20px 60px rgba(26, 26, 26, 0.15);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
}

.profile-image:hover {
    transform: scale(1.02);
    box-shadow: 0 30px 80px rgba(26, 26, 26, 0.2);
}

/* 个人照片周围的装饰框架 */
.profile-frame {
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 2px solid rgba(26, 26, 26, 0.1);
    border-radius: 8px;
    z-index: 1;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.profile-image-container:hover .profile-frame {
    transform: rotate(1deg) scale(1.01);
    border-color: rgba(26, 26, 26, 0.2);
}

/* ===== 简历区域布局 ===== */
/*
    Main CV content area with structured sections
    Modify spacing, typography, and layout here
*/
.cv-section {
    padding: 60px 0 40px;
    background: rgba(248, 248, 248, 0.3);
}

/* 单个简历区域块 */
.cv-block {
    margin-bottom: 4rem;
    padding: 2rem 0;
    position: relative;
}

.cv-section .cv-block:last-child {
    margin-bottom: 1.5rem;
    padding-bottom: 0;
}

.cv-block:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(26, 26, 26, 0.1) 50%,
        transparent 100%
    );
}

/* ===== 简历排版 ===== */
/*
    Typography hierarchy for CV content
    Customize fonts, sizes, and colors
*/

/* 区域标题（教育、展览等） */
.cv-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
    position: sticky;
    top: 120px; /* Stick below navbar when scrolling */
    background: rgba(248, 248, 248, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 10;
}

/* 子区域标题（个人展、群展等） */
.cv-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 2.5rem 0 1.5rem 0;
    letter-spacing: 0.3px;
}

/* 简历内容容器 */
.cv-content {
    padding-left: 1rem;
    border-left: 2px solid rgba(26, 26, 26, 0.1);
    position: relative;
}

/* ===== 简历条目 ===== */
/*
    Individual CV entry styling (jobs, portfolio items, etc.)
    Customize layout and visual hierarchy
*/
.cv-entry {
    display: flex;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1rem;
}

.cv-entry::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: #1a1a1a;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cv-entry:hover::before {
    background: #666;
    transform: scale(1.2);
}

/* 年份/日期列 */
.cv-year {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #666;
    width: 120px;
    min-width: 120px;
    flex-shrink: 0;
    margin-right: 2rem;
    text-align: right;
    letter-spacing: 0.5px;
}

/* 详细信息列 */
.cv-details {
    flex: 1;
}

/* 简历条目中的职位/标题 */
.cv-position {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* 简历条目中的机构/地点 */
.cv-organization {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 0.8rem;
    letter-spacing: 0.3px;
}

/* 简历条目中的描述文字 */
.cv-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 300;
}

/* 简历条目中的列表 */
.cv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cv-list li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    padding: 0.3rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-weight: 300;
}

.cv-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: bold;
}

/* ===== 艺术家陈述区域 ===== */
/*
    Special styling for the artist statement
    Make it stand out from other CV sections
*/
.artist-statement {
    background: rgba(26, 26, 26, 0.02);
    border-radius: 8px;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.artist-statement .cv-content {
    border-left: none;
    padding-left: 0;
}

.statement-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
    font-style: italic;
}

.statement-content p:last-child {
    margin-bottom: 0;
}

/* ===== 技能区域 ===== */
/*
    Skills and techniques section
    Grid layout for different skill categories
*/
.skills-section {
    padding: 40px 0 80px;
    background: rgba(248, 248, 248, 0.5);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.skill-category {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(26, 26, 26, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(26, 26, 26, 0.12);
}

.skill-category h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.skill-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.skill-category li {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #555;
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    transition: color 0.3s ease;
    font-weight: 300;
}

.skill-category li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.skill-category li:hover {
    color: #1a1a1a;
}

.skill-category li:hover::before {
    transform: translateX(3px);
}

/* ===== 响应式设计 ===== */
/*
    Responsive breakpoints for different screen sizes
    Adjust layout and typography for mobile devices
*/

/* 平板样式 */
@media (max-width: 992px) {
    .main-content {
        padding-top: 80px;
    }

    .page-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .about-header {
        padding: 40px 0 60px;
    }

    .cv-title {
        font-size: 1.6rem;
        position: static; /* Remove sticky positioning on tablets */
        background: none;
        backdrop-filter: none;
        padding: 0 0 1rem 0;
    }

    .cv-entry {
        flex-direction: column;
        padding-left: 0;
        gap: 0.35rem;
    }

    .cv-year {
        min-width: auto;
        margin-right: 0;
        margin-bottom: 0.5rem;
        text-align: left;
        font-weight: 700;
    }

    .cv-content {
        border-left: none;
        padding-left: 0;
    }

    .cv-entry::before {
        display: none;
    }

    .skills-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }
}

/* 移动端样式 */
@media (max-width: 768px) {
    .signature-text {
        font-size: 1.8rem;
    }

    .about-header {
        padding: 30px 0 50px;
        text-align: center;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .about-intro p {
        font-size: 1rem;
        text-align: left;
    }

    .profile-image-container {
        width: min(100%, 280px);
        margin-bottom: 2rem;
    }

    .cv-section {
        padding: 40px 0 60px;
    }

    .cv-block {
        margin-bottom: 3rem;
        padding: 1.5rem 0;
    }

    .cv-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .cv-content {
        border-left: none;
        padding-left: 0;
    }

    .cv-entry::before {
        display: none; /* Hide decorative dots on mobile */
    }

    .cv-position {
        font-size: 1.2rem;
    }

    .cv-organization {
        font-size: 0.95rem;
    }

    .cv-description {
        font-size: 0.9rem;
    }

    .artist-statement {
        padding: 2rem 1rem;
        margin-top: 2rem;
    }

    .statement-content p {
        font-size: 1rem;
    }

    .skills-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

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

    .skill-category {
        padding: 1.5rem;
    }

    .skill-category h4 {
        font-size: 1.2rem;
    }
}

/* 小尺寸移动端样式 */
@media (max-width: 480px) {
    .about-intro p {
        font-size: 0.95rem;
    }

    .profile-image-container {
        width: min(100%, 240px);
    }

    .cv-title {
        font-size: 1.3rem;
    }

    .cv-position {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .artist-statement {
        padding: 1.5rem 0.8rem;
    }

    .statement-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

/* ===== 动画类 ===== */
/*
    Animation utilities for enhanced user experience
    Used for entrance animations and interactions
*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

.slide-in {
    animation: slideInLeft 0.6s ease forwards;
}

/* 交互元素的悬停动画 */
.cv-entry,
.skill-category {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 简历打印样式 */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .main-content {
        padding-top: 0;
    }

    .cv-title {
        position: static;
        background: none;
        page-break-after: avoid;
    }

    .cv-block {
        page-break-inside: avoid;
    }

    .cv-entry {
        page-break-inside: avoid;
    }
}

/*
    CUSTOMIZATION TIPS:

    1. COLOR SCHEME:
       - Change #1a1a1a to your primary brand color
       - Modify #666 for secondary text color
       - Adjust background gradients and rgba values

    2. TYPOGRAPHY:
       - Replace 'Playfair Display' with your preferred serif font
       - Change 'Inter' to your preferred sans-serif font
       - Adjust font-size values throughout

    3. LAYOUT:
       - Modify grid-template-columns in .skills-grid for different layouts
       - Adjust padding and margin values for spacing
       - Change max-width values for content containers

    4. CV ENTRIES:
       - Add new CV sections by copying .cv-block structure
       - Modify .cv-entry layout for different information display
       - Customize timeline styling and positioning

    5. ANIMATIONS:
       - Adjust transition durations and easing functions
       - Add new @keyframes for custom animations
       - Modify hover effects and transforms

    6. RESPONSIVE BEHAVIOR:
       - Add new breakpoints for specific devices
       - Adjust grid layouts for different screen sizes
       - Customize mobile navigation and interactions
*/
