/* 整体容器 */
.food-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 上部分三栏布局 */
.top-section {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
}

/* 左边早茶图片 */
.food-image {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.food-image:hover {
    transform: translateY(-5px);
}

.food-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-image h2,
.food-image p {
    padding: 15px;
    margin: 0;
}

/* 中间美食简介 */
.food-intro {
    flex: 2;
}

.intro-card {
    height: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.intro-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.intro-content {
    padding: 20px;
}

.learn-more {
    display: inline-block;
    padding: 8px 20px;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.learn-more:hover {
    background: #c0392b;
}

/* 右边排行榜 */
.food-rank {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.rank-num {
    width: 24px;
    height: 24px;
    background: #e74c3c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.rank-item img {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 10px;
}

.rank-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.rank-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* 下部分美食推荐 */
.bottom-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.food-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.food-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.food-card:hover {
    transform: translateY(-5px);
}

.food-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.food-info {
    padding: 20px;
}

.food-info h3 {
    margin: 0 0 10px 0;
}

.food-info p {
    margin: 0 0 15px 0;
    color: #666;
}

.detail-link {
    display: inline-block;
    padding: 8px 20px;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.detail-link:hover {
    background: #c0392b;
}

/* 响应式布局 */
@media (max-width: 900px) {
    .top-section {
        flex-direction: column;
    }
    
    .food-image,
    .food-intro,
    .food-rank {
        width: 100%;
    }
} 