/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #2C5F8A;
  --primary-dark: #1e4a6e;
  --secondary: #F5A623;
  --secondary-dark: #d4900a;
  --accent: #27AE60;
  --text: #1A1A2E;
  --text-light: #5A6178;
  --bg: #FFFFFF;
  --bg-gray: #F7F8FA;
  --border: #E8EAED;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-en: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-size: 2rem; font-weight: 700;
  color: var(--text); margin-bottom: 8px;
}
.section-header p { color: var(--text-light); font-size: 1.05rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.animate-in { animation: fadeUp 0.6s ease-out forwards; }
[data-animate] { opacity: 0; }
[data-animate].visible { animation: fadeUp 0.5s ease-out forwards; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 1.5rem; }
.logo-text { font-size: 1.2rem; font-weight: 700; color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500;
  color: var(--text-light); transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn-nav {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  transition: background 0.2s !important;
}
.btn-nav:hover { background: var(--primary-dark) !important; }

.nav-toggle {
  display: none; background: none; border: none;
  cursor: pointer; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 100px 0 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-color: var(--primary-dark);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(44,95,138,0.85) 0%, rgba(30,74,110,0.7) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  color: #fff; text-align: center;
  animation: fadeIn 0.8s ease-out;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 16px; border-radius: 100px;
  font-size: 0.9rem; margin-bottom: 20px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700; letter-spacing: 4px;
  margin-bottom: 16px;
}
.hero-subtitle {
  font-size: 1.25rem; opacity: 0.95;
  margin-bottom: 10px; font-weight: 500;
}
.hero-desc { font-size: 1rem; opacity: 0.8; margin-bottom: 36px; }

/* Booking Bar */
.booking-bar {
  background: rgba(255,255,255,0.97);
  border-radius: 16px; padding: 20px 24px;
  display: inline-flex; align-items: center; gap: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  flex-wrap: wrap; justify-content: center;
  margin-bottom: 24px;
}
.booking-item {
  display: flex; flex-direction: column;
  padding: 0 16px;
  border-right: 1px solid var(--border);
}
.booking-item:last-of-type { border-right: none; }
.booking-item label {
  font-size: 0.75rem; font-weight: 500;
  color: var(--text-light); margin-bottom: 4px; text-align: left;
}
.booking-item input,
.booking-item select {
  border: none; outline: none;
  font-size: 0.95rem; font-family: var(--font);
  color: var(--text); background: transparent;
  min-width: 120px; cursor: pointer;
}
.btn-booking {
  background: var(--secondary); color: #fff;
  border: none; border-radius: 10px;
  padding: 14px 28px; font-size: 1rem;
  font-weight: 700; cursor: pointer;
  margin-left: 16px; white-space: nowrap;
  font-family: var(--font);
  transition: background 0.2s, transform 0.2s;
}
.btn-booking:hover { background: var(--secondary-dark); transform: scale(1.02); }

.hero-phone {
  font-size: 1rem; opacity: 0.9;
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.hero-phone strong { font-size: 1.1rem; letter-spacing: 1px; }

/* ===== ADVANTAGES ===== */
.advantages { padding: 80px 0; background: var(--bg-gray); }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.adv-card {
  background: #fff; border-radius: var(--radius);
  padding: 32px 24px; text-align: center;
  box-shadow: var(--shadow); transition: transform 0.3s, box-shadow 0.3s;
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.adv-icon { font-size: 2.5rem; margin-bottom: 16px; }
.adv-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--primary); }
.adv-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.6; }
.adv-card strong { color: var(--text); }

/* ===== ROOMS PREVIEW ===== */
.rooms-preview { padding: 80px 0; }
.rooms-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}
.room-card {
  background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.room-img { position: relative; height: 200px; overflow: hidden; }
.room-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s;
}
.room-card:hover .room-img img { transform: scale(1.05); }
.room-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(0,0,0,0.6); color: #fff;
  font-size: 0.75rem; padding: 4px 10px; border-radius: 100px;
  font-weight: 500;
}
.room-tag.hot { background: var(--secondary); }
.room-info { padding: 20px; }
.room-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.room-spec { font-size: 0.85rem; color: var(--text-light); margin-bottom: 14px; }
.room-price { display: flex; align-items: center; justify-content: space-between; }
.price { color: var(--primary); font-size: 0.95rem; }
.price strong { font-size: 1.4rem; font-weight: 700; }
.btn-room {
  background: var(--secondary); color: #fff;
  padding: 7px 18px; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600;
  transition: background 0.2s;
}
.btn-room:hover { background: var(--secondary-dark); }
.rooms-more { text-align: center; }
.btn-outline {
  display: inline-block;
  border: 2px solid var(--primary); color: var(--primary);
  padding: 12px 32px; border-radius: 100px;
  font-weight: 600; transition: all 0.2s;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== LOCATION ===== */
.location { padding: 80px 0; background: var(--bg-gray); }
.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.loc-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 400px; position: relative; }
.map-placeholder { width: 100%; height: 100%; position: relative; }
.map-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff; padding: 24px 20px 20px;
}
.map-overlay p { font-weight: 600; font-size: 1rem; margin-bottom: 4px; }
.map-overlay small { opacity: 0.75; font-size: 0.8rem; }

.loc-info { display: flex; flex-direction: column; gap: 20px; }
.loc-item { display: flex; gap: 16px; align-items: flex-start; }
.loc-icon { font-size: 1.5rem; flex-shrink: 0; width: 36px; text-align: center; padding-top: 2px; }
.loc-item strong { font-size: 0.95rem; font-weight: 700; display: block; margin-bottom: 4px; }
.loc-item p { font-size: 0.88rem; color: var(--text-light); line-height: 1.5; }

/* ===== REVIEWS ===== */
.reviews { padding: 80px 0; }
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.review-card {
  background: #fff; border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.review-card:hover { transform: translateY(-3px); }
.review-stars { font-size: 1.1rem; margin-bottom: 12px; color: #F5A623; }
.review-text { font-size: 0.95rem; color: var(--text); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.review-author { font-size: 0.85rem; color: var(--text-light); font-weight: 500; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 80px 0; text-align: center; color: #fff;
}
.cta h2 { font-size: 2.2rem; font-weight: 700; margin-bottom: 10px; }
.cta p { opacity: 0.85; margin-bottom: 32px; font-size: 1.05rem; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--secondary); color: #fff;
  padding: 14px 32px; border-radius: 100px;
  font-weight: 700; font-size: 1rem;
  transition: background 0.2s, transform 0.2s;
}
.btn-primary:hover { background: var(--secondary-dark); transform: scale(1.02); }
.btn-outline.btn-lg { color: #fff; border-color: rgba(255,255,255,0.5); padding: 14px 32px; border-radius: 100px; font-weight: 600; }
.btn-outline.btn-lg:hover { background: rgba(255,255,255,0.15); border-color: #fff; }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand .logo-text { color: #fff; }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 16px; }
.footer-contact p { font-size: 0.88rem; margin-bottom: 4px; }
.footer-links h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-links ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--secondary); }
.footer-wechat h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.qr-placeholder { text-align: center; }
.qr-box {
  width: 100px; height: 100px; margin: 0 auto 8px;
  background: rgba(255,255,255,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.5); border: 1px dashed rgba(255,255,255,0.2);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
}
.footer-icp { margin-top: 4px; }

/* ===== BUTTONS ===== */
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 100px; font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--border); }
  .nav-links a { display: block; padding: 14px 24px; }
  .nav-toggle { display: flex; }

  .hero { padding: 90px 0 40px; }
  .hero-title { font-size: 2rem; }
  .booking-bar { flex-direction: column; gap: 12px; padding: 16px; }
  .booking-item { border-right: none; border-bottom: 1px solid var(--border); padding: 8px 0; width: 100%; }
  .btn-booking { margin-left: 0; width: 100%; }
  .hero-phone { flex-direction: column; gap: 4px; }

  .adv-grid, .rooms-scroll, .review-grid { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section-header h2 { font-size: 1.6rem; }
}
