/* 产品详情页面专用样式 */

/* 面包屑导航样式 */
.breadcrumb {
    background: transparent;
    padding: 8px 0;
    margin-bottom: 0;
    font-size: 14px;
}

.breadcrumb-item {
    color: #6c757d;
}

.breadcrumb-item a {
    color: #007bff;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #6c757d;
    margin: 0 8px;
}

/* 产品标题区域样式 */
.product-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.product-left {
    display: flex;
    align-items: flex-start;
    flex: 1;
}

.product-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.product-info {
    flex: 1;
}

.product-title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.product-slogan {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.product-right {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.product-url {
    display: inline-flex;
    align-items: center;
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 1px solid #007bff;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.product-url:hover {
    color: #fff;
    background-color: #007bff;
    text-decoration: none;
}

.product-url i {
    margin-right: 5px;
}

/* 封面图样式 */
.product-cover {
    width: 100%;
    max-width: 800px;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    margin: 15px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-cover-gallery {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    overflow-x: auto;
}

.product-cover-gallery img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* 团队信息链接样式 */
.team-info-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    color: #495057;
    text-decoration: none;
    font-size: 14px;
    margin: 10px 0;
    transition: all 0.2s ease;
}

.team-info-link:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #343a40;
    text-decoration: none;
}

.team-info-link i {
    margin-right: 6px;
}

/* 类似产品推荐样式 */
.related-product-item {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.related-product-item:last-child {
    border-bottom: none;
}

.related-product-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 10px;
    flex-shrink: 0;
    border: 1px solid #e9ecef;
}

.related-product-info {
    flex: 1;
    min-width: 0;
}

.related-product-title {
    display: block;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    margin-bottom: 4px;
    line-height: 1.3;
}

.related-product-title:hover {
    color: #007bff;
    text-decoration: none;
}

.related-product-slogan {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.2;
}

/* 确保标签横向排列 */
.taglist-inline {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.taglist-inline li {
    display: inline-block;
    margin: 0;
}

.taglist-inline .tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #e3f2fd;
    color: #1976d2;
    border: 1px solid #bbdefb;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
}

.taglist-inline .tag:hover {
    background-color: #1976d2;
    color: #fff;
    text-decoration: none;
}

/* Tab导航样式 - 图一样式 */
.product-tabs {
    margin: 30px 0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.product-tabs .nav-tabs {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 0;
    background: none;
    padding: 0;
    border-radius: 0;
}

.product-tabs .nav-tabs > li {
    margin-bottom: 0;
    margin-right: 0;
}

.product-tabs .nav-tabs > li > a {
    color: #666;
    background: #fff;
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}

.product-tabs .nav-tabs > li > a:hover {
    color: #333;
    background: #f5f5f5;
    transform: none;
    box-shadow: none;
}

.product-tabs .nav-tabs > li.active > a,
.product-tabs .nav-tabs > li.active > a:hover,
.product-tabs .nav-tabs > li.active > a:focus {
    color: #333;
    background: #f0f0f0;
    border: none;
    cursor: default;
    transform: none;
    box-shadow: none;
    position: relative;
    font-weight: 500;
}

.product-tabs .nav-tabs > li.active > a:after {
    display: none;
}

.product-tabs .tab-content {
    padding: 20px 0;
    min-height: 250px;
    background: #fff;
    border-radius: 0;
}

.product-tabs .tab-pane {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.product-tabs .tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tab内容样式 - 图一样式 */
.tab-content-section {
    margin-bottom: 20px;
    padding: 0;
    background: none;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
}

.tab-content-section h4 {
    color: #333;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
    display: block;
}

.tab-content-section h4:before {
    display: none;
}

.tab-content-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.feature-list li {
    padding: 12px 0;
    color: #555;
    position: relative;
    padding-left: 35px;
    font-size: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li:hover {
    background: rgba(0, 123, 255, 0.05);
    padding-left: 40px;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
    width: 24px;
    height: 24px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
}

/* 统计数据样式 - 美化版本 */
.stat-item {
    text-align: center;
    padding: 25px 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.stat-item h5 {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #007bff;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 团队成员样式 - 美化版本 */
.team-members {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.team-member {
    flex: 1;
    min-width: 250px;
    padding: 25px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border-left: 5px solid #007bff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.1), rgba(0, 86, 179, 0.1));
    border-radius: 0 12px 0 60px;
}

.team-member:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-left-color: #0056b3;
}

.team-member h5 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.team-member p {
    color: #555;
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    position: relative;
    z-index: 1;
}

/* 团队链接样式 */
.team-link-section {
    margin-top: 20px;
    text-align: center;
}

.team-external-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.team-external-link:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.team-external-link i {
    margin-right: 8px;
    font-size: 16px;
}

/* 团队预览样式 */
.team-preview {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e9ecef;
}

.team-preview p {
    margin-bottom: 15px;
    color: #555;
    font-size: 15px;
}

.team-preview strong {
    color: #007bff;
    font-weight: 600;
}

/* 产品轮播图样式 - 参考第一张图片设计 */
.product-carousel-section {
    margin-bottom: 30px;
    background: #000;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

#productCarousel {
    position: relative;
    width: 100%;
}

.carousel-inner {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.carousel-image {
    width: 100%;
    height: 400px; /* 控制高度，参考第一张图片 */
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.carousel-item:hover .carousel-image {
    transform: scale(1.02);
}

/* 轮播指示器样式 - 参考第一张图片的底部指示器 */
.carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
    z-index: 10;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators li.active {
    background-color: #fff;
    transform: scale(1.2);
}

.carousel-indicators li:hover {
    background-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* 轮播控制按钮样式 - 参考第一张图片的圆形按钮 */
.carousel-control {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    top: 50%;
    margin-top: -25px;
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-control.left {
    left: 15px;
}

.carousel-control.right {
    right: 15px;
}

.carousel-control:hover {
    background: #fff;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.carousel-control .glyphicon {
    font-size: 16px;
    color: #333;
    position: static;
    transform: none;
    pointer-events: none;
}

/* 确保控制按钮可以点击 */
.carousel-control {
    pointer-events: auto;
    user-select: none;
}

.carousel-control:focus {
    outline: none;
}

/* 响应式设计 - 参考第一张图片的移动端适配 */
@media (max-width: 768px) {
    .product-carousel-section {
        padding: 0;
        border-radius: 8px;
        margin: 0 10px 20px 10px;
        max-width: none;
    }
    
    .carousel-image {
        height: 250px; /* 移动端适当降低高度 */
        border-radius: 8px;
    }
    
    .carousel-inner {
        border-radius: 8px;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .carousel-control.left {
        left: 8px;
    }
    
    .carousel-control.right {
        right: 8px;
    }
    
    .carousel-control .glyphicon {
        font-size: 14px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-indicators li {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

@media (max-width: 480px) {
    .carousel-image {
        height: 200px;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        margin-top: -17.5px;
    }
    
    .carousel-control.left {
        left: 5px;
    }
    
    .carousel-control.right {
        right: 5px;
    }
    
    .carousel-control .glyphicon {
        font-size: 12px;
    }
}

/* 轮播图加载动画 - Bootstrap 3 */
.carousel .item {
    transition: transform 0.6s ease-in-out;
}

/* 确保轮播图自动播放 */
.carousel {
    position: relative;
}

.carousel-inner {
    overflow: hidden;
}

.carousel .item {
    display: none;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.carousel .item.active {
    display: block;
}

/* 上一篇/下一篇导航样式 */
.prev-next-navigation {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.prev-next-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.prev-next-item {
    flex: 1;
    max-width: 45%;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.prev-next-item:hover {
    background: #e9ecef;
    border-color: #007bff;
    text-decoration: none;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.prev-next-item.disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

.prev-next-item.disabled:hover {
    background: #f5f5f5;
    transform: none;
    box-shadow: none;
}

.prev-next-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.prev-next-label {
    font-size: 14px;
    color: #007bff;
    font-weight: 500;
    margin-bottom: 5px;
}

.prev-next-item.disabled .prev-next-label {
    color: #999;
}

.prev-next-item.disabled .prev-next-title {
    color: #999;
}

@media (max-width: 768px) {
    .prev-next-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .prev-next-item {
        max-width: 100%;
    }
}
