/* 首页样式 - 杭州云享付租赁平台 */

/* 基础设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 轮播图区域 */
.zh_hero_section {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.zh_hero_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?ixlib=rb-4.0.3&auto=format&fit=crop&w=1926&q=80') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.zh_hero_content {
    position: relative;
    z-index: 2;
}

.zh_hero_title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.zh_hero_subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.zh_hero_buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.zh_btn_primary {
    background: #FF5722;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.zh_btn_primary:hover {
    background: #E64A19;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.4);
}

.zh_btn_secondary {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s;
}

.zh_btn_secondary:hover {
    background: white;
    color: #2196F3;
}

/* 分类导航 */
.zh_category_nav {
    background: white;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.zh_category_title {
    text-align: center;
    font-size: 2.5rem;
    color: #2196F3;
    margin-bottom: 40px;
    font-weight: bold;
}

.zh_category_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.zh_category_card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.zh_category_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.zh_category_icon {
    font-size: 4rem;
    color: #2196F3;
    margin-bottom: 20px;
}

.zh_category_name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.zh_category_desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.zh_category_link {
    display: inline-block;
    background: #2196F3;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.zh_category_link:hover {
    background: #1976D2;
    transform: scale(1.05);
}

/* 设备列表区域 */
.zh_equipment_section {
    padding: 60px 0;
    background: white;
    margin-bottom: 60px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.zh_section_header {
    text-align: center;
    margin-bottom: 50px;
}

.zh_section_title {
    font-size: 2.5rem;
    color: #2196F3;
    margin-bottom: 15px;
    font-weight: bold;
}

.zh_section_subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* 排序选项 */
.zh_sort_tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    background: #f8f9fa;
    border-radius: 50px;
    padding: 8px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.zh_sort_tab {
    flex: 1;
    padding: 12px 20px;
    text-align: center;
    background: transparent;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #666;
}

.zh_sort_tab.active {
    background: #2196F3;
    color: white;
    box-shadow: 0 2px 10px rgba(33, 150, 243, 0.3);
}

.zh_sort_tab:hover:not(.active) {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

/* 设备卡片网格 */
.zh_equipment_grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.zh_equipment_card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.zh_equipment_card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.zh_equipment_image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
}

.zh_equipment_content {
    padding: 20px;
}

.zh_equipment_title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}



.zh_equipment_actions {
    margin-top: 20px;
}

.zh_btn_view {
    width: 100%;
    background: #2196F3;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s;
    display: block;
}

.zh_btn_view:hover {
    background: #1976D2;
}





/* 平台优势 */
.zh_features_section {
    padding: 60px 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 60px;
}

.zh_features_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.zh_feature_item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    transition: all 0.3s;
}

.zh_feature_item:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
}

.zh_feature_icon {
    font-size: 3rem;
    color: #2196F3;
    margin-bottom: 20px;
}

.zh_feature_title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.zh_feature_desc {
    color: #666;
    line-height: 1.6;
}

/* 隐藏/显示内容 */
.zh_sort_content {
    display: none;
}

.zh_sort_content.active {
    display: block;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_hero_title {
        font-size: 2.5rem;
    }
    
    .zh_hero_subtitle {
        font-size: 1.1rem;
    }
    
    .zh_hero_buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .zh_category_grid {
        grid-template-columns: 1fr;
    }
    
    .zh_equipment_grid {
        grid-template-columns: 1fr;
    }
    
    .zh_sort_tabs {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .zh_sort_tab {
        border-radius: 8px;
        margin-bottom: 5px;
    }
    
    .zh_features_grid {
        grid-template-columns: 1fr;
    }
}

/* 加载动画 */
@keyframes zh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.zh_animate_fade_in_up {
    animation: zh_fadeInUp 0.6s ease-out;
}

/* 按钮悬停效果 */
.zh_btn_hover_effect {
    position: relative;
    overflow: hidden;
}

.zh_btn_hover_effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.zh_btn_hover_effect:hover::before {
    left: 100%;
}
