/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* 导航栏 */
.header {
    background: linear-gradient(135deg, #2c5f2d 0%, #4a8c4b 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
    max-width: 420px;
    flex-shrink: 0;
}

.logo h1 {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.3;
}

.logo-subtitle {
    color: #b8e6b9;
    font-size: 11px;
    margin: 0;
    letter-spacing: 1px;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1;
    margin-left: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

/* 下拉菜单 */
.dropdown {
    position: relative;
}

/* 下拉箭头样式 */
.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 6px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #fff;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 5px;
    overflow: hidden;
    top: 100%;
    left: 0;
}

.dropdown-content a {
    color: #333;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f0f0f0;
    color: #2c5f2d;
    transform: translateX(5px);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 英雄区域 */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.7) 0%, rgba(74, 140, 75, 0.5) 100%);
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
    z-index: 2;
    animation: slideUp 1s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: #fff;
    color: #2c5f2d;
    text-decoration: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: #2c5f2d;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.hero-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 3;
}

.hero-prev,
.hero-next {
    background-color: rgba(255,255,255,0.3);
    color: #fff;
    border: none;
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background-color: rgba(255,255,255,0.5);
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #fff;
    width: 30px;
    border-radius: 6px;
}

/* 通用区块样式 */
.section-title {
    text-align: center;
    font-size: 36px;
    color: #2c5f2d;
    margin-bottom: 15px;
    font-weight: bold;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}

/* 公司优势 */
.advantages {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.advantage-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 22px;
    color: #2c5f2d;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #666;
    line-height: 1.8;
}

/* 产品展示 */
.products {
    padding: 80px 0;
    background-color: #fff;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

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

.product-image {
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 22px;
    color: #2c5f2d;
    margin-bottom: 15px;
}

.product-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background-color: #2c5f2d;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #4a8c4b;
    transform: translateX(5px);
}

/* 生产实力 */
.production {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.production-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.2);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(44, 95, 45, 0.9) 0%, transparent 100%);
    color: #fff;
    padding: 30px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.gallery-overlay p {
    font-size: 14px;
}

/* 应用案例 */
.cases {
    padding: 80px 0;
    background-color: #fff;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.case-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.case-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 22px;
    color: #2c5f2d;
    margin-bottom: 15px;
}

.case-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.case-link {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.case-link:hover {
    color: #4a8c4b;
}

/* 服务网络 */
.service-network {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.network-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.network-map img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.network-info h3 {
    font-size: 28px;
    color: #2c5f2d;
    margin-bottom: 30px;
}

.service-list {
    list-style: none;
    margin-bottom: 30px;
}

.service-list li {
    padding: 12px 0;
    font-size: 18px;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
}

/* 新闻动态 */
.news {
    padding: 80px 0;
    background-color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image {
    transform: scale(1.1);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: inline-block;
    background-color: #2c5f2d;
    color: #fff;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 15px;
}

.news-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.news-link {
    color: #2c5f2d;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.news-link:hover {
    color: #4a8c4b;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #2c5f2d 0%, #1a3a1b 100%);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #b8e6b9;
}

.footer-section p {
    line-height: 1.8;
    color: #d0d0d0;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

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

.footer-section ul li a:hover {
    color: #b8e6b9;
    padding-left: 5px;
}

.contact-info li {
    color: #d0d0d0;
    margin-bottom: 12px;
}

.service-note {
    color: #b8e6b9;
    font-weight: bold;
    margin-top: 15px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: #d0d0d0;
    margin-bottom: 10px;
}

/* 子页面Banner区域 */
.page-banner {
    position: relative;
    padding: 120px 0 80px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 95, 45, 0.85);
    z-index: 1;
}

.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.05) 75%), 
                      linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.05) 75%);
    background-size: 30px 30px;
    background-position: 0 0, 15px 15px;
    z-index: 2;
}

.banner-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 0.8s ease;
}

.banner-breadcrumb {
    font-size: 16px;
    color: #b8e6b9;
    animation: fadeInUp 0.8s ease;
}

.banner-breadcrumb a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.banner-breadcrumb a:hover {
    color: #b8e6b9;
}

.banner-breadcrumb span {
    margin: 0 10px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .logo h1 {
        font-size: 18px;
        letter-spacing: 0.5px;
    }
    
    .logo {
        max-width: 380px;
    }
    
    .nav-menu a {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 1024px) {
    .logo h1 {
        font-size: 16px;
    }
    
    .logo {
        max-width: 350px;
    }
    
    .nav-menu a {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .advantage-grid,
    .product-grid,
    .production-gallery,
    .cases-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    
    .advantage-grid,
    .product-grid,
    .production-gallery,
    .cases-grid,
    .news-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .network-content {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
}

