/* 基础样式重置 */
* {
    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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: #007bff;
    color: white;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #545b62;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

.btn-outline:hover {
    background-color: #007bff;
    color: white;
}

/* 导航栏样式 */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo h1 {
    color: #007bff;
    font-size: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #007bff;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 页面标题区域 */
.page-header {
    background-color: #007bff;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* 首页横幅 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
    margin-top: 70px;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 公司简介 */
.about-section {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #666;
}

.about-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 服务项目 */
.services-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
    color: #333;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* 案例展示 */
.cases-section {
    padding: 80px 0;
    background-color: white;
}

.cases-slider {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0;
}

.case-item {
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.case-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-info {
    padding: 20px;
    background-color: white;
}

.case-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
}

.case-info p {
    color: #666;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-content {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.contact-info i {
    color: #007bff;
    font-size: 1.2rem;
    margin-top: 5px;
}

.contact-form {
    flex: 1;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #007bff;
}

/* 页脚 */
.footer {
    background-color: #343a40;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo h2 {
    color: white;
    margin-bottom: 10px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-contact i {
    margin-top: 5px;
    color: #007bff;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    opacity: 0.8;
}

/* 关于我们页面样式 */
.company-intro {
    padding: 80px 0;
    background-color: white;
}

.intro-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
}

.intro-text h2,
.intro-text h3 {
    margin-bottom: 20px;
    color: #333;
}

.intro-text p {
    margin-bottom: 15px;
    color: #666;
    line-height: 1.8;
}

.intro-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 发展历程 */
.timeline-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #007bff;
    left: 30px;
    margin-left: -2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-year {
    position: absolute;
    width: 60px;
    height: 60px;
    left: 0;
    top: 0;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.timeline-content {
    width: calc(100% - 100px);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-left: 100px;
}

.timeline-item:nth-child(odd) .timeline-content,
.timeline-item:nth-child(even) .timeline-content {
    float: none;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: #333;
}

.timeline-content p {
    color: #666;
}

/* 响应式时间轴 */
@media screen and (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .timeline-content {
        width: calc(100% - 70px);
        margin-left: 60px;
        padding: 15px;
    }
}

/* 团队介绍 */
.team-section {
    padding: 80px 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid #007bff;
}

.member-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.position {
    color: #007bff;
    font-weight: bold;
    margin-bottom: 15px;
}

.member-info p {
    color: #666;
}

/* 企业文化 */
.culture-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.culture-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
}

.value-item h3 {
    margin-bottom: 15px;
    color: #333;
}

.value-item p {
    color: #666;
}

/* 响应式企业文化 */
@media screen and (max-width: 768px) {
    .culture-values {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .value-item {
        padding: 20px 15px;
    }
    
    .value-icon {
        font-size: 2rem;
    }
}

/* 服务项目页面样式 */
.main-services {
    padding: 80px 0;
    background-color: white;
}

.services-intro {
    text-align: center;
    margin-bottom: 50px;
}

.services-intro h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.services-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.service-detail {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.service-icon {
    font-size: 3rem;
    color: #007bff;
    min-width: 80px;
}

.service-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.service-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-info ul {
    list-style: none;
    margin-left: 20px;
}

.service-info li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.service-info li::before {
    content: '✓';
    color: #28a745;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 技术栈 */
.tech-stack {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.tech-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tech-category {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.tech-category h3 {
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tech-item {
    background-color: #e9ecef;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* 开发流程 */
.dev-process {
    padding: 80px 0;
    background-color: white;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    flex: 1 1 150px;
    max-width: 180px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.process-step h3 {
    margin-bottom: 15px;
    color: #333;
}

.process-step p {
    color: #666;
}

/* 响应式开发流程 */
@media screen and (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .process-step {
        flex: none;
        max-width: 100%;
        width: 100%;
        display: flex;
        align-items: center;
        text-align: left;
    }
    
    .step-number {
        flex-shrink: 0;
        margin: 0 20px 0 0;
    }
    
    .process-step h3,
    .process-step p {
        margin-left: 20px;
    }
    
    .process-step h3 {
        margin-bottom: 5px;
    }
}

/* 案例展示页面样式 */
.case-filter {
    padding: 30px 0;
    background-color: white;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    background-color: #e9ecef;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #007bff;
    color: white;
}

.cases-gallery {
    padding: 50px 0;
    background-color: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.case-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
}

.case-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 20px;
}

.case-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.tag {
    background-color: #e9ecef;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.case-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.case-content p {
    color: #666;
    margin-bottom: 20px;
}

/* 客户评价 */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 20px 0;
}

.testimonial-item {
    min-width: 350px;
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
    line-height: 1.8;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.client-details h4 {
    margin-bottom: 5px;
    color: #333;
}

.client-details p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* 合作伙伴 */
.partners {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.partner-logos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.partner-logo img {
    max-width: 150px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.partner-logo img:hover {
    opacity: 1;
}

/* 联系我们页面样式 */
.contact-info-section {
    padding: 80px 0;
    background-color: white;
}

.contact-info-content {
    display: flex;
    gap: 40px;
}

.contact-details {
    flex: 1;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 2rem;
    color: #007bff;
    min-width: 50px;
}

.contact-text h3 {
    margin-bottom: 10px;
    color: #333;
}

.contact-text p {
    color: #666;
    margin-bottom: 5px;
}

.map-container {
    flex: 1;
}

.map-container h3 {
    margin-bottom: 20px;
    color: #333;
}

.map-placeholder {
    background-color: #e9ecef;
    height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

/* 联系表单 */
.contact-form-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.form-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* 在线咨询 */
.online-contact {
    padding: 80px 0;
    background-color: white;
}

.online-contact-content {
    text-align: center;
}

.online-contact-content h2 {
    margin-bottom: 15px;
    color: #333;
}

.online-contact-content p {
    color: #666;
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.contact-method {
    text-align: center;
    max-width: 250px;
}

.method-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 20px;
}

.contact-method h3 {
    margin-bottom: 15px;
    color: #333;
}

.contact-method p {
    color: #666;
    margin-bottom: 10px;
}

.contact-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #007bff;
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin-top: 10px;
}

/* 响应式设计 */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .about-content,
    .intro-content,
    .contact-content,
    .contact-info-content {
        flex-direction: column;
    }
    
    .contact-info-content {
        gap: 20px;
    }
    
    .map-placeholder {
        height: 250px;
    }
    
    .service-detail {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-year {
        left: 30px;
    }
    
    .timeline-content {
        width: calc(100% - 100px);
        margin-left: 100px;
    }
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .hero {
        height: auto;
        padding: 100px 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .form-container {
        padding: 20px;
    }
    
    .contact-methods {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .services-grid,
    .team-grid,
    .culture-values,
    .tech-categories {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-step {
        max-width: 100%;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-item {
        min-width: 280px;
    }
}