/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0066cc;
    color: white;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #0052a3;
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #0066cc;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

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

.logo h1 {
    font-size: 1.2rem;
    color: #0066cc;
}

.nav ul {
    display: flex;
}

.nav li {
    margin: 0 15px;
    position: relative;
}

.nav a {
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
}

.nav a:hover {
    color: #0066cc;
}

.nav li.active a {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
}

.contact-phone {
    display: flex;
    align-items: center;
    color: #0066cc;
    font-weight: bold;
}

.contact-phone i {
    margin-right: 8px;
}

/* Banner轮播样式 */
.banner {
    margin-top: 70px;
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 5px;
}

.slide-content h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.slide-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: white;
}

/* 核心优势样式 */
.advantages {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.advantage-item:hover {
    transform: translateY(-10px);
}

.advantage-item .icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 20px;
}

.advantage-item h3 {
    margin-bottom: 15px;
    color: #0066cc;
}

/* 产品展示样式 */
.products {
    padding: 20px 0;
}

.product-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 50px;
}

.product-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-10px);
}

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

.product-info {
    padding: 20px;
    background-color: white;
}

.product-info h3 {
    color: #0066cc;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.product-info ul {
    margin-bottom: 20px;
}

.product-info li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.product-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0066cc;
}

/* 应用领域样式 */
.applications {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.application-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.application-item {
    position: relative;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
}

.application-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.application-item:hover img {
    transform: scale(1.1);
}

.application-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 15px;
    text-align: center;
}

/* 底部样式 */
.footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    margin-bottom: 40px;
}

.footer h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-about p {
    margin-bottom: 15px;
}

.slogan {
    color: #0066cc;
    font-weight: bold;
    font-style: italic;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #0066cc;
}

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.footer-contact i {
    margin-right: 10px;
    color: #0066cc;
}

.copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .nav {
        margin-bottom: 15px;
    }
    
    .banner {
        height: 400px;
    }
    
    .slide-content {
        left: 5%;
        max-width: 90%;
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .product-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav li {
        margin: 5px 10px;
    }
    
    .banner {
        height: 300px;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* 公司简介页面特有样式 */

/* 页面标题 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../../assets/images/about-bg.png') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-top: 70px;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 公司概况 */
.company-overview {
    padding: 80px 0;
}

.overview-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.overview-text {
    flex: 1;
}

.overview-text h3 {
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 20px;
}

.overview-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.slogan {
    color: #0066cc;
    font-weight: bold;
    font-style: italic;
    font-size: 1.2rem;
}

.overview-image {
    flex: 1;
}

.overview-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 发展历程 */
.company-history {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.section-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: #0066cc;
    margin-bottom: 40px;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #0066cc;
}

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

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: #0066cc;
}

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

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-year {
    width: 100px;
    height: 100px;
    background-color: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 80px);
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    color: #0066cc;
    margin-bottom: 10px;
}

/* 技术实力 */
.technology {
    padding: 80px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.tech-item:hover {
    transform: translateY(-10px);
}

.tech-icon {
    font-size: 2.5rem;
    color: #0066cc;
    margin-bottom: 20px;
}

.tech-item h4 {
    margin-bottom: 15px;
    color: #333;
}

/* 应用领域 */
.application-areas {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.area-card {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
}

.area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.area-card:hover img {
    transform: scale(1.1);
}

.area-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.area-info h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* 荣誉资质 */
.certificates {
    padding: 80px 0;
}

.certificate-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

.certificate-item {
    min-width: 250px;
    scroll-snap-align: start;
    text-align: center;
}

.certificate-item img {
    width: 100%;
    height: 350px;
    object-fit: contain;
    border: 1px solid #eee;
    background-color: white;
    padding: 10px;
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .overview-content {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 50px;
    }
    
    .timeline-item, .timeline-item:nth-child(odd) {
        flex-direction: row;
        text-align: left;
    }
    
    .timeline-content {
        width: calc(100% - 150px);
        margin-left: 50px;
    }
    
    .certificate-item {
        min-width: 200px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 60px 0;
    }
    
    .page-header h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.5rem;
    }
    
    .timeline-year {
        width: 80px;
        height: 80px;
        font-size: 1.2rem;
    }
    
    .timeline-content {
        width: calc(100% - 120px);
        margin-left: 30px;
    }
}