* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 多语言字体支持 */
body.lang-zh {
    font-family: 'Noto Sans SC', 'Microsoft YaHei', '微软雅黑', sans-serif;
}

body.lang-ko {
    font-family: 'Noto Sans KR', 'Malgun Gothic', '맑은고딕', sans-serif;
}

body.lang-en {
    font-family: 'Arial', 'Helvetica Neue', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 语言选择器样式 */
.language-selector {
    margin-left: 20px;
}

.language-selector select {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s;
}

.language-selector select:hover {
    border-color: #3498db;
}

/* 导航栏样式 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 40px;
    margin-right: 10px;
}

.nav-logo h2 {
    color: #2c3e50;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 页面标题样式 */
.page-header {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    text-align: center;
    padding: 150px 0 80px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 600;
}

/* 横幅样式 */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.cta-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    background: #2980b9;
}

/* 关于我们详情页样式 */
.about-detail {
    padding: 80px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.company-intro {
    margin-bottom: 60px;
}

.company-intro h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

.company-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #555;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.mission, .vision {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #3498db;
}

.mission h3, .vision h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.values h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.value-item h4 {
    color: #3498db;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

/* 服务详情页样式 */
.services-detail {
    padding: 80px 0;
}

.services-intro {
    text-align: center;
    margin-bottom: 60px;
}

.services-intro p {
    font-size: 1.2rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.detailed-services {
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
    padding: 40px;
    background: #f8f9fa;
    border-radius: 15px;
}

.service-item.reverse {
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.service-item.reverse .service-image {
    order: 2;
}

.service-item.reverse .service-content {
    order: 1;
}

.service-image img {
    width: 100%;
    border-radius: 10px;
}

.service-content h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.service-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.service-content ul {
    list-style: none;
}

.service-content li {
    padding: 8px 0;
    color: #666;
}

.service-content li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

/* 联系详情页样式 */
.contact-detail {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-detail h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 40px;
}

.contact-item-detail {
    margin-bottom: 40px;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.contact-item-detail h3 {
    font-size: 1.3rem;
    color: #3498db;
    margin-bottom: 10px;
}

.contact-item-detail p {
    color: #555;
    margin-bottom: 5px;
}

.contact-form h2 {
    font-size: 2.2rem;
    color: #2c3e50;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.contact-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #2980b9;
}

/* 公司介绍样式 */
.about-preview {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.about-text li::before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* 服务项目样式 */
.services-preview {
    padding: 80px 0;
}

.services-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.service-card p {
    color: #555;
    line-height: 1.8;
}

/* 联系信息样式 */
.contact-preview {
    padding: 80px 0;
    background: #2c3e50;
    color: white;
}

.contact-preview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-item {
    text-align: center;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #3498db;
}

.contact-item p {
    font-size: 1.1rem;
}

/* 页脚样式 */
footer {
    background: #1a252f;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s, background 0.3s;
    z-index: 999;
}

.back-to-top:hover {
    background: #2980b9;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}