/* 美食文化页面样式 */
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;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.history-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.history-text {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.history-text h3 {
    color: #DE2910;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.culture-timeline {
    margin-top: 2rem;
}

.culture-timeline img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.etiquette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.etiquette-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.etiquette-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.etiquette-info {
    padding: 1.5rem;
}

.etiquette-info h3 {
    color: #DE2910;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.etiquette-detail {
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.etiquette-detail img {
    height: 150px;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.festival-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.festival-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.festival-card:hover {
    transform: translateY(-5px);
}

.festival-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.festival-info {
    padding: 1.5rem;
    position: relative;
}

.festival-info h3 {
    color: #DE2910;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.festival-tag {
    position: absolute;
    top: -1rem;
    right: 1rem;
    background: #FFD700;
    color: #333;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

.heritage-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.heritage-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.heritage-item:hover {
    transform: translateY(-5px);
}

.heritage-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.heritage-info {
    padding: 1.5rem;
}

.heritage-info h3 {
    color: #DE2910;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .history-content {
        grid-template-columns: 1fr;
    }

    .history-image img {
        height: 300px;
    }
} 