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

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

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

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FF6B00;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    padding: 0.5rem 1rem;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FF6B00;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* 主要内容区域样式 */
section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../assets/images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #FF6B00;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #E65000;
    transition: all 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

/* 服务卡片样式 */
.services {
    background: #f8f9fa;
    padding: 6rem 5%;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FF6B00;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transform: translateY(0);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #FF6B00;
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 5px 25px rgba(255,107,0,0.15);
}

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

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

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

.service-features li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    color: #FF6B00;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* 联系表单样式 */
.contact-content form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content form input,
.contact-content form textarea {
    margin: 0.5rem 0;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-content form input:focus,
.contact-content form textarea:focus {
    border-color: #FF6B00;
    box-shadow: 0 0 5px rgba(255,107,0,0.3);
    outline: none;
}

.contact-content form button {
    padding: 1rem;
    background: #FF6B00;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 1rem;
}

/* 页脚样式 */
footer {
    background: #333;
    color: white;
    padding: 3rem 5%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0.5rem 0;
    position: relative;
    padding-left: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    padding-left: 10px;
    color: #FF6B00;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        padding: 1rem;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .services {
        padding: 4rem 5%;
    }
    
    .services h2 {
        font-size: 2rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
}

/* 全局过渡动画 */
a, button, .service-card {
    transition: all 0.3s ease;
}

/* 页面滚动动画 */
html {
    scroll-behavior: smooth;
}

/* 特性卡片动画 */
.feature {
    transform: translateY(0);
    transition: transform 0.3s ease;
}

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

/* 页脚链接动画 */
.footer-links a:hover {
    padding-left: 10px;
    color: #FF6B00;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

/* 语言选择器样式 */
.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: none;
    border: 1px solid #FF6B00;
    border-radius: 5px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: #FF6B00;
    color: white;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    display: none;
    z-index: 1000;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown li {
    padding: 0.5rem 1rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.lang-dropdown li:hover {
    background: #f8f9fa;
    color: #FF6B00;
} 