/* ===== 首页特有样式（不包含导航、页脚等全局样式）===== */

/* Hero 区域 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5vh;
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center 40%;
    filter: brightness(1.15) saturate(1.2) contrast(1.05);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(160deg, rgba(90, 6, 18, 0.55) 0%, rgba(139, 10, 30, 0.38) 50%, rgba(26, 10, 6, 0.65) 100%);
    pointer-events: none;
}

.hero-svg-deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
    animation: fade-up 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(36px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-logo-wrap {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.hero-logo-svg {
    width: 90px;
    height: 90px;
}

.hero-since {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.35em;
    color: #FFE99A;
    border: 1px solid rgba(255, 220, 100, 0.5);
    padding: 0.28rem 1.2rem;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.12em;
    margin-bottom: 0.3rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 60px rgba(180, 20, 20, 0.5);
}

.hero-title-en {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    color: #FFE99A;
    letter-spacing: 0.22em;
    margin-bottom: 1.4rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.hero-tagline {
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
    margin-bottom: 2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

    .hero-tagline em {
        font-style: normal;
        color: #FFE060;
        font-weight: 700;
    }

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-red {
    background: var(--red);
    color: #fff;
    padding: 0.9rem 2.4rem;
    font-size: 0.95rem;
    font-family: 'Noto Serif TC', serif;
    font-weight: 700;
    letter-spacing: 0.12em;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
    transition: background 0.2s, transform 0.2s;
}

    .btn-red:hover {
        background: var(--red-light);
        transform: translateY(-2px);
    }

.btn-outline-gold {
    border: 1px solid rgba(212, 168, 67, 0.6);
    color: var(--gold-light);
    padding: 0.9rem 2.4rem;
    font-size: 0.95rem;
    font-family: 'Noto Serif TC', serif;
    letter-spacing: 0.12em;
    text-decoration: none;
    display: inline-block;
    transition: border-color 0.2s, background 0.2s;
}

    .btn-outline-gold:hover {
        border-color: var(--gold);
        background: rgba(212, 168, 67, 0.1);
    }

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    animation: bob 2.5s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, transparent, var(--gold));
}

@keyframes bob {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* 公共组件 */
.section-pad {
    padding: 6rem 5vw;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--red);
    margin-bottom: 0.9rem;
}

    .tag::before {
        content: '';
        width: 28px;
        height: 1px;
        background: var(--red);
    }

.h2 {
    font-size: clamp(1.8rem, 4vw, 2.9rem);
    font-weight: 700;
    line-height: 1.2;
}

.lead {
    font-size: 1rem;
    line-height: 1.95;
    opacity: 0.72;
    max-width: 520px;
}

.gold-rule {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 1.4rem 0;
    max-width: 180px;
}

    .gold-rule::before,
    .gold-rule::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--gold);
    }

    .gold-rule span {
        color: var(--gold);
        font-size: 0.8rem;
    }

/* 故事区域 */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4.5rem;
    align-items: start; /* 改为 start，让内容顶部对齐（原先是 center） */
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

    /* 了解更多按钮独立定位 */
    .story-grid .btn-more {
        grid-column: 2; /* 放在第二列（右侧文字区域） */
        justify-self: start; /* 左对齐 */
        margin-top: 2rem;
    }

.story-img-frame {
    position: relative;
}

.story-img-box {
    width: 100%;
    aspect-ratio: 3/2;
    overflow: hidden;
    position: relative;
    outline: 4px solid var(--gold);
    outline-offset: -8px;
    box-shadow: 0 0 0 1px var(--red), 0 0 0 10px var(--paper), 0 0 0 12px var(--gold), 0 20px 60px rgba(0, 0, 0, 0.25);
}

    .story-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
        transition: transform 0.6s ease;
    }

.story-img-frame:hover .story-img-box img {
    transform: scale(1.04);
}

.story-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 100px;
    height: 100px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    line-height: 1;
    border: 3px solid var(--gold);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

    .story-badge .yr {
        font-size: 1.8rem;
    }

    .story-badge .sub {
        font-size: 0.5rem;
        letter-spacing: 0.12em;
        opacity: 0.85;
    }

/* 菜品区域 */
.dishes-section {
    background: var(--ink);
    color: #fff;
}

.dishes-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto 2.5rem;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 3px;
    max-width: 1200px;
    margin: 0 auto;
}

.dish-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
}

    .dish-card.tall {
        grid-row: span 2;
        aspect-ratio: auto;
    }

    .dish-card .dish-bg {
        width: 100%;
        height: 100%;
        min-height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 4.5rem;
        position: relative;
        overflow: hidden;
    }

        .dish-card .dish-bg .dish-bg-img {
            position: absolute;
            inset: 0;
            transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
            background-size: cover;
            background-position: center;
        }

    .dish-card:hover .dish-bg .dish-bg-img {
        transform: scale(1.08);
    }

.dc1 .dish-bg-img {
    background-image: url('');
}

.dc2 .dish-bg-img {
    background-image: url('');
}

.dc3 .dish-bg-img {
    background-image: url('');
}

.dc4 .dish-bg-img {
    background-image: url('');
}

.dc5 .dish-bg-img {
    background-image: url('');
}

.dish-icon {
    position: relative;
    z-index: 1;
    font-size: 3.5rem;
    opacity: 0;
    pointer-events: none;
}

.dish-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 10, 6, 0.93) 0%, transparent 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.3rem;
    transition: background 0.3s;
}

.dish-card:hover .dish-overlay {
    background: linear-gradient(to top, rgba(26, 10, 6, 0.97) 0%, rgba(26, 10, 6, 0.2) 100%);
}

.dish-tag {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.18rem 0.6rem;
    margin-bottom: 0.4rem;
}

.dish-name {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.dish-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s, transform 0.3s;
    line-height: 1.6;
}

.dish-card:hover .dish-desc {
    opacity: 1;
    transform: translateY(0);
}

/* 红色横幅 */
.red-banner {
    background: var(--red);
    padding: 4rem 5vw;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

    .red-banner::before,
    .red-banner::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 200px;
        background: linear-gradient(to right, var(--red-dark), transparent);
    }

    .red-banner::before {
        left: 0;
    }

    .red-banner::after {
        right: 0;
        transform: scaleX(-1);
    }

.banner-deco-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    display: block;
}

.red-banner-inner {
    position: relative;
}

.red-banner-quote {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.red-banner-sub {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    opacity: 0.8;
    margin-bottom: 2rem;
}

/* 新闻网格 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.news-card {
    background: #fff;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--red);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

    .news-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
    }

.news-date {
    background: var(--red);
    color: #fff;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.news-month {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    opacity: 0.8;
}

.news-day {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.news-year {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    opacity: 0.7;
    margin-left: auto;
}

.news-body {
    padding: 1.4rem 1.4rem 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-tag-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--red);
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 0.83rem;
    line-height: 1.8;
    opacity: 0.65;
    flex: 1;
}

.news-more {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--red);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
}

    .news-more:hover {
        text-decoration: underline;
    }

/* YouTube 网格 */
.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.yt-card {
    background: #111;
    overflow: hidden;
    transition: transform 0.3s;
}

    .yt-card:hover {
        transform: translateY(-4px);
    }

.yt-thumb {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    overflow: hidden;
}

    .yt-thumb iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.yt-info {
    padding: 1.2rem 1.4rem 1.6rem;
}

.yt-tag {
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.yt-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.4rem;
    line-height: 1.4;
}

.yt-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

/* 服务区域 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1px;
    background: rgba(200, 16, 46, 0.12);
    max-width: 1200px;
    margin: 3rem auto 0;
}

.service-card {
    background: var(--paper);
    padding: 2.5rem 1.8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

    .service-card::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: var(--red);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.35s;
    }

    .service-card:hover {
        background: var(--cream);
    }

        .service-card:hover::after {
            transform: scaleX(1);
        }

.svc-icon {
    font-size: 2.6rem;
    margin-bottom: 1rem;
}

.svc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--red-dark);
    margin-bottom: 0.5rem;
}

.svc-desc {
    font-size: 0.83rem;
    line-height: 1.85;
    opacity: 0.68;
}

/* 联系区域 */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.contact-info {
    background: var(--red-deep);
    color: #fff;
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .contact-info .tag {
        color: var(--gold-light);
    }

        .contact-info .tag::before {
            background: var(--gold-light);
        }

.contact-items {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.c-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.c-icon {
    font-size: 1.1rem;
    color: var(--gold);
    min-width: 24px;
}

.c-label {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    margin-bottom: 0.2rem;
}

.c-text {
    font-size: 0.88rem;
    line-height: 1.8;
    opacity: 0.85;
}

    .c-text a {
        color: var(--gold-light);
        text-decoration: none;
    }

        .c-text a:hover {
            text-decoration: underline;
        }

.map-box {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    padding: 0;
}

    .map-box iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
        display: block;
    }



/* 响应式 */
@media (max-width: 960px) {
    .story-grid {
        grid-template-columns: 1fr; /* 移动端改为单列 */
    }

        .story-grid .btn-more {
            grid-column: 1; /* 移动端放在第一列 */
        }

    .story-badge {
        right: 0.5rem;
        bottom: -1rem;
    }

    .contact-wrap {
        grid-template-columns: 1fr;
    }

    .contact-info {
        padding: 3.5rem 2rem;
    }

    .dishes-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dish-card.tall {
        grid-row: span 1;
        aspect-ratio: 1;
    }
}

@media (max-width: 680px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .btn-red, .btn-outline-gold {
        width: 220px;
        text-align: center;
    }

    .dishes-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .map-box {
        min-height: 320px;
    }

    .float-btns {
        right: 1rem;
        bottom: 1.2rem;
    }

    .float-btn {
        width: 46px;
        height: 46px;
    }

        .float-btn::before {
            display: none;
        }
}
