/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    font-size: 28px;
    color: #007bff;
}

.nav-links a {
    margin-left: 30px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

/* 首页横幅样式 */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid white;
}

.cta-button:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.cta-button.secondary:hover {
    background: white;
    color: #007bff;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    color: white;
    font-size: 20px;
    transition: all 0.3s;
    z-index: 2;
}

.slider-prev:hover,
.slider-next:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
}

/* 服务介绍样式 */
.services {
    padding: 100px 0;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item .icon {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
}

/* 案例展示样式 */
.cases {
    padding: 100px 0;
    background: #f8f9fa;
}

.cases h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
    color: #333;
}

.delivery-text {
    text-align: center;
    margin-bottom: 50px;
    height: 60px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.text-slider {
    display: inline-block;
    height: 60px;
    line-height: 60px;
    overflow: hidden;
    vertical-align: top;
    position: relative;
}

.text-slide {
    height: 60px;
    line-height: 60px;
    font-size: 36px;
    font-weight: bold;
    color: #007bff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    top: 0;
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.delivery-suffix {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    display: inline-block;
    height: 60px;
    line-height: 60px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.case-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.case-item:hover {
    transform: translateY(-10px);
}

.case-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s;
}

.case-item:hover img {
    transform: scale(1.1);
}

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.case-item:hover .case-info {
    transform: translateY(0);
}

.case-info h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.case-info p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.case-link {
    display: inline-block;
    color: white;
    text-decoration: none;
    border-bottom: 1px solid white;
    transition: all 0.3s;
}

.case-link:hover {
    border-color: #007bff;
    color: #007bff;
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 36px;
    color: #007bff;
    margin-bottom: 10px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-size: 36px;
    font-weight: 700;
    color: #007bff;
    display: block;
}

/* 联系我们样式 */
.contact {
    padding: 100px 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
}

.contact-info {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

.info-item {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    font-size: 24px;
    color: #007bff;
}

.qr-code {
    text-align: center;
    margin-top: 30px;
    position: relative;
    cursor: pointer;
}

.qr-code i {
    color: #007bff;
    margin-bottom: 10px;
    transition: transform 0.3s;
}

.qr-code:hover i {
    transform: scale(1.1);
}

.qr-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    margin-bottom: 15px;
}

.qr-popup::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
}

.qr-popup img {
    width: 150px;
    height: 150px;
    display: block;
}

.qr-code:hover .qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-10px);
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    height: 150px;
}

.submit-button {
    padding: 15px 30px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-button:hover {
    background: #0056b3;
}

/* 页脚样式 */
.footer {
    background: #333;
    color: white;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-info i {
    font-size: 28px;
    margin-bottom: 20px;
}

.footer-info p {
    margin: 5px 0;
    opacity: 0.8;
}

.icp-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 24px;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: #007bff;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        align-items: center;
    }
    
    .footer-links {
        margin: 20px 0;
    }
    
    .footer-links a {
        display: block;
        margin: 10px 0;
    }
    
    .footer-social {
        justify-content: center;
    }

    .case-grid {
        grid-template-columns: 1fr;
    }

    .case-item img {
        height: 300px;
    }

    .text-slide {
        font-size: 28px;
    }

    .delivery-text {
        height: 50px;
    }

    .text-slider {
        height: 50px;
        line-height: 50px;
    }

    .text-slide {
        height: 50px;
        line-height: 50px;
    }

    .qr-popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .qr-popup::before {
        display: none;
    }

    .qr-code:hover .qr-popup {
        transform: translate(-50%, -50%);
    }
}

/* 关于我们页面样式 */
.about-hero {
    height: 60vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 80px;
}

.about-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-hero p {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto;
}

/* 公司简介样式 */
.company-intro {
    padding: 100px 0;
    background: #f8f9fa;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.intro-content h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #333;
}

.intro-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

/* 发展历程样式 */
.history {
    padding: 100px 0;
}

.history h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #007bff;
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.year {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    margin: 0 20px;
}

.content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
}

.content h3 {
    color: #333;
    margin-bottom: 10px;
}

.content p {
    color: #666;
}

/* 核心业务样式 */
.core-business {
    padding: 100px 0;
    background: #f8f9fa;
}

.core-business h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.business-item {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.business-item:hover {
    transform: translateY(-10px);
}

.business-item i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 20px;
}

.business-item h3 {
    margin-bottom: 10px;
    color: #333;
}

.business-item p {
    color: #666;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .about-hero {
        height: 50vh;
        margin-top: 60px;
    }

    .about-hero h1 {
        font-size: 36px;
    }

    .about-hero p {
        font-size: 18px;
    }

    .company-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row;
        justify-content: flex-start;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: row;
    }

    .year {
        margin: 0 10px;
    }

    .content {
        width: calc(100% - 100px);
    }

    .business-grid {
        grid-template-columns: 1fr;
    }
}

/* 服务步骤样式 */
.service-steps {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
    position: relative;
}

.service-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.service-steps h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: #333;
}

.steps-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.step-item {
    flex: 1;
    max-width: 220px;
    text-align: center;
    position: relative;
    padding: 0 15px;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    width: 30px;
    height: 2px;
    background: #007bff;
    transform: translateY(-50%);
}

.step-image {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.step-item:hover .step-image img {
    transform: scale(1.1);
}

.step-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -30px auto 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step-icon i {
    font-size: 24px;
    color: #007bff;
    transition: all 0.3s ease;
}

.step-item:hover .step-icon {
    background: #007bff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.step-item:hover .step-icon i {
    color: #fff;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #007bff;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: bold;
    z-index: 3;
}

.step-content {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.step-item:hover .step-content {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.step-content h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.step-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式设计补充 */
@media (max-width: 992px) {
    .steps-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }

    .step-item {
        flex: 0 0 calc(33.333% - 20px);
        max-width: none;
    }

    .step-item:not(:last-child)::after {
        display: none;
    }

    .step-image {
        height: 120px;
    }
}

@media (max-width: 768px) {
    .step-item {
        flex: 0 0 calc(50% - 15px);
    }

    .step-image {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .step-item {
        flex: 0 0 100%;
    }

    .step-image {
        height: 180px;
    }
} 