/* ===== 澜庭轻奢酒店 - 设计系统样式 ===== */

/* --- 基础变量 --- */
:root {
  --primary: #1A2B48;
  --accent: #C8A97E;
  --warm: #E9E3DA;
  --light: #F8F5F2;
  --gray: #888076;
  --dark: #1E1E1E;
  --white: #FFFFFF;
  --shadow-soft: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-card: 0 8px 30px rgba(26,43,72,0.12);
  --shadow-hover: 0 12px 40px rgba(26,43,72,0.18);
}

/* --- 基础排版 --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Noto Sans SC', -apple-system, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 24px; }

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 22px; }
  h4 { font-size: 20px; }
}

@media (max-width: 360px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  h3 { font-size: 20px; }
}

p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* --- 容器 --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 768px) {
  .container { padding-left: 32px; padding-right: 32px; }
}

/* --- 区块间距 --- */
.section { padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 768px) {
  .section { padding-top: 80px; padding-bottom: 80px; }
}

/* --- 导航栏 --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 300ms ease, box-shadow 300ms ease;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(26,43,72,0.1);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
}
@media (max-width: 768px) {
  .navbar-inner { padding: 16px 16px; }
}
.nav-logo {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.3px;
}
.navbar.scrolled .nav-logo { color: var(--primary); }
.nav-logo .gold { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    padding: 80px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 300ms ease;
  }
  .nav-links.open { transform: translateX(0); }
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  transition: color 250ms ease;
  position: relative;
}
.navbar.scrolled .nav-links a { color: var(--primary); }
.nav-links a:hover { color: var(--accent); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 250ms ease;
}
.nav-links a:hover::after { width: 100%; }

/* 移动端菜单按钮 */
.nav-toggle {
  display: none;
  width: 28px;
  height: 20px;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1001;
}
@media (max-width: 768px) { .nav-toggle { display: flex; } }
.nav-toggle span {
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 250ms ease, opacity 250ms ease;
}
.navbar.scrolled .nav-toggle span { background: var(--primary); }
.nav-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* --- Hero Banner --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--primary);
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,43,72,0.55);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
  max-width: 800px;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.hero-content .gold-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 24px auto;
}
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 18px;
  margin-bottom: 40px;
}

/* --- 按钮 --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 250ms ease, box-shadow 250ms ease, opacity 250ms ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover { opacity: 0.92; }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
}
.btn-dark {
  background: var(--primary);
  color: var(--white);
}
.btn-dark:hover { opacity: 0.92; }
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover { opacity: 0.95; }

@media (max-width: 768px) {
  .btn { padding: 12px 28px; font-size: 14px; }
}

/* --- 卡片 --- */
.card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--warm);
}
.card-body { padding: 24px; }
@media (max-width: 768px) { .card-body { padding: 16px; } }
.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.card-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.card-tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  background: rgba(200,169,126,0.12);
  border-radius: 4px;
  margin-bottom: 12px;
}

/* --- 区块标题 --- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .section-header { margin-bottom: 32px; } }
.section-header h2 {
  color: var(--primary);
  margin-bottom: 12px;
}
.section-header .gold-line {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px auto;
}
.section-header p {
  font-size: 16px;
  color: var(--gray);
}

/* --- 网格布局 --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* --- 左右图文 --- */
.split-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}
@media (min-width: 768px) {
  .split-layout {
    flex-direction: row;
    gap: 60px;
  }
  .split-layout.reverse { direction: rtl; }
  .split-layout.reverse > * { direction: ltr; }
}
.split-img {
  flex: 1;
  min-width: 0;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--warm);
}
.split-text {
  flex: 1;
  min-width: 0;
}

/* --- 优势图标块 --- */
.feature-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}
.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,169,126,0.12);
  border-radius: 8px;
  color: var(--accent);
  font-size: 22px;
  flex-shrink: 0;
}
.feature-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

/* --- 评价卡片 --- */
.review-card {
  background: var(--white);
  padding: 32px;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
}
.review-stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 12px;
}
.review-text {
  font-size: 15px;
  color: var(--dark);
  line-height: 1.7;
  margin-bottom: 16px;
}
.review-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}
.review-date {
  font-size: 13px;
  color: var(--gray);
}

/* --- 价格标签 --- */
.price-tag {
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.price-tag .unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray);
}

/* --- 表单 --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  border: 1.5px solid var(--warm);
  border-radius: 6px;
  background: var(--white);
  color: var(--dark);
  outline: none;
  transition: border-color 250ms ease;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
}
.form-textarea { min-height: 120px; resize: vertical; }

/* --- 悬浮客服 --- */
.float-service {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
@media (max-width: 768px) {
  .float-service { right: 12px; bottom: 60px; }
}
.float-item {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 250ms ease, background 250ms ease;
}
.float-item:hover {
  transform: scale(1.1);
  background: var(--accent);
  color: var(--primary);
}
.float-wechat-popup {
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 160px;
  padding: 12px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease, transform 250ms ease;
  transform: translateX(10px);
}
.float-wechat-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.float-wechat-popup .qr-placeholder {
  width: 120px;
  height: 120px;
  background: var(--warm);
  border-radius: 6px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-size: 12px;
}
.float-wechat-popup p {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}

/* --- 页脚 --- */
.footer {
  background: var(--primary);
  color: var(--white);
  padding: 60px 0 0;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .footer-inner { padding: 0 16px; } }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.footer-brand h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.footer-brand .gold { color: var(--accent); }
.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 16px;
  margin-bottom: 16px;
  color: var(--accent);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 250ms ease;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* --- 滚动渐入动画 --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 350ms ease, transform 350ms ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- 页面Banner --- */
.page-banner {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
@media (max-width: 768px) { .page-banner { min-height: 240px; } }
.page-banner-bg {
  position: absolute;
  inset: 0;
  background: var(--primary);
}
.page-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.page-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,43,72,0.6);
}
.page-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
}
.page-banner-content h1 {
  color: var(--white);
  margin-bottom: 8px;
}
.page-banner-content p {
  color: rgba(255,255,255,0.8);
  font-size: 16px;
}

/* --- 标签筛选 --- */
.filter-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray);
  background: var(--white);
  border-radius: 6px;
  border: 1.5px solid var(--warm);
  cursor: pointer;
  transition: background 250ms ease, color 250ms ease, border-color 250ms ease;
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* --- 新闻列表 --- */
.news-item {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--warm);
}
@media (max-width: 768px) {
  .news-item { flex-direction: column; gap: 16px; }
}
.news-date-box {
  width: 80px;
  text-align: center;
  flex-shrink: 0;
  padding: 12px;
  background: var(--primary);
  border-radius: 8px;
  color: var(--white);
}
.news-date-box .day { font-size: 24px; font-weight: 700; }
.news-date-box .month { font-size: 13px; color: var(--accent); }
.news-item-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.news-item-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}
.news-item-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
  transition: opacity 250ms ease;
}
.news-item-link:hover { opacity: 0.8; }

/* --- 统计数字 --- */
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  font-size: 14px;
  color: var(--gray);
}

/* --- 设施图标网格 --- */
.facility-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.facility-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,169,126,0.12);
  border-radius: 10px;
  color: var(--accent);
  font-size: 26px;
}
.facility-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.facility-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* --- 活动卡片 --- */
.promo-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.promo-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--accent);
  color: var(--primary);
  border-radius: 4px;
  margin-bottom: 12px;
}
.promo-card-body { padding: 24px; }
.promo-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.promo-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}
.promo-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.promo-price .original {
  font-size: 14px;
  color: var(--gray);
  font-weight: 400;
  text-decoration: line-through;
  margin-left: 8px;
}

/* --- 联系信息 --- */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(200,169,126,0.12);
  border-radius: 8px;
  color: var(--accent);
  font-size: 18px;
  flex-shrink: 0;
}
.contact-label {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 4px;
}
.contact-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--primary);
}

/* --- 房型详情 --- */
.room-detail-card {
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 300ms ease, box-shadow 300ms ease;
}
.room-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.room-img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  background: var(--warm);
}
.room-body { padding: 24px; }
@media (max-width: 768px) { .room-body { padding: 16px; } }
.room-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.room-type-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 12px;
  color: var(--accent);
  background: rgba(200,169,126,0.1);
  border-radius: 4px;
  margin-bottom: 10px;
}
.room-features {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: var(--gray);
}
.room-features span { display: flex; align-items: center; gap: 4px; }
.room-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.room-price {
  font-size: 26px;
  font-weight: 700;
  color: var(--accent);
}
.room-price .unit {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray);
}

/* --- 时间线 --- */
.timeline-item {
  display: flex;
  gap: 24px;
  position: relative;
}
@media (max-width: 768px) {
  .timeline-item { flex-direction: column; gap: 8px; }
}
.timeline-dot {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.timeline-content h4 {
  font-size: 18px;
  color: var(--primary);
  margin-bottom: 6px;
}
.timeline-content p {
  font-size: 14px;
  color: var(--gray);
}

/* --- 预订步骤 --- */
.booking-step {
  text-align: center;
  padding: 24px;
}
.step-num {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 700;
}
.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}
.step-desc {
  font-size: 13px;
  color: var(--gray);
}