
/* 页面内部Banner */
.inner-banner {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.inner-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../image/zoujin.jpg') center/cover no-repeat;
    opacity: 0.3;
    z-index: 0;
}

.inner-banner-content {
    position: relative;
    z-index: 1;
    text-align: right !important;
    color: #fff;
    padding-right: 100px;
    padding-top: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 40px;
}

.inner-banner-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: inline-block;
    border-bottom: 3px solid #ff0000;
    padding-bottom: 10px;
}

.inner-banner-subtitle {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* 响应式设计 - 平板 */
@media (max-width: 1024px) {
    .inner-banner {
        height: 400px;
    }
    
    .inner-banner-content {
        padding-right: 60px;
        margin-top: 30px;
    }
    
    .inner-banner-title {
        font-size: 36px;
        margin-bottom: 15px;
    }
    
    .inner-banner-subtitle {
        font-size: 20px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 768px) {
    .inner-banner {
        height: 350px;
    }
    
    .inner-banner-content {
        padding: 0 30px;
        align-items: center;
        text-align: center !important;
        margin-top: 20px;
    }
    
    .inner-banner-title {
        font-size: 28px;
        margin-bottom: 10px;
        border-bottom-width: 2px;
    }
    
    .inner-banner-subtitle {
        font-size: 16px;
    }
}

/* =============== 全局样式定义 =============== */
:root {
    --color-primary: #1a3c6e;           /* 主色调：深蓝色 */
    --color-dark-green: #005f8e;       /* 辅助色：深绿色 */
    --color-text-dark: #333333;        /* 深色文字 */
    --color-text-grey: #666666;        /* 灰色文字 */
        
    --color-border: #e0e0e0;           /* 边框颜色 */
    --color-background: #f8f9fa;       /* 背景颜色 */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);    /* 浅阴影 */
    --shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.15);  /* 中等阴影 */
    --transition-base: all 0.3s ease;  /* 基础过渡效果 */
}

/* =============== 公司介绍板块样式 =============== */
.company-intro {
    background: #FFFFFF;
    padding: 60px 0;
}


.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.intro-text {
    flex: 1;
    padding: 0 20px;
}

.intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.stats-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    flex: 1;
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a3c6e;
    margin-bottom: 5px;
    transition: all 0.5s ease;
}

.stat-number span {
    display: inline-block;
    color: #1a3c6e;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.intro-video {
    flex: 1;
    padding: 0 20px;
}

.about-video {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 宽高比 */
}

.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(255,255,255,1);
}

.play-icon {
    color: #1a3c6e;
    font-size: 24px;
    margin-left: 5px;
}

.play-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    animation: ripple 1.5s infinite;
    z-index: 1;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    z-index: 2;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
}

.video-duration {
    font-size: 0.9rem;
    opacity: 0.8;
}

.company-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 1366px笔记本电脑优化 */
@media (max-width: 1366px) {
    .intro-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .intro-text, .intro-video {
        width: 100%;
        max-width: 800px;
    }
    
    .stats-container {
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
}

/* 平板端适配 */
@media (max-width: 768px) {
    .company-intro {
        padding: 40px 0;
    }
    
    .stats-container {
        flex-direction: column;
    }
    
    .stat-item {
        padding: 15px;
    }
}

/* =============== 主要内容区域样式 =============== */
.about-main {
    width: 100%;
    margin: 0 auto;	
}

.about-section {
    padding: 45px 0;
}

.about-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.4rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
}

.section-description {
    text-align: center;
    color: var(--color-text-grey);
    font-size: 1.1rem;
    margin-bottom: 50px;
    line-height: 1.6;
}

.production-bases {
      padding: 45px 20px;
}

.bases-title {
    font-size: 2.4rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 30px;
    font-weight: 600;
    position: relative;
	padding-top:50px;
}

.bases-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
}

.bases-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    padding: 20px 10px;
}

.base-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.base-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.base-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.base-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.base-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.base-card:hover .base-image img {
    transform: scale(1.05);
}

.base-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.base-name {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.base-location {
    color: var(--color-text-grey);
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.base-location::before {
    content: '\f3c5';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    color: var(--color-dark-green);
}

.base-specs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: auto;
}

.spec-item {
    background: #f3f5f8;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.75rem;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.spec-item i {
    font-size: 0.8rem;
}

/* =============== 2. 成长沿革样式 =============== */
.growth-history {
    background: #FFFFFF;
    padding: 45px 0;
}

.timeline-container {
    position: relative;
    margin: 0 auto;
    padding: 40px 0;
    overflow: hidden;
}

.timeline-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: var(--color-primary);
    color: #ffffff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 5px 20px rgba(26, 60, 110, 0.3);
}

.timeline-nav:hover {
    background: var(--color-dark-green);
    transform: translateY(-50%) scale(1.1);
}

.timeline-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%) scale(1);
}

.timeline-nav.prev {
    left: 20px;
}

.timeline-nav.next {
    right: 20px;
}

.timeline {
    display: flex;
    transition: transform 0.5s ease;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, 
        var(--color-primary) 0%, 
        var(--color-dark-green) 100%);
    transform: translateY(-50%);
    border-radius: 2px;
    z-index: 1;
}

.timeline {
    overflow: visible; /* 确保时间线可见 */
}

.timeline-item {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 50px;
    position: relative;
    z-index: 2;
}

.timeline-item:nth-child(odd) {
    flex-direction: column;
}

.timeline-item:nth-child(even) {
    flex-direction: column-reverse;
}

.timeline-year {
    width: 80px;
    height: 80px;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-primary);
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--color-primary);
    margin: 20px 0;
}

.timeline-year::before {
    display: none;
}

.timeline-content {
    width: 280px;
    background: #ffffff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.timeline-image {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.timeline-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.timeline-content:hover .timeline-image img {
    transform: scale(1.05);
}

.timeline-title {
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-desc {
    color: var(--color-text-dark);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* =============== 荣誉证书板块样式 =============== */
.zizhi-section {
    background: #f8f9fa;
    padding: 45px 0;
    overflow: hidden;
}

.zizhi-container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* 荣誉证书滚动容器 */
.zizhi-scroll-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
}

/* 荣誉证书滚动轨道 */
.zizhi-scroll-track {
    display: flex;
    gap: 20px;
    animation: zizhiScroll 60s linear infinite;
    will-change: transform;
}

/* 鼠标悬停时暂停滚动 */
.zizhi-scroll-track:hover {
    animation-play-state: paused;
}

/* 滚动动画 */
@keyframes zizhiScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-5.55% * 18));
    }
}

/* 单个荣誉证书项 */
.zizhi-item {
    flex: 0 0 calc(16.66% - 17px);
    min-width: 280px;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.zizhi-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(190,190,255, 0.2);
    background-color: #e6f3ff; /* 浅蓝色背景 */
}

/* 荣誉证书图片 */
.zizhi-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.zizhi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.zizhi-item:hover .zizhi-image img {
    transform: scale(1.1);
}

/* 荣誉证书图片遮罩层 */
.zizhi-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(190,190,255, 0.8), rgba(0, 95, 142, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.zizhi-item:hover .zizhi-overlay {
    opacity: 1;
}

.zizhi-overlay i {
    color: #ffffff;
    font-size: 36px;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.zizhi-item:hover .zizhi-overlay i {
    transform: scale(1) rotate(90deg);
}

/* 证书项高度调整 */
.zizhi-item {
    height: auto;
}


/* 1366px笔记本电脑优化 */
@media (max-width: 1366px) and (min-width: 1200px) {
    .zizhi-item {
        flex: 0 0 calc(16.66% - 17px);
        min-width: 210px;
    }

    .zizhi-image {
        height: 160px;
    }

    .zizhi-content {
        padding: 12px 8px;
    }

    .zizhi-title {
        font-size: 15px;
        min-height: 42px;
    }
    
    .bases-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }

    .base-image {
        height: 150px;
    }

    .base-name {
        font-size: 1.1rem;
    }

    .spec-item {
        font-size: 0.7rem;
    }
}

/* 平板端适配 */
@media (max-width: 1200px) and (min-width: 768px) {
    .zizhi-scroll-track {
        gap: 15px;
    }

    .zizhi-item {
        flex: 0 0 calc(25% - 12px);
        min-width: 220px;
    }

    .zizhi-image {
        height: 180px;
    }
    
    .bases-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .base-image {
        height: 180px;
    }
}

/* 手机端适配 */
@media (max-width: 768px) {
    .zizhi-section {
        padding: 60px 0;
    }

    .zizhi-container {
        padding: 0 15px;
    }

    .zizhi-scroll-container {
        margin-top: 40px;
    }

    .zizhi-scroll-track {
        gap: 12px;
    }

    .zizhi-item {
        flex: 0 0 calc(50% - 6px);
        min-width: 250px;
    }

    .zizhi-image {
        height: 160px;
    }

    .zizhi-content {
        padding: 12px 5px;
    }

    .zizhi-title {
        font-size: 14px;
        min-height: 40px;
    }

    @keyframes zizhiScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% * 18));
        }
    }
    
    .production-bases {
        margin-top: 40px;
    }

    .bases-title {
        font-size: 1.8rem;
    }

    .bases-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .base-image {
        height: 180px;
    }
}

/* 小手机端适配 */
@media (max-width: 480px) {
    .zizhi-section {
        padding: 50px 0;
    }

    .zizhi-scroll-track {
        gap: 10px;
    }

    .zizhi-item {
        flex: 0 0 calc(100% - 0px);
        min-width: 280px;
    }

    .zizhi-image {
        height: 180px;
    }

    .zizhi-content {
        padding: 15px 8px;
    }

    .zizhi-title {
        font-size: 15px;
        min-height: 42px;
    }

    @keyframes zizhiScroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-100% * 18));
        }
    }
    
    .bases-title {
        font-size: 1.6rem;
    }

    .bases-grid {
        grid-template-columns: 1fr;
    }

    .base-image {
        height: 200px;
    }
}

/* 高分辨率屏幕优化 */
@media (min-width: 1400px) {
    .inner-banner-title {
        font-size: 4rem;
    }

    .inner-banner-subtitle {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .section-description {
        font-size: 1.2rem;
    }
}