/* 全局样式 */
:root {
    --primary-color: #0054a6;
    --secondary-color: #27ae60;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

a:hover {
    color: #003570;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    overflow: hidden;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #003570;
    color: #fff;
}

.btn-small {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

nav ul li a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* 英雄区域 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1415&q=80');
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* 特性区域 */
.features {
    padding: 5rem 0;
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
}

.feature-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature h3 {
    margin: 1rem 0;
}

/* 行动号召区域 */
.cta {
    background: var(--primary-color);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta h2, .cta p {
    color: #fff;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta .btn {
    background: #fff;
    color: var(--primary-color);
}

.cta .btn:hover {
    background: #f4f4f4;
}

/* 页面头部 */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80');
    background-size: cover;
    background-position: center;
    padding: 6rem 0;
    text-align: center;
    color: #fff;
}

.page-header h1, .page-header p {
    color: #fff;
}

/* 关于页面样式 */
.about-content {
    padding: 5rem 0;
}

.about-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-text h2 {
    margin-top: 0;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.values {
    margin-bottom: 4rem;
    text-align: center;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-item {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.value-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.leadership {
    text-align: center;
}

.leader-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-top: 2rem;
    text-align: left;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
}

.leader-profile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info {
    padding: 2rem;
}

.leader-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* 服务页面样式 */
.services-content {
    padding: 5rem 0;
}

.service-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.service-info {
    padding: 2rem;
}

.service-info ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-top: 1rem;
}

.service-info ul li {
    margin-bottom: 0.5rem;
}

.service-process {
    text-align: center;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.step-number {
    background: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

/* 项目案例页面样式 */
.portfolio-content {
    padding: 5rem 0;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.filter.active, .filter:hover {
    background: var(--primary-color);
    color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 2rem;
    transition: bottom 0.5s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.portfolio-overlay p {
    margin-bottom: 1rem;
}

.case-studies {
    padding: 3rem 0 5rem;
}

.case-studies h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.case-study {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-study-content {
    padding: 2rem;
}

.case-study-meta {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-details ul {
    list-style: disc;
    margin: 1rem 0 1rem 1.5rem;
}

.case-study-details ul li {
    margin-bottom: 0.5rem;
}

/* 联系页面样式 */
.contact-content {
    padding: 5rem 0 0;
}

.contact-info-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: #f9f9f9;
    padding: 3rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    resize: vertical;
}

.contact-details {
    padding: 3rem;
}

.contact-method {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-method .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1.5rem;
    min-width: 30px;
}

.contact-method h3 {
    margin-bottom: 0.5rem;
}

.social-contact {
    margin-top: 2rem;
}

.social-contact .social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-contact .social-icons a {
    background: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.social-contact .social-icons a:hover {
    background: #003570;
}

.map-section {
    padding: 4rem 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-cta {
    margin-bottom: 3rem;
}

/* 页脚样式 */
footer {
    background: #333;
    color: #fff;
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.footer-section p {
    margin-bottom: 1rem;
}

.footer-section .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-section .social-icons a {
    color: #fff;
    font-size: 1.5rem;
}

.footer-section .social-icons a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 2rem;
    padding: 1.5rem 0;
}

.footer-bottom a {
    color: var(--secondary-color);
}

/* 响应式样式 */
@media(max-width: 960px) {
    .about-info, .case-study {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .leader-profile {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .contact-info-wrapper {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 500px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-details {
        padding: 1.5rem;
    }
} 