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

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* 头部导航 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.nav a {
    margin-left: 30px;
    font-size: 14px;
    color: #666;
    transition: color 0.3s;
}

.nav a:hover, .nav a.active {
    color: #FFC107;
}

/* 通用Section样式 */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.section-subtitle {
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
}

/* Banner */
.banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.banner-img img {
    width: 100%;
    display: block;
    height: auto;
    min-height: 400px;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    display: none; /* 实际有图片不需要文字，这里隐藏，或者显示在特定位置 */
}

/* 公司业务 */
.business-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.business-item {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.business-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

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

/* 品牌故事 */
.story-container {
    display: flex;
    gap: 0; /* 图片设计紧凑 */
    background-color: #fff;
}

.story-left {
    flex: 1;
    position: relative;
}

.story-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.story-overlay-text {
    position: absolute;
    top: 10%;
    left: 10%;
    text-align: center;
    color: #0d47a1; /* 蓝色系 */
}

.story-overlay-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.story-overlay-text h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.story-overlay-text .btn {
    background-color: #0d47a1;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
}

.story-right {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.story-box {
    background-color: #FFC107; /* 黄色背景 */
    padding: 40px;
    color: #000;
    width: 100%;
    margin-top: -20px; /* 向上重叠一点 */
    margin-left: -20px; /* 向左重叠 */
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.story-box h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.story-content {
    padding: 40px;
    margin-top: 20px;
    z-index: 5;
}

.story-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.story-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.story-bg-decoration {
    margin-top: auto;
    width: 100%;
}

.story-bg-decoration img {
    width: 100%;
    display: block;
}

/* 产品介绍 */
.product-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.product-item {
    flex: 1;
    background-color: #fff;
}

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

.product-info {
    padding: 20px 0;
}

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

.product-info p {
    font-size: 12px;
    color: #888;
    line-height: 1.6;
}

/* 招贤纳士 */
.recruitment {
    text-align: center;
}

.recruitment-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 14px;
    color: #666;
    line-height: 2;
}

/* 底部 */
.footer {
    background-color: #f9f9f9;
    padding-top: 50px;
    padding-bottom: 20px;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-left {
    margin-right: 50px;
}

.footer-left img {
    width: 100px;
    height: 100px;
}

.footer-right h4 {
    font-size: 16px;
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    gap: 30px;
    font-size: 12px;
    color: #666;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #999;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* 响应式 */
@media (max-width: 1200px) {
    .container {
        width: 100%;
    }
    
    .story-container {
        flex-direction: column;
    }
    
    .story-box {
        margin: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    .nav {
        margin-top: 10px;
    }
    
    .nav a {
        margin: 0 10px;
    }
    
    .business-grid, .product-grid {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-left {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
    }
}