:root {
    --primary-color: #2E7D32;    /* 环保深绿色 */
    --secondary-color: #81C784;  /* 环保浅绿色 */
    --accent-color: #4CAF50;     /* 强调绿色 */
    --text-color: #333;
    --background-color: #fff;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --eco-icon-color: #66BB6A;   /* 环保图标颜色 */
    --section-spacing: 2rem;     /* 减少区块之间的间距 */
    --section-padding: 2rem 5%;  /* 区块内边距 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* 顶部导航栏样式优化 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.6rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    height: 60px;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 0.4rem 5%;
    height: 50px;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
    gap: 1rem;
}

.logo picture {
    display: block;
    width: auto;
    height: 40px;
    transition: height 0.3s ease;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo .slogan {
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
    opacity: 1;
}

/* 滚动时的Logo样式 */
.header.scrolled .logo picture {
    height: 32px;
}

.header.scrolled .logo .slogan {
    font-size: 1rem;
}

/* 移动端Logo样式优化 */
@media (max-width: 768px) {
    .logo picture {
        height: 32px;
    }
    
    .logo .slogan {
        font-size: 0.95rem;
        opacity: 1;
    }
    
    .header.scrolled .logo picture {
        height: 28px;
    }
    
    .header.scrolled .logo .slogan {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .logo .slogan {
        display: none;
    }
    
    .logo a {
        gap: 0.5rem;
    }
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--secondary-color);
}

/* Banner区域样式优化 */
.banner {
    padding-top: 60px;
    height: 500px; /* 增加banner高度 */
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: var(--section-spacing);
}

.banner.gradient-bg {
    background: none; /* 移除渐变背景 */
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.8s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: left;
    color: white;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.8s ease-out;
    z-index: 2;
}

.slide-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
    max-width: 800px;
}

/* 轮播图导航 */
.banner-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}

.banner-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 36, 99, 0.8);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.banner-btn:hover {
    background: var(--primary-color);
    width: 50px;
    height: 50px;
}

.banner-btn.prev {
    left: 20px;
}

.banner-btn.next {
    right: 20px;
}

/* 公司简介区域优化 */
.company-intro {
    padding: var(--section-padding);
    background: linear-gradient(to right, rgba(10, 36, 99, 0.05), rgba(10, 36, 99, 0.02));
    text-align: center;
    margin-bottom: var(--section-spacing);
    border-radius: 12px;
}

.company-intro h1 {
    font-size: 1.8rem; /* 减小标题大小 */
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    position: relative;
    display: inline-block;
}

.company-intro h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.company-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    color: #666;
}

/* 页脚样式优化 */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 5%;
    margin-top: -1px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.contact-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.contact-info p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 特色功能区优化 */
.features {
    padding: var(--section-padding);
    background: #f8f9fa;
    margin-bottom: var(--section-spacing);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem; /* 减小卡片间距 */
    margin-top: 1.5rem;
}

.feature-card {
    background: white;
    padding: 1.2rem; /* 减小内边距 */
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* 产品优势区优化 */
.advantages {
    padding: var(--section-padding);
    background: white;
    margin-bottom: var(--section-spacing);
}

.advantages-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
    padding: 0 5%;
}

.advantage-content {
    flex: 1;
    min-width: 280px;
}

.advantage-image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    background: #f5f5f5;
}

.advantage-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.advantage-image:hover img {
    transform: scale(1.05);
}

.advantage-list {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.advantage-list .eco-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    margin: 0;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.advantage-list .eco-card:hover {
    transform: translateX(10px);
}

.advantage-list .eco-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    margin: 0;
    font-size: 1.2rem;
}

.advantage-list .eco-card div {
    flex: 1;
}

.advantage-list h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.advantage-list p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    :root {
        --section-spacing: 1.5rem;
        --section-padding: 1.2rem 5%;
    }

    .header {
        height: 50px;
        padding: 0.4rem 1rem;
    }

    .header.scrolled {
        height: 45px;
    }

    .logo picture {
        height: 28px;
    }

    .logo .slogan {
        font-size: 0.9rem;
    }

    .nav ul {
        gap: 0.8rem;
    }

    .banner {
        height: 400px; /* 调整移动端banner高度 */
        padding-top: 50px;
    }

    .banner-slider {
        height: calc(100% - 50px);
    }

    .company-intro {
        padding: 1.5rem 1rem;
    }

    .company-intro h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .advantages-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .advantage-image {
        aspect-ratio: 16/9;
    }

    .advantage-list .eco-card {
        padding: 1rem;
    }

    .advantage-list .eco-card:hover {
        transform: translateX(5px);
    }

    .slide-content {
        padding: 1.5rem;
    }

    .slide-content h2 {
        font-size: 1.8rem;
    }

    .slide-content p {
        font-size: 1rem;
    }
}

/* 页面通用样式 */
.page-header {
    padding: calc(60px + 2rem) 5% 2rem;
    background: linear-gradient(to right, var(--primary-color), #1a3a8f);
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 应用案例页面样式 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: var(--section-padding);
}

.case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
}

.case-image {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 1.5rem;
}

.case-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.case-features {
    list-style: none;
    margin-top: 1rem;
}

.case-features li {
    margin: 0.5rem 0;
    color: #666;
}

.case-features i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.clients-section {
    padding: var(--section-padding);
    background: #f8f9fa;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.client-logo {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    aspect-ratio: 16/9;
}

.client-logo:hover {
    transform: translateY(-3px);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* 关于我们页面样式 */
.company-profile {
    padding: var(--section-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.profile-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.company-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
    display: block;
}

.stat-label {
    color: #666;
    margin-top: 0.3rem;
    display: block;
}

.profile-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline {
    padding: var(--section-padding);
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-color);
}

.timeline-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-item:nth-child(even) {
    direction: rtl;
}

.timeline-item .year {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    text-align: right;
    padding: 1rem;
}

.timeline-item:nth-child(even) .year {
    text-align: left;
}

.timeline-item .content {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    direction: ltr;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: var(--section-padding);
}

.culture-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.culture-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 支持服务页面样式 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: var(--section-padding);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.8rem;
}

.service-list {
    list-style: none;
    margin-top: 1rem;
}

.service-list li {
    margin: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: var(--section-padding);
}

.contact-info-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.contact-info-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-btn {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-btn:hover {
    background: #1a3a8f;
}

.faq-section {
    padding: var(--section-padding);
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 2rem auto 0;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .page-header {
        padding: calc(50px + 1.5rem) 5% 1.5rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .company-profile {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .timeline-item .year {
        text-align: left;
    }

    .timeline-item:nth-child(even) {
        direction: ltr;
    }

    .timeline-item:nth-child(even) .year {
        text-align: left;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* 新增环保主题相关样式 */
.eco-friendly-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.eco-friendly-section h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.eco-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.eco-card:hover {
    transform: translateY(-5px);
}

.eco-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
}

.eco-icon i {
    font-size: 1.8rem;
}

.eco-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.eco-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 5%;
}

/* 渐变背景效果 */
.gradient-bg {
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 通用图片响应式样式 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

picture {
    display: block;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

/* 图片容器通用样式 */
.img-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.img-container img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.img-container:hover img {
    transform: scale(1.05);
} 