/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 顶部导航栏 */
.top-header {
    background-color: #0066cc;
    color: white;
    padding: 15px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
    margin: 0;
}

.main-nav {
    flex: 1;
    margin: 0 50px;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ffcc00;
}

.search-box {
    display: flex;
}

.search-box input {
    padding: 8px 12px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
}

.search-box button {
    background-color: #ffcc00;
    color: #333;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-box button:hover {
    background-color: #ffd633;
}

/* Banner部分 */
.banner {
    width: 100%;
    background-color: white;
    border-bottom: 1px solid #e0e0e0;
}

.banner-content {
    position: relative;
    width: 100%;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-text {
    text-align: center;
}

.banner-text h1 {
    font-size: 36px;
    color: #0066cc;
    margin: 0;
    font-weight: bold;
}

/* 通用部分样式 */
.section-title {
    text-align: center;
    font-size: 28px;
    color: #0066cc;
    margin: 50px 0 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

/* 产品中心 */
.products-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.product-item a {
    text-decoration: none;
    color: #333;
    display: block;
}

.product-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-item h3 {
    text-align: center;
    padding: 15px;
    font-size: 16px;
    margin: 0;
}

/* 公司简介 */
.about-section {
    padding: 50px 0;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 解决方案 */
.solutions-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.solution-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.solution-image img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.solution-info {
    padding: 20px;
    background-color: #0066cc;
    color: white;
}

.solution-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.solution-info p {
    font-size: 14px;
    line-height: 1.6;
}

/* 更多产品 */
.more-products {
    padding: 50px 0;
}

.more-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.more-product-item {
    text-align: center;
}

.more-product-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.more-product-item p {
    font-size: 16px;
    color: #333;
    font-weight: bold;
}

/* 页脚 */
.footer {
    background-color: #0066cc;
    color: white;
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 30px;
}

.footer-info h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-info p {
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffcc00;
}

.footer-contact p {
    margin-bottom: 10px;
    font-size: 14px;
}

.qrcode {
    margin-top: 20px;
    text-align: center;
}

.qrcode img {
    width: 100px;
    height: 100px;
    border: 2px solid white;
    padding: 5px;
    background-color: white;
    margin-bottom: 10px;
}

.qrcode p {
    font-size: 12px;
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
}

.footer-bottom a {
    color: white;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .products-grid,
    .solutions-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .more-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-nav {
        margin: 0;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-menu li {
        margin: 0;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .products-grid,
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }
    
    .products-grid,
    .solutions-grid,
    .more-products-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .solution-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 20px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .search-box input {
        width: 150px;
    }
    
    .product-item img,
    .solution-image img,
    .more-product-item img {
        height: 150px;
    }
}