/* ========================================
   信息详情页样式 - show_dz.css
   所有自定义类和ID都使用zh_前缀
======================================== */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #212121;
    background-color: #F5F5F5;
}

/* 容器 */
.zh_container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 面包屑导航 */
.zh_breadcrumb {
    background: #FFFFFF;
    padding: 15px 0;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 30px;
}

.zh_breadcrumb-inner {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #616161;
}

.zh_breadcrumb-inner i {
    margin-right: 8px;
    color: #D32F2F;
}

.zh_breadcrumb-inner a {
    color: #616161;
    text-decoration: none;
    transition: color 0.3s ease;
}

.zh_breadcrumb-inner a:hover {
    color: #D32F2F;
}

.zh_separator {
    margin: 0 10px;
    color: #BDBDBD;
}

.zh_current {
    color: #D32F2F;
    font-weight: 500;
}

/* 主要内容区 */
.zh_main-content {
    padding: 0 0 60px;
}

.zh_content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

/* 左侧内容区 */
.zh_content-left {
    min-width: 0;
}

/* 信息详情卡片 */
.zh_info-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

/* 信息图片 */
.zh_info-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.zh_main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_info-image:hover .zh_main-img {
    transform: scale(1.05);
}

.zh_image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(249, 168, 37, 0.1) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.zh_image-tags {
    display: flex;
    gap: 10px;
}

.zh_tag {
    background: rgba(255, 255, 255, 0.95);
    color: #212121;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
}

.zh_tag-hot i {
    color: #F9A825;
}

.zh_tag-verified i {
    color: #4CAF50;
}

/* 信息内容 */
.zh_info-content {
    padding: 30px;
}

.zh_info-title {
    font-size: 28px;
    font-weight: 700;
    color: #212121;
    margin-bottom: 20px;
    line-height: 1.3;
}

/* 信息元数据 */
.zh_info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #F8F9FA;
    border-radius: 8px;
    border-left: 4px solid #D32F2F;
}

.zh_meta-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #616161;
}

.zh_meta-item i {
    margin-right: 8px;
    color: #D32F2F;
    width: 16px;
}

/* 章节标题 */
.zh_section-title {
    font-size: 20px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.zh_section-title i {
    color: #D32F2F;
    font-size: 18px;
}

/* 信息描述 */
.zh_info-description {
    margin-bottom: 30px;
}

.zh_description-content {
    font-size: 16px;
    line-height: 1.8;
    color: #424242;
}

.zh_description-content p {
    margin-bottom: 15px;
}

.zh_description-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

/* 服务特色 */
.zh_service-features {
    margin-bottom: 30px;
}

.zh_features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.zh_feature-item {
    background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%);
    color: #FFFFFF;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zh_feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.zh_feature-item i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.zh_feature-item span {
    font-weight: 500;
}

/* 相关推荐 */
.zh_related-section {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 30px;
}

.zh_related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.zh_related-item {
    background: #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #E0E0E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zh_related-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.zh_related-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.zh_related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.zh_related-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(211, 47, 47, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zh_related-item:hover .zh_related-overlay {
    opacity: 1;
}

.zh_view-btn {
    background: #FFFFFF;
    color: #D32F2F;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.zh_view-btn:hover {
    transform: scale(1.1);
}

.zh_related-content {
    padding: 15px;
}

.zh_related-title {
    margin-bottom: 10px;
}

.zh_related-title a {
    color: #212121;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.zh_related-title a:hover {
    color: #D32F2F;
}

.zh_related-meta {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: #757575;
}

.zh_related-meta i {
    margin-right: 4px;
}

/* 右侧边栏 */
.zh_sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 服务商信息卡片 */
.zh_provider-card {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 25px;
    position: sticky;
    top: 20px;
}

.zh_provider-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.zh_provider-avatar {
    position: relative;
    margin-right: 15px;
}

.zh_provider-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #E0E0E0;
}

.zh_verified-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #4CAF50;
    color: #FFFFFF;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    border: 2px solid #FFFFFF;
}

.zh_provider-name {
    font-size: 18px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 5px;
}

.zh_provider-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_stars {
    display: flex;
    gap: 2px;
}

.zh_stars i {
    color: #F9A825;
    font-size: 14px;
}

.zh_rating-text {
    font-size: 14px;
    color: #616161;
    font-weight: 500;
}

/* 服务商详情 */
.zh_provider-details {
    margin-bottom: 20px;
}

.zh_detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 14px;
}

.zh_detail-item i {
    color: #D32F2F;
    margin-right: 10px;
    margin-top: 2px;
    width: 16px;
    flex-shrink: 0;
}

.zh_label {
    color: #616161;
    margin-right: 8px;
    min-width: 50px;
    flex-shrink: 0;
}

.zh_value {
    color: #212121;
    font-weight: 500;
}

.zh_description-item {
    flex-direction: column;
    align-items: flex-start;
}

.zh_description-item .zh_label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.zh_description {
    color: #424242;
    line-height: 1.6;
    padding-left: 26px;
}

/* 服务商操作按钮 */
.zh_provider-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.zh_btn {
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.zh_btn-primary {
    background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%);
    color: #FFFFFF;
}

.zh_btn-primary:hover {
    background: linear-gradient(135deg, #B71C1C 0%, #D32F2F 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.zh_btn-secondary {
    background: #FFFFFF;
    color: #D32F2F;
    border: 2px solid #D32F2F;
}

.zh_btn-secondary:hover {
    background: #D32F2F;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

/* 服务统计 */
.zh_provider-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
}

.zh_stat-item {
    text-align: center;
}

.zh_stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #D32F2F;
    margin-bottom: 4px;
}

.zh_stat-label {
    font-size: 12px;
    color: #616161;
}

/* 服务类型导航 */
.zh_service-nav {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.zh_nav-title {
    font-size: 16px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_nav-title i {
    color: #D32F2F;
}

.zh_nav-list {
    list-style: none;
}

.zh_nav-list li {
    margin-bottom: 8px;
}

.zh_nav-list a {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: #616161;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.zh_nav-list a:hover {
    background: #F3E5F5;
    color: #D32F2F;
    transform: translateX(5px);
}

.zh_nav-list i {
    margin-right: 10px;
    width: 16px;
    color: #F9A825;
}

/* 平台优势 */
.zh_platform-info {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.zh_info-title {
    font-size: 16px;
    font-weight: 600;
    color: #212121;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zh_info-title i {
    color: #F9A825;
}

.zh_advantage-list {
    list-style: none;
}

.zh_advantage-list li {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #424242;
    border-bottom: 1px solid #F5F5F5;
}

.zh_advantage-list li:last-child {
    border-bottom: none;
}

.zh_advantage-list i {
    margin-right: 10px;
    color: #4CAF50;
    font-size: 12px;
}

/* 返回顶部按钮 */
.zh_back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D32F2F 0%, #F44336 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.zh_back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

.zh_back-to-top i {
    font-size: 18px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .zh_container {
        padding: 0 15px;
    }
    
    .zh_content-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zh_sidebar {
        order: -1;
    }
    
    .zh_provider-card {
        position: static;
    }
    
    .zh_info-title {
        font-size: 24px;
    }
    
    .zh_info-image {
        height: 250px;
    }
    
    .zh_info-content {
        padding: 20px;
    }
    
    .zh_info-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .zh_features-grid {
        grid-template-columns: 1fr;
    }
    
    .zh_related-grid {
        grid-template-columns: 1fr;
    }
    
    .zh_provider-actions {
        flex-direction: row;
        gap: 10px;
    }
    
    .zh_provider-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .zh_stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .zh_back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .zh_breadcrumb-inner {
        font-size: 12px;
    }
    
    .zh_breadcrumb-inner .zh_separator {
        margin: 0 5px;
    }
    
    .zh_info-title {
        font-size: 20px;
    }
    
    .zh_provider-actions {
        flex-direction: column;
    }
    
    .zh_provider-header {
        flex-direction: column;
        text-align: center;
    }
    
    .zh_provider-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* 动画效果 */
@keyframes zh_fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zh_fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zh_fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    background: #D32F2F;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #B71C1C;
}
