/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, "system-ui", "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: #333;
    background-color: #f6f6f8;
}

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

/* 顶部导航样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 70px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.navigation {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ff6b35;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #1890ff;
}

.nav-buttons {
    display: flex;
    gap: 20px;
}

/* 主要内容区域 */
.main-content {
    margin-top: 0;
    background-color: #f6f6f8;
}

/* 公司介绍横幅 */
.company-banner {
    width: 100%;
    background: white;
    padding: 0;
}

.banner-content {
    width: 100%;
    text-align: center;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: top;
}

/* 集团介绍 */
.company-intro {
    padding: 60px 0;
    background: white;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    border-radius: 2px;
}

.intro-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.intro-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    text-align: justify;
    text-indent: 2em;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.15);
    border-color: #007bff;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}

.intro-logo {
    text-align: center;
}

.company-logo {
    width: 230px;
    height: 284px;
    border-radius: 8px;
    object-fit: contain;
}

.intro-text {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: left;
}

.intro-text p {
    margin-bottom: 15px;
}

.intro-image {
    text-align: center;
}

.company-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 时间线 */
.timeline-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #007bff;
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 30px;
    width: 12px;
    height: 12px;
    background: #007bff;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-date {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
}

.timeline-item:nth-child(odd) .timeline-date {
    justify-content: flex-end;
    padding-right: 40px;
}

.timeline-item:nth-child(even) .timeline-date {
    justify-content: flex-start;
    padding-left: 40px;
}

.date-icon {
    width: 24px;
    height: 24px;
}

.year {
    font-size: 16px;
    font-weight: 600;
    color: #007bff;
    background: white;
    padding: 8px 12px;
    border-radius: 20px;
    border: 2px solid #007bff;
    white-space: nowrap;
}

.timeline-content {
    flex: 1;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    border-left: 4px solid #007bff;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border: 12px solid transparent;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -24px;
    border-left-color: white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -24px;
    border-right-color: white;
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 历史发展 */
.history {
    padding: 60px 0;
    background: white;
}

.history-banner {
    text-align: center;
    margin-bottom: 40px;
    background-image: url('../images/history.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
    position: relative;
}

.history-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.history-title {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.history-event, .history-year {
    flex: 1;
    text-align: center;
}

.history-event .opacity, .history-year .opacity {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 5px;
}

.history-event .title-name, .history-year .title-name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
}

.history-info {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 40px;
    height: 600px; /* 固定高度 */
}

.history-left, .history-right {
    flex: 1;
    overflow-y: auto; /* 垂直滚动 */
    padding: 0;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

/* 自定义滚动条样式 */
.history-left::-webkit-scrollbar, .history-right::-webkit-scrollbar {
    width: 4px;
}

.history-left::-webkit-scrollbar-track, .history-right::-webkit-scrollbar-track {
    background: transparent;
}

.history-left::-webkit-scrollbar-thumb, .history-right::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.history-left::-webkit-scrollbar-thumb:hover, .history-right::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.4);
}

.history-item {
    margin-bottom: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.history-item:last-child {
    margin-bottom: 0;
}

.event-year {
    font-size: 32px;
    font-weight: 700;
    color: #666;
    margin: 0;
    padding: 20px 20px 10px 20px;
    text-align: left;
    background: transparent;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
}

.event-info {
    display: block;
    margin-bottom: 0;
    padding: 15px 20px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #f8f9fa;
}

.event-info:last-child {
    border-bottom: none;
    padding-bottom: 28px;
}

.event-info > div:first-child {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 8px;
}

.event-month {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin: 0;
    line-height: 1;
}

.month-style {
    font-size: 12px;
    color: #999;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-content {
    flex: 1;
}

.event-content p {
    margin: 0;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

.calendar-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

/* 荣誉资质 */
.honor {
    padding: 60px 0;
    background: white;
    text-align: center;
}

.honor .honor-title {
    display: block;
    margin: 0 auto 40px;
    max-width: 420px;
    height: auto;
}

.honor .achievements,
.honor .certificate {
    display: block;
    margin: 20px auto;
    max-width: 1280px;
    width: 100%;
    height: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
    padding: 0px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.honor .achievements:hover,
.honor .certificate:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.honors-section {
    padding: 60px 0;
    background: white;
}

.honors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.honor-item {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #007bff;
}

.honor-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.honor-icon {
    flex-shrink: 0;
    margin-right: 20px;
}

.honor-icon .icon {
    width: 48px;
    height: 48px;
    background: #007bff;
    border-radius: 50%;
    padding: 12px;
    box-sizing: border-box;
}

.honor-content {
    flex: 1;
    text-align: left;
}

.honor-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.honor-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 页脚 */
.footer {
    background: #333;
    color: white;
    padding: 30px 0 0 0;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 20px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    margin-bottom: 8px;
}

.footer-domain {
    font-size: 14px;
    color: #ccc;
}

.footer-contact {
    flex: 1;
    max-width: 600px;
}

.contact-item {
    display: flex;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-label {
    color: #ccc;
    min-width: 80px;
}

.contact-value {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding: 15px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .navigation {
        gap: 20px;
    }
    
    .nav-buttons {
        gap: 15px;
    }
    
    .main-content {
        margin-top: 120px;
    }
    
    .intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item::before {
        left: 30px;
    }
    
    .timeline-date {
        justify-content: flex-start !important;
        padding: 10px 0 10px 60px !important;
    }
    
    .timeline-content {
        margin: 0 0 0 60px !important;
    }
    
    .timeline-content::before {
        left: -24px !important;
        border-right-color: white !important;
        border-left-color: transparent !important;
    }
    
    .honors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .company-intro,
    .development-timeline,
    .honors-section {
        padding: 40px 0;
    }
}

/* AXM 公司介绍样式 */
.axm {
    padding: 40px 0;
    background: #f8f9fa;
}

.axm .title {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.axm-info {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: justify;
}