
:root {
  --sage: #7A958B; --mist: #8BA4A0; --stone: #A3B5AF;
  --cream: #F5F0E8; --bark: #5D4037; --amber: #C67B4B;
  --gold: #D4A853; --leaf: #6B8E6B; --blush: #E8D5C4;
  --dark: #2C2420; --light: #FAF8F5;
  --shadow: 0 4px 24px rgba(44,36,32,0.08);
  --shadow-lg: 0 8px 48px rgba(44,36,32,0.12);
  --radius: 12px; --radius-lg: 20px;
  --font-heading: 'Noto Serif SC', 'STSong', serif;
  --font-body: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--light); color: var(--dark); line-height: 1.8; overflow-x: hidden; }

/* 导航 */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(250,248,245,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(122,149,139,0.15); padding: 0 2rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-brand { font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700; color: var(--bark); text-decoration: none; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { text-decoration: none; color: var(--bark); font-size: 0.95rem; font-weight: 500; padding: 0.4rem 0; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--amber); transition: width 0.3s; }
.nav-links a:hover { color: var(--amber); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--amber); }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--bark); }
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: rgba(250,248,245,0.98); flex-direction: column; padding: 1rem 2rem; gap: 0.5rem; border-bottom: 1px solid rgba(122,149,139,0.15); }
  .nav-links.open { display: flex; }
}

/* Hero */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; justify-content: center; overflow: hidden; margin-top: 64px; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.55); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(44,36,32,0.4) 0%, rgba(44,36,32,0.2) 50%, rgba(44,36,32,0.6) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; color: white; padding: 2rem; max-width: 800px; }
.hero-content h1 { font-family: var(--font-heading); font-size: 3.5rem; font-weight: 900; letter-spacing: 0.08em; margin-bottom: 1rem; text-shadow: 0 2px 12px rgba(0,0,0,0.3); }
.hero-content .subtitle { font-size: 1.25rem; font-weight: 300; opacity: 0.9; margin-bottom: 2rem; }
.badges { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.badge { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.25); padding: 0.5rem 1.25rem; border-radius: 50px; font-size: 0.9rem; }
.hero-cta { display: inline-block; padding: 0.9rem 2.5rem; background: var(--amber); color: white; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1.05rem; box-shadow: 0 4px 20px rgba(198,123,75,0.4); transition: var(--transition); }
.hero-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(198,123,75,0.5); }
@media (max-width: 768px) { .hero { min-height: 70vh; } .hero-content h1 { font-size: 2.2rem; } }

/* 区块 */
.section { padding: 5rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-full { padding: 5rem 2rem; max-width: 100%; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-family: var(--font-heading); font-size: 2.2rem; color: var(--bark); margin-bottom: 0.75rem; }
.section-header .divider { width: 60px; height: 3px; background: var(--amber); margin: 0 auto; border-radius: 2px; }
.section-header p { color: #8B7E74; font-size: 1.05rem; margin-top: 1rem; }
.section-header .tag { display: inline-block; padding: 0.3rem 1rem; border-radius: 50px; font-size: 0.8rem; margin-top: 0.5rem; }
.tag-photo { background: #E8F0EC; color: var(--sage); }
.tag-design { background: #F5EBE0; color: var(--amber); }

/* 画廊 */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; cursor: pointer; aspect-ratio: 4/3; background: var(--cream); box-shadow: var(--shadow); transition: var(--transition); }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.75rem 1rem; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; font-size: 0.8rem; }

/* ══════ 轮播 ══════ */
.carousel { position: relative; overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--dark); }
.carousel-track { display: flex; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.carousel-slide { min-width: 100%; position: relative; }
.carousel-slide img { width: 100%; height: 400px; object-fit: cover; display: block; }
@media (min-width: 768px) { .carousel-slide img { height: 500px; } }
.carousel-slide .slide-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem; background: linear-gradient(transparent, rgba(0,0,0,0.8)); color: white; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: rgba(255,255,255,0.2); backdrop-filter: blur(10px); border: none; color: white; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { background: rgba(255,255,255,0.35); }
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }
.carousel-dots { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 10; }
.carousel-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: var(--transition); }
.carousel-dot.active { background: white; width: 28px; border-radius: 5px; }
.carousel-indicator { position: absolute; bottom: 3rem; right: 1.5rem; z-index: 10; background: rgba(0,0,0,0.5); color: white; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.8rem; }

/* 评价截图 */
.review-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.review-item { aspect-ratio: 9/20; border-radius: 8px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow); transition: var(--transition); }
.review-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.review-item img { width: 100%; height: 100%; object-fit: contain; background: #f0f0f0; }

/* 统计 */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-item .number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: var(--amber); }
.stat-item .label { color: #8B7E74; font-size: 0.9rem; margin-top: 0.25rem; }
@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* 页脚 */
.footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 3rem 2rem; text-align: center; }
.footer h3 { font-family: var(--font-heading); color: white; font-size: 1.5rem; margin-bottom: 1rem; }
.footer .contact-info { font-size: 0.9rem; line-height: 2; }
.footer .copyright { margin-top: 2rem; font-size: 0.8rem; opacity: 0.5; }

/* 灯箱 */
.lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.92); cursor: pointer; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; border-radius: 8px; object-fit: contain; }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; color: white; font-size: 2rem; cursor: pointer; background: none; border: none; }

/* 动画 */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s, transform 0.6s; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
