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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h2 {
    color: #2c5f2d;
    font-size: 24px;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2c5f2d;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c5f2d;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero区域 - Banner效果优化版 */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

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

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
}

.hero-overlay {
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(44, 95, 45, 0.6) 0%, rgba(0, 0, 0, 0.4) 100%);
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    padding: 0 20px;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    opacity: 0;
    animation: slideInUp 1s ease forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-slogan {
    font-size: 2.2rem;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 15px;
    opacity: 0;
    animation: slideInUp 1s ease 0.2s forwards;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    color: #e8f5e8;
    margin-bottom: 15px;
    opacity: 0;
    animation: slideInUp 1s ease 0.4s forwards;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.2rem;
    color: #f0f8f0;
    margin-bottom: 30px;
    line-height: 1.7;
    opacity: 0;
    animation: slideInUp 1s ease 0.6s forwards;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    opacity: 0;
    animation: slideInUp 1s ease 0.8s forwards;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: rgba(44, 95, 45, 0.9);
    color: white;
    border: 2px solid rgba(44, 95, 45, 0.9);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: #2c5f2d;
    border-color: #2c5f2d;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(44, 95, 45, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: #2c5f2d;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

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

.banner-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.banner-dot.active,
.banner-dot:hover {
    background: white;
    transform: scale(1.2);
}

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

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 60px;
}

/* 产品展示 */
.products {
    padding: 100px 0;
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

.product-card:nth-child(2) {
    animation-delay: 0.2s;
}

.product-card:nth-child(3) {
    animation-delay: 0.4s;
}

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

.product-image {
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 30px;
    text-align: center;
}

.product-info h3 {
    font-size: 1.5rem;
    color: #2c5f2d;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-info p {
    color: #666;
    font-size: 1rem;
}

/* 企业实力 */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e8 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.company-intro {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.company-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.feature {
    margin-bottom: 40px;
}

.feature h3 {
    font-size: 1.4rem;
    color: #2c5f2d;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature p {
    color: #666;
    line-height: 1.7;
}

.about-images {
    display: grid;
    gap: 20px;
}

.image-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.image-row img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-row img:hover {
    transform: scale(1.05);
}

/* 企业资质 */
.certificates {
    text-align: center;
}

.certificates h3 {
    font-size: 2rem;
    color: #2c5f2d;
    margin-bottom: 20px;
    font-weight: 600;
}

.cert-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.cert-item {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.cert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.cert-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.cert-item:hover img {
    transform: scale(1.05);
}

/* 联系我们 */
.contact {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3) saturate(0.8);
}

.contact-overlay {
    position: relative;
    z-index: 2;
    /* background: linear-gradient(135deg, rgba(44, 95, 45, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%); */
    width: 100%;
    height: 100%;
}

.contact .section-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.contact-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.contact-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
    border-color: #2c5f2d;
    background: white;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.contact-item h3 {
    font-size: 1.4rem;
    color: #2c5f2d;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-item p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* 页脚 */
.footer {
    background: #2c5f2d;
    color: white;
    text-align: center;
    padding: 40px 0;
}

.footer p {
    margin: 0 0 10px 0;
    font-size: 14px;
}

.beian-info {
    margin-top: 15px;
}

.beian-info a {
    color: #e8f5e8;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.beian-info a:hover {
    color: white;
    text-decoration: underline;
}

/* 动画 */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-slogan {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-content {
        max-width: 95%;
    }
    
    .banner-controls {
        bottom: 20px;
    }
    
    .banner-dot {
        width: 12px;
        height: 12px;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-item {
        padding: 30px 20px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .image-row {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cert-item {
        padding: 15px;
    }
    
    .cert-item img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cert-grid {
        grid-template-columns: 1fr;
    }
} 