/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部导航 */
.header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: #5AB0B5;
    font-weight: normal;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav a {
    text-decoration: none;
    color: #666;
    font-size: 16px;
    padding: 8px 20px;
    transition: all 0.3s;
}

.nav a.active,
.nav a:hover {
    background: #5AB0B5;
    color: #fff;
}

/* Banner轮播 */
.banner {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-item.active {
    opacity: 1;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: #333;
}

.banner-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: #333;
}

.banner-content h3 {
    font-size: 36px;
    color: #5AB0B5;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.banner-prev,
.banner-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    font-size: 30px;
    color: #fff;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-prev:hover,
.banner-next:hover {
    background: rgba(90, 176, 181, 0.8);
}

.banner-prev {
    left: 20px;
}

.banner-next {
    right: 20px;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #5AB0B5;
}

/* 产品中心 */
.product-center {
    padding: 80px 0;
    background: #f8f8f8;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.product-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 30px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 16px;
    border-radius: 25px;
}

.tab-btn.active,
.tab-btn:hover {
    background: #5AB0B5;
    color: #fff;
    border-color: #5AB0B5;
}

.learn-more {
    color: #5AB0B5;
    text-decoration: none;
    font-size: 14px;
    margin-left: 0;
    position: absolute;
    right: 20px;
    top: 0;
}

.product-content {
    display: flex;
    gap: 50px;
    align-items: center;
    background: #e8e8e8;
    padding: 50px;
    border-radius: 10px;
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

.product-info p {
    font-size: 14px;
    line-height: 2;
    color: #666;
    margin-bottom: 30px;
}

.product-detail-btn {
    padding: 12px 40px;
    background: #5AB0B5;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s;
    border-radius: 25px;
}

.product-detail-btn:hover {
    background: #4a9fa4;
}

.product-image {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
}

.product-image img {
    width: 100%;
    height: auto;
}

/* 关于我们 */
.about-us {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 14px;
    line-height: 2;
    color: #666;
    margin-bottom: 20px;
    text-align: justify;
}

/* 页脚 */
.footer {
    background: #5AB0B5;
    color: #fff;
    padding: 50px 0 0;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-logo p {
    font-size: 14px;
    letter-spacing: 2px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: normal;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-left,
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom-right a {
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-bottom-right a:hover {
    opacity: 1;
}

.footer-bottom .divider {
    color: #fff;
    opacity: 0.6;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
        padding: 15px 20px;
    }

    .logo h1 {
        font-size: 18px;
        text-align: center;
    }

    .nav ul {
        gap: 0;
        width: 100%;
        justify-content: space-between;
    }

    .nav ul li {
        flex: 1;
    }

    .nav a {
        font-size: 13px;
        padding: 8px 5px;
        white-space: nowrap;
        text-align: center;
        display: block;
    }

    .banner {
        height: 300px;
    }

    .banner-content h2,
    .banner-content h3 {
        font-size: 24px;
    }

    .product-content,
    .about-content {
        flex-direction: column;
    }

    .footer .container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-links {
        gap: 30px;
        flex-wrap: wrap;
    }
}
