/*--------------------------------------------------------------
  美人湯美容名店 · Design System
  Primary   : #E9B4BC  (玫瑰粉)
  Hover/Light: #F2CDD2 (蜜桃粉)
  Accent    : #C17F8A  (酒紅玫瑰)
  Gold      : #C6A968  (香檳金)
  Text      : #3E2A2E  (深可可)
  BG cream  : #FBF6F1  (米白)
  White     : #FFFFFF
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Reset / Base
--------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }

body {
  background: #FBF6F1;
  color: #3E2A2E;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

a {
  color: #C17F8A;
  transition: color 0.3s, background 0.3s;
}
a:hover, a:active, a:focus {
  color: #E9B4BC;
  outline: none;
  text-decoration: none;
}

p { padding: 0; margin: 0 0 20px 0; }

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", "Noto Serif TC", sans-serif;
  font-weight: 600;
  margin: 0 0 16px 0;
  padding: 0;
  color: #3E2A2E;
}

img { max-width: 100%; height: auto; }

/*--------------------------------------------------------------
# Back to Top
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  background: #C17F8A;
  color: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  right: 18px;
  bottom: 18px;
  transition: background 0.3s, transform 0.3s;
  z-index: 999;
}
.back-to-top:hover {
  background: #C6A968;
  color: #fff;
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Hero Header
--------------------------------------------------------------*/
#site-header {
  background: linear-gradient(155deg, #D4A5AD 0%, #E9B4BC 45%, #F7E2E5 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* subtle radial glow overlay */
#site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 85%, rgba(255,255,255,0.07) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(255,255,255,0.07) 0%, transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 56px 20px 52px;
  z-index: 1;
}

/* 裝飾金線 */
.hero-deco-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 18px;
  max-width: 260px;
}
.hero-deco-line span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(198,169,104,0.7), transparent);
}
.hero-deco-line i {
  color: #C6A968;
  font-size: 10px;
  opacity: 0.85;
}
.hero-deco-line--sm { margin-bottom: 14px; max-width: 180px; }

/* 地點標記 */
.hero-location {
  color: rgba(255,255,255,0.7);
  font-size: 0.78rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
  padding: 4px 18px;
  border-radius: 20px;
}

/* 店名 */
.hero-shop-name {
  color: #ffffff;
  font-size: clamp(1.9rem, 6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 5px;
  text-shadow: 0 2px 12px rgba(62,42,46,0.35);
  margin-bottom: 14px;
  font-family: "Noto Serif TC", "Montserrat", sans-serif;
}

/* 標語 */
.hero-tagline {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

/* 電話 */
.hero-phone {
  margin-bottom: 28px;
}
.hero-phone a {
  color: #ffffff;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(62,42,46,0.3);
  text-decoration: none;
}
.hero-phone a:hover { color: #F2CDD2; }

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 13px 36px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 4px 0 4px 0;
  border: 2px solid transparent;
  transition: all 0.3s;
  text-decoration: none;
  white-space: nowrap;
}

.hero-btn--call {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border-color: rgba(255,255,255,0.55);
  backdrop-filter: blur(6px);
}
.hero-btn--call:hover {
  background: #ffffff;
  color: #C17F8A;
  border-color: #ffffff;
}

.hero-btn--line {
  background: #00B900;
  color: #ffffff;
  border-color: #00B900;
}
.hero-btn--line:hover {
  background: #009600;
  border-color: #009600;
  color: #ffffff;
}

@media (max-width: 480px) {
  .hero-inner { padding: 44px 16px 40px; }
  .hero-btn { padding: 12px 24px; font-size: 0.88rem; }
}

/*--------------------------------------------------------------
# Navigation Links Bar
--------------------------------------------------------------*/
#nav-links {
  background: #FFFFFF;
  border-top: 3px solid #E9B4BC;
  border-bottom: 1px solid #F2CDD2;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(233,180,188,0.18);
}

/* 電腦／平板：flex 一列六個 */
.nav-links-container {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 8px;
}

.btn-nav-link {
  display: inline-block;
  padding: 8px 16px;
  background: #FBF6F1;
  color: #C17F8A;
  border: 1.5px solid #E9B4BC;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  white-space: nowrap;
  text-align: center;
}
.btn-nav-link:hover {
  background: linear-gradient(135deg, #E9B4BC, #C17F8A);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 3px 10px rgba(156,90,99,0.25);
  text-decoration: none;
}

/* 手機：grid 固定 3 欄，兩行整齊排列 */
@media (max-width: 767px) {
  .nav-links-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 0 4px;
  }
  .btn-nav-link {
    padding: 7px 4px;
    font-size: 0.76rem;
    white-space: normal;
    border-radius: 16px;
  }
}

/* nav 捲動置頂後縮小 */
#nav-links {
  transition: padding 0.25s ease;
}
#nav-links.nav-compact {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
#nav-links.nav-compact .btn-nav-link {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 14px;
}
@media (max-width: 767px) {
  #nav-links.nav-compact .btn-nav-link {
    padding: 4px 4px;
    font-size: 0.72rem;
  }
}

/*--------------------------------------------------------------
# Announcement Section
--------------------------------------------------------------*/
#announcement {
  padding: 18px 0 10px;
}
.announcement-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FDE8EC;
  border-left: 4px solid #E9B4BC;
  border-radius: 0 8px 8px 0;
  padding: 14px 20px;
  max-width: 680px;
  margin: 0 auto;
}
.announcement-icon {
  color: #C17F8A;
  font-size: 1.1rem;
  flex-shrink: 0;
  padding-top: 2px;
}
.announcement-text {
  color: #3E2A2E;
  font-size: 0.95rem;
  line-height: 1.75;
  word-break: break-all;
}

/*--------------------------------------------------------------
# Sections — Common
--------------------------------------------------------------*/
#main { }

.sec-padding { padding: 70px 0; }

@media (max-width: 767px) {
  .sec-padding { padding: 40px 0; }
}

/* Section header */
.section-header { margin-bottom: 28px; }

.section-header h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  color: #C17F8A;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 16px;
  text-align: center;
  margin-bottom: 6px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #C6A968, transparent);
}

.section-header p {
  padding: 0;
  margin: 0;
  text-align: center;
  color: #7a5a5e;
}

/* 在 bg-pink section 上的 h2 同樣用酒紅 */
.text-white { color: #C17F8A !important; }

/*--------------------------------------------------------------
# Portfolio / Services
--------------------------------------------------------------*/
.portfolio { background: #FFFFFF; }

.portfolio.bg-pink { background: #FDE8EC !important; }

/* 班表 section 上下 padding 比一般 section 緊湊 */
#services,
#services_night {
  padding-top: 32px;
  padding-bottom: 20px;
}

.portfolio-item img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  transition: transform 0.4s ease;
}

.portfolio .portfolio-item {
  overflow: hidden;
  position: relative;
}

.portfolio .portfolio-item:hover img {
  transform: scale(1.06);
}

.portfolio .portfolio-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: linear-gradient(to top, rgba(156,90,99,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.portfolio .portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio .portfolio-info { padding: 12px 8px; width: 100%; }

.portfolio .portfolio-item h2 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

.grid-padding-sm { padding: 4px; }

/*--------------------------------------------------------------
# Schedule Card — 班表資訊卡
--------------------------------------------------------------*/
.sched-card {
  max-width: 580px;
  margin: 0 auto 24px;
  background: #FFFFFF;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 28px rgba(193,127,138,0.18);
  border: 1px solid rgba(233,180,188,0.45);
}

/* 頂部漸層區 */
.sched-card__head {
  background: linear-gradient(135deg, #C17F8A 0%, #E9B4BC 100%);
  padding: 22px 24px 18px;
  text-align: center;
}

.sched-card--night .sched-card__head {
  background: linear-gradient(135deg, #B06E7A 0%, #C17F8A 100%);
}

.sched-card__brand {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 1px 4px rgba(62,42,46,0.22);
  margin-bottom: 10px;
  font-family: "Noto Serif TC", serif;
}

.sched-card__deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 10px;
}
.sched-card__deco span {
  flex: 1;
  max-width: 70px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}
.sched-card__deco i {
  color: rgba(255,255,255,0.75);
  font-size: 9px;
}

.sched-card__shift-badge {
  display: inline-block;
  color: rgba(255,255,255,0.95);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 3px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 5px 20px;
  border-radius: 20px;
}

/* 美容師列表 */
.sched-card__list {
  padding: 18px 22px 14px;
  border-bottom: 1px solid #F2CDD2;
}

.sched-card__item {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 6px;
  padding: 6px 0;
  border-bottom: 1px dashed #F2CDD2;
  color: #3E2A2E;
  text-decoration: none;
  font-size: 13.5px;
  transition: color 0.2s, background 0.2s;
  border-radius: 4px;
}
.sched-card__item:last-child { border-bottom: none; }
.sched-card__item:hover { color: #C17F8A; text-decoration: none; }

.sched-card__no   { color: #C17F8A; flex-shrink: 0; font-size: 13px; }
.sched-card__name { font-weight: 700; color: inherit; }
.sched-card__summary { color: #9a8080; font-size: 12.5px; }

.sched-card__desc {
  font-size: 12.5px;
  color: #7a5a5e;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #F2CDD2;
  line-height: 1.75;
}

/* 聯絡資訊底部 */
.sched-card__footer {
  padding: 16px 22px;
  background: #FBF6F1;
}

.sched-card__info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 7px;
  font-size: 14px;
  color: #3E2A2E;
}
.sched-card__info-row i {
  color: #C17F8A;
  width: 15px;
  text-align: center;
  flex-shrink: 0;
}
.sched-card__info-row strong { color: #B06E7A; }

.sched-card__note {
  font-size: 11.5px;
  color: #a09090;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #E9B4BC;
  line-height: 1.65;
}

/*--------------------------------------------------------------
# Booking Info
--------------------------------------------------------------*/
#booking-info {
  background: #FFFFFF;
}

.booking-content, .hiring-content {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.75;
  font-size: 15px;
}

.text-highlight-title {
  color: #C17F8A;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
}

.line-qrcode {
  max-width: 260px;
  border: 2px solid #E9B4BC;
  border-radius: 8px;
  padding: 6px;
  background: #fff;
}

/*--------------------------------------------------------------
# Parking
--------------------------------------------------------------*/
#parking { background: #FDE8EC; }

.map-responsive-card {
  max-width: 760px;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(156,90,99,0.15);
  overflow: hidden;
  border: 1px solid #E9B4BC;
}

.map-responsive-container {
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  height: 0;
}

.map-responsive-container iframe {
  border: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/*--------------------------------------------------------------
# Hiring
--------------------------------------------------------------*/
#hiring { background: #FFFFFF; }

/*--------------------------------------------------------------
# About Us
--------------------------------------------------------------*/
#about-us { background: #FBF6F1; }

.about-announcement {
  font-size: 1rem;
  line-height: 2.1;
  color: #3E2A2E;
  font-weight: 600;
  letter-spacing: 1px;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
.bg-pink { background: #FDE8EC !important; }
.content-block-md { max-width: 700px; margin: 0 auto; }
.mb-0 { margin-bottom: 0 !important; }

a.text-inherit { color: inherit !important; }
a.text-inherit:hover { color: inherit !important; text-decoration: none !important; }

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: linear-gradient(160deg, #D4A5AD 0%, #E9B4BC 100%);
  color: rgba(255,255,255,0.88);
  padding: 50px 0 30px;
}

.footer-copyright { padding-bottom: 10px; }

.footer-warning-title {
  color: #F2CDD2;
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-text {
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
  font-size: 14px;
}

.footer-link {
  color: #000000;
  text-decoration: underline;
}
.footer-link:hover { color: #F2CDD2; }

.footer-phone {
  color: #F2CDD2;
  font-weight: 700;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(198,169,104,0.4);
  margin: 24px auto;
  width: 55%;
}

.footer-note {
  color: rgba(255,255,255,0.65);
  font-size: 12.5px;
  margin-bottom: 6px;
  line-height: 1.9;
}

.footer-disclaimer {
  font-size: 10.5px;
  text-align: justify;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
  margin-top: 24px;
  background: rgba(0,0,0,0.15);
  padding: 14px 16px;
  border-radius: 6px;
}

/*--------------------------------------------------------------
# Age Verification Modal
--------------------------------------------------------------*/
.age-modal-overlay {
  display: none;
  background: rgba(62,42,46,0.9);
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.age-modal-box {
  background: #FFFFFF;
  padding: 36px 30px;
  border-radius: 10px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  border-top: 4px solid #E9B4BC;
  box-shadow: 0 12px 40px rgba(156,90,99,0.25);
}

.age-modal-title {
  color: #C17F8A;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.age-modal-text {
  font-size: 15px;
  margin-bottom: 28px;
  color: #3E2A2E;
}

.age-modal-btn-yes {
  margin: 5px;
  background: linear-gradient(135deg, #E9B4BC 0%, #C17F8A 100%);
  border: none;
  color: #fff;
  padding: 11px 28px;
  border-radius: 4px 0 4px 0;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.age-modal-btn-yes:hover { opacity: 0.88; }

.age-modal-btn-no {
  margin: 5px;
  padding: 11px 28px;
  background: #FBF6F1;
  color: #C17F8A;
  border: 1.5px solid #E9B4BC;
  border-radius: 4px 0 4px 0;
  cursor: pointer;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .sec-padding { padding: 36px 0; }
  .section-header h2 { font-size: 1.3rem; }
  .portfolio-item h2 { font-size: 0.9rem; }
  .back-to-top { right: 12px; bottom: 12px; }
}

@media (min-width: 487px) {
  .container { max-width: 750px; }
}
@media (min-width: 900px) {
  .container { max-width: 970px; }
  .col-md-4 { width: 33.33333%; }
}
@media (min-width: 1200px) {
  .container { max-width: 1170px; }
  .col-lg-3 { width: 25%; }
}

/*--------------------------------------------------------------
# Legacy class aliases (kept for compatibility)
--------------------------------------------------------------*/
.sec-about { padding: 36px 0 20px; }
.intro-title-primary { color: #C17F8A; }
