/* 玥之韵美容美体养生馆 - 专业高端配色（克丽缇娜风格）+ 第二阶段优化 */

/* === 全局配色方案 === */
:root {
  --md-primary-fg-color: #5C4A3D;
  --md-primary-fg-color--light: #6E5A4D;
  --md-primary-fg-color--dark: #4A3A2D;
  --md-default-bg-color: #F5F1E8;
  --color-soft-beige: #F9F7F2;
  --color-light-beige: #F5F1E8;
  --color-medium-beige: #E8E0D5;
  --md-accent-fg-color: #C9A962;
  --text-primary: #333333;
  --text-secondary: #555555;
  --text-light: #888888;
}

/* === 导航栏 === */
.md-header {
  background: #FFFFFF;
  box-shadow: 0 2px 10px rgba(92, 74, 61, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.md-header__inner {
  padding: 15px 0;
  max-width: 1200px;
  margin: 0 auto;
}

.md-logo { color: #5C4A3D !important; }
.md-logo img { height: 45px !important; }

.md-tabs {
  background: #FFFFFF;
  border-top: 1px solid #E8E0D5;
}

.md-tabs__link {
  color: #5C4A3D;
  font-weight: 500;
  font-size: 16px;
}

/* === 首页 Banner === */
.hero-section {
  background: linear-gradient(135deg, #F9F7F2 0%, #F5F1E8 100%);
  color: #333333;
  padding: 80px 20px 60px 20px;
  text-align: center;
  border-bottom: 3px solid #C9A962;
}

.hero-section h1 {
  font-size: 2.8em;
  font-weight: 600;
  color: #5C4A3D;
  letter-spacing: 4px;
}

/* === 服务卡片 === */
.service-card {
  background: #FFFFFF;
  border: 1px solid #E8E0D5;
  border-radius: 8px;
  padding: 30px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(92, 74, 61, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(92, 74, 61, 0.15);
  border-color: #C9A962;
}

/* === 图片样式 === */
.md-content img {
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(92, 74, 61, 0.12);
}

/* === 价格表格 === */
.price-table {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(92, 74, 61, 0.1);
  border: 1px solid #E8E0D5;
}

.price-table th {
  background: #5C4A3D;
  color: #FFFFFF;
  padding: 16px;
}

.price-table td { padding: 14px; }
.price-table tr:nth-child(even) { background: #F9F7F2; }

/* === 按钮 === */
.md-button {
  background: linear-gradient(135deg, #C9A962 0%, #B0924A 100%);
  border: none;
  border-radius: 6px;
  padding: 14px 35px;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  transition: all 0.3s ease;
}

.md-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(201, 169, 98, 0.4);
}

.md-button--primary {
  background: linear-gradient(135deg, #5C4A3D 0%, #4A3A2D 100%);
}

/* === 优惠标签 === */
.promotion-badge {
  display: inline-block;
  background: #C9A962;
  color: #FFFFFF;
  padding: 6px 18px;
  border-radius: 4px;
  font-weight: 600;
}

/* === 顾客评价 === */
.review-card {
  background: #FFFFFF;
  border-left: 4px solid #C9A962;
  padding: 25px;
  margin: 20px 0;
  box-shadow: 0 4px 12px rgba(92, 74, 61, 0.08);
}

.review-card blockquote {
  font-style: italic;
  color: #555555;
  line-height: 1.8;
}

.rating { color: #C9A962; font-size: 18px; }
.price-highlight { color: #5C4A3D; font-weight: 700; font-size: 18px; }

/* === 提示框 === */
.admonition {
  border-radius: 6px;
  border-left-width: 4px;
  box-shadow: 0 4px 12px rgba(92, 74, 61, 0.08);
}

.admonition.tip {
  border-left-color: #C9A962;
  background: #F9F7F2;
}

/* === 网格卡片 === */
.grid.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.grid.cards > * {
  background: #FFFFFF;
  border: 1px solid #E8E0D5;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(92, 74, 61, 0.08);
}

.grid.cards > *:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(92, 74, 61, 0.15);
  border-color: #C9A962;
}

/* === 资质认证展示 === */
.certification-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 40px 0;
  padding: 30px;
  background: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(92, 74, 61, 0.1);
}

.certification-item { text-align: center; padding: 20px; }
.certification-item img { width: 80px; height: 80px; margin-bottom: 10px; }
.certification-item p { color: #5C4A3D; font-weight: 500; font-size: 14px; }

/* === 技师信息卡片 === */
.team-card {
  background: #FFFFFF;
  border: 1px solid #E8E0D5;
  border-radius: 8px;
  padding: 30px;
  margin: 20px 0;
  display: flex;
  gap: 20px;
  align-items: start;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
  border: 3px solid #E8E0D5;
}

.team-info h4 { color: #5C4A3D; font-size: 20px; margin-bottom: 10px; }
.team-info p { color: #666666; font-size: 15px; line-height: 1.8; }

/* === 预约悬浮框 === */
.booking-float {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: #FFFFFF;
  border: 2px solid #C9A962;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(92, 74, 61, 0.2);
  z-index: 999;
  width: 280px;
}

.booking-float h4 {
  color: #5C4A3D;
  font-size: 18px;
  margin-bottom: 15px;
  text-align: center;
}

.booking-float ul {
  list-style: none;
  padding: 0;
  margin: 0 0 15px 0;
}

.booking-float li {
  padding: 8px 0;
  border-bottom: 1px solid #E8E0D5;
  color: #666666;
  font-size: 14px;
}

.booking-float .float-btn {
  display: block;
  background: linear-gradient(135deg, #C9A962 0%, #B0924A 100%);
  color: #FFFFFF;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.booking-float .float-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(201, 169, 98, 0.4);
}

/* === 页脚 === */
.md-footer {
  background: #5C4A3D;
  color: #F5F1E8;
  padding: 50px 20px;
}

.md-footer a { color: #C9A962; }
.md-footer a:hover { color: #FFFFFF; }

/* === 移动端优化 === */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 2em; }
  .service-card { padding: 20px; }
  .md-button { padding: 12px 25px; font-size: 14px; }
  .booking-float { display: none; }
  .grid.cards { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .team-photo { width: 100%; height: 200px; }
}

/* === 页面加载动画 === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.md-content { animation: fadeIn 0.4s ease-out; }

/* === 字体层级 === */
h1 { font-size: 24px; color: #5C4A3D; margin-bottom: 20px; }
h2 { font-size: 22px; color: #5C4A3D; margin-bottom: 18px; }
h3 { font-size: 20px; color: #5C4A3D; margin-bottom: 16px; }
h4 { font-size: 18px; color: #5C4A3D; margin-bottom: 14px; }
p { font-size: 16px; color: #555555; line-height: 1.8; margin-bottom: 15px; }

/* === 模块间距 === */
section { margin-bottom: 40px; }
.md-content > * { margin-bottom: 30px; }

/* === 表单样式 === */
input, select, textarea {
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #C9A962;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.1);
}

/* === 技师状态 === */
.status-available { color: #5C4A3D; }
.status-limited { color: #C9A962; }
.status-full { color: #888888; }
