/* 寥航科技网络科技 - 设计师个人主页样式 */
/* 主色调: #FF8C00 (橙色) */

/* 设计师横幅区域 */
.zh_designer_banner {
    background-size: cover;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.7);
    background-blend-mode: overlay;
    padding: 80px 0;
    color: #fff;
    position: relative;
}

.zh_designer_hero {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.zh_designer_avatar {
    width: 150px;
    height: 150px;
    background-color: #fff;
    border-radius: 50%;
    padding: 5px;
    margin-right: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.zh_designer_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.zh_designer_info {
    flex: 1;
    min-width: 300px;
}

.zh_designer_name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.zh_designer_meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.zh_designer_meta span {
    margin-right: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.zh_designer_meta i {
    margin-right: 5px;
    opacity: 0.8;
}

.zh_designer_btns {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* 设计师详情内容区域 */
.zh_designer_content {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* 设计师详情区块样式 */
.zh_designer_section {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.zh_section_header {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.zh_section_title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.zh_section_title i {
    color: #FF8C00;
    margin-right: 8px;
}

.zh_designer_desc {
    padding: 25px;
    line-height: 1.8;
    color: #666;
}

/* 作品集样式 */
.zh_portfolio_list {
    padding: 25px;
}

.zh_portfolio_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.zh_portfolio_item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    aspect-ratio: 1/1;
}

.zh_portfolio_img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zh_portfolio_item:hover .zh_portfolio_img {
    transform: scale(1.05);
}

.zh_portfolio_overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_portfolio_item:hover .zh_portfolio_overlay {
    opacity: 1;
}

.zh_portfolio_title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.zh_portfolio_tag {
    font-size: 12px;
    opacity: 0.8;
}

/* 添加作品集链接样式 */
.zh_portfolio_item_link {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.zh_portfolio_item_link:hover {
    text-decoration: none;
    color: inherit;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 需求列表样式 */
.zh_demand_list {
    padding: 25px;
}

.zh_demand_card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    height: 100%;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.zh_demand_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #FF8C00;
}

.zh_demand_header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.zh_demand_title {
    flex: 1;
    padding-right: 10px;
}

.zh_demand_title h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.zh_demand_title h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.zh_demand_title h3 a:hover {
    color: #FF8C00;
}

.zh_demand_price {
    font-size: 18px;
    font-weight: 700;
    color: #FF8C00;
    white-space: nowrap;
}

.zh_demand_body {
    padding: 15px 20px;
    flex: 1;
}

.zh_demand_desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 67px; /* 约3行文本高度 */
}

.zh_demand_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.zh_demand_tag {
    background-color: rgba(255, 140, 0, 0.1);
    color: #FF8C00;
    font-size: 12px;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 500;
}

.zh_demand_footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    background-color: #f9f9f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 0 0 8px 8px;
}

.zh_demand_meta {
    font-size: 13px;
    color: #888;
}

.zh_demand_meta span {
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
}

.zh_demand_meta i {
    margin-right: 5px;
}

.zh_demand_label {
    display: inline-block;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 3px;
    margin-left: 5px;
    font-weight: 500;
}

.zh_label_urgent {
    background-color: #dc3545;
    color: #fff;
}

.zh_label_featured {
    background-color: #ffc107;
    color: #333;
}

/* 侧边栏样式 */
.zh_designer_sidebar {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.zh_sidebar_header {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    background-color: #f9f9f9;
}

.zh_sidebar_title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.zh_sidebar_title i {
    color: #FF8C00;
    margin-right: 8px;
}

/* 联系信息样式 */
.zh_contact_info {
    padding: 20px;
}

.zh_contact_item {
    display: flex;
    margin-bottom: 15px;
}

.zh_contact_icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF8C00;
    margin-right: 15px;
}

.zh_contact_text {
    flex: 1;
}

.zh_contact_label {
    font-size: 14px;
    color: #777;
    display: block;
    margin-bottom: 3px;
}

.zh_contact_value {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.zh_contact_btns {
    padding: 0 20px 20px;
}

/* 资质与认证 */
.zh_certification_list {
    padding: 20px;
}

.zh_certification_item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.zh_certification_icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF8C00;
    margin-right: 15px;
}

.zh_certification_text {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zh_certification_name {
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.zh_certification_status {
    font-size: 13px;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 500;
}

.zh_status_verified {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

/* 技能展示 */
.zh_skills {
    padding: 20px;
}

.zh_skill_item {
    margin-bottom: 15px;
}

.zh_skill_info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.zh_skill_name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.zh_skill_level {
    font-size: 14px;
    color: #777;
}

.zh_skill_bar {
    height: 6px;
    background-color: #eee;
    border-radius: 3px;
    overflow: hidden;
}

.zh_skill_progress {
    height: 100%;
    background-color: #FF8C00;
    border-radius: 3px;
}

/* 设计师推荐 */
.zh_designer_recommendation {
    padding: 20px;
}

.zh_recommendation_item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.zh_recommendation_item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.zh_recommendation_avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.zh_recommendation_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_recommendation_info {
    flex: 1;
}

.zh_recommendation_name {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
}

.zh_recommendation_name a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.zh_recommendation_name a:hover {
    color: #FF8C00;
}

.zh_recommendation_title {
    font-size: 13px;
    color: #777;
}

/* 按钮样式 */
.zh_btn {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.zh_btn_primary {
    background-color: #FF8C00;
    color: #fff;
    border: 1px solid #FF8C00;
}

.zh_btn_primary:hover {
    background-color: #e67e00;
    border-color: #e67e00;
    color: #fff;
}

.zh_btn_outline {
    background-color: transparent;
    color: #333;
    border: 1px solid #ddd;
}

.zh_btn_outline:hover {
    border-color: #FF8C00;
    color: #FF8C00;
}

.zh_btn_sm {
    padding: 5px 15px;
    font-size: 13px;
}

.zh_btn_block {
    display: block;
    width: 100%;
    text-align: center;
}

/* 响应式样式 */
@media (max-width: 991.98px) {
    .zh_designer_avatar {
        width: 120px;
        height: 120px;
        margin-right: 20px;
    }

    .zh_designer_name {
        font-size: 28px;
    }
    
    .zh_portfolio_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767.98px) {
    .zh_designer_banner {
        padding: 50px 0;
    }

    .zh_designer_hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .zh_designer_avatar {
        margin-bottom: 20px;
        margin-right: 0;
    }
    
    .zh_designer_meta {
        justify-content: center;
    }
    
    .zh_designer_btns {
        justify-content: center;
    }

    .zh_designer_content {
        padding: 40px 0;
    }
    
    .zh_designer_name {
        font-size: 24px;
    }
    
    .zh_demand_footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .zh_demand_meta {
        margin-bottom: 10px;
    }
    
    .zh_demand_meta span {
        display: block;
        margin-bottom: 5px;
    }
}

@media (max-width: 575.98px) {
    .zh_designer_btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .zh_designer_btns .zh_btn {
        width: 100%;
        text-align: center;
    }
    
    .zh_designer_meta span {
        margin-bottom: 10px;
    }
    
    .zh_portfolio_grid {
        grid-template-columns: 1fr;
    }
}

/* 空内容显示样式 */
.zh_empty_content {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin: 15px 0;
}

.zh_empty_icon {
    font-size: 40px;
    color: #ccc;
    margin-bottom: 15px;
}

.zh_empty_content p {
    color: #999;
    margin: 0;
    font-size: 16px;
}
