/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    padding-top: 80px; /* 添加上边距，防止内容被固定导航栏覆盖 */
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

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

a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s ease;
}

a:hover {
    color: #0078d4;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

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

/* 头部导航 */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.8rem;
    color: #0078d4;
    font-weight: 700;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0078d4;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

/* Banner轮播 */
.banner {
    margin-bottom: 60px;
}

.slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 500px;
}

.slides {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    position: relative;
    width: 50%;
    height: 100%;
}

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

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 5px;
    width: 80%;
    max-width: 800px;
}

.slide-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.5);
    color: #333;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

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

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

.dot.active {
    background-color: #fff;
}

/* 成功案例 */
.case-studies {
    padding: 60px 0;
    background-color: #fff;
}

.case {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case h3 {
    font-size: 1.8rem;
    color: #0078d4;
    margin-bottom: 20px;
    text-align: center;
}

.case-content {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.case-image {
    flex: 1;
    min-width: 300px;
}

.case-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case-description {
    flex: 2;
    min-width: 300px;
}

.case-description p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* 案例卡片样式 */
.case-card {
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 左右布局容器 */
.case-flex-container {
    display: flex;
    flex-wrap: wrap;
}

.case-left {
    flex: 0 0 30%;
    padding: 20px;
}

.case-right {
    flex: 0 0 70%;
    padding: 20px;
}

.case-image {
    max-width: 300px;
    margin: 0 auto;
}

.case-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case-info {
    margin-bottom: 30px;
}

.case-info h3 {
    font-size: 1.8rem;
    color: #0078d4;
    margin-bottom: 15px;
    text-align: left;
}

.case-info p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.case-info .btn {
    display: inline-block;
    background-color: #0078d4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.case-info .btn:hover {
    background-color: #005fa3;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .case-flex-container {
        flex-direction: column;
    }
    
    .case-left, .case-right {
        flex: 0 0 100%;
    }
    
    .case-image {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* 案例图片展示区 */
.case-gallery {
    padding: 15px 0;
    background-color: transparent;
    border-top: 1px solid #eee;
}

.case-gallery h4 {
    font-size: 1.5rem;
    color: #0078d4;
    margin-bottom: 20px;
    text-align: left;
}

.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 15px;
    margin-bottom: 15px;
}

.gallery-item {
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scene-label {
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    text-align: center;
    width: 100%;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .gallery-grid {
        justify-content: center;
    }
    
    .case-gallery h4 {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        justify-content: center;
    }
    
    .case-gallery h4 {
        font-size: 1.3rem;
    }
}

/* 页脚 */
footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-info, .footer-links {
    flex: 1;
    min-width: 250px;
    margin-bottom: 30px;
}

.footer-info h3, .footer-links h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-info h3::after, .footer-links h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #0078d4;
}

.footer-info p {
    margin-bottom: 10px;
}

.footer-info i {
    margin-right: 10px;
    color: #0078d4;
}

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

.footer-links ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #0078d4;
}

.social-icons {
    display: flex;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #444;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #0078d4;
    transform: translateY(-3px);
}

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

/* 响应式设计 */
@media (max-width: 992px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    nav ul li {
        margin-left: 20px;
    }
    
    .slider {
        height: 400px;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 10px;
    }
    
    .slider {
        height: 350px;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .case-content {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .container {
        width: 90%;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    nav ul {
        flex-wrap: wrap;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .slider {
        height: 250px;
    }
    
    .slide-content {
        width: 90%;
        padding: 15px;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .case h3 {
        font-size: 1.5rem;
    }
    
    .case-description p {
        font-size: 1rem;
    }
}

/* 产品介绍页样式 */
.products {
    padding: 60px 0;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.5rem;
    color: #0078d4;
    margin-bottom: 10px;
}

.product-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-info .btn {
    display: inline-block;
    background-color: #0078d4;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.product-info .btn:hover {
    background-color: #005fa3;
}

/* 团队介绍页样式 */
.team {
    padding: 60px 0;
    background-color: #fff;
}

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

.team-member {
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    height: 250px;
    overflow: hidden;
}

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

.member-info {
    padding: 20px;
}

.member-info h3 {
    font-size: 1.5rem;
    color: #0078d4;
    margin-bottom: 5px;
}

.member-info p.position {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.member-info p.bio {
    font-size: 0.95rem;
    line-height: 1.6;
}

.member-social {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #eee;
    border-radius: 50%;
    margin: 0 5px;
    color: #333;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background-color: #0078d4;
    color: #fff;
}

/* 关于我们页样式 */
.about {
    padding: 60px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.about-image {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 2;
    min-width: 300px;
}

.about-text h3 {
    font-size: 1.8rem;
    color: #0078d4;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.company-values {
    margin-top: 40px;
}

.company-values h3 {
    font-size: 1.8rem;
    color: #0078d4;
    margin-bottom: 20px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.value-card {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    color: #0078d4;
    margin-bottom: 20px;
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #0078d4;
}

.value-card p {
    font-size: 1rem;
    line-height: 1.6;
}

.company-history {
    margin-top: 60px;
}

.company-history h3 {
    font-size: 1.8rem;
    color: #0078d4;
    margin-bottom: 30px;
    text-align: center;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #0078d4;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: #fff;
    border: 4px solid #0078d4;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -12px;
}

.timeline-content {
    padding: 20px;
    background-color: #f9f9f9;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h4 {
    font-size: 1.3rem;
    color: #0078d4;
    margin-bottom: 10px;
}

.timeline-content .date {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

.timeline-content p {
    line-height: 1.6;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item::after {
        left: 18px;
    }
    
    .timeline-item.right::after {
        left: 18px;
    }
}