* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { overflow-x: hidden; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; color: #333; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 36px; margin-bottom: 10px; color: #2c3e50; }
.section-title p { font-size: 16px; color: #7f8c8d; }
.text-center { text-align: center; margin-top: 40px; }

.btn-primary { display: inline-block; padding: 12px 30px; background: #e74c3c; color: #fff; border-radius: 5px; transition: .3s; }
.btn-primary:hover { background: #c0392b; transform: translateY(-2px); }
.btn-outline { display: inline-block; padding: 12px 30px; border: 2px solid #e74c3c; color: #e74c3c; border-radius: 5px; transition: .3s; }
.btn-outline:hover { background: #e74c3c; color: #fff; }

/* 轮播图 */
.hero-slider { position: relative; overflow: hidden; width: 100%; }
.hero-swiper { height: 100%; overflow: hidden; width: 100%; }
.hero-swiper .swiper-wrapper { width: 100%; }
.hero-swiper .swiper-slide { position: relative; overflow: hidden; width: 100%; }
.hero-swiper .swiper-slide > a { display: block; width: 100%; height: 100%; overflow: hidden; }
.hero-swiper img { width: 100%; height: auto; object-fit: contain; }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: #fff; z-index: 2; width: min(80%, 900px); pointer-events: none; }
.hero-content h2 { font-size: 48px; margin-bottom: 20px; text-shadow: 2px 2px 4px rgba(0,0,0,.5); }
.hero-content p { font-size: 20px; margin-bottom: 0; text-shadow: 1px 1px 2px rgba(0,0,0,.5); }
.swiper-button-prev, .swiper-button-next { color: #fff; }
.swiper-pagination-bullet-active { background: #e74c3c; }

/* 关于我们 */
.about-section { padding: 50px 0; background: #f8f9fa; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: flex-start; }
.about-content-reverse { grid-template-columns: 1fr 1fr; }
.about-text { display: flex; flex-direction: column; justify-content: center; }
.about-text h3 { font-size: 28px; margin-bottom: 30px; color: #2c3e50; font-weight: 700; }
.about-text p, .about-summary { font-size: 16px; color: #666; margin-bottom: 20px; line-height: 2.0; white-space: pre-wrap; word-break: break-word; }
.about-summary p { margin-bottom: 12px; }
.about-summary p:last-child { margin-bottom: 0; }
.about-img { height: 400px; }
.about-img img { border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.1); width: 100%; height: 100%; object-fit: cover; }

/* 产品中心 */
.product-section { padding: 80px 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }
.product-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,.08); transition: .3s; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 35px rgba(0,0,0,.15); }
.product-img { width: 100%; padding-top: 100%; position: relative; overflow: hidden; }
.product-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.product-card:hover .product-img img { transform: scale(1.1); }
.product-card h3 { padding: 20px; font-size: 18px; text-align: center; color: #2c3e50; }

/* 公司动态 */
.news-section { padding: 80px 0; background: #f8f9fa; }
.news-list { max-width: 1080px; margin: 0 auto; display: grid; gap: 22px; }
.news-item { display: grid; grid-template-columns: 220px 1fr; align-items: stretch; gap: 22px; padding: 22px; background: #fff; border-radius: 14px; box-shadow: 0 8px 26px rgba(0,0,0,.05); transition: .3s; border: 1px solid rgba(44,62,80,.05); color: inherit; text-decoration: none; }
.news-item:hover { box-shadow: 0 14px 34px rgba(0,0,0,.09); transform: translateY(-4px); }
.news-img { width: 220px; height: 148px; flex-shrink: 0; border-radius: 10px; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.news-item:hover .news-img img { transform: scale(1.05); }
.news-content { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.news-date { display: inline-flex; align-items: center; width: fit-content; padding: 6px 14px; background: #fff2ef; color: #e74c3c; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.news-item h3 { font-size: 22px; color: #2c3e50; margin-bottom: 12px; line-height: 1.45; transition: .3s; }
.news-item:hover h3 { color: #e74c3c; }
.news-brief { font-size: 15px; color: #666; line-height: 1.8; margin: 0; }

/* 响应式 */
@media (max-width: 768px) {
    .hero-content h2 { font-size: 24px; margin-bottom: 10px; }
    .hero-content p { font-size: 14px; }
    .about-content { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
    .news-item { grid-template-columns: 1fr; gap: 16px; padding: 18px; }
    .news-img { width: 100%; height: 210px; }
    .news-date { margin-bottom: 10px; }
    .news-item h3 { font-size: 20px; }
    .section-title h2 { font-size: 28px; }
}
