/* 生态共建页面 eco-building.css */
:root {
    --eco-primary-green: #4C8A42;
    --eco-secondary-green: #76B852;
    --eco-light-bg: #F5FBF0;
    --eco-text-dark: #3D4A3A;
    --eco-text-light: #6A7865;
    --eco-accent-orange: #F57F17;
}

body {
    background-color: var(--eco-light-bg);
}

/* Banner区 */
.eco-banner {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.eco-banner__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.9);
}

.eco-banner__content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.eco-banner__title {
    font-size: 3.8rem;
    font-weight: 700;
    letter-spacing: 4px;
}

.eco-banner__title .icon {
    font-size: 3.5rem;
    vertical-align: -7%;
    margin: 0 10px;
    animation: spin 15s linear infinite;
    display: inline-block;
    color: #a8e063;
    text-shadow: 0 0 10px rgba(168, 224, 99, 0.7);
}

.eco-banner__subtitle {
    font-size: 1.8rem;
    margin-top: 20px;
    letter-spacing: 2px;
    border-top: 1px solid rgba(255, 255, 255, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    display: inline-block;
    padding: 10px 0;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 内容区 */
.eco-main-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 50px;
    background-color: #fcfdfa;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(76, 138, 66, 0.08);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.eco-main-content.active {
    opacity: 1;
    transform: translateY(0);
}

.eco-section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--eco-primary-green);
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
    gap: 45px;
}

.eco-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, #a8e063, #56ab2f);
}

.eco-project-list {
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.eco-project-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-radius: 15px;
    border-bottom: 1px dashed #dce5d9;
    opacity: 0;
    transform: translateY(20px);
    transition: background-color 0.4s, transform 0.4s, box-shadow 0.4s, opacity 0.5s ease;
}

.eco-main-content.active .eco-project-item {
    opacity: 1;
    transform: translateY(0);
}

/* .eco-main-content.active .eco-project-item:nth-child(1) { transition-delay: 0.2s; }
.eco-main-content.active .eco-project-item:nth-child(2) { transition-delay: 0.3s; }
.eco-main-content.active .eco-project-item:nth-child(3) { transition-delay: 0.4s; }
.eco-main-content.active .eco-project-item:nth-child(4) { transition-delay: 0.5s; } */

.eco-project-item:last-child {
    border-bottom: none;
}

.eco-project-item:hover {
    background-color: rgba(230, 245, 220, 0.4);
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(76, 138, 66, 0.15);
}

.eco-project-text {
    flex-basis: 70%;
}

.eco-project-title {
    font-size: 1.6rem;
    color: var(--eco-text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.eco-project-title .highlight {
    color: var(--eco-accent-orange);
    display: inline-block;
}

.eco-project-desc .highlight-green {
    color: var(--eco-secondary-green);
    font-weight: 600;
}

.eco-project-desc {
    font-size: 1.1rem;
    color: var(--eco-text-light);
    padding-left: 20px;
    position: relative;
}

.eco-project-desc::before {
    content: '↳';
    position: absolute;
    left: 0;
    color: var(--eco-secondary-green);
    font-weight: bold;
}

.eco-project-image {
    flex-basis: 25%;
    text-align: right;
}

.eco-project-image img {
    max-width: 180px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(76, 138, 66, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.eco-project-item:hover .eco-project-image img {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(76, 138, 66, 0.3);
}

@media (max-width: 768px) {
    .eco-project-item {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .eco-project-text {
        order: 2;
    }
    .eco-project-image {
        order: 1;
        text-align: center;
    }
    .eco-project-desc {
        padding-left: 0;
    }
    .eco-project-desc::before {
        display: none;
    }
} 