/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft JhengHei", "Arial", sans-serif;
}

/* 基础样式 */
body {
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* 按钮样式（绿色主题） */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #d86200; /* 主绿色 */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #218838; /* 深绿色 hover */
}

/* 标题样式 */
.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #2c3e50;
    position: relative;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background-color: #d86200; /* 绿色下划线 */
    margin: 10px auto 0;
}

/* 头部导航 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 24px;
    color: #d86200; /* 绿色logo */
}

/* 头部右侧区域（语言+导航） */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* 语言下拉菜单样式 */
.lang-dropdown {
    position: relative;
    z-index: 101;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.dropdown-btn:hover {
    border-color: #d86200;
    color: #d86200;
}

.dropdown-btn i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown-btn i.rotate {
    transform: rotate(180deg);
}

/* 下拉内容（默认隐藏） */
.dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    display: none;
    margin-top: 5px;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #333;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #d86200;
}

/* 导航菜单 */
.nav-menu ul {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    padding: 8px 0;
    position: relative;
}

.nav-menu a::after {
    content: "";
    display: block;
    width: 0;
    height: 2px;
    background-color: #d86200; /* 绿色下划线 */
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 0;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* 首页横幅 */
.banner {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://picsum.photos/1920/600') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.banner-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* 核心优势 */
.features {
    padding: 80px 0;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 40px;
    color: #d86200; /* 绿色图标 */
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #2c3e50;
}

/* 关于我们 */
.about {
    padding: 80px 0;
    background-color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h4 {
    font-size: 20px;
    margin: 20px 0 10px;
    color: #d86200; /* 绿色小标题 */
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-img .img-placeholder {
    width: 100%;
    height: 300px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #666;
}

.about-img .img-placeholder i {
    font-size: 60px;
    margin-bottom: 15px;
    color: #d86200; /* 绿色图标 */
}

/* 联系我们 */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info .info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-info .info-item i {
    font-size: 24px;
    color: #d86200; /* 绿色图标 */
    margin-top: 5px;
}

.contact-info h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #2c3e50;
}

.contact-form h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

/* 底部样式（绿色背景） */
.footer {
    background-color: #d86200; /* 绿色背景 */
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
    opacity: 0.9;
}

/* 响应式适配（手机/平板） */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-right {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .lang-dropdown {
        align-self: flex-end;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .nav-menu ul {
        gap: 20px;
        justify-content: center;
    }

    .section-title {
        font-size: 24px;
    }

    .features {
        padding: 60px 0;
    }

    .about, .contact {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .banner {
        padding: 80px 0;
    }

    .banner-content h2 {
        font-size: 24px;
    }

    .nav-menu ul {
        flex-wrap: wrap;
    }
}