/* 垃圾分类页面 */
.classify-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.classify-banner {
    background: linear-gradient(rgba(255, 152, 0, 0.8), rgba(255, 193, 7, 0.8)), 
                url(#) no-repeat center center;
    color: white;
    text-align: center;
    padding: 60px 20px;
    border-radius: 10px;
    margin-bottom: 40px;
}

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

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

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

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

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

.classify-content {
    flex: 0.5;
}

.classify-content h2 {
    color: #f57c00;
    margin-bottom: 20px;
}

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

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

.classify-standard {
    margin-bottom: 50px;
}

.classify-standard h2 {
    text-align: center;
    color: #f57c00;
    margin-bottom: 30px;
}

.classify-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.classify-card {
    padding: 25px;
    border-radius: 10px;
    color: white;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.classify-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

/* 不同分类的颜色 */
.recyclable { background-color: #4caf50; }
.poisonous { background-color: #f44336; }
.kitchen { background-color: #ff9800; }
.others { background-color: #9e9e9e; }

.classify-tips {
    background-color: #fff3e0;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.classify-tips h2 {
    color: #f57c00;
    margin-bottom: 20px;
    text-align: center;
}

.classify-tips ul {
    max-width: 600px;
    margin: 0 auto;
    list-style: none;
    padding-left: 380px;
}

.classify-tips li {
    line-height: 1.8;
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.classify-tips li:before {
    content: "•";
    color: #f57c00;
    position: absolute;
    left: 0;
}

/* 响应式 */
@media (max-width: 768px) {
    .classify-section {
        flex-direction: column;
    }
    
    .classify-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;
    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: 99;
}

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

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

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