body {
    background-color: #f7fff5;
    color: #333;
}

header {
    padding: 20px;
    margin: 0 auto;
    text-align: center;
}

h1 {
    color: #004d00;
}
h2{
	margin-top: 10px;
    text-align: center;
}
.container {
    margin-right: 8px; 
    margin-left: 8px;
	background:#eafce6;
}
section {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

footer {
    padding: 10px;
    color: #a6a6a6;
    text-align: center;
    font-size: 0.9em;
}


/* 图片轮播样式 */
.image-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.image-slider {
    display: flex;
    transition: transform 2s ease-in-out;
    animation: slideImages 10s linear infinite;
}

.slider-image {
    min-width: 200px;
    height: 150px;
    margin: 0 10px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.slider-image:hover {
    transform: scale(1.05);
}

@keyframes slideImages {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 120px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
}

.close-modal {
    position: absolute;
    right: 35px;
    top: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: #bbb;
}


/* 浮动按钮 */
.float-buttons {
    position: fixed;
    right: 20px;
    bottom: 150px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.float-button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1;
}

.float-button:hover {
    transform: scale(1.1);
    background-color: #45a049;
    color: white;
    text-decoration: none;
}

.float-button i {
    font-size: 20px;
	display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

/* 电话按钮 */
.phone-button {
    background-color: #2196F3;
}

.phone-button:hover {
    background-color: #1976D2;
}

/* 微信按钮 */
.wechat-button {
    background-color: #07C160;
    position: relative;
}

.wechat-button:hover {
    background-color: #06AE56;
}

/* 微信二维码 */
.wechat-qr {
    display: none;
    position: absolute;
    bottom: 60px;
    right: 0;
    background: white;
    padding: 8px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.wechat-button:hover .wechat-qr {
    display: block;
}
/* 分享按钮 */
.share-button {
    background-color: #07C160;
}

.share-button:hover {
    background-color: #06AE56;
}
/* 回到顶部按钮 */
#backToTop {
    display: none;
    background-color: #757575;
}

#backToTop:hover {
    background-color: #616161;
}