/* 日系雜誌風精緻配色參數 */
:root {
    --primary-color: #5C4033;   /* 深焙木質褐 */
    --bg-light: #F9F6F0;        /* 輕盈日系米白 */
    --card-bg: #FFFFFF;         /* 純白卡片 */
    --text-main: #2C2520;       /* 質感炭褐字體 */
    --text-muted: #7A6F66;      /* 灰褐細字 */
    --accent-color: #C69C72;    /* 職人金棕色 */
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: "Noto Serif TC", "Georgia", "PingFang TC", serif;
    line-height: 2;
    letter-spacing: 0.08em;
    -webkit-font-smoothing: antialiased;
}

/* 導覽列 */
header {
    background-color: rgba(249, 246, 240, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(92, 64, 51, 0.05);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 4px;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    font-family: "Noto Sans TC", sans-serif;
    font-weight: 400;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* 區塊排版 */
section {
    padding: 120px 24px 100px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title-box {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: "Noto Sans TC", sans-serif;
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 8px;
    display: block;
}

.section-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 6px;
}

/* 1. 首頁橫幅 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    padding: 0 24px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: 10px;
    font-weight: 400;
    animation: fadeIn 1.5s ease;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    letter-spacing: 4px;
    font-weight: 300;
    opacity: 0.9;
    font-family: "Noto Sans TC", sans-serif;
}

.hero-btn {
    display: inline-block;
    padding: 14px 45px;
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-family: "Noto Sans TC", sans-serif;
}

.hero-btn:hover {
    background-color: #fff;
    color: var(--text-main);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* 2. 關於品牌（新增圖文雙欄排版參數） */
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-img {
    flex: 1;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(92, 64, 51, 0.05);
}

.about-content {
    flex: 1;
    font-size: 1.05rem;
    color: var(--text-main);
}

/* 3. 精選菜單（新增餐點圖片參數） */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.menu-item {
    background: var(--card-bg);
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 20px rgba(92, 64, 51, 0.03);
    border: 1px solid rgba(92, 64, 51, 0.02);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(92, 64, 51, 0.07);
}

.menu-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.menu-item:hover .menu-img {
    transform: scale(1.05);
}

.menu-text {
    padding: 30px 25px;
}

.menu-item h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.menu-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: "Noto Sans TC", sans-serif;
    line-height: 1.8;
}

/* 4. 店舗資訊 */
.info-wrapper {
    background-color: var(--card-bg);
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(92, 64, 51, 0.03);
    max-width: 750px;
    margin: 0 auto;
}

.info-item {
    display: flex;
    padding: 22px 0;
    border-bottom: 1px solid rgba(92, 64, 51, 0.06);
    font-size: 1rem;
}

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

.info-label {
    font-weight: 500;
    width: 140px;
    color: var(--accent-color);
    flex-shrink: 0;
    letter-spacing: 2px;
}

.info-value {
    color: var(--text-main);
}

/* 5. 頁尾 */
footer {
    background-color: #2C2520;
    color: #F9F6F0;
    text-align: center;
    padding: 60px 24px;
    margin-top: 100px;
}

.social-links {
    margin-bottom: 25px;
}

.social-links a {
    color: #F9F6F0;
    text-decoration: none;
    margin: 0 20px;
    font-size: 0.9rem;
    opacity: 0.8;
}

footer p {
    font-size: 0.75rem;
    opacity: 0.4;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 手機端 RWD */
@media (max-width: 768px) {
    section { padding: 80px 20px 60px; }
    .hero h1 { font-size: 2.4rem; }
    .nav-links { display: none; }
    .about-container { flex-direction: column; gap: 30px; }
    .about-img { height: 280px; }
    .info-wrapper { padding: 30px 25px; }
    .info-item { flex-direction: column; gap: 5px; }
    .info-label { width: 100%; }
}
