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

body {
    font-family: 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.btn-primary:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #e74c3c;
    border: 2px solid #e74c3c;
}

.btn-secondary:hover {
    background-color: #e74c3c;
    color: #fff;
    transform: translateY(-2px);
}

/* 标题样式 */
h1, h2, h3, h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

h2 {
    font-size: 36px;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
}

h3 {
    font-size: 24px;
    color: #2c3e50;
}

/* 段落样式 */
p {
    margin-bottom: 20px;
    color: #555;
}

/* 导航栏样式 */
.navbar {
    background-color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

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

.navbar .logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.navbar .logo h1 {
    font-size: 48px;
    color: #e74c3c;
    margin: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #e74c3c;
}

.contact-btn {
    display: flex;
    align-items: center;
}

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

/* 英雄区域样式 */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background-color: #f8f9fa;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.hero-content h2 {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: left;
}

.hero-content p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-image {
    flex: 1;
}

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

/* 通用区块样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header p {
    font-size: 18px;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

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

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

.about-image {
    flex: 1;
}

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

.about-text {
    flex: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 10px;
}

.stat h4 {
    font-size: 36px;
    color: #e74c3c;
    margin-bottom: 5px;
}

.stat p {
    font-size: 14px;
    color: #7f8c8d;
    margin: 0;
}

/* 服务展示部分样式 */
.services {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

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

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

.service-card h3 {
    color: #e74c3c;
    text-decoration: none;
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #e74c3c;
}
.cases {
    padding: 100px 0;
    background-color: #fff;
}

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

.case-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.case-content p {
    font-size: 14px;
    margin: 0;
}

/* 团队介绍部分样式 */
.team {
    padding: 100px 0;
    background-color: #f8f9fa;
}

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

.team-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
}

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

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-info p {
    font-size: 14px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social a:hover {
    background-color: #e74c3c;
    color: #fff;
}

/* 联系方式部分样式 */
.contact {
    padding: 100px 0;
    background-color: #fff;
}

.contact-content {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: nowrap;
}

.contact-qr {
    text-align: center;
    margin-bottom: 30px;
}

.contact-form {
    flex: 1;
    background-color: #f8f9fa;
    padding: 40px;
    border-radius: 10px;
}


/* 联系我们部分的二维码样式 */
.contact-item img {
    width: 600px !important;
    height: 600px !important;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 3px solid #e74c3c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.contact-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-item p {
    font-size: 18px;
    margin: 0;
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 80px 0 30px;
}

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

.footer-info h3 {
    color: #e74c3c;
    margin-bottom: 20px;
}

.footer-info p {
    color: #bdc3c7;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background-color: #e74c3c;
    transform: translateY(-3px);
}

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

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

.footer-links li,
.footer-services li,
.footer-contact li {
    margin-bottom: 15px;
}

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

.footer-links a:hover,
.footer-services a:hover {
    color: #e74c3c;
    text-decoration: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: #bdc3c7;
}

.footer-contact i {
    color: #e74c3c;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #bdc3c7;
}

.footer-bottom a {
    color: #bdc3c7 !important;
    text-decoration: none;
}

.footer-bottom a:link,
.footer-bottom a:visited,
.footer-bottom a:hover,
.footer-bottom a:active {
    color: #bdc3c7 !important;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #e74c3c !important;
}

/* 确保页脚底部链接颜色一致性 */
div.footer-bottom a {
    color: #bdc3c7 !important;
    text-decoration: none !important;
}

.footer-bottom a {
    color: #bdc3c7 !important;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #e74c3c !important;
}

/* 滚动到顶部按钮样式 */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top:hover {
    background-color: #c0392b;
}

/* 响应式设计 */
@media (max-width: 1300px) {
    .contact-item img {
        width: 400px !important;
        height: 400px !important;
    }
}

@media (max-width: 992px) {
    .hero .container,
    .about-content,
    .contact-content,
    .contact-info {
        flex-direction: column;
    }
    
    .contact-item img {
        width: 300px !important;
        height: 300px !important;
    }
    
    .hero-content h2 {
        font-size: 36px;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        font-size: 20px;
        transition: left 0.3s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .contact-btn {
        display: none;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .cases-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0;
    }
    
    .about,
    .services,
    .cases,
    .team,
    .contact {
        padding: 60px 0;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}