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

/* 基础样式 */
body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.logo h1 {
    font-size: 24px;
    color: #1a73e8;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #1a73e8;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

/* 首页横幅样式 */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #fff;
    color: #1a73e8;
}

.btn-primary:hover {
    background-color: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 通用区块样式 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
    position: relative;
}

.underline {
    width: 100px;
    height: 3px;
    background-color: #1a73e8;
    margin: 0 auto;
    border-radius: 2px;
}

/* 关于我们区块样式 */
.about-section {
    background-color: #fff;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 50px;
}

.about-text h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #666;
}

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

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

.company-values {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.value-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 30px 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin: 10px;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.value-item i {
    font-size: 40px;
    color: #1a73e8;
    margin-bottom: 20px;
}

.value-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.value-item p {
    font-size: 14px;
    color: #666;
}

/* 产品服务区块样式 */
.services-section {
    background-color: #f8f9fa;
}

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

.service-item {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 100px;
    height: 100px;
    background-color: #e8f0fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 40px;
    color: #1a73e8;
}

.service-item h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 成功案例区块样式 */
.cases-section {
    background-color: #fff;
}

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

.case-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

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

.case-item:hover .case-image img {
    transform: scale(1.05);
}

.case-info {
    padding: 20px;
}

.case-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.case-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* 团队介绍区块样式 */
.team-section {
    background-color: #f8f9fa;
}

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

.team-member {
    text-align: center;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 5px solid #e8f0fe;
}

.member-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 5px;
}

.member-info p {
    font-size: 14px;
    color: #666;
}

/* 客户反馈区块样式 */
.testimonials-section {
    background-color: #1a73e8;
    color: #fff;
    position: relative;
}

.testimonials-section .section-title h2 {
    color: #fff;
}

.testimonials-section .underline {
    background-color: #fff;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 50px 20px;
}

.testimonial-item.active {
    display: block;
    animation: fadeIn 1s ease;
}

.testimonial-item p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-item h4 {
    font-size: 16px;
    font-weight: 600;
}

.slider-controls {
    text-align: center;
    margin-top: 30px;
}

.slider-controls button {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.slider-controls button:hover {
    background-color: #fff;
    color: #1a73e8;
}

/* 联系我们区块样式 */
.contact-section {
    background-color: #fff;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 20px;
    color: #1a73e8;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

.social-media {
    margin-top: 30px;
}

.social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #e8f0fe;
    border-radius: 50%;
    color: #1a73e8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #1a73e8;
    color: #fff;
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.contact-form h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
}

.contact-form .btn-primary {
    width: 100%;
    margin-top: 10px;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 50px 0 20px;
}

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

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
}

.footer-links {
    flex: 1;
    min-width: 200px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-contact p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.6;
}

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

.copyright {
    margin-bottom: 10px;
}

.copyright p {
    font-size: 14px;
    color: #ccc;
}

.icp-info a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.icp-info a:hover {
    color: #fff;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #1a73e8;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0d47a1;
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 20px;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        opacity: 0;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .company-values,
    .services-grid,
    .cases-grid,
    .team-grid,
    .footer-content {
        flex-direction: column;
        align-items: center;
    }
    
    .value-item,
    .service-item,
    .case-item,
    .team-member,
    .footer-logo,
    .footer-links,
    .footer-contact {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 50px 0;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}