/* 基本样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066cc;
    --secondary-color: #005299;
    --accent-color: #ff9900;
    --text-color: #333;
    --light-color: #f9f9f9;
    --gray-color: #f4f4f4;
    --dark-gray: #777;
    --border-color: #ddd;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

section {
    padding: 80px 0;
}

/* 头部样式 */
header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 15px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    margin: 0;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    font-weight: 600;
    color: var(--text-color);
    font-size: 16px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* 英雄区域样式 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 200px 0 100px;
    margin-top: 80px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeInUp 1s;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 1s 0.2s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: fadeInUp 1s 0.4s;
    animation-fill-mode: both;
}

/* 公司简介样式 */
.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.about-text p {
    margin-bottom: 15px;
    font-size: 16px;
}

.about-img {
    flex: 1;
    min-width: 300px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

/* 业务范围样式 */
.business {
    background-color: var(--gray-color);
}

.services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    text-align: center;
    flex: 1;
    min-width: 300px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    background: var(--primary-color);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 30px;
    color: #fff;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* 经营范围样式 */
.operations {
    background-color: #fff;
}

.operations-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
}

.operation-group {
    flex: 1;
    min-width: 300px;
}

.operation-group h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.operation-group ul li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.operation-group ul li:last-child {
    border-bottom: none;
}

/* 荣誉资质样式 */
.honors {
    background-color: var(--gray-color);
}

.honors-content {
    text-align: center;
}

.honors-content p {
    margin-bottom: 30px;
    font-size: 18px;
}

.credentials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.credential-item {
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.credential-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.credential-item p {
    font-size: 24px;
    font-weight: bold;
    color: var(--accent-color);
    margin: 0;
}

/* 联系我们样式 */
.contact {
    background-color: #fff;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-info {
    max-width: 1000px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
    flex: 1;
    min-width: 200px;
    padding: 0 15px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    width: 60px;
    height: 60px;
    background: var(--gray-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.contact-item p {
    font-size: 16px;
    margin: 0;
}

/* 底部样式 */
footer {
    background: var(--primary-color);
    color: #fff;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

footer a {
    color: #fff;
    text-decoration: underline;
}

footer a:hover {
    color: var(--accent-color);
}

.social-media a {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.social-media a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 导航栏滚动效果 */
.header-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    transition: all 0.3s ease;
}

/* 滚动显示动画 */
.service-card, .operation-group, .credential-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.service-card.active, .operation-group.active, .credential-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media screen and (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .about-content, .contact-wrapper {
        flex-direction: column;
    }
    
    .about-text {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    section {
        padding: 60px 0;
    }
} 