/* DaiSheng.css - 三明代生页面专用样式 */

/* 产品区域 */
.product-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.product-section .row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.product-section .col-lg-7,
.product-section .col-lg-5 {
    padding: 0 15px;
}

/* 产品展示区 */
.product-showcase {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

/* 产品图片 */
.product-image {
    margin-bottom: 30px;
}

.product-image-large {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.product-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
}

.product-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.product-thumbnail.active {
    border-color: #e74c3c;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 产品介绍 */
.product-intro {
    margin-bottom: 30px;
}

.product-intro h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.product-intro p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* 产品特色 */
.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 32px;
    color: #e74c3c;
    margin-bottom: 10px;
}

.feature-item h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 产品详情区 */
.product-details {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    position: sticky;
    top: 100px;
}

.product-details h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e74c3c;
}

/* 服务详情 */
.service-detail {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e0e0e0;
}

.service-detail:last-of-type {
    border-bottom: none;
}

.service-detail h3 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-detail h3 i {
    color: #e74c3c;
    font-size: 20px;
}

.service-detail p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-detail ul {
    list-style: none;
    padding: 0;
}

.service-detail ul li {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.service-detail ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e74c3c;
    font-weight: bold;
}

/* 联系按钮 */
.contact-button {
    margin-top: 30px;
    text-align: center;
}

.btn-primary-custom {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    color: #fff;
}

.btn-primary-custom i {
    margin-right: 8px;
}

/* 服务区域 */
.service-area-section {
    padding: 60px 0;
    background: #fff;
}

.service-area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-area-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.service-area-item h4 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.service-area-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .product-section .col-lg-7,
    .product-section .col-lg-5 {
        width: 100%;
        flex: 0 0 100%;
    }

    .product-details {
        position: static;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .service-area-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product-image-large {
        height: 250px;
    }

    .product-thumbnail {
        width: 80px;
        height: 80px;
    }

    .product-intro h2 {
        font-size: 20px;
    }

    .product-features h3 {
        font-size: 18px;
    }

    .product-details h2 {
        font-size: 20px;
    }

    .service-detail h3 {
        font-size: 16px;
    }

    .service-area-grid {
        grid-template-columns: 1fr;
    }

    .btn-primary-custom {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .product-showcase {
        padding: 20px;
    }

    .product-details {
        padding: 20px;
    }

    .product-image-large {
        height: 200px;
    }

    .product-thumbnail {
        width: 60px;
        height: 60px;
    }

    .feature-item {
        padding: 15px;
    }

    .service-area-item {
        padding: 15px;
    }
}
