/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* 头部样式 */
header {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
    padding: 1rem 0;
    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;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

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

nav ul li {
    margin-left: 0.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 主要内容区域 */
main {
    min-height: calc(100vh - 200px);
}

/* 首页横幅区域 */
.hero {
    background: linear-gradient(rgba(46, 125, 50, 0.8), rgba(76, 175, 80, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%234caf50"/><path d="M20,20 Q40,5 60,20 T100,20 L100,100 L20,100 Z" fill="%232e7d32" opacity="0.3"/></svg>');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background: #ff9800;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    background: transparent;
    border: 2px solid #ff9800;
    color: #ff9800;
}

.btn-outline:hover {
    background: #ff9800;
    color: white;
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

/* 新闻动态区域 */
.news-section {
    padding: 4rem 0;
    background-color: white;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #2e7d32;
    position: relative;
}

.news-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff9800;
    margin: 10px auto;
    border-radius: 2px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.news-item h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.date {
    color: #ff9800;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.about-content h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
}

.about-content ul {
    margin-left: 20px;
}

/* 业务范围区域 */
.business-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #e8f5e9, #c8e6c9);
}

.business-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #2e7d32;
    position: relative;
}

.business-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff9800;
    margin: 10px auto;
    border-radius: 2px;
}

.business-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 2rem;
}

.business-category {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.business-category h2 {
    background: linear-gradient(45deg, #81c784, #4caf50);
    text-align: center;
    color: #fff;
    padding: 10px;
    border-radius: 8px 8px 0 0;
}

.business-category p {
    padding: 1rem;
}

.business-category ul {
    margin: 0 10px 20px 40px;
    color: #1b5e20;
}

.cases-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(1000px, 1fr));
    gap: 2rem;
}

.case-detail {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-detail h2 {
    background: linear-gradient(45deg, #81c784, #4caf50);
    text-align: center;
    color: #fff;
    padding: 10px;
    border-radius: 8px 8px 0 0;
}

.case-detail .case-info {
    padding: 1rem;
}

.case-detail .case-info p {
    margin-top: 10px;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.business-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.business-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.business-item h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

/* 成功案例区域 */
.cases-section {
    padding: 4rem 0;
    background-color: white;
}

.cases-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #2e7d32;
    position: relative;
}

.cases-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff9800;
    margin: 10px auto;
    border-radius: 2px;
}

.cases-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.case-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.case-image {
    height: 200px;
    background: linear-gradient(45deg, #4caf50, #2e7d32);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    padding: 1rem;
}

.case-item h3 {
    padding: 1rem 1rem 0.5rem;
    color: #2e7d32;
}

.case-item p {
    padding: 0 1rem 1rem;
    color: #666;
}

/* 人才发展区域 */
.careers-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #fff3e0, #ffe0b2);
}

.careers-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: #2e7d32;
    position: relative;
}

.careers-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #ff9800;
    margin: 10px auto;
    border-radius: 2px;
}

.careers-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.careers-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #555;
}

.careers-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.highlight-item h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

/* 页脚样式 */
footer {
    background: #1b5e20;
    color: white;
    padding: 3rem 0 2rem;
}

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

.footer-section h3 {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: #ff9800;
    margin-top: 5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    float: left;
    width: 25%;
}

.footer-section ul li a {
    color: #e0e0e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff9800;
}

/* 子页面通用样式 */
.page-header {
    background: linear-gradient(135deg, #2e7d32 0%, #4caf50 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-content {
    padding: 3rem 0;
    background-color: white;
    min-height: 500px;
}

/* 服务中心页面样式 */
.services-content {
    max-width: 1200px;
    margin: 0 auto;
}

.service-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: #2e7d32;
    position: relative;
}

.service-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #ff9800;
    margin: 10px auto;
    border-radius: 2px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4caf50, #2e7d32);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.promises {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.promise-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.promise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.promise-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #ff9800;
}

.promise-item h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.additional-services p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #555;
}

.additional-services ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.additional-services ul li {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    padding-left: 3rem;
}

.additional-services ul li:before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4caf50;
    font-weight: bold;
    font-size: 1.2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }

    .logo {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 0.3rem;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .news-grid,
    .business-grid,
    .cases-slider,
    .careers-highlights,
    .process-steps,
    .promises {
        grid-template-columns: 1fr;
    }

    .service-section {
        padding: 1.5rem;
    }

    .additional-services ul {
        grid-template-columns: 1fr;
    }

    .additional-services ul li {
        padding-left: 3rem;
    }
}

/* 新闻页面样式 */
.news-page .news-list {
    display: grid;
    gap: 2rem;
}

.news-card {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.news-card-img {
    height: 200px;
    background: linear-gradient(45deg, #81c784, #4caf50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-content h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.news-card-content .date {
    color: #ff9800;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.news-card-content .btn {
    margin-top: 10px;
    padding: 5px 15px;
}

/* 产品中心页面样式 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card-img {
    height: 200px;
    background: linear-gradient(45deg, #aed581, #8bc34a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

.product-card-content {
    padding: 1.5rem;
}

.product-card-content h3 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

/* 联系我们页面样式 */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
}

.contact-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.contact-card h3 {
    color: #2e7d32;
    margin-bottom: 1rem;
}

.contact-card p {
    margin-bottom: 0.5rem;
}

.email-link {
    color: #ff9800;
    text-decoration: none;
    font-weight: bold;
}

.email-link:hover {
    text-decoration: underline;
}