/* 家政服务平台首页样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.zh_hero_section {
    background: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.zh_hero_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 500px;
}

.zh_hero_text {
    padding: 0 20px;
}

.zh_hero_title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.2;
}

.zh_hero_subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
    line-height: 1.6;
}

.zh_hero_image {
    position: relative;
    text-align: center;
}

.zh_hero_image img {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.zh_search_box {
    background: white;
    border-radius: 50px;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    max-width: 600px;
    margin: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #e9ecef;
}

.zh_search_input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 15px;
    font-size: 16px;
    color: #333;
}

.zh_search_btn {
    background: #FF6B35;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.zh_search_btn:hover {
    background: #E55A2B;
    transform: translateY(-2px);
}

.zh_services_section {
    padding: 80px 0;
    background: #f8f9fa;
}

.zh_section_title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 700;
}

.zh_section_subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.zh_services_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.zh_service_card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.zh_service_card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #00BCD4, #26C6DA);
}

.zh_service_card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.zh_service_icon {
    font-size: 3rem;
    color: #00BCD4;
    margin-bottom: 20px;
}

.zh_service_title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.zh_service_desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.zh_service_btn {
    background: #00BCD4;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    display: inline-block;
    transition: all 0.3s ease;
    font-weight: 600;
}

.zh_service_btn:hover {
    background: #00ACC1;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.zh_providers_section {
    padding: 80px 0;
    background: white;
}

.zh_sort_tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.zh_sort_tab {
    padding: 12px 24px;
    background: #f1f1f1;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.zh_sort_tab.active,
.zh_sort_tab:hover {
    background: #00BCD4;
    color: white;
    text-decoration: none;
}

.zh_providers_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.zh_provider_card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.zh_provider_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.zh_provider_header {
    padding: 20px;
    background: linear-gradient(135deg, #00BCD4, #26C6DA);
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.zh_provider_avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: contain;
    border: 3px solid rgba(255,255,255,0.3);
}

.zh_provider_info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.zh_provider_count {
    opacity: 0.9;
    font-size: 0.9rem;
}

.zh_provider_works {
    padding: 20px;
}

.zh_work_item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.zh_work_item:last-child {
    border-bottom: none;
}

.zh_work_thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: contain;
}

.zh_work_title {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.zh_work_title:hover {
    color: #00BCD4;
    text-decoration: none;
}

.zh_about_section {
    padding: 80px 0;
    background: #f8f9fa;
}

.zh_about_content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.zh_about_text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.zh_about_text p {
    margin-bottom: 20px;
}

.zh_about_image {
    text-align: center;
}

.zh_about_image img {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.zh_cta_section {
    padding: 60px 0;
    background: linear-gradient(135deg, #00BCD4, #26C6DA);
    color: white;
    text-align: center;
}

.zh_cta_title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.zh_cta_text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.zh_cta_buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.zh_cta_btn {
    background: white;
    color: #00BCD4;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.zh_cta_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: #00BCD4;
    text-decoration: none;
}

.zh_cta_btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.zh_cta_btn.secondary:hover {
    background: white;
    color: #00BCD4;
}

/* 栏目信息样式 */
.zh_categories_section {
    padding: 80px 0;
    background: #f8f9fa;
}

.zh_category_tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.zh_category_tab {
    padding: 12px 24px;
    background: white;
    color: #666;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e9ecef;
}

.zh_category_tab.active,
.zh_category_tab:hover {
    background: #00BCD4;
    color: white;
    text-decoration: none;
    border-color: #00BCD4;
}

.zh_category_content {
    display: none;
}

.zh_category_content.active {
    display: block;
}

.zh_category_grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.zh_category_item {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 20px;
}

.zh_category_item:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.zh_category_item_image {
    width: 120px;
    height: 80px;
    object-fit: contain;
    border-radius: 10px;
    flex-shrink: 0;
}

.zh_category_item_content {
    flex: 1;
    padding: 0 20px;
}

.zh_category_item_title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    text-decoration: none;
    display: block;
}

.zh_category_item_title:hover {
    color: #00BCD4;
    text-decoration: none;
}

.zh_category_item_desc {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

.zh_category_item_provider {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_category_item_provider img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.zh_category_item_provider a {
    color: #666;
    text-decoration: none;
    font-size: 13px;
}

.zh_category_item_provider a:hover {
    color: #00BCD4;
    text-decoration: none;
}

.zh_category_item_action {
    flex-shrink: 0;
    padding-left: 20px;
}

.zh_category_item_btn {
    background: #00BCD4;
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.zh_category_item_btn:hover {
    background: #00ACC1;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_hero_content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .zh_hero_title {
        font-size: 2rem;
    }
    
    .zh_section_title {
        font-size: 2rem;
    }
    
    .zh_services_grid {
        grid-template-columns: 1fr;
    }
    
    .zh_providers_grid {
        grid-template-columns: 1fr;
    }
    
    .zh_category_item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .zh_category_item_content {
        padding: 15px 0;
    }
    
    .zh_category_item_action {
        padding-left: 0;
        padding-top: 15px;
    }
    
    .zh_about_content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .zh_sort_tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .zh_category_tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .zh_cta_buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_hero_section {
        padding: 60px 0;
    }
    
    .zh_search_box {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .zh_search_input {
        width: 100%;
    }
}

/* 动画效果 */
.zh_fade_in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.zh_fade_in.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.zh_scale_in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.zh_scale_in.aos-animate {
    opacity: 1;
    transform: scale(1);
}

.zh_slide_left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.zh_slide_left.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.zh_slide_right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.zh_slide_right.aos-animate {
    opacity: 1;
    transform: translateX(0);
}
