/* ===== 基础样式 ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-hover: rgba(255, 255, 255, 0.10);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-highlight: rgba(255, 255, 255, 0.04);
  --text-primary: rgba(255, 255, 255, 0.93);
  --text-secondary: rgba(255, 255, 255, 0.60);
  --text-tertiary: rgba(255, 255, 255, 0.38);
  --accent: #c8a45c;
  --accent-glow: rgba(200, 164, 92, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #0a0a0b;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== 动态背景 ===== */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 70% 55% at 15% 5%, #1a1a28 0%, transparent 55%),
    radial-gradient(ellipse 50% 45% at 85% 75%, #1a1c14 0%, transparent 50%),
    radial-gradient(ellipse 55% 50% at 50% 45%, #0f1010 0%, #060606 100%);
}

.bg-orb {
  position: fixed; border-radius: 50%; filter: blur(130px);
  opacity: 0.22; z-index: -1; pointer-events: none;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #8b7355 0%, transparent 70%);
  top: -12%; left: -8%;
  animation: float 14s ease-in-out infinite;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #c8a45c 0%, transparent 70%);
  bottom: 15%; right: -6%;
  animation: float 18s ease-in-out infinite reverse;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #6b5c3e 0%, transparent 70%);
  top: 55%; left: 35%;
  animation: float 20s ease-in-out infinite 4s;
}

@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  25% { transform: translate(35px,-45px) scale(1.06); }
  50% { transform: translate(-25px,20px) scale(0.94); }
  75% { transform: translate(-45px,-10px) scale(1.04); }
}

/* ===== 玻璃导航 ===== */
.nav-glass {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  display: flex; align-items: center; gap: 28px;
  padding: 10px 12px 10px 24px;
  background: rgba(20, 20, 22, 0.55);
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 100px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}

.nav-logo {
  font-size: 18px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent);
}

.nav-links { display: flex; gap: 4px; }

.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 13px; font-weight: 500; padding: 6px 14px;
  border-radius: 100px; transition: all 0.25s; letter-spacing: 0.5px;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.08);
}

.nav-phone {
  background: var(--accent); color: #000;
  border: none; padding: 8px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all 0.25s; white-space: nowrap;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.nav-phone:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }

/* ===== 通用区块 ===== */
.section-container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

section { padding: 70px 0; }

.section-header { text-align: center; margin-bottom: 48px; }

.section-header h2 {
  font-size: 34px; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.65) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 16px; color: var(--text-secondary); font-weight: 400;
}

/* ===== 玻璃卡片 ===== */
.glass-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.14);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 60px; position: relative;
}

.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, transparent 55%, rgba(10,10,11,0.92) 100%),
    url('images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.35;
}

.hero-card {
  max-width: 620px; padding: 56px 48px;
  background: linear-gradient(135deg, rgba(255,255,255,0.09) 0%, rgba(255,255,255,0.04) 100%);
}

.hero-welcome {
  font-size: 14px; color: var(--accent); letter-spacing: 4px;
  text-transform: uppercase; margin-bottom: 16px; font-weight: 500;
}

.hero-card h1 {
  font-size: 46px; font-weight: 700; letter-spacing: 1px; margin-bottom: 14px;
  background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px; color: var(--text-secondary); margin-bottom: 28px;
}

.hero-features {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px;
}

.hero-features span {
  padding: 6px 16px; border-radius: 100px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  font-size: 13px; color: var(--text-secondary);
}

.cta-btn {
  display: inline-block;
  background: var(--accent); color: #000;
  text-decoration: none; padding: 14px 40px; border-radius: 100px;
  font-size: 16px; font-weight: 600; letter-spacing: 1px;
  transition: all 0.3s; box-shadow: 0 4px 20px var(--accent-glow);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.scroll-hint { margin-top: 48px; opacity: 0.4; animation: bounce 2s ease-in-out infinite; }
.scroll-hint span {
  display: block; width: 22px; height: 22px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ===== 关于 ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch;
}

.about-image-card { padding: 8px; overflow: hidden; }

.about-img {
  width: 100%; height: 100%; min-height: 320px; border-radius: 14px;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}

.img-label {
  position: absolute; bottom: 12px; left: 12px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(10px);
  padding: 4px 14px; border-radius: 100px;
  font-size: 12px; color: #fff;
}

.about-text-card {
  padding: 36px; display: flex; flex-direction: column; justify-content: center;
}

.about-text-card p {
  font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 14px;
}
.about-text-card p:last-of-type { margin-bottom: 24px; }
.about-text-card strong { color: var(--text-primary); }

.about-meta { display: flex; gap: 32px; }

.meta-item { text-align: center; }
.meta-num { display: block; font-size: 28px; font-weight: 700; color: var(--accent); }
.meta-label { display: block; font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }

/* ===== 客房 ===== */
.rooms-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}

.room-card { overflow: hidden; padding: 0; }

.room-img {
  width: 100%; height: 200px; background-size: cover; background-position: center;
  position: relative;
}

.room-tag {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: #000; padding: 3px 12px;
  border-radius: 100px; font-size: 11px; font-weight: 600;
}

.room-info { padding: 24px; }

.room-info h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }

.room-size { font-size: 14px; color: var(--text-secondary); margin-bottom: 14px; }

.room-amenities { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }

.room-amenities span {
  padding: 3px 10px; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.06);
  font-size: 11px; color: var(--text-secondary);
}

.room-desc { font-size: 14px; color: var(--text-tertiary); line-height: 1.6; }

/* ===== 服务 ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}

.service-card { padding: 28px 22px; text-align: center; }

.service-icon { font-size: 32px; margin-bottom: 12px; }

.service-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }

.service-card p {
  font-size: 13px; color: var(--text-tertiary); line-height: 1.6;
}

/* ===== 环境图集 ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 16px;
}

.gallery-item { padding: 6px; overflow: hidden; }
.gallery-item.large { grid-column: span 1; grid-row: span 2; }

.gallery-img {
  width: 100%; height: 100%; min-height: 200px; border-radius: 14px;
  background-size: cover; background-position: center;
  position: relative; overflow: hidden;
}

.gallery-caption {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  padding: 4px 14px; border-radius: 100px;
  font-size: 12px; color: #fff;
}

/* ===== 评价 ===== */
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}

.review-card { padding: 28px; }

.review-stars { color: var(--accent); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }

.review-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

.review-author { margin-top: 14px; font-size: 12px !important; color: var(--text-tertiary) !important; }

/* ===== 联系 ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch;
}

.contact-info-card { padding: 36px; }

.contact-owner {
  display: flex; align-items: center; gap: 16px; margin-bottom: 28px;
  padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.06);
}

.owner-avatar {
  width: 54px; height: 54px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #8b6914);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; color: #000;
}

.owner-name { font-size: 18px; font-weight: 600; }
.owner-title { font-size: 13px; color: var(--text-tertiary); margin-top: 2px; }

.contact-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 28px; }

.contact-row { display: flex; gap: 14px; align-items: flex-start; }

.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.contact-label { font-size: 11px; color: var(--text-tertiary); margin-bottom: 2px; text-transform: uppercase; letter-spacing: 1px; }

.contact-value {
  font-size: 16px; color: var(--text-primary); font-weight: 500;
  text-decoration: none; line-height: 1.5;
}
a.contact-value:hover { color: var(--accent); }

.contact-cta { display: block; text-align: center; width: 100%; border: none; cursor: pointer; }

.contact-map-card { padding: 6px; min-height: 300px; }

.map-placeholder {
  width: 100%; height: 100%; min-height: 280px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(200,164,92,0.12), rgba(255,255,255,0.03));
  display: flex; align-items: center; justify-content: center;
}

.map-content { text-align: center; padding: 24px; }

.map-title { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--accent); }

.map-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

.map-note { margin-top: 12px; font-size: 12px !important; color: var(--text-tertiary) !important; }

/* ===== 入住信息 ===== */
.info-card { padding: 36px; text-align: center; }

.info-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 24px; }

.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.info-item { padding: 16px; }

.info-label { font-size: 12px; color: var(--text-tertiary); margin-bottom: 4px; letter-spacing: 1px; }

.info-value { font-size: 18px; font-weight: 600; }

/* ===== 页脚 ===== */
footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 48px 24px 28px;
}

.footer-content {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 32px;
}

.footer-brand h3 { font-size: 20px; color: var(--accent); margin-bottom: 6px; }
.footer-brand p { font-size: 14px; color: var(--text-tertiary); }

.footer-contact p { font-size: 14px; color: var(--text-secondary); margin-bottom: 4px; }
.footer-contact a { color: var(--text-primary); text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1100px; margin: 0 auto; text-align: center;
  font-size: 12px; color: var(--text-tertiary);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .rooms-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.large { grid-column: span 2; grid-row: span 1; }
}

@media (max-width: 768px) {
  .nav-glass { padding: 8px 14px; gap: 14px; }
  .nav-links a { font-size: 11px; padding: 4px 10px; }
  .nav-logo { font-size: 15px; }
  .nav-phone { padding: 6px 12px; font-size: 11px; }

  .hero-card { padding: 40px 28px; }
  .hero-card h1 { font-size: 32px; }
  .section-header h2 { font-size: 26px; }

  .about-grid { grid-template-columns: 1fr; }
  .rooms-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-column: span 2; }
  .reviews-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { flex-direction: column; gap: 16px; }
}

@media (max-width: 480px) {
  .nav-links { gap: 0; }
  .nav-links a { font-size: 10px; padding: 4px 7px; }

  .hero-card h1 { font-size: 26px; }
  .section-header h2 { font-size: 22px; }

  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .about-meta { gap: 20px; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
