/* 特色小吃页面样式 */
main {
    margin-top: 60px;
}

.hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

section {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

h2 {
    color: #DE2910;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.snacks-filter {
    text-align: center;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: #fff;
    border: 2px solid #DE2910;
    color: #DE2910;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn.active,
.filter-btn:hover {
    background: #DE2910;
    color: #fff;
}

.snacks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.snack-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.snack-card:hover {
    transform: translateY(-5px);
}

.snack-image {
    position: relative;
    height: 200px;
}

.snack-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.making-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.snack-card:hover .making-scene {
    opacity: 1;
}

.making-scene img {
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 8px;
}

.snack-info {
    padding: 1.5rem;
    position: relative;
}

.snack-info h3 {
    color: #DE2910;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-tag {
    position: absolute;
    top: -1rem;
    right: 1rem;
    background: #FFD700;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: bold;
}

.seasonal-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.seasonal-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}

.seasonal-item img {
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.seasonal-info {
    padding: 1.5rem;
    flex: 1;
}

.seasonal-info h3 {
    color: #DE2910;
    margin-bottom: 0.5rem;
}

.season-tag {
    display: inline-block;
    background: #FFD700;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .seasonal-item {
        flex-direction: column;
    }
    
    .seasonal-item img {
        width: 100%;
        height: 200px;
    }
} 