/* Spa Booking System — Site Styles */

:root {
  /* ─── Luxury Dark-Green Palette (5-star SPA theme) ─── */
  --hh-navy: #1E3532;            /* primary deep green */
  --hh-navy-light: #2D4A45;      /* lighter green for gradients */
  --hh-teal: #B8924D;            /* muted gold — links & accent */
  --hh-teal-light: #F5F0E5;      /* very light champagne wash */
  --hh-sky: #C9A55C;             /* lighter gold */
  --hh-sand: #C9BFA8;            /* warm sand */
  --hh-gold: #D4AF37;            /* rich gold — icons */
  --hh-orange: #722F37;          /* deep wine red — CTA buttons */
  --hh-orange-dark: #5A2329;     /* darker wine — CTA hover */
  --hh-text: #1B2C2A;            /* very dark green — body text */
  --hh-text-light: #5C6F6D;      /* muted green-gray */
  --hh-text-muted: #8A9694;      /* lighter muted */
  --hh-border: #E0D9C9;          /* warm cream border */
  --hh-bg: #ffffff;
  --hh-bg-light: #F8F5EE;        /* warm cream off-white */
  --hh-radius: 8px;
  --hh-shadow: 0 2px 12px rgba(0,0,0,.08);
  --hh-font: 'Noto Sans', 'Noto Sans SC', 'Noto Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --hh-max-width: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--hh-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hh-text);
  background: #e8faff;
}
img { max-width: 100%; height: auto; }
a { color: var(--hh-teal); text-decoration: none; }
a:hover { color: var(--hh-navy); }

.container { max-width: var(--hh-max-width); margin: 0 auto; padding: 0 20px; }

/* ── Navigation ── */
.site-header {
  background: var(--hh-navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}
.site-logo img { height: 50px; width: auto; display: block; }

.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav a {
  color: rgba(255,255,255,.85);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
  text-decoration: none;
}
.site-nav a:hover, .site-nav a.is-active {
  color: #fff;
}
.site-nav .nav-cta {
  background: var(--hh-orange);
  color: #fff;
  border-radius: 6px;
  padding: 8px 20px;
  margin-left: 8px;
  font-weight: 600;
}
.site-nav .nav-cta:hover { background: #e07a1e; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--hh-navy);
    flex-direction: column;
    padding: 10px 0 20px;
    box-shadow: 0 8px 16px rgba(0,0,0,.2);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px 24px; font-size: 16px; }
  .site-nav .nav-cta { margin: 8px 24px; text-align: center; }
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--hh-navy) 0%, var(--hh-navy-light) 50%, var(--hh-teal) 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.hero h1 {
  font-size: 48px;
  font-weight: 300;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.hero h1 strong { font-weight: 700; }
.hero p {
  font-size: 18px;
  opacity: .85;
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .hero { padding: 50px 0; }
  .hero h1 { font-size: 32px; }
}

/* ── Hero with background video ── */
.hero.hero-video {
  position: relative !important;
  overflow: hidden !important;
  background: #000 !important;
  padding: 0 !important;
  min-height: 560px !important;
  width: 100% !important;
  display: block !important;
}
.hero.hero-video .hero-bg-video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 560px !important;
  z-index: 0 !important;
  object-fit: cover !important;
  pointer-events: none;
}
.hero.hero-video .hero-content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 560px !important;
  padding: 60px 20px !important;
  max-width: var(--hh-max-width);
  margin: 0 auto;
}
/* ── Hero with image background (static) ── */
.hero.hero-bg {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero.hero-bg .hero-content {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.hero-text-box {
  background: rgba(30, 53, 50, .82);
  padding: 36px 44px;
  border-radius: 12px;
  text-align: center;
  max-width: 640px;
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.hero-text-box h1 {
  color: #fff;
  font-size: 44px;
  font-weight: 300;
  margin-bottom: 14px;
}
.hero-text-box h1 strong { font-weight: 700; }
.hero-text-box p {
  color: rgba(255,255,255,.92);
  font-size: 17px;
  margin-bottom: 26px;
}
@media (max-width: 600px) {
  .hero-text-box { padding: 24px 20px; }
  .hero-text-box h1 { font-size: 30px; }
  .hero.hero-video,
  .hero.hero-video .hero-bg-video,
  .hero.hero-video .hero-content { min-height: 420px !important; }
}


/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s, color .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--hh-orange); color: #fff; }
.btn-primary:hover { background: #e07a1e; color: #fff; box-shadow: 0 4px 12px rgba(251,142,40,.3); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.btn-teal { background: var(--hh-teal); color: #fff; }
.btn-teal:hover { background: #4aa3b3; color: #fff; }
.btn-navy { background: var(--hh-navy); color: #fff; }
.btn-navy:hover { background: var(--hh-navy-light); color: #fff; }

/* ── Sections ── */
.section { padding: 20px 0; }
.section-light { background: var(--hh-bg-light); }
.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 300;
  color: var(--hh-navy);
  margin-bottom: 12px;
}
.section-title strong { font-weight: 700; }
.section-sub {
  text-align: center;
  color: var(--hh-text-light);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.service-card-header {
  background: var(--hh-navy);
  color: #fff;
  padding: 16px 20px;
  text-align: center;
}
.service-card-header h3 { font-size: 17px; font-weight: 600; }
.service-card-body { padding: 20px; text-align: center; }
.service-card-price {
  font-size: 36px;
  font-weight: 700;
  color: var(--hh-navy);
  margin: 8px 0;
}
.service-card-price sup { font-size: 18px; vertical-align: super; }
.service-card-duration {
  color: var(--hh-text-muted);
  font-style: italic;
  margin-bottom: 16px;
}
.service-card-desc {
  font-size: 14px;
  color: var(--hh-text-light);
  margin-bottom: 16px;
  text-align: left;
}
.gc-desc-html { text-align: left; }
.gc-desc-html h3 { display: none; }
.gc-desc-html p { margin: 0 0 8px; text-align: left; }
.gc-desc-html ul,
.gc-desc-html ol { margin: 6px 0 8px; padding-left: 20px; text-align: left; list-style-position: outside; }
.gc-desc-html li { margin: 3px 0; text-align: left; }
.gc-desc-html strong { color: var(--hh-navy); }
.service-card .btn { width: 80%; }

/* ── Features Grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  text-align: center;
}
.feature-item { padding: 20px; }
.feature-icon {
  font-size: 40px;
  color: var(--hh-teal);
  margin-bottom: 12px;
}
.feature-item h3 {
  font-size: 18px;
  color: var(--hh-navy);
  margin-bottom: 8px;
}
.feature-item p { font-size: 14px; color: var(--hh-text-light); }

/* ── Info Row ── */
.info-row {
  display: flex;
  gap: 40px;
  align-items: center;
}
.info-row > * { flex: 1; }
@media (max-width: 768px) {
  .info-row { flex-direction: column; gap: 24px; }
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.contact-info h3 { color: var(--hh-navy); margin-bottom: 16px; }
.contact-info-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}
.contact-info-item .icon { color: var(--hh-teal); font-size: 20px; }

/* ── Forms ── */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--hh-text);
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--hh-border);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  outline: none;
  border-color: var(--hh-teal);
  box-shadow: 0 0 0 3px rgba(91,181,197,.15);
}
textarea.form-control { resize: vertical; min-height: 100px; }

/* ── Footer ── */
.site-footer {
  background: var(--hh-navy);
  color: rgba(255,255,255,.75);
  padding: 48px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}
.footer-brand img { height: 50px; width: auto; display: block; }
.site-footer h4 {
  color: #fff;
  font-size: 16px;
  margin-bottom: 12px;
}
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

/* ── Utilities ── */
.text-center { text-align: center; }
.text-muted { color: var(--hh-text-muted); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.card {
  background: #fff;
  border-radius: var(--hh-radius);
  box-shadow: var(--hh-shadow);
  padding: 24px;
}

/* ── Language Switcher ── */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px;
}
.lang-switcher span {
  color: rgba(255,255,255,.7);
  font-size: 14px;
}
.lang-switcher select {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  outline: none;
}
.lang-switcher select:hover { background: rgba(255,255,255,.2); }
.lang-switcher select option {
  background: var(--hh-navy);
  color: #fff;
}
@media (max-width: 768px) {
  .lang-switcher {
    padding: 12px 24px;
    margin: 0;
    border-top: 1px solid rgba(255,255,255,.1);
    width: 100%;
    justify-content: flex-start;
  }
}

/* ── RTL (Arabic) Support ── */
body.is-rtl {
  direction: rtl;
  text-align: right;
}
body.is-rtl .site-header .container { flex-direction: row-reverse; }
body.is-rtl .site-nav { flex-direction: row-reverse; }
body.is-rtl .footer-grid { direction: rtl; }
body.is-rtl .hero-btns { flex-direction: row-reverse; }
body.is-rtl .features-grid { direction: rtl; }
body.is-rtl .services-grid { direction: rtl; }
body.is-rtl .contact-grid { direction: rtl; }
body.is-rtl .contact-info-item { flex-direction: row-reverse; }
body.is-rtl .footer-bottom { direction: rtl; }
body.is-rtl .footer-links { padding-right: 0; }
body.is-rtl .form-group label { text-align: right; }
@media (max-width: 768px) {
  body.is-rtl .site-header .container { flex-direction: row; }
}

/* ──────────────── Social Icons Footer Row ──────────────── */
.social-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 24px;
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.social-icon:hover { transform: translateY(-2px); color: #fff; }
.social-icon.social-facebook:hover      { background: #1877F2; }
.social-icon.social-instagram:hover     { background: linear-gradient(45deg,#F58529,#DD2A7B,#8134AF,#515BD4); }
.social-icon.social-tiktok:hover        { background: #000; color: #25F4EE; }
.social-icon.social-youtube:hover       { background: #FF0000; }
.social-icon.social-google_review:hover { background: #F4B400; color: #fff; }
.social-icon.social-google_maps:hover   { background: #34A853; }
.social-icon.social-yelp:hover          { background: #D32323; }
.social-icon.social-tripadvisor:hover   { background: #00AF87; }
.social-icon.social-mapquest:hover      { background: #1757A4; }
body.is-rtl .social-row { flex-direction: row-reverse; }

/* ──────────────── Blog Post Share Buttons ──────────────── */
.post-share {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 24px 0 0;
  padding: 16px 0;
  border-top: 1px solid var(--hh-border);
}
.post-share-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--hh-text-light);
  margin-right: 4px;
}
.share-btn {
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--hh-border);
  background: #fff;
  color: var(--hh-navy);
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
  width: auto;
}
.share-btn:hover { color: #fff; text-decoration: none; }
.share-btn.share-fb:hover    { background: #1877F2; border-color: #1877F2; }
.share-btn.share-tw:hover    { background: #000;    border-color: #000; }
.share-btn.share-wa:hover    { background: #25D366; border-color: #25D366; }
.share-btn.share-copy:hover  { background: var(--hh-teal); border-color: var(--hh-teal); }

/* ──────────────── Blog List Cards ──────────────── */
.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.blog-pagination a, .blog-pagination span {
  padding: 8px 14px;
  border: 1px solid var(--hh-border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--hh-navy);
  background: #fff;
  font-size: 14px;
}
.blog-pagination a:hover { background: var(--hh-bg-light); }
.blog-pagination .is-active {
  background: var(--hh-navy);
  color: #fff;
  border-color: var(--hh-navy);
}

/* ──────────────── Related Posts ──────────────── */
.related-posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .related-posts { grid-template-columns: 1fr; }
}
.related-posts .card {
  padding: 16px;
}
.related-posts img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--hh-radius);
  margin-bottom: 10px;
}
.related-posts h4 {
  color: var(--hh-navy);
  font-size: 15px;
  margin-bottom: 4px;
  line-height: 1.3;
}

/* ─────────────────────────────────────────────────────────────
   品牌文字模式 —— 後台「设定 → Logo / 品牌」选「用文字」时，
   hh_brand_mark() 会输出 <span class="brand-text …"> 取代 <img>。
   尺寸对齐原本 logo 图的高度（前台 50px），视觉上不会跳动。
   ───────────────────────────────────────────────────────────── */
.brand-text {
  display: block;
  font-weight: 700;
  letter-spacing: .5px;
  white-space: nowrap;
  line-height: 1.1;
}
.site-logo .brand-text,
.site-logo-text {
  font-size: 26px;
  color: #fff;
}
.footer-brand .brand-text,
.footer-brand-text {
  font-size: 24px;
  color: #fff;
}
@media (max-width: 640px) {
  .site-logo .brand-text, .site-logo-text { font-size: 20px; }
}
