/* 全局样式 */
:root {
    --primary-color: #2c56a4;
    --secondary-color: #437cef;
    --accent-color: #ffc107;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --text-color: #444;
    --light-text: #f4f4f8;
    --hover-color: #1a4085;
    --border-color: #ddd;
    --success-color: #28a745;
    --error-color: #dc3545;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--hover-color);
}

ul {
    list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

p {
    margin-bottom: 1rem;
}

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

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    font-size: 2rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.8rem auto 0;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--hover-color);
    color: #fff;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-submit {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    background-color: var(--hover-color);
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

nav ul li a.active {
    color: var(--primary-color);
}

/* 首页 Hero 区域 */
.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;
    color: #fff;
    text-align: center;
    padding: 6rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 服务区域 */
.services {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.service-item {
    background-color: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item .icon {
    margin-bottom: 1.5rem;
}

.service-item .icon img {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.service-item h3 {
    margin-bottom: 1rem;
}

/* 案例展示区域 */
.case-highlights {
    padding: 5rem 0;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.case-item {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.case-item:hover {
    transform: translateY(-10px);
}

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

.case-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
}

.case-item p {
    padding: 0 1.5rem 1rem;
    font-size: 0.95rem;
}

.case-item .btn-small {
    margin: 0 1.5rem 1.5rem;
}

.more-link {
    text-align: center;
    margin-top: 2rem;
}

.more-link a {
    font-weight: 500;
    font-size: 1.1rem;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/page-header-bg.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 4rem 0;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.page-header p {
    font-size: 1.2rem;
}

/* 案例详情页面 */
.cases-container {
    padding: 5rem 0;
}

.case-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--border-color);
}

.case-full:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.case-image img {
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.case-meta {
    margin-bottom: 1.5rem;
}

.case-meta span {
    display: inline-block;
    margin-right: 1rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
    background-color: rgba(67, 124, 239, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.case-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.case-content h4 {
    margin: 1.5rem 0 1rem;
}

.case-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.case-content ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    list-style-type: none;
}

.case-content ul li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

/* 关于我们页面 */
.about-intro {
    padding: 5rem 0;
}

.about-intro .container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-content h3 {
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-image img {
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.vision-mission {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.vision-mission .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vision-box, .mission-box {
    background-color: #fff;
    padding: 3rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.vision-box h3, .mission-box h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.vision-box h3::after, .mission-box h3::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 0.8rem auto 0;
}

.vision-box p, .mission-box p {
    font-size: 1.1rem;
}

.values {
    padding: 5rem 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.value-item:hover {
    transform: translateY(-10px);
}

.value-icon {
    margin-bottom: 1.5rem;
}

.value-icon img {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.value-item h4 {
    margin-bottom: 1rem;
}

.team {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-member {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.member-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h4 {
    padding: 1.5rem 1.5rem 0.5rem;
    margin-bottom: 0.3rem;
}

.team-member .position {
    padding: 0 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.team-member .description {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
}

.milestones {
    padding: 5rem 0;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 120px;
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item .year {
    width: 120px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    padding-right: 2rem;
}

.timeline-item .event {
    flex: 1;
    padding-left: 2rem;
    position: relative;
}

.timeline-item .event::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 10px;
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
}

.timeline-item .event h4 {
    margin-bottom: 0.5rem;
}

.partners {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2rem;
}

.partner-logo {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* 联系我们页面 */
.contact-info {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.contact-card {
    background-color: #fff;
    padding: 2rem;
    text-align: center;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    margin-bottom: 1.5rem;
}

.contact-icon img {
    width: 50px;
    height: 50px;
    margin: 0 auto;
}

.contact-card h3 {
    margin-bottom: 1rem;
}

.contact-form-section {
    padding: 5rem 0;
    background-color: var(--light-color);
}

.contact-form-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.form-container, .map-container {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
}

.form-container h3, .map-container h3 {
    margin-bottom: 1.5rem;
}

.form-container p {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.map {
    margin-bottom: 1.5rem;
    border-radius: 5px;
    overflow: hidden;
}

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

.office-info h4 {
    margin-bottom: 0.5rem;
}

.branches {
    padding: 5rem 0;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.branch-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 5px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.branch-item h4 {
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.branch-item h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    margin: 0.8rem auto 0;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 1rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

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

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .service-grid, .values-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .case-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .case-full, .about-intro .container, .contact-form-section .container {
        grid-template-columns: 1fr;
    }
    
    .case-image, .about-image {
        margin-bottom: 2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0 1rem 0.5rem;
    }
    
    .service-grid, .case-grid, .values-grid, .contact-grid, .branches-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-mission .container {
        grid-template-columns: 1fr;
    }
    
    .vision-box {
        margin-bottom: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 60px;
    }
    
    .timeline-item .year {
        width: 60px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
} 