/* 首页专属样式 */

.hero-food {
    background-image: linear-gradient(120deg, rgba(62, 39, 35, 0.35), rgba(0, 0, 0, 0.55)),
                      url('../images/products/serving_scene_15.png');
}

.hero-food .container {
    padding-top: var(--space-xxl);
    padding-bottom: var(--space-xxl);
}

.hero-badges {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
}

.floating-steam {
    position: absolute;
    inset: auto 10% 5% auto;
    width: 160px;
    height: 220px;
    pointer-events: none;
}

.floating-steam span {
    position: absolute;
    width: 18px;
    height: 120px;
    border-radius: 50% 50% 0 0;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 70%);
    animation: steam 5s ease-in-out infinite;
}

.floating-steam span:nth-child(2) { left: 60px; animation-delay: 0.8s; }
.floating-steam span:nth-child(3) { left: 120px; animation-delay: 1.6s; }

@keyframes steam {
    0% { transform: translate3d(0, 40px, 0) scale(0.6); opacity: 0; }
    35% { opacity: 1; }
    100% { transform: translate3d(-20px, -160px, 0) scale(1.1); opacity: 0; }
}

.chain-section {
    background: radial-gradient(circle at top, rgba(255, 179, 0, 0.18), transparent 55%);
}

.chain-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
    position: relative;
}

.flow-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid rgba(255, 179, 0, 0.25);
    position: relative;
    overflow: hidden;
    min-height: 240px;
}

.flow-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
}

.flow-step {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(216, 67, 21, 0.12);
    color: var(--color-primary);
    font-weight: 700;
    display: grid;
    place-items: center;
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
}

.flow-item::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: rgba(255, 179, 0, 0.18);
    border-radius: 50%;
    right: -20px;
    bottom: -20px;
}

.food-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.food-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 360px;
    box-shadow: var(--shadow-card);
    background: #000;
}

.food-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.1);
}

.food-card .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.85));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
}

.card-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: var(--space-xs);
}

.card-overlay p {
    color: rgba(255, 255, 255, 0.8);
}

.card-overlay a {
    margin-top: var(--space-sm);
    align-self: flex-start;
    font-weight: 600;
    color: var(--color-secondary);
}

.story-section {
    background: rgba(255, 255, 255, 0.85);
}

.story-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    align-items: center;
}

.story-panel {
    background: var(--color-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.story-panel ul {
    list-style: none;
    display: grid;
    gap: var(--space-sm);
}

.story-panel li {
    display: flex;
    gap: var(--space-sm);
}

.story-panel li span {
    font-weight: 700;
    color: var(--color-primary);
}

.story-gallery {
    display: grid;
    gap: var(--space-md);
}

.story-gallery img {
    border-radius: var(--radius-md);
    height: 220px;
    object-fit: cover;
}

.story-gallery img:nth-child(2) {
    height: 300px;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-lg);
}

.quality-card {
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(76, 175, 80, 0.25);
    background: rgba(255, 255, 255, 0.9);
}

.quality-card img {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-sm);
}

.distribution-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) 0;
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
}

.channel-card {
    text-align: center;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 179, 0, 0.35);
    background: var(--color-card);
    position: relative;
}

.channel-card::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(216, 67, 21, 0.25);
    border-radius: inherit;
}

.channel-card strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: var(--space-xs);
}

.news-highlight {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: var(--space-xl);
    align-items: center;
}

.news-highlight .news-card {
    background: var(--color-card);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.news-item {
    border-bottom: 1px solid rgba(93, 64, 55, 0.12);
    padding: var(--space-sm) 0;
}

.news-item:last-child { border-bottom: none; }

.news-item time {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--color-muted);
}

.cta-ribbon {
    background: linear-gradient(120deg, #F9A825, #D84315);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    color: #fff;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.cta-ribbon h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

@media (max-width: 1024px) {
    .news-highlight { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .flow-item { min-height: auto; }
    .cta-ribbon h3 { font-size: 1.5rem; }
    .hero-badges { flex-direction: column; align-items: flex-start; }
}
