/* 作者：json */

/* 头部样式 - 与其他页面相同 */
.header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* 导航菜单样式 - 与其他页面相同 */
.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 1.5rem;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary-color);
}

/* 移动端菜单按钮 - 与其他页面相同 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin-bottom: 5px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 横幅样式 */
.banner-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-top: 0;
}

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

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/轮播1.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.7);
    z-index: -1;
}

.banner-content {
    text-align: center;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
    z-index: 1;
}

.banner-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-content p {
    font-size: 20px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 公司介绍部分样式 */
.about-section {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.section-title {
    color: var(--primary-color);
    font-size: 28px;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background-color: var(--primary-color);
}

.company-intro-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.company-intro-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.company-intro-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

@media (min-width: 768px) {
    .company-intro-content {
        flex-direction: row;
        align-items: center;
    }
    
    .company-intro-text {
        flex: 3;
    }
    
    .company-intro-image {
        flex: 2;
    }
}

/* 动画效果样式 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* 关于我们内容区域样式 */
.about-content {
    padding: 3rem 0;
    background-color: var(--light-color);
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-content h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
}

/* 公司简介部分 - 为未来内容准备 */
.company-intro {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.company-intro-text {
    flex: 1;
    min-width: 300px;
}

.company-intro-text h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.company-intro-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.company-intro-image {
    flex: 1;
    min-width: 300px;
    height: 350px;
    background-color: var(--light-blue);
    border-radius: 8px;
    overflow: hidden;
}

/* 发展历程部分 - 为未来内容准备 */
.history-section {
    margin-bottom: 4rem;
}

.history-section h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--light-blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd)::after {
    right: -10px;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--light-blue);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-content .year {
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

/* 团队成员部分 - 为未来内容准备 */
.team-section {
    margin-bottom: 4rem;
}

.team-section h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.team-member {
    width: 250px;
    text-align: center;
}

.team-member-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: var(--light-blue);
    margin: 0 auto 1.5rem;
    overflow: hidden;
}

.team-member h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member .position {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.team-member p {
    font-size: 0.9rem;
}

/* 联系信息部分 - 为未来内容准备 */
.contact-section {
    background-color: var(--light-blue);
    padding: 3rem;
    border-radius: 8px;
}

.contact-section h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
}

.contact-item {
    text-align: center;
    width: 250px;
}

.contact-item-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 0.9rem;
}

/* 页脚样式 - 与其他页面相同 */
.footer {
    background-color: var(--accent-color);
    color: var(--light-color);
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
}

.copyright p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 响应式设计 - 与其他页面相同 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
        padding: 1rem 0;
    }

    .logo {
        margin-bottom: 1rem;
    }

    .main-nav {
        width: 100%;
        display: none;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .main-nav li {
        margin: 0;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .company-intro {
        flex-direction: column;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 21px;
    }
}