/* ==========================================================
   品萱國際時尚美學 - 服務項目專用 (services.css)
   ========================================================== */

/* --- 1. 內頁結構基礎 --- */
.inner-page-main {
    position: relative;
    width: 100%;
    padding: 60px 0 100px;
}

.inner-page-main section {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 80px;
    clear: both;
}

.section-sub-title {
    font-family: "Cactus Classical Serif", serif;
    font-size: 28px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

/* 針對標題內的副標題（small 標籤）進行優化 */
.section-sub-title small {
    display: block;
    font-size: 14px;
    color: var(--primary-color); 
    opacity: 0.6;
    letter-spacing: 0.2em;
    margin-top: 8px;
    text-transform: uppercase;
}

/* --- 2. 大圖區 (Services 專用) --- */
.page-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 550px;
    background: url('../images/services-bg.jpg') center/cover no-repeat;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.25) 0%, rgba(255, 230, 235, 0.4) 100%);
    display: flex; align-items: center; justify-content: center; text-align: center;
    flex-direction: column;
}

.serif-title {
    font-family: "Cactus Classical Serif", serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 0.15em;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4), 0px 0px 10px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-family: "Cactus Classical Serif", serif;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    opacity: 0.95;
}

/* --- 3. 越式洗髮方案 (AB/CD 並排佈局) --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.price-card {
    background: #fff;
    /* 修正二：加入漸層玫瑰金邊框 (利用 background-clip 達成) */
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(135deg, #e5b0a3, #b76e79, #d4a373) border-box;
    
    padding: 40px 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    text-align: center;
    
    /* 修正一：滑動特效基礎設定 */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), 
                box-shadow 0.4s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 修正一：滑鼠移入特效 (區塊上移、陰影加深) */
.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(183, 110, 121, 0.4); /* 帶有玫瑰金色調的陰影 */
}

.price-card.featured {
    background: linear-gradient(#faf8f6, #faf8f6) padding-box,
                linear-gradient(135deg, #d4af37, #b76e79, #e5b0a3) border-box;
}

.card-header h3 {
    font-family: "Cactus Classical Serif", serif;
    font-size: 30px;
    color: var(--primary-color);
    font-weight: 600;
}

.duration {
    display: inline-block;
    padding: 4px 15px;
    background: #f1e5d9;
    border-radius: 50px;
    font-size: 12px;
    margin-top: 10px;
    color: #888;
}

.price-box { margin: 25px 0; }

/* 修正三：.promo-price 改為適合品萱的玫瑰金 (#b76e79) */
.promo-price {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #b76e79; 
    margin: 15px 0;
}

.original-price {
    font-size: 14px;
    text-decoration: line-through;
    color: #bbb;
}

/* 修正四：.service-items 改為數字編號 */
.service-items {
    text-align: left;
    list-style: decimal; /* 改為數字編號 */
    padding: 20px 0 0 25px; /* 增加左側內距給數字顯示 */
    border-top: 1px solid #f5dcdc;
    flex-grow: 1;
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

.service-items li {
    margin-bottom: 5px;
    padding-left: 5px;
}

/* 移除原本的✦圖示設定 */
.service-items li::before {
    content: none;
}

/* 服務項目介紹文字樣式 */
.service-card p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
    margin-top: 10px;
    padding: 0 15px; /* 避免文字貼邊 */
    font-weight: 500;
}

/* 確保卡片內容垂直置中對齊 */
.service-card {
    text-align: center;
    padding-bottom: 20px;
}

.service-card h3 {
    margin-top: 15px;
    font-family: "Cactus Classical Serif", serif;
    color: var(--primary-color);
}





/* --- 4. 美體美容選單 --- */
.menu-container { display: grid; grid-template-columns: 1fr 1fr; gap: 130px; }
.menu-category { font-family: "Cactus Classical Serif", serif; font-size: 22px; border-bottom: 2px solid #ffc0c0; padding-bottom: 10px; margin-bottom: 25px; color: var(--primary-color); font-weight: 600; }

.menu-category small {
    display: inline-block;
    font-size: 12px;
    font-weight: 400;
    color: #999;
    margin-left: 10px; /* 與中文標題保持間距 */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 修改處：確保價格與第一行標題 (h5) 對齊 */
.menu-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    align-items: baseline; /* 關鍵：讓文字依照基準線對齊 */
	border-bottom: 1px dashed #ddb8b8;
}

.menu-info h5 {
    margin: 0;
    font-size: 17px;
    color: #444;
    line-height: 1.2; /* 統一標題行高 */
}

.menu-price {
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    margin-left: 15px;
    font-size: 17px; /* 建議與 h5 字體大小一致，視覺更整齊 */
    line-height: 1.2; /* 統一價格行高 */
	text-align: right;
}

.simple-price-list { list-style: none; padding: 0; }
.simple-price-list li {
    display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed #ddb8b8;
}

/* --- 5. RWD 手機版調整 --- */
@media (max-width: 768px) {
    .inner-page-main section { width: 92%; margin-bottom: 60px; padding: 0 10px; }
    .page-hero { aspect-ratio: 4 / 3; }
    .pricing-grid, .menu-container { grid-template-columns: 1fr; }
    .price-card { width: 83%; margin: 0 auto; }
}


/* 新增：方案圖片樣式 */
.card-image {
    width: 100%;
    margin: 20px 0 10px; /* 上方距標題 20px，下方距價格 10px */
    overflow: hidden;
    border-radius: 12px; /* 讓圖片邊角圓潤，符合品牌調性 */
    display: flex;
    justify-content: center;
}

.card-image img {
    width: 100%;       /* 寬度填滿容器 */
    max-width: 400px;  /* 限制最大寬度，避免圖片過大壓迫文字 */
    height: auto;      /* 高度自動縮放 */
    object-fit: cover; /* 確保比例不失真 */
    transition: transform 0.5s ease; /* 增加懸停縮放效果的平滑度 */
}

/* 懸停時圖片微幅放大效果 */
.price-card:hover .card-image img {
    transform: scale(1.05);
}



/* 手機版微調 */
@media (max-width: 768px) {
    .card-image img {
        max-width: 250px; /* 手機版圖片縮小一點 */
    }
}

/* --- 5. RWD 手機版調整 --- */
@media (max-width: 768px) {
    /* 其他現有樣式... */
    .inner-page-main section { 
        width: 92%; 
        margin-bottom: 60px; 
        padding: 0 10px; 
    }

    /* 修正：縮減手機版選單容器的間距 */
    .menu-container { 
        grid-template-columns: 1fr; 
        gap: 40px; /* 原本可能是 130px，手機版改為 40px 較為美觀 */
    }

    /* 針對獨立出來的彩妝造型區塊，也確保間距一致 */
    #makeup .menu-container {
        margin-top: 30px !important; /* 縮減大標題與內容的距離 */
    }
}