/* 全局基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    padding-top: 80px; /* 适配固定导航栏 */
}

a {
    text-decoration: none;
    color: #333333;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #328754;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #287a4a;
}

.btn-secondary {
    background-color: #666666;
}

.btn-secondary:hover {
    background-color: #555555;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #328754;
    color: #328754;
}

.btn-outline:hover {
    background-color: #328754;
    color: #fff;
}

/* 导航栏样式 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #328754;
}

.logo span {
    color: #666666;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
}

.nav-links a:hover, .nav-links a.active {
    color: #999999;
}

.language-switch {
    display: flex;
    gap: 10px;
}

.language-switch a {
    font-size: 13px;
    padding: 5px 10px;
    border: 1px solid #eee;
    border-radius: 3px;
}

.language-switch a.active {
    background-color: #328754;
    color: #fff;
    border-color: #328754;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 通用板块标题 */
.section-title {
    text-align: center;
    margin-bottom: 60px;
    padding-top: 40px;
}

.section-title h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}



/* 悬浮按钮 */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.floating-btn.whatsapp {
    background-color: #25D366;
}

.floating-btn.sample {
    background-color: #999;
}

.floating-btn.back-to-top {
    background-color: #328754;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.floating-btn.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 页脚样式 */
.footer {
    background-color: #333333;
    color: #ffffff;
    padding: 80px 0 40px;
    margin-top: 80px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #328754;
}

.footer-logo span {
    color: #666666;
}

.footer-desc {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
    max-width: 300px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.footer-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #ccc;
    font-size: 14px;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-form input, .footer-form textarea {
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    background-color: #444444;
    color: #ffffff;
}

.footer-form input::placeholder, .footer-form textarea::placeholder {
    color: #999;
}

.footer-form textarea {
    height: 100px;
    resize: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #444;
    font-size: 13px;
    color: #999;
}

.footer-bottom a {
    color: #999;
}

.footer-bottom a:hover {
    color: #ffffff;
}

/* 首页Hero区域 - 全屏轮播 */
.hero {
    height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

/* 轮播导航按钮 */
.hero-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    pointer-events: auto;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 50%;
    background-color: transparent;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: #ffffff;
}

/* 轮播指示器 */
.hero-indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active,
.hero-indicator:hover {
    background-color: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 600px;
    color: #ffffff;
    padding: 20px;
    padding-top: 80px;
    padding-left: 80px;
}

.hero-content h1,
.hero-title {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p,
.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.scroll-down {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: 24px;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

/* 首页核心产品 */
.core-products {
    padding: 100px 0;
    background-color: #f9f9f9;
}

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

.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-content {
    padding: 25px;
}

.product-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.product-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

/* 首页核心优势 */
.core-advantages {
    padding: 100px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    text-align: center;
}

.advantage-item {
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.advantage-icon {
    font-size: 36px;
    color: #333;
    margin-bottom: 15px;
}

.advantage-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.advantage-item p {
    font-size: 13px;
    color: #666;
}

/* 首页海外案例 */
.overseas-cases {
    padding: 100px 0;
    background-color: #f9f9f9;
}

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

.case-card {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.case-content p {
    font-size: 13px;
    color: #666;
}

.view-more-cases {
    text-align: center;
}

/* 首页合作区域 */
.cooperation-service {
    padding: 100px 0;
}

.cooperation-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.cooperation-text {
    flex: 1;
}

.cooperation-text h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.cooperation-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.cooperation-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.client-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.client-logo {
    width: 80px;
    height: 40px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 12px;
    color: #666;
}

.cooperation-img {
    flex: 1;
}

.cooperation-img img {
    width: 100%;
    border-radius: 8px;
}

/* 产品页样式 */
.products-page {
    padding: 60px 0;
}

.products-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #328754;
    color: #fff;
    border-color: #328754;
}

.products-detail-grid {
    grid-template-columns: repeat(4, 1fr);
}

.product-detail-card {
    padding: 20px;
}

.product-specs {
    margin-top: 15px;
    font-size: 12px;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.product-specs p {
    margin-bottom: 5px;
}

/* 案例页样式 */
.cases-page {
    padding: 60px 0;
}

.cases-detail-grid {
    grid-template-columns: repeat(2, 1fr);
}

.case-detail-card {
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding: 20px;
}

.case-detail-img {
    flex: 1;
    height: 250px;
}

.case-detail-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.case-detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-detail-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.case-detail-content .case-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
}

.case-detail-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 关于我们页样式 */
.about-page {
    padding: 60px 0;
}

.about-header {
    display: flex;
    gap: 50px;
    margin-bottom: 80px;
}

.about-header-img {
    flex: 1;
}

.about-header-img img {
    width: 100%;
    border-radius: 8px;
}

.about-header-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-header-text h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.about-header-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.about-values {
    background-color: #f9f9f9;
    padding: 80px 0;
    margin-bottom: 80px;
}

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

.value-item {
    padding: 40px 20px;
}

.value-icon {
    font-size: 48px;
    color: #333;
    margin-bottom: 20px;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.about-team {
    margin-bottom: 80px;
}

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

.team-member {
    text-align: center;
}

.team-member-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.team-member h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.team-member .position {
    font-size: 12px;
    color: #999;
}

/* 联系我们页样式 */
.contact-page {
    padding: 60px 0;
}

.contact-container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info-item {
    margin-bottom: 30px;
}

.contact-info-item h3 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info-item p {
    color: #666;
    margin-bottom: 10px;
}

.contact-form {
    flex: 1;
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
}

.contact-form h3 {
    font-size: 20px;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 4px;
    font-size: 14px;
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* 响应式适配 */
@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .cooperation-container, .about-header, .contact-container {
        flex-direction: column;
        text-align: center;
    }
    .client-logos, .products-filter {
        justify-content: center;
    }
    .products-detail-grid, .cases-detail-grid, .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .case-detail-card {
        flex-direction: column;
    }

    /* Hero轮播响应式 */
    .hero-content h1,
    .hero-title {
        font-size: 40px;

    }
    .hero-content p,
    .hero-description {
        font-size: 16px;
    }
}

@media (max-width: 992px) {
    .products-grid, .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    /* Hero轮播响应式 */
    .hero-content h1,
    .hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content h1,
    .hero-title {
        font-size: 32px;
    }
    .advantages-grid, .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .products-grid, .cases-grid, .products-detail-grid, .cases-detail-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        height: 80vh;
    }

    /* Hero轮播响应式 */
    .hero-nav {
        padding: 0 15px;
    }
    .hero-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .hero-indicators {
        bottom: 80px;
    }
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .hero-content h1,
    .hero-title {
        font-size: 26px;
    }
    .hero-btns, .cooperation-btns {
        flex-direction: row;
        gap: 10px;
    }
    .hero-btns .btn{
        padding: 10px;
    }
    .advantages-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 20px;
    }

    /* Hero轮播响应式 */
    .hero {
        height: calc(100vh - 81px);
    }
    .hero-content {
        padding: 15px;
        padding-top: 20px;
    }
    .hero-content h1,
    .hero-title {
        font-size: 24px;
        margin-bottom: 8px;
    }
    .hero-content p,
    .hero-description {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .hero-nav {
        padding: 0 10px;
    }
    .hero-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    .hero-indicators {
        bottom: 70px;
        gap: 8px;
    }
    .hero-indicator {
        width: 8px;
        height: 8px;
    }
    .scroll-down {
        bottom: 30px;
        font-size: 20px;
    }
}
