    /* 導覽列容器 */
.main-nav {
    position: absolute; 
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-sizing: border-box;
    z-index: 1000;

    /* 深色背景確保文字清晰 */
    background: rgba(109, 98, 89, 0); 

    transition: 0.3s;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    z-index: 1001;
}

.nav-logo .logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid #fff;
    object-fit: cover;
}

.nav-logo span {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
}

/* 漢堡選單圖示 */
.menu-toggle {
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px auto;
    background-color: white;
    transition: 0.3s;
}

/* 點擊後的漢堡動畫 */
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* 選單主體 (預設隱藏在右側) */
.nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #fff;
    padding: 100px 40px;
    transition: 0.4s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-menu.is-active {
    right: 0;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 25px;
}

.nav-item a {
    text-decoration: none;
    color: #6d6257;
    font-size: 1.1rem;
    font-weight: 400;
    display: block;
    transition: 0.3s;
}

.nav-item a:hover { color: #c5a059; }

/* 預約按鈕樣式 */
.nav-btn {
    background: #c5a059;
    color: white !important;
    text-align: center;
    padding: 10px;
    border-radius: 2px;
    margin-top: 20px;
}

/* 第二階下拉選單 CSS */
.dropdown-menu {
    list-style: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease-out;
    background: #fcfaf7;
}

.dropdown-menu li {
    padding: 10px 0;
}

.dropdown-menu li a {
    font-size: 0.95rem;
    color: #888;
}

.nav-item.active .dropdown-menu {
    max-height: 300px; /* 展開高度 */
    margin-top: 10px;
}

.nav-item.active .dropdown-toggle i {
    transform: rotate(180deg);
}

/* 遮罩層 */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 999;
}

.nav-overlay.is-active {
    display: block;
}

/* 適應手機版時縮小寬度 */
@media (max-width: 768px) {
    .nav-menu { width: 80%; }
}


/* --- 修正：當選單開啟(is-active)時，將漢堡按鈕線條改為深色 --- */

/* 1. 讓三條線變色 (使用您的品牌深褐色或金色) */
.menu-toggle.is-active .bar {
    background-color: #6d6257; /* 或是使用 var(--text-dark) */
}

/* 2. (選配) 如果您希望選單展開時，Logo 文字也變色以免看不見 */
.nav-menu.is-active ~ .nav-logo span {
    color: #6d6257;
}

/* 3. 確保漢堡按鈕在選單之上 */
.menu-toggle {
    z-index: 1002; /* 必須大於 .nav-menu 的 1000 */
}