
/* 主要内容区域 */
.goods-detail-content {
    background: #f8f9fa;
    min-height: 80vh;
    background: url('../images/aboutbg.jpg');
    position: relative;
    padding: 5rem 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 案例详情卡片 */

.goods-detail-card {
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 40px;
    background-color: #fff !important;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out forwards;
    background: linear-gradient(rgba(255, 255, 255, 1), rgba(255, 255, 255, 1));
}

/* 案例图片区域 */
.goods-image-section {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.goods-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.goods-main-image:hover {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goods-image-section:hover .image-overlay {
    opacity: 1;
}

.zoom-icon {
    color: white;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.goods-image-section:hover .zoom-icon {
    transform: scale(1.1);
}

/* 案例信息区域 */
.goods-info-section {
    /*padding: 40px;*/
}

.goods-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.goods-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 14px;
}

.meta-item i {
    color: #006abf;
    font-size: 16px;
}

.goods-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #5a6c7d;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #006abf;
}

.goods-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #2c3e50;
    margin-bottom: 30px;
}

.goods-content h1, .goods-content h2, .goods-content h3,
.goods-content h4, .goods-content h5, .goods-content h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.goods-content p {
    margin-bottom: 15px;
}

.goods-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.goods-content ul, .goods-content ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.goods-content li {
    margin-bottom: 8px;
}

/* 操作按钮 */
.goods-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.btn-primary {
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 106, 191, 0.3);
    color: white;
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid #006abf;
    padding: 12px 30px;
    border-radius: 8px;
    color: #006abf;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #006abf;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    text-decoration: none;
}

/* 相关案例区域 */
.related-goods-section {
    padding-top: 60px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    position: relative;
    margin: 60px 0;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #006abf 0%, #005aa0 100%);
    border-radius: 2px;
}

.related-goods-grid {
    /*display: grid;*/
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    /*gap: 30px;*/
    /*margin-top: 40px;*/
}

.related-goods-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.related-goods-item:nth-child(1) {
    animation-delay: 0.1s;
}

.related-goods-item:nth-child(2) {
    animation-delay: 0.2s;
}

.related-goods-item:nth-child(3) {
    animation-delay: 0.3s;
}

.related-goods-item:nth-child(4) {
    animation-delay: 0.4s;
}

.related-goods-item:nth-child(5) {
    animation-delay: 0.5s;
}

.related-goods-item:nth-child(6) {
    animation-delay: 0.6s;
}

.related-goods-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-goods-item:hover .related-goods-image {
    transform: scale(1.05);
}

.related-goods-content {
    padding: 20px;
}

.related-goods-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-goods-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.related-goods-link {
    color: #006abf;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.related-goods-link:hover {
    color: #005aa0;
    text-decoration: none;
    transform: translateX(5px);
}

/* 动画 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.related_goods_img_con{
    padding: 20px;
}
