/* 植树造林页面 */
.plant-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.plant-banner {
    background: linear-gradient(rgba(46, 125, 50, 0.8), rgba(33, 150, 83, 0.8)),
    url(#) no-repeat center center;
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.plant-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.plant-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.plant-section {
    display: flex;
    flex: 1.5;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.plant-section img{
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plant-section:hover img {
    transform: scale(1.05);
}

.plant-content {
    flex: 0.5;
}

.plant-content h2 {
    color: #2e7d32;
    margin-bottom: 20px;
}

.plant-content p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.plant-image {
    display: flex;
    flex: 1;
    height: 400px;
    background-color: #f5f5f5;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.plant-methods {
    margin-bottom: 50px;
}

.plant-methods h2 {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 30px;
}

.method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {
    background-color: #f1f8e9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.card h3 {
    color: #388e3c;
    margin-bottom: 15px;
}

.xiaozuowen {
    margin-bottom: 50px;
}

.xiaozuowen h2{
    text-align: center;
    color: #f07fea;
    margin-bottom: 30px;
}

.xiaozuowen-content{
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: #f1f8e9;
    padding: 30px;
    border-radius: 10px;
}

.xiaozuowen-content p{

}

.aiqingwenxue {
    margin-bottom: 50px;
}

.aiqingwenxue h2{
    text-align: center;
    color: #f07fea;
    margin-bottom: 30px;
}

.aiqingwenxue-content{
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: #f1f8e9;
    padding: 30px;
    border-radius: 10px;
}

.aiqingwenxue-content p{

}

.wangzhantese {
    margin-bottom: 50px;
}

.wangzhantese h2{
    text-align: center;
    color: #f07fea;
    margin-bottom: 30px;
}

.wangzhantese-content{
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: #f1f8e9;
    padding: 30px;
    border-radius: 10px;
}

.wangzhantese-content p{

}

.plant-case {
    margin-bottom: 50px;
}

.plant-case h2 {
    text-align: center;
    color: #2e7d32;
    margin-bottom: 30px;
}

.plant-case img{
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study {
    display: flex;
    gap: 40px;
    align-items: center;
    background-color: #f1f8e9;
    padding: 30px;
    border-radius: 10px;
}

.case-image {
    display: flex;
    height: 400px;
    background-color: #f5f5f5;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.case-content {
    flex: 1;
}

.case-content h3 {
    color: #388e3c;
    margin-bottom: 15px;
}

/* 响应式 */
@media (max-width: 768px) {
    .plant-section, .case-study {
        flex-direction: column;
    }

    .plant-image, .case-image {
        width: 100%;
        margin-top: 20px;
    }
}

/* 页脚 */
.site-footer {
    background: #2e7d32;
    color: white;
    padding: 20px 0;
    position: relative;
    font-size: 16px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    place-items: center;
    padding: 0 20px;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background: #2e7d32;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9999;

    pointer-events: auto !important;
    will-change: opacity, visibility;
}

/* 确保没有其他样式覆盖 */
body .back-to-top {
    display: flex !important;
}

.back-to-top.visible {
    opacity: 1 !important;
    visibility: visible;
}

.back-to-top:hover {
    background: #1b5e20;
    transform: translateY(-3px);
}

/* 图标定义 */
.icon-arrow-up:before { content: "⬆️"; }
