/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 顶部导航条样式 */
.top-bar {
    background-color: #f5f5f5;
    padding: 5px 0;
    text-align: left;
}

.top-bar p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.main-nav {
    background-color: white;
    padding: 10px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #4195f7;
    font-size: 40px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-size: 24px;
    transition: color 0.3s;
    color: #555;
    font-weight: 500;
}

.nav-links a:hover {
    color: #4195f7;
}

/* 横幅区域样式 */
.banner {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.banner-content {
    width: 100%;
    line-height: 0; /* 去除图片底部间隙 */
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* 章节标题样式 */
.section-title {
    text-align: center;
    font-size: 60px;
    margin-bottom: 30px;
    color: #4a6f34;
    position: relative;
    
    font-weight: bold;
}

/* 产品介绍部分样式 */
.product-intro {
    padding: 80px 0;
    background-color: #fff;
}

.product-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.product-image {
    width: 40%;

    min-width: 300px;
}

.product-img {
width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.product-text {
    flex: 1;
    padding: 0 40px;
    min-width: 300px;
    font-size: 24px;
    line-height: 1.8;
    color: #101010;
}

.product-text p {
    margin-bottom: 20px;
}

.product-text p:last-child {
    margin-bottom: 0;
}

/* 关于我们部分样式 */
.about-us {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.about-img {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
}


.business-img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

.business-content{
    font-size: 24px;
    color: #7ec565;
    font-weight: 600;
}
/* 使命部分样式 */
.mission {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.mission-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.mission-item {
    width: calc(20% - 20px);
    min-width: 200px;
    text-align: center;
}

.mission-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
   
}

/* 团队部分样式 */
.team {
    padding: 60px 0;
}

.team-img {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: block;
}

/* 特色展示部分样式 */
.features {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.feature-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-item {
    width: calc(33.33% - 30px);
    min-width: 250px;
    text-align: center;
}

.feature-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
  
}

/* 联系我们部分样式 */
.contact-us {
    background-color: #dff2b3;
    padding: 50px 0;
    text-align: center;
}

.contact-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #356a35;
    font-weight: bold;
}

.contact-info {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    text-align: left;
    margin-bottom: 15px;
    color: #333;
    font-size: 22px;
    line-height: 1.6;
}

.contact-info span {
    font-weight: bold;
    color: #333;
}

.home-button {
    margin-top: 25px;
}

.home-button a {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 8px 40px;
    border-radius: 3px;
    font-weight: normal;
    transition: background-color 0.3s;
    font-size: 24px;
}

.home-button a:hover {
    background-color: #2980b9;
}

/* 底部样式 */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 60px 0 20px;
}

.privacy-policy {
    margin-bottom: 40px;
}

footer .section-title {
    color: white;
    font-size: 28px;
}

footer .section-title::after {
    background-color: rgba(255, 255, 255, 0.5);
}

.policy-content p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
}

.copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .section-title {
        font-size: 32px;
    }
    
    .product-content {
        gap: 30px;
    }
    
    .product-text {
        font-size: 15px;
        line-height: 1.7;
    }
}

@media (max-width: 900px) {
    .nav-links li {
        margin-left: 20px;
    }
    
    .section-title {
        margin-bottom: 30px;
        font-size: 28px;
    }
    
    .product-intro {
        padding: 60px 0;
    }
    
    .section-title::after {
        width: 80px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }
    
    .overlay.active {
        display: block;
    }
    
    .product-content, .mission-items, .feature-items {
        flex-direction: column;
        align-items: center;
    }
    
    .product-image, .product-text {
        width: 100%;
    }
    
    .mission-item, .feature-item {
        width: 100%;
        max-width: 400px;
    }
    
    .contact-title {
        font-size: 28px;
    }
    
    .contact-info p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    .logo a {
        font-size: 20px;
    }
    
    .nav-links {
        padding: 70px 20px 20px;
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 25px;
        padding-bottom: 10px;
    }
    
    .section-title::after {
        width: 60px;
        height: 2px;
    }
    
    .product-intro, .about-us, .business-areas, .mission, .team, .features {
        padding: 40px 0;
    }
    
    .product-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .product-text p {
        margin-bottom: 15px;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
    .contact-info p {
        font-size: 14px;
    }
    
    .contact-us {
        padding: 40px 0;
    }
    
    .home-button a {
        padding: 8px 30px;
    }
}

@media (max-width: 480px) {
    .logo a {
        font-size: 18px;
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .nav-links a {
        font-size: 13px;
    }
    
    .mission-item {
        min-width: 150px;
    }
    
    .contact-info {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 380px) {
    .section-title {
        font-size: 22px;
    }
    
    .product-text {
        font-size: 13px;
    }
    
    .contact-info p {
        font-size: 13px;
    }
    
    .home-button a {
        padding: 7px 25px;
        font-size: 13px;
    }
}

/* 菜单切换按钮 */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .main-nav .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 250px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 98;
    }
    
    .overlay.active {
        display: block;
    }
    
    /* 其他媒体查询样式... */
}

.main-nav.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

body.no-scroll {
    overflow: hidden;
}

/* 轮播图样式 */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    left: 0;
    top: 0;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
    position: relative;
}

.carousel-controls {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.carousel-prev, 
.carousel-next {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    color: #4195f7;
    pointer-events: auto;
}

.carousel-prev:hover, 
.carousel-next:hover {
    background-color: #4195f7;
    color: white;
    transform: scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 2;
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dot:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.dot.active {
    background-color: #4195f7;
    width: 24px;
    border-radius: 6px;
    transform: scale(1.1);
}

/* 添加移动端触摸滑动效果指示 */
.carousel::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    opacity: 0;
    animation: swipeHint 2s ease-in-out infinite;
}

@keyframes swipeHint {
    0% { opacity: 0; width: 40px; }
    50% { opacity: 1; width: 60px; }
    100% { opacity: 0; width: 40px; }
}

/* 响应式轮播图样式 */
@media (max-width: 768px) {
    .carousel-controls {
        bottom: 15px;
        padding: 0 15px;
    }
    
    .carousel-prev, 
    .carousel-next {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .dot.active {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .carousel-controls {
        bottom: 10px;
        padding: 0 10px;
    }
    
    .carousel-prev, 
    .carousel-next {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .dot.active {
        width: 16px;
    }
}

/* 轮播图过渡动画 */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes slideOutLeft {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-30px); }
}

@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(30px); }
}

@keyframes swipeHint {
    0% { opacity: 0; width: 40px; }
    50% { opacity: 1; width: 60px; }
    100% { opacity: 0; width: 40px; }
}

.slide-caption {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(65, 149, 247, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
    transform: translateX(-50%) translateY(20px);
}

.carousel-slide.active .slide-caption {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.swiper-pagination {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
} 