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

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

/* 导航栏 */
nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 10px 20px;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}
.active {
    color: #007bff; /* 科技蓝 */
    font-weight: bold; /* 加粗选中项 */
}
/* Banner */
.banner {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/banner.jpeg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
}

.banner-content {
    width: 100%;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
}

.container h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.container h3 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.container p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.container ul {
    margin-left: 20px;
    /* list-style-type: disc; */
}

.container ul li {
    margin-bottom: 10px;
}
/* 通用section样式 */
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
}

/* 产品介绍 */
.products{
    background-color: #f8f9fa;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-item {
    text-align: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.product-item:hover {
    transform: translateY(-5px);
}

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

/* 客户案例 */
.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.case-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s;
}

.case-item:hover img {
    transform: scale(1.05);
}

/* 企业文化 */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.culture-item {
    text-align: center;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* 页脚 */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}
footer .container {
    text-align: center;
}

footer .container p {
    line-height: 15px;
}

footer .container  a{
    color: #fff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-grid,
    .case-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .culture-grid {
        grid-template-columns: 1fr;
    }
    
    nav .container {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }
    
    nav ul {
        margin-top: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
} 