/* 关于我们页面样式 */

/* 页面标题 */
.page-title {
    background: linear-gradient(135deg, #0066cc, #004d99);
    color: #fff;
    padding: 60px 0;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.page-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
                linear-gradient(-45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%),
                linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.05) 75%);
    background-size: 20px 20px;
    opacity: 0.2;
}

.page-title .container {
    position: relative;
    z-index: 1;
}

.page-title h1 {
    font-size: 2.5em;
    margin: 0;
    margin-bottom: 15px;
}

.breadcrumb {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* 公司简介 */
.company-intro {
    padding: 80px 0;
}

.company-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.company-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.company-image:hover img {
    transform: scale(1.05);
}

.company-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 发展历程 */
.company-history {
    padding: 80px 0;
    background: transparent; /* 使用全站方案A的灰蓝底色 */
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #0066cc;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: calc(50% - 30px);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    margin-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    right: -45px;
    width: 30px;
    height: 30px;
    background: #0066cc;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.2);
}

.timeline-item:nth-child(even)::before {
    left: -45px;
}

.year {
    position: absolute;
    top: 0;
    right: -100px;
    color: #0066cc;
    font-size: 1.2em;
    font-weight: bold;
}

.timeline-item:nth-child(even) .year {
    left: -100px;
    right: auto;
}

.content {
    background: rgba(255, 255, 255, 0.60); /* 半透明白，呼应全站容器 */
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: saturate(1.05) blur(2px);
}

.content h3 {
    color: #333;
    margin-bottom: 10px;
}

.content p {
    color: #666;
    margin: 0;
}

/* 企业文化 */
.company-culture {
    padding: 80px 0;
}

.culture-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.culture-text {
    margin-bottom: 50px;
}

.culture-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.core-values {
    margin-top: 60px;
}

.core-values h3 {
    color: #333;
    margin-bottom: 40px;
}

.value-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.60);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-item i {
    font-size: 2em;
    color: #0066cc;
    margin-bottom: 20px;
}

.value-item h4 {
    color: #333;
    margin-bottom: 15px;
}

.value-item p {
    color: #666;
    margin: 0;
}

/* 设备展示 */
.equipment {
    padding: 80px 0;
    background: transparent; /* 与方案A保持一致 */
}

.equipment-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.equipment-slider {
    padding: 20px 0 60px;
}

.equipment-item {
    background: rgba(255, 255, 255, 0.60);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 0.3s ease;
    height: 100%;
}

.equipment-item:hover {
    transform: translateY(-10px);
}

.equipment-image {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 aspect ratio */
}

.equipment-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.equipment-item:hover .equipment-image img {
    transform: scale(1.1);
}

.equipment-info {
    padding: 25px;
}

.equipment-info h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.4em;
}

.equipment-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.equipment-specs {
    list-style: none;
    padding: 0;
    margin: 0;
}

.equipment-specs li {
    color: #666;
    padding-left: 20px;
    position: relative;
    margin-bottom: 10px;
}

.equipment-specs li::before {
    content: '•';
    color: #0066cc;
    position: absolute;
    left: 0;
}

/* Swiper导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    color: #0066cc;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: #fff;
    color: #004d99;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}

/* Swiper分页器样式 */
.swiper-pagination {
    bottom: 20px !important;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #0066cc;
}

/* 动画效果 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .company-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline-item {
        width: calc(100% - 50px);
        margin-left: 50px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
        margin-left: 50px;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item::before {
        left: -45px;
        right: auto;
    }

    .year {
        left: -100px;
        right: auto;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-title {
        padding: 40px 0;
        margin-bottom: 60px;
    }

    .company-intro,
    .company-history,
    .company-culture,
    .equipment {
        padding: 60px 0;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        width: 100%;
        margin-left: 30px;
    }

    .year {
        position: relative;
        left: 0;
        margin-bottom: 10px;
    }

    .equipment-slider {
        padding: 10px 0 50px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .equipment-info h3 {
        font-size: 1.2em;
    }

    .equipment-info p {
        font-size: 0.9em;
    }

    .equipment-specs li {
        font-size: 0.9em;
    }
}

/* 添加淡入动画的JavaScript */
document.addEventListener('DOMContentLoaded', function() {
    const fadeElements = document.querySelectorAll('.fade-in');
    
    const observer = new IntersectionObserver((entries) => {
        entries.forEach(entry => {
            if (entry.isIntersecting) {
                entry.target.classList.add('visible');
            }
        });
    }, {
        threshold: 0.1
    });

    fadeElements.forEach(element => {
        observer.observe(element);
    });
}); 