/* 寥航科技网络科技 - 首页样式 */
/* 主色调: #FF8C00 (橙色) */

/* 全局样式 */
:root {
    --primary-color: #FF8C00;
    --primary-dark: #FF6347;
    --primary-light: #FFD700;
    --secondary-color: #333333;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #e9e9e9;
    --black: #000000;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

/* 通用按钮样式 */
.zh_btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.zh_btn_primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.zh_btn_primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.zh_btn_outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.zh_btn_outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

.zh_btn_link {
    background-color: transparent;
    color: var(--primary-color);
    padding: 10px 15px;
    text-decoration: none;
    border: none;
}

.zh_btn_link:hover {
    color: var(--primary-dark);
    background-color: transparent;
    transform: translateX(5px);
}

.zh_btn_sm {
    padding: 6px 15px;
    font-size: 14px;
}

.zh_btn_block {
    display: block;
    width: 100%;
}

/* 区块标题样式 */
.zh_section_header {
    margin-bottom: 40px;
}

.zh_section_title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    color: var(--secondary-color);
    display: inline-block;
}

.zh_section_title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.zh_section_subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* 区块间距 */
section {
    padding: 80px 0;
}

section:nth-child(even) {
    background-color: var(--gray-light);
}

/* 轮播图 Banner */
.zh_banner {
    position: relative;
    padding: 0;
    height: 600px;
    overflow: hidden;
}

.zh_banner_swiper {
    width: 100%;
    height: 100%;
}

.zh_banner_slide {
    position: relative;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.zh_banner_slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.zh_banner_content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    width: 100%;
}

.zh_banner_title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.zh_banner_subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.zh_banner_btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.zh_swiper_btn_next, .zh_swiper_btn_prev {
    color: var(--white);
    background-color: rgba(255, 140, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.zh_swiper_btn_next:hover, .zh_swiper_btn_prev:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

/* 平台特色 */
.zh_feature_card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.zh_feature_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.zh_feature_icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.zh_feature_title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.zh_feature_desc {
    color: var(--text-light);
    margin-bottom: 0;
}

/* 精选作品 */
.zh_tabs {
    margin-bottom: 30px;
}

.zh_tab_nav {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
}

.zh_tab_item {
    padding: 8px 20px;
    margin: 5px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    background-color: var(--gray);
    color: var(--text-color);
}

.zh_tab_item:hover, .zh_tab_item.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.zh_work_card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.zh_work_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.zh_work_img {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.zh_work_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zh_work_card:hover .zh_work_img img {
    transform: scale(1.1);
}

.zh_work_overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 140, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_work_card:hover .zh_work_overlay {
    opacity: 1;
}

.zh_work_link {
    color: var(--white);
    font-size: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.zh_work_link:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

.zh_work_info {
    padding: 20px;
}

.zh_work_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.zh_work_title a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.zh_work_title a:hover {
    color: var(--primary-color);
}

.zh_work_meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-lighter);
    font-size: 14px;
}

/* 优秀设计师 */
.zh_designers {
    background-color: var(--gray-light);
}

.zh_designers_swiper {
    padding: 20px 10px 50px;
}

.zh_designer_card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.zh_designer_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.zh_designer_avatar {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.zh_designer_avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.zh_designer_badges {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.zh_badge {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
}

.zh_badge_verified {
    background-color: var(--primary-color);
}

.zh_badge_top {
    background-color: var(--primary-dark);
}

.zh_designer_info {
    padding: 20px;
    text-align: center;
}

.zh_designer_name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.zh_designer_title {
    color: var(--text-light);
    margin-bottom: 10px;
}

.zh_designer_rating {
    color: var(--warning);
    margin-bottom: 10px;
}

.zh_designer_rating span {
    color: var(--text-lighter);
    margin-left: 5px;
}

.zh_designer_meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    color: var(--text-lighter);
    font-size: 14px;
    margin-bottom: 15px;
}

.zh_designers_pagination {
    bottom: 0;
}

/* 需求大厅 */
.zh_demand_card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    padding: 20px;
    border-left: 5px solid var(--primary-color);
}

.zh_demand_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.zh_demand_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.zh_demand_title {
    flex: 1;
}

.zh_demand_title h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.zh_demand_title h3 a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.zh_demand_title h3 a:hover {
    color: var(--primary-color);
}

.zh_demand_label {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    margin-left: 10px;
}

.zh_label_urgent {
    background-color: var(--danger);
}

.zh_label_featured {
    background-color: var(--primary-color);
}

.zh_demand_price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 18px;
}

.zh_demand_body {
    margin-bottom: 15px;
}

.zh_demand_desc {
    color: var(--text-light);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_demand_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.zh_demand_tag {
    padding: 3px 10px;
    background-color: var(--gray);
    border-radius: 15px;
    font-size: 12px;
    color: var(--text-light);
}

.zh_demand_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.zh_demand_meta {
    display: flex;
    flex-direction: column;
    color: var(--text-lighter);
    font-size: 14px;
}

/* 设计大赛 */
.zh_contests {
    background-color: var(--gray-light);
}

.zh_contest_card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.zh_contest_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.zh_contest_img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.zh_contest_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zh_contest_card:hover .zh_contest_img img {
    transform: scale(1.1);
}

.zh_contest_status {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.zh_status_active {
    background-color: var(--success);
}

.zh_status_upcoming {
    background-color: var(--warning);
}

.zh_status_ended {
    background-color: var(--danger);
}

.zh_contest_info {
    padding: 20px;
}

.zh_contest_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.zh_contest_title a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.zh_contest_title a:hover {
    color: var(--primary-color);
}

.zh_contest_meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.zh_progress {
    height: 5px;
    background-color: var(--gray);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.zh_progress_bar {
    height: 100%;
    background-color: var(--primary-color);
}

.zh_contest_deadline {
    display: flex;
    justify-content: space-between;
    color: var(--text-lighter);
    font-size: 14px;
    margin-bottom: 15px;
}

.zh_countdown {
    display: flex;
    justify-content: space-between;
    color: var(--text-lighter);
    font-size: 14px;
    margin-bottom: 15px;
}

/* 加入我们 */
.zh_join_us {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 99, 71, 0.1));
}

.zh_join_content {
    padding: 30px;
}

.zh_join_title {
    font-size: 32px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.zh_join_desc {
    color: var(--text-light);
    margin-bottom: 30px;
}

.zh_join_features {
    margin-bottom: 30px;
}

.zh_join_feature {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.zh_join_feature i {
    color: var(--primary-color);
    font-size: 18px;
    margin-right: 10px;
}

.zh_join_image {
    text-align: center;
}

.zh_join_image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.zh_join_actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* 合作伙伴 */
.zh_partners {
    padding-bottom: 100px;
}

.zh_partners_swiper {
    padding: 20px 0;
}

.zh_partner_item {
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 20px;
}

.zh_partner_item:hover {
    opacity: 1;
    transform: scale(1.1);
}

.zh_partner_item img {
    max-height: 60px;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.zh_partner_item:hover img {
    filter: grayscale(0%);
}

/* 响应式调整 */
@media (max-width: 991.98px) {
    .zh_banner_title {
        font-size: 36px;
    }
    
    .zh_banner_subtitle {
        font-size: 20px;
    }
    
    .zh_section_title {
        font-size: 28px;
    }
    
    .zh_join_title {
        font-size: 28px;
    }
}

@media (max-width: 767.98px) {
    section {
        padding: 60px 0;
    }
    
    .zh_banner {
        height: 500px;
    }
    
    .zh_banner_title {
        font-size: 28px;
    }
    
    .zh_banner_subtitle {
        font-size: 18px;
    }
    
    .zh_banner_btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .zh_section_title {
        font-size: 24px;
    }
    
    .zh_tab_nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .zh_join_content {
        padding: 0;
        margin-bottom: 30px;
    }
}


