:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --secondary-color: #64b5f6;
    --text-dark: #1a237e;
    --text-light: #fff;
    --bg-light: #f5f9ff;
}

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

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
nav {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero部分样式 */
.hero {
    position: relative;
    background: linear-gradient(rgba(30, 136, 229, 0.9), rgba(21, 101, 192, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
    margin-top: -80px;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards;
}

.hero p {
    font-size: 24px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.3s forwards;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.6s forwards;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 通用section样式 */
section {
    padding: 80px 0;
}

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

/* 关于我们样式 */
.about {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.about p {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 18px;
    color: #555;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(20px);
}

.about.visible p {
    animation: fadeInUp 1s ease forwards;
}

.features {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    gap: 30px;
}

.feature {
    text-align: center;
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    flex: 1;
    max-width: 300px;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.2);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature:hover::before {
    transform: scaleX(1);
}

.about.visible .feature {
    animation: fadeInUp 0.8s ease forwards;
}

.about.visible .feature:nth-child(2) {
    animation-delay: 0.2s;
}

.about.visible .feature:nth-child(3) {
    animation-delay: 0.4s;
}

.feature h3 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.feature p {
    font-size: 18px;
    color: #666;
    margin: 0;
    opacity: 1;
    transform: none;
}

.feature .icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature:hover .icon {
    transform: scale(1.1);
}

/* 服务内容样式 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-item {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(30, 136, 229, 0.2);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    height: 80px;
    width: 80px;
    line-height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    margin: 0 auto 25px;
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-color);
    color: white;
}

.service-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: 600;
}

.service-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.service-features li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* 联系我们样式 */
.contact {
    background: var(--bg-light);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.info-item {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
}

.info-icon {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 24px;
}

.info-item p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

.info-item p + p {
    margin-top: 5px;
}

/* 页脚样式 */
footer {
    background: var(--primary-dark);
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 5px 0;
}

.icp {
    margin-top: 10px;
}

.icp a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.icp a:hover {
    color: #fff;
}

.icp i {
    margin-right: 5px;
    font-size: 14px;
}

/* 动画关键帧 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 992px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .features {
        flex-direction: column;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .service-item {
        padding: 30px;
    }
} 

/* 在页脚样式部分添加 */
footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #fff;
}

/* 添加语言切换按钮样式 */
.lang-switch {
    position: relative;
    margin-left: 30px;
}

.lang-switch a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lang-switch i {
    font-size: 16px;
}

.current-lang {
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .lang-switch {
        margin-left: 15px;
    }
} 