/* 绿色生活指南页面样式 - 绿色主题 */

/* 页面标题 */
.page-header {
    text-align: center;
    padding: 3em 0;
    background: linear-gradient(135deg, rgba(67, 160, 71, 0.12) 0%, rgba(102, 187, 106, 0.12) 100%);
    border-radius: 20px;
    margin: 2em 0;
}

.page-header h1 {
    font-size: 3em;
    margin-bottom: 0.5em;
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.page-header p {
    font-size: 1.3em;
    color: #388e3c;
    max-width: 600px;
    margin: 0 auto;
}

/* 分类导航 */
.guide-nav {
    background: rgba(255, 255, 255, 0.93);
    border-radius: 20px;
    padding: 2em;
    margin: 2em 0;
    box-shadow: 0 10px 30px rgba(67,160,71,0.08);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1em;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(67, 160, 71, 0.08);
    border: 2px solid transparent;
    color: #43a047;
    padding: 1em 2em;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1em;
}

.tab-btn:hover {
    background: rgba(67, 160, 71, 0.18);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
    color: #fff;
    box-shadow: 0 8px 25px rgba(67,160,71,0.18);
}

/* 指南内容 */
.guide-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.guide-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.guide-content h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 2em;
    color: #2e7d32;
    position: relative;
}

.guide-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #43a047, #66bb6a);
    border-radius: 2px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}

.tip-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5em;
    box-shadow: 0 10px 30px rgba(67,160,71,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #c8e6c9;
}

.tip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #43a047, #66bb6a);
}

.tip-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(67,160,71,0.15);
}

.tip-icon {
    font-size: 3em;
    margin-bottom: 1em;
    display: block;
    text-align: center;
    color: #43a047;
}

.tip-card h3 {
    font-size: 1.5em;
    margin-bottom: 1em;
    color: #2e7d32;
    text-align: center;
}

.tip-card p {
    color: #7f8c8d;
    margin-bottom: 1.5em;
    line-height: 1.6;
    text-align: center;
}

.tip-details {
    background: rgba(67, 160, 71, 0.05);
    border-radius: 15px;
    padding: 1.5em;
    border-left: 4px solid #43a047;
}

.tip-details h4 {
    color: #43a047;
    margin-bottom: 1em;
    font-size: 1.1em;
}

.tip-details ul {
    list-style: none;
    padding: 0;
}

.tip-details li {
    padding: 0.5em 0;
    color: #34495e;
    position: relative;
    padding-left: 1.5em;
}

.tip-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #43a047;
    font-weight: bold;
}

/* 音频区域 */
.audio-section {
    padding: 4em 0;
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
    border-radius: 20px;
    margin: 3em 0;
    color: #fff;
}

.audio-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 2em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.audio-player {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: rgba(255,255,255,0.13);
    border-radius: 20px;
    padding: 2em;
    backdrop-filter: blur(10px);
}

.audio-player h3 {
    font-size: 1.5em;
    margin-bottom: 1em;
}

.audio-player audio {
    width: 100%;
    margin-bottom: 1em;
    border-radius: 10px;
}

.audio-player p {
    opacity: 0.9;
    font-size: 1.1em;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .category-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 100%;
        max-width: 300px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1,
    .guide-content h2,
    .audio-section h2 {
        font-size: 2em;
    }
}

@media (max-width: 600px) {
    .page-header {
        padding: 2em 0;
    }

    .page-header h1 {
        font-size: 1.8em;
    }

    .page-header p {
        font-size: 1.1em;
    }

    .guide-nav {
        padding: 1.5em;
    }

    .tip-card {
        padding: 2em;
    }

    .audio-player {
        padding: 1.5em;
    }
}
