/* 绿色食谱页面样式 - 绿色主题 */

/* 页面标题 */
.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;
}

/* 饮食贴士 */
.diet-tips {
    padding: 3em 0;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    margin: 2em 0;
    box-shadow: 0 15px 35px rgba(67,160,71,0.08);
}

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

.diet-tips 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-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    padding: 0;
}

.tips-list li {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 1.5em 2em;
    margin-bottom: 1em;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    padding-left: 3em;
    transition: all 0.3s ease;
    border-left: 4px solid #43a047;
}

.tips-list li::before {
    content: '🥗';
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
}

.tips-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 食谱表格 */
.recipes-table-section {
    padding: 3em 0;
}

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

.recipes-table-section 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;
}

.recipes-table {
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(67,160,71,0.08);
    border-collapse: collapse;
    border: 1px solid #c8e6c9;
}

.recipes-table thead {
    background: linear-gradient(135deg, #43a047 0%, #66bb6a 100%);
    color: #fff;
}

.recipes-table th {
    padding: 1.5em 1em;
    text-align: left;
    font-weight: 600;
    font-size: 1.1em;
    border-bottom: 2px solid rgba(255,255,255,0.2);
}

.recipes-table td {
    padding: 1.5em 1em;
    border-bottom: 1px solid #e0e6ed;
    color: #34495e;
    line-height: 1.6;
}

.recipes-table tbody tr {
    transition: all 0.3s ease;
}

.recipes-table tbody tr:hover {
    background: rgba(67, 160, 71, 0.05);
    transform: scale(1.01);
}

.recipes-table tbody tr:last-child td {
    border-bottom: none;
}

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

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

.video-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.video-section video {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(67,160,71,0.10);
    transition: transform 0.3s ease;
}

.video-section video:hover {
    transform: scale(1.02);
}

/* 响应式设计 */
@media (max-width: 900px) {
    .recipes-table {
        font-size: 0.9em;
    }

    .recipes-table th,
    .recipes-table td {
        padding: 1em 0.5em;
    }

    .page-header h1,
    .diet-tips h2,
    .recipes-table-section h2,
    .video-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;
    }

    .diet-tips,
    .recipes-table-section,
    .video-section {
        padding: 2em 0;
    }

    .tips-list li {
        padding: 1em 1.5em 1em 2.5em;
        font-size: 0.95em;
    }

    .tips-list li::before {
        left: 0.5em;
        font-size: 1.2em;
    }

    .recipes-table {
        font-size: 0.8em;
    }

    .recipes-table th,
    .recipes-table td {
        padding: 0.8em 0.3em;
    }
}
