/* ==================================================
   富順樓｜中式古色古香風
   深棗紅 × 胡桃木 × 宣紙米白 × 古銅金
================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        "Noto Serif TC",
        "PMingLiU",
        "Microsoft JhengHei",
        serif;

    background: #efe6d2;
    color: #3a2d20;

    line-height: 1.8;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    -webkit-tap-highlight-color: transparent;
}


/* ==================================================
   HEADER
================================================== */

header {
    width: 100%;
    min-height: 78px;

    padding: 0 7%;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: sticky;
    top: 0;

    z-index: 9999;

    background:
        linear-gradient(
            180deg,
            #4d1715 0%,
            #37100f 100%
        );

    border-bottom: 2px solid #9b7442;

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.25);
}


/* Logo */

.logo {
    color: #f2dfb5;
    text-decoration: none;

    font-family:
        "Noto Serif TC",
        "PMingLiU",
        serif;

    font-size: 31px;
    font-weight: 700;

    letter-spacing: 7px;

    white-space: nowrap;

    text-shadow: none;
}

.logo::after {
    content: "";

    display: block;

    width: 48px;
    height: 2px;

    margin-top: 4px;

    background:
        linear-gradient(
            90deg,
            transparent,
            #c39a5a,
            transparent
        );
}


/* 導覽列 */

nav {
    display: flex;
    align-items: center;

    gap: 34px;
}

nav a {
    position: relative;

    color: #f0dfc0;

    text-decoration: none;

    font-size: 15px;

    letter-spacing: 3px;

    transition: 0.3s;
}

nav a::before {
    content: "◆";

    position: absolute;

    left: -17px;

    color: #a67d43;

    font-size: 8px;

    opacity: 0;
    transition: 0.3s;
}

nav a:hover {
    color: #d5b06b;
}

nav a:hover::before {
    opacity: 1;
}


/* 漢堡按鈕 */

.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    color: #d6b16a;

    font-size: 28px;

    cursor: pointer;
}


/* ==================================================
   首頁 HERO
================================================== */

#home {
    position: relative;

    min-height: calc(100vh - 78px);

    padding: 80px 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    overflow: hidden;

    background:
        linear-gradient(
            rgba(38, 15, 10, 0.52),
            rgba(38, 15, 10, 0.68)
        ),
        url("images/hero-duck.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* 中式窗格裝飾 */

#home::before,
#home::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    border: 2px solid rgba(202, 165, 99, 0.22);

    transform: rotate(45deg);
}

#home::before {
    left: -110px;
    top: 90px;
}

#home::after {
    right: -110px;
    bottom: 90px;
}


/* 中間內容 */

.hero-content {
    position: relative;

    z-index: 2;

    max-width: 900px;

    padding: 50px 55px;

    border: 1px solid rgba(201, 161, 94, 0.35);

    background: rgba(59, 23, 17, 0.16);

    box-shadow:
        inset 0 0 0 6px rgba(113, 72, 36, 0.08);
}


/* 小標 */

.hero-small {
    color: #d2ab69;

    font-size: 14px;

    letter-spacing: 10px;

    margin-bottom: 20px;
}


/* 富順樓 */

#home h2 {
    color: #f3dfb2;

    font-family:
        "Noto Serif TC",
        "PMingLiU",
        serif;

    font-size: clamp(68px, 9vw, 112px);

    font-weight: 700;

    letter-spacing: 16px;

    line-height: 1.2;

    margin-bottom: 24px;

    text-shadow: none;
}


/* 副標 */

.hero-subtitle {
    color: #ead8b9;

    font-size: 18px;

    letter-spacing: 6px;

    margin-bottom: 45px;
}


/* ==================================================
   BUTTON
================================================== */

.hero-buttons {
    display: flex;
    justify-content: center;

    gap: 18px;
}

.btn {
    display: inline-block;

    min-width: 150px;

    padding: 12px 25px;

    text-decoration: none;
    text-align: center;

    border-radius: 0;

    font-size: 15px;

    letter-spacing: 3px;

    transition: 0.3s;
}


/* 棗紅按鈕 */

.btn-primary {
    background:
        linear-gradient(
            180deg,
            #8a312b,
            #6b201c
        );

    border: 1px solid #b68a4f;

    color: #f1dfbd;

    box-shadow:
        inset 0 0 0 2px rgba(255, 236, 188, 0.06);
}

.btn-primary:hover {
    background: #a13d34;

    transform: translateY(-2px);
}


/* 宣紙框按鈕 */

.btn-outline {
    background: rgba(245, 226, 191, 0.05);

    border: 1px solid #b89054;

    color: #e0bf80;
}

.btn-outline:hover {
    background: #b68a4f;

    color: #3c1f15;

    transform: translateY(-2px);
}


/* ==================================================
   共用 SECTION
================================================== */

section {
    padding: 110px 8%;

    text-align: center;
}

section h2,
.menu-page-title h2,
.category-heading h2,
.branch-card h3,
.menu-card h3,
.signature-content h2,
footer h3 {
    font-family:
        "Noto Serif TC",
        "PMingLiU",
        serif;

    font-weight: 700;

    text-rendering: optimizeLegibility;
}

.section-small {
    color: #9c7445;

    font-size: 12px;

    letter-spacing: 7px;

    margin-bottom: 12px;
}

.section-description {
    max-width: 720px;

    margin: auto;

    color: #75614a;

    font-size: 16px;

    line-height: 2.2;
}


/* ==================================================
   招牌北平烤鴨
================================================== */

.signature-section {
    max-width: 1400px;

    margin: 0 auto;

    padding: 100px 8%;

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    align-items: center;

    gap: 70px;

    background: #efe3cd;

    text-align: left;
}

.signature-image {
    position: relative;

    padding: 10px;

    border: 1px solid #a9824d;
}

.signature-image::before {
    content: "";

    position: absolute;

    top: -10px;
    left: -10px;

    width: 50px;
    height: 50px;

    border-top: 2px solid #7b3027;
    border-left: 2px solid #7b3027;
}

.signature-image::after {
    content: "";

    position: absolute;

    right: -10px;
    bottom: -10px;

    width: 50px;
    height: 50px;

    border-right: 2px solid #7b3027;
    border-bottom: 2px solid #7b3027;
}

.signature-image img {
    display: block;

    width: 100%;

    aspect-ratio: 4 / 3;

    object-fit: cover;
}

.signature-content {
    padding: 20px 0;
}

.signature-content .section-small {
    color: #9b7442;
}

.signature-content h2 {
    color: #6f2d24;

    font-size: 44px;

    letter-spacing: 7px;

    margin-bottom: 25px;
}

.signature-content p {
    color: #665443;

    font-size: 17px;

    line-height: 2.3;

    margin-bottom: 32px;
}


/* ==================================================
   首頁精選料理
================================================== */

#menu {
    background:
        linear-gradient(
            rgba(246, 239, 224, 0.96),
            rgba(236, 225, 205, 0.96)
        );
}

.menu-cards {
    max-width: 1200px;

    margin: 60px auto 0;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 20px;
}

.menu-card {
    position: relative;

    min-height: 280px;

    padding: 55px 35px;

    background: #f2e5cd;

    border: 1px solid #b89a69;

    box-shadow:
        inset 0 0 0 6px #ead9bb,
        0 8px 20px rgba(74, 44, 23, 0.08);

    display: flex;
    flex-direction: column;
    justify-content: center;

    transition: 0.35s;
}

.menu-card::before,
.menu-card::after {
    content: "";

    position: absolute;

    width: 28px;
    height: 28px;

    border-color: #9b7442;
    border-style: solid;
}

.menu-card::before {
    top: 8px;
    left: 8px;

    border-width: 2px 0 0 2px;
}

.menu-card::after {
    right: 8px;
    bottom: 8px;

    border-width: 0 2px 2px 0;
}

.menu-card:hover {
    transform: translateY(-5px);

    box-shadow:
        inset 0 0 0 6px #ead9bb,
        0 14px 30px rgba(74, 44, 23, 0.16);
}

.menu-card h3 {
    color: #7e3128;

    font-size: 25px;

    font-weight: 500;

    letter-spacing: 4px;

    margin-bottom: 18px;
}

.menu-card p {
    color: #75614a;

    font-size: 15px;

    line-height: 2.1;
}

.menu-more {
    margin-top: 40px;
}


/* ==================================================
   關於我們
================================================== */

#about {
    background:
        linear-gradient(
            135deg,
            #5a241f,
            #3d1714
        );

    color: #f0dfc4;
}

#about .section-small {
    color: #c19a5a;
}

#about h2 {
    color: #efd49d;
}

.about-text {
    max-width: 800px;

    margin: auto;

    color: #e2d0b5;

    font-size: 18px;

    line-height: 2.5;
}


/* ==================================================
   分店資訊
================================================== */

#branches {
    background: #e9dcc4;
}

.branch-cards {
    max-width: 1200px;

    margin: 60px auto 0;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}

.branch-card {
    position: relative;

    padding: 50px 40px;

    background:
        linear-gradient(
            180deg,
            #4a211b,
            #321713
        );

    border: 1px solid #a47a45;

    text-align: left;

    box-shadow:
        inset 0 0 0 5px rgba(183, 140, 76, 0.08),
        0 10px 24px rgba(55, 29, 16, 0.14);

    overflow: hidden;

    transition: 0.35s;
}

.branch-card:hover {
    transform: translateY(-4px);

    border-color: #c7a05c;

    box-shadow:
        inset 0 0 0 5px rgba(183, 140, 76, 0.11),
        0 15px 30px rgba(55, 29, 16, 0.22);
}

.branch-title {
    position: absolute;

    top: 20px;
    right: 24px;

    color: #b78c4c;

    font-size: 11px;

    letter-spacing: 5px;
}

.branch-card h3 {
    color: #ecd3a1;

    font-size: 26px;

    font-weight: 500;

    letter-spacing: 3px;

    margin-bottom: 22px;
}

.branch-card p {
    color: #d7c5aa;

    font-size: 15px;

    line-height: 2;
}

.branch-buttons {
    margin-top: 28px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


/* ==================================================
   完整菜單頁
================================================== */

.full-menu {
    min-height: 100vh;

    background:
        linear-gradient(
            180deg,
            #f0e6d2,
            #eadcc3
        );

    color: #3b2c1e;
}

.menu-page-title {
    padding: 95px 20px 55px;

    text-align: center;

    background:
        linear-gradient(
            180deg,
            #4a1b18,
            #32110f
        );

    border-bottom: 2px solid #9a7444;
}

.menu-page-title p {
    color: #c29a59;

    font-size: 12px;

    letter-spacing: 8px;

    margin-bottom: 12px;
}

.menu-page-title h2 {
    color: #f0d7a3;

    font-size: 49px;

    font-weight: 500;

    letter-spacing: 8px;

    margin-bottom: 14px;
}

.menu-page-title span {
    color: #ddc8aa;

    font-size: 15px;

    letter-spacing: 4px;
}


/* ==================================================
   菜單搜尋
================================================== */

.menu-search {
    max-width: 650px;

    margin: 45px auto 20px;

    padding: 0 20px;
}

.menu-search input {
    width: 100%;

    padding: 15px 18px;

    background: rgba(255, 250, 238, 0.45);

    color: #3d2d1f;

    border: none;
    border-bottom: 2px solid #9f7744;

    outline: none;

    font-family: inherit;

    font-size: 16px;
}

.menu-search input::placeholder {
    color: #8b7a65;
}

.menu-search input:focus {
    border-bottom-color: #6f2d24;
}


/* ==================================================
   菜單分類
================================================== */

.menu-filter {
    position: sticky;

    top: 78px;

    z-index: 100;

    max-width: 1200px;

    margin: 0 auto;

    padding: 18px 20px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    background: rgba(239, 230, 211, 0.97);

    border-top: 1px solid rgba(154, 116, 68, 0.22);
    border-bottom: 1px solid rgba(154, 116, 68, 0.22);
}

.filter-btn {
    padding: 8px 18px;

    background: transparent;

    color: #6f392a;

    border: 1px solid rgba(115, 70, 41, 0.42);

    font-family: inherit;

    font-size: 14px;

    letter-spacing: 2px;

    cursor: pointer;

    transition: 0.25s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #7a2d27;

    border-color: #7a2d27;

    color: #f3dfb8;
}


/* ==================================================
   菜單內容
================================================== */

.food-category {
    max-width: 1100px;

    margin: auto;

    padding: 70px 30px;

    text-align: left;
}

.food-category + .food-category {
    border-top: 1px solid #c8b18a;
}

.category-heading {
    margin-bottom: 38px;
}

.category-heading p {
    color: #a47b47;

    font-size: 11px;

    letter-spacing: 6px;

    margin-bottom: 6px;
}

.category-heading h2 {
    color: #6d2b22;

    font-size: 35px;

    font-weight: 500;

    letter-spacing: 5px;

    margin: 0;
}

.food-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    column-gap: 70px;
}

.food-item {
    min-height: 66px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    border-bottom: 1px dotted #b3a083;
}

.food-item span {
    color: #443426;

    font-size: 18px;

    letter-spacing: 1px;
}

.food-item strong {
    color: #7a3528;

    font-size: 17px;

    font-weight: 500;

    white-space: nowrap;
}


/* ==================================================
   北平烤鴨特殊菜單卡
================================================== */

.special-item {
    margin-bottom: 35px;

    padding: 28px 32px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background:
        linear-gradient(
            180deg,
            #4b1e19,
            #351410
        );

    color: #f0dec1;

    border: 1px solid #ad8147;

    box-shadow:
        inset 0 0 0 5px rgba(185, 141, 76, 0.08);
}

.special-item h3 {
    font-size: 24px;

    font-weight: 500;

    letter-spacing: 3px;

    margin-top: 5px;
}

.special-item strong {
    color: #d6ad68;

    font-size: 22px;
}

.special-label {
    color: #bd9250;

    font-size: 11px;

    letter-spacing: 4px;
}


/* 菜單注意事項 */

.menu-notice {
    padding: 20px 20px 90px;

    text-align: center;

    color: #7b6a57;

    font-size: 14px;
}


/* ==================================================
   FOOTER
================================================== */

footer {
    padding: 70px 25px 45px;

    background:
        linear-gradient(
            180deg,
            #351411,
            #23100d
        );

    color: #f0dfc0;

    text-align: center;

    border-top: 2px solid #8f6a3c;
}

footer h3 {
    color: #f0d7a2;

    font-size: 28px;

    font-weight: 500;

    letter-spacing: 8px;

    margin-bottom: 10px;
}

footer p {
    color: #c6b294;

    font-size: 14px;

    line-height: 2;
}

.footer-location-title {
    margin-top: 30px;
    margin-bottom: 12px;

    color: #d0a761;

    font-size: 13px;

    letter-spacing: 5px;
}


/* 分店按鈕 */

.footer-branches {
    max-width: 900px;

    margin: 18px auto 28px;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px;
}

.footer-branches a {
    padding: 9px 17px;

    color: #e3c188;

    text-decoration: none;

    border: 1px solid rgba(196, 153, 85, 0.55);

    font-size: 14px;

    letter-spacing: 2px;

    transition: 0.25s;
}

.footer-branches a:hover {
    background: #a47b43;

    color: #2b130f;
}


/* 電話 */

.footer-phones {
    max-width: 900px;

    margin: auto;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px 24px;
}

.footer-phones a {
    color: #bba789;

    text-decoration: none;

    font-size: 13px;

    transition: 0.2s;
}

.footer-phones a:hover {
    color: #e0bd7d;
}

.copyright {
    margin-top: 35px;

    color: #76614a;

    font-size: 11px;

    letter-spacing: 1px;
}


/* ==================================================
   手機版
================================================== */

@media (max-width: 768px) {

    /* Header */

    header {
        min-height: 68px;
        padding: 0 20px;
        flex-direction: row;
    }

    .logo {
        font-size: 23px;
        letter-spacing: 5px;
    }

    .logo::after {
        width: 32px;
    }

    .menu-toggle {
        display: block;
    }


    /* 手機導覽列 */

    #mainNav {
        display: none;

        position: absolute;

        top: 100%;
        left: 0;

        width: 100%;

        padding: 5px 0 15px;

        background:
            linear-gradient(
                180deg,
                #481713,
                #2c0e0c
            );

        flex-direction: column;

        gap: 0;

        border-bottom: 1px solid #8c6338;
    }

    #mainNav.active {
        display: flex;
    }

    #mainNav a {
        width: 100%;

        padding: 16px 25px;

        text-align: center;

        border-top:
            1px solid rgba(234, 205, 157, 0.08);

        font-size: 15px;
    }

    #mainNav a::before {
        display: none;
    }


    /* 首頁 HERO */

    #home {
    position: relative;

    min-height: calc(100vh - 78px);

    padding: 80px 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    overflow: hidden;

    background-image: url("/images/hero-duck.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .hero-content {
        padding: 40px 22px;
    }

    #home h2 {
        font-size: 56px;

        letter-spacing: 12px;

        margin-bottom: 22px;
    }

    .hero-small {
        font-size: 11px;

        letter-spacing: 6px;
    }

    .hero-subtitle {
        font-size: 14px;

        letter-spacing: 3px;

        line-height: 2;

        margin-bottom: 38px;
    }

    .hero-buttons {
        flex-direction: column;

        align-items: center;
    }

    .hero-buttons .btn {
        width: 200px;
    }


    /* 一般區塊 */

    section {
        padding: 80px 22px;
    }

    section h2 {
        font-size: 33px;
    }


    /* 首頁招牌烤鴨 */

    .signature-section {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 70px 22px;
    }

    .signature-content {
        text-align: center;
    }

    .signature-content h2 {
        font-size: 34px;

        letter-spacing: 5px;
    }

    .signature-content p {
        font-size: 16px;
    }


    /* 首頁菜單 */

    .menu-cards {
        grid-template-columns: 1fr;
    }

    .menu-card {
        min-height: 220px;

        padding: 42px 25px;
    }


    /* 分店 */

    .branch-cards {
        grid-template-columns: 1fr;
    }

    .branch-card {
        padding: 45px 25px;
    }

    .branch-buttons {
        flex-direction: column;
    }

    .branch-buttons .btn {
        width: 100%;
    }


    /* 菜單頁標題 */

    .menu-page-title {
        padding: 70px 20px 40px;
    }

    .menu-page-title h2 {
        font-size: 36px;

        letter-spacing: 5px;
    }

    .menu-page-title span {
        font-size: 12px;

        letter-spacing: 2px;
    }


    /* 菜單搜尋 */

    .menu-search {
        margin-top: 30px;
    }


    /* 菜單分類 */

    .menu-filter {
        top: 68px;

        justify-content: flex-start;

        flex-wrap: nowrap;

        overflow-x: auto;

        scrollbar-width: none;
    }

    .menu-filter::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
    }


    /* 菜單內容 */

    .food-category {
        padding: 55px 22px;
    }

    .food-list {
        grid-template-columns: 1fr;
    }

    .food-item {
        min-height: 62px;
    }

    .food-item span {
        font-size: 17px;
    }

    .category-heading h2 {
        font-size: 30px;
    }

    .special-item {
        padding: 22px 20px;
    }


    /* Footer */

    footer {
        padding: 60px 20px 35px;
    }

    .footer-branches {
        padding: 0;
    }

    .footer-phones {
        flex-direction: column;

        gap: 11px;
    }

}


/* ==================================================
   菜單頁北平烤鴨圖片
================================================== */



/* ==================================================
   手機版北平烤鴨圖片
================================================== */

