/* --- 全局設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth; /* 點擊選單會平滑滾動 */
}

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: #050505; /* 極致黑 */
    color: #f0f0f0;
    line-height: 1.6;
}

/* --- 導覽列 (Navbar) --- */
/* =========================================
   導覽列設定 (包含電腦與手機版) - 請複製這整段
   ========================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px; /* 固定高度，避免版面亂跳 */
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.95); /* 深黑背景 */
    z-index: 1000; /* 確保在最上層 */
    border-bottom: 1px solid #333;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
    letter-spacing: 1px;
    z-index: 1001;
}

/* --- 電腦版選單設定 --- */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-btn {
    background: #d4af37;
    color: #000 !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
}

/* --- 漢堡按鈕 (電腦版預設隱藏) --- */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: #d4af37;
    cursor: pointer;
}

/* =========================================
   📱 手機版專用設定 (螢幕小於 768px 時執行)
   ========================================= */
@media screen and (max-width: 768px) {
    
    /* 1. 讓漢堡按鈕出現 */
    .menu-toggle {
        display: block;
    }

    /* 2. 手機版選單：原本是橫的，強制改成直的並藏起來 */
    .nav-links {
        position: absolute;
        top: 80px; /* 剛好接在導覽列下方 */
        left: 0;
        width: 100%;
        background-color: #000; /* 純黑背景 */
        
        flex-direction: column; /* 變成直排 */
        align-items: center;
        padding: 30px 0;
        border-bottom: 2px solid #d4af37;
        
        /* 關鍵：預設隱藏！ */
        display: none;
        
        /* 加一點滑動特效 */
        animation: slideDown 0.3s ease-out;
    }

    /* 3. 當 JS 加上 active 類別時，才顯示 */
    .nav-links.active {
        display: flex;
    }

    /* 拉大手機版連結間距 */
    .nav-links li {
        margin: 20px 0;
        width: 100%;
        text-align: center;
    }
}

/* 選單滑入動畫 */
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Hero 區塊 --- */
.hero {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* 這裡記得改回你的 bg.webp */
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,1)), url('bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.main-title {
    font-size: 4rem;
    margin-bottom: 10px;
    background: -webkit-linear-gradient(#fff, #999);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* 文字漸層質感 */
    text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.sub-title {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 40px;
    letter-spacing: 5px;
}

/* --- 按鈕特效 --- */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.4s;
    letter-spacing: 2px;
}

.btn:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 20px #d4af37; /* 發光特效 */
}

/* --- 區塊共用 --- */
.section-dark { background: #111; padding: 100px 20px; }
.section-black { background: #000; padding: 100px 20px; }
.container { max-width: 1200px; margin: 0 auto; }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #d4af37;
    margin-bottom: 10px;
}
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
}

/* --- 服務卡片 --- */
.services-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.service-card {
    background: #1a1a1a;
    padding: 40px 20px;
    border-radius: 5px;
    text-align: center;
    width: 300px;
    transition: 0.3s;
    border: 1px solid #333;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
}

.icon-gold { font-size: 3rem; color: #d4af37; margin-bottom: 20px; }

/* --- 師傅陣容 (重點設計) --- */
.team-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.masseur-card {
    width: 300px;
    background: #111;
    border-radius: 10px;
    overflow: hidden; /* 讓圖片放大時不會超出格子 */
}

.img-box {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* 滑鼠移過去，照片放大 */
.masseur-card:hover .img-box img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.masseur-card:hover .overlay { opacity: 1; }

.view-btn {
    border: 1px solid #fff;
    padding: 10px 20px;
    color: #fff;
    font-size: 0.9rem;
}

.masseur-info {
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid #d4af37;
}

.masseur-info h3 { font-size: 1.5rem; color: #fff; margin-bottom: 5px; }
.masseur-info p { color: #888; font-size: 0.9rem; }

/* --- 懸浮按鈕 (Float Button) --- */
.float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #06c755; /* LINE 綠色 */
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(6, 199, 85, 0.4);
    z-index: 9999;
    transition: 0.3s;
    animation: pulse 2s infinite; /* 呼吸燈動畫 */
}

.float-btn:hover { transform: scale(1.05); }

/* 定義呼吸動畫 */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(6, 199, 85, 0); }
    100% { box-shadow: 0 0 0 0 rgba(6, 199, 85, 0); }
}

/* --- 捲動特效 (Scroll Reveal) --- */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* --- 新增：內頁通用樣式 (SEO 文章與隱私權用) --- */
.page-header {
    height: 40vh; /* 比較矮的標題區塊 */
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.5), #050505), url('bg.webp');
    background-size: cover;
    background-position: center;
}

.page-container {
    max-width: 800px; /* 文章不需要太寬，這樣閱讀體驗好 */
    margin: 50px auto;
    padding: 20px;
    background: #111;
    border-radius: 10px;
    border: 1px solid #333;
}

.page-content h2 { color: #d4af37; margin-top: 30px; margin-bottom: 15px; }
.page-content p { margin-bottom: 20px; color: #ccc; font-size: 1.1rem; }
.page-content ul { margin-bottom: 20px; padding-left: 20px; color: #ccc; }
.page-content li { margin-bottom: 10px; }

/* 部落格列表樣式 */
.blog-list-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #333;
    transition: 0.3s;
    text-decoration: none;
}
.blog-list-item:hover { background: #1a1a1a; }
.blog-date { color: #d4af37; font-size: 0.9rem; min-width: 100px; }
.blog-info h3 { color: #fff; margin-bottom: 10px; font-size: 1.3rem; }
.blog-info p { color: #888; }
/* --- 頁尾樣式 (Footer) --- */
.main-footer {
    background-color: #000; /* 純黑底色 */
    padding: 40px 20px;
    border-top: 1px solid #333; /* 上面加一條深灰色的線，增加層次 */
    margin-top: 50px; /* 讓頁尾跟上面的內容保持距離 */
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #d4af37; /* 滑鼠移過去變金色 */
}

.divider {
    color: #444;
    margin: 0 10px;
}

.copyright p {
    color: #666;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

/* 特別強調行銷公司的樣式 */
.marketing-credit {
    color: #888 !important; /* 字體稍微亮一點 */
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 1px; /* 字距拉開一點，比較有質感 */
}/* --- 療程價目頁面專屬樣式 (Services Page) --- */

.service-header {
    height: 50vh; /* 標題區高度 */
    background-image: linear-gradient(to top, #000, rgba(0,0,0,0.2)), url('bg.webp'); /* 沿用你的帥哥背景 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* 類別標題 */
.category-title {
    color: #d4af37;
    font-size: 2rem;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

.category-desc {
    color: #888;
    margin-bottom: 30px;
}

/* 價目列表容器 */
.price-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 🔥 核心：價目卡片設計 (華麗特效區) */
.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03); /* 極淡的透明白 */
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* 彈性動畫 */
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* 滑鼠移上去的特效：變亮、浮起、邊框發光 */
.price-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px) scale(1.01);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15); /* 金色光暈 */
}

/* 左側文字資訊 */
.price-info h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-info p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

/* 標籤 (Hashtags) */
.tags span {
    font-size: 0.8rem;
    color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

/* 右側價格 */
.price-tag {
    text-align: right;
    min-width: 120px;
}

.price-tag .time {
    display: block;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.price-tag .amount {
    display: block;
    color: #d4af37;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

.price-tag small {
    font-size: 0.8rem;
    color: #666;
}

/* 熱門標籤徽章 */
.badge {
    font-size: 0.7rem;
    background: #c92a2a; /* 紅色 */
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: middle;
}

/* 特別推薦的金色卡片特效 */
.glow-gold {
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(145deg, rgba(20,20,20,1) 0%, rgba(30,30,20,1) 100%);
}

/* 手機版適配 (RWD) */
@media (max-width: 768px) {
    .price-item {
        flex-direction: column; /* 手機版變垂直排列 */
        align-items: flex-start;
        text-align: left;
    }
    
    .price-tag {
        margin-top: 15px;
        text-align: left;
        width: 100%;
        border-top: 1px solid #333;
        padding-top: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}/* --- 徵才頁面專屬樣式 (Recruit Page) --- */

.recruit-header {
    height: 60vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), #000), url('team1.webp'); /* 可以換成你最帥的一張師傅照 */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* 福利卡片區 */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 自動適應寬度 */
    gap: 30px;
    margin-top: 40px;
}

.benefit-card {
    background: #111;
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid #333;
    text-align: center;
    transition: 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
    border-color: #d4af37;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1); /* 金色光暈 */
}

.benefit-icon {
    font-size: 3rem;
    color: #d4af37;
    margin-bottom: 20px;
}

.benefit-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: #aaa;
    line-height: 1.6;
}

/* 應徵條件區塊 */
.requirements-box {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
    border-left: 5px solid #d4af37;
    padding: 50px;
    border-radius: 10px;
    max-width: 900px;
    margin: 0 auto;
}

.req-content h3 {
    color: #d4af37;
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.req-list {
    list-style: none;
    margin-bottom: 40px;
}

.req-list li {
    color: #ddd;
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

/* 清單前面的金色小勾勾 */
.req-list li::before {
    content: '\f00c'; /* FontAwesome 的勾勾代碼 */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #d4af37;
    position: absolute;
    left: 0;
    top: 2px;
}

.cta-area {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 30px;
}

.cta-area p {
    color: #888;
    margin-bottom: 20px;
 