body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #ffb6c1, #dda0dd, #87cefa, #ffffff);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    color: #333;
    min-height: 100vh;
}
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 顶部导航 */
nav {
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}
/* LOGO 样式 */
.logo {
    font-size: 36px; /* 字号加大 */
    font-family: 'Pacifico', cursive; /* 飘逸的手写风字体 */
    color: #FFD700; /* 金黄色 */
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2); /* 增加立体感 */
}
/* 导航栏基础样式 */
.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-family: 'Brush Script MT', cursive;
    color: #FFD700;
    font-weight: bold;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    object-fit: contain;
}

/* 手机端适配 */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .logo {
        font-size: 20px;      /* 缩小文字 */
    }

    .logo-img {
        width: 35px;          /* 缩小图片 */
        height: 35px;
        margin-right: 8px;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin-left: 0;
        margin-top: 5px;
    }
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    margin-left: 20px;
}
nav ul li a {
    text-decoration: none;
    color: #444;
    font-weight: bold;
}

h1 {
    text-align: center;
    margin: 20px 0;
    color: #444;
    text-shadow: 1px 1px 3px rgba(255,255,255,0.6);
}

/* 产品网格 */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    width: 90%;
    max-width: 1400px;
    margin: auto;
}
.gallery-item {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    text-align: center;
    cursor: pointer;
}
.gallery img {
    width: 100%;
    height: 320px;
    object-fit: contain;
    background-color: white;
    border-radius: 8px;
    transition: transform 0.3s ease;
}
.gallery img:hover {
    transform: scale(1.05);
}
.caption {
    margin-top: 8px;
    font-weight: bold;
}

/* 手机端滑动 */
@media (max-width: 768px) {
    .gallery {
        display: flex;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
    }
    .gallery-item {
        flex: 0 0 85%;
    }
}

/* 放大预览 */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 9999;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.lightbox-caption {
    margin-top: 10px;
    color: white;
    font-size: 18px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    user-select: none;
}
.lightbox-close {
    top: 20px;
    right: 30px;
    transform: none;
    font-size: 30px;
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* 返回顶部按钮 */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #ff69b4;
    color: white;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
#contactBtn {
    margin-top: 10px;
    display: inline-block;
    background: #87cefa;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}
/* 公司介绍标题 */
.about-text h2 {
    font-size: 36px; /* 从32px增大 */
    font-family: 'Merriweather', serif;
    color: #444;
    margin-bottom: 20px;
}

/* 公司介绍正文段落 */
.about-text p {
    font-size: 20px; /* 从18px提升 */
    font-family: 'Roboto', sans-serif;
    color: #333;
    line-height: 1.9;
    margin-bottom: 20px;
}

/* 列表字体 */
.about-text ul li {
    font-size: 20px; /* 从18px提升 */
    font-family: 'Roboto', sans-serif;
    color: #222;
    margin-bottom: 12px;
}

/* 列表中的重点文字（strong） */
.about-text ul li strong {
    color: #111;
    font-weight: 700;
}
.contact-section {
    padding: 20px;
    background: #f9f9f9;
    text-align: center;
}

.contact-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.wechat-section {
    margin-top: 20px;
}

.wechat-qr-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.qr-box {
    width: 150px;
    text-align: center;
}

.qr-box img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.qr-box p {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}
.product-btn {
    display: inline-block;
    background-color: transparent;
    border: 2px solid #007BFF;
    color: #fff;
    text-align: center;
    padding: 10px 20px;
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: #007BFF; /* 蓝色背景 */
}

.product-btn:hover {
    background-color: #0056b3; /* 悬停时变深蓝 */
    border-color: #0056b3;
}
