:root {
  --primary-color: #7d6fd9;
  --primary-light: #b9aef4;
  --primary-dark: #5a4fa0;
  --text-color: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --bg-color: #ffffff;
  --bg-light: #f6f6f7;
  --border-color: #eeeeee;
  --success-color: #00b578;
  --warning-color: #ff8f1f;
  --danger-color: #ff3141;
}

/* General Body Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  color: #333;
  /* background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-color) 60%, var(--primary-color) 100%); */
  background-attachment: fixed;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1140px;
  /* Common max-width for Bootstrap-like grids */
  margin-left: auto;
  margin-right: auto;
}

/* Section Styling */
section {
  padding: 60px 0;
}

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

.section-title {
  font-size: 2.5rem;
  /* 40px */
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  -webkit-user-select: none;
  /* Add Safari compatibility */
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  /* 6px 12px */
  font-size: 1rem;
  /* 16px */
  line-height: 1.5;
  border-radius: 0.25rem;
  /* 4px */
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-primary {
  color: #fff;
  background-color: #6f42c1;
  /* Purple color from design (approximated) */
  border-color: #6f42c1;
}

.btn-primary:hover {
  background-color: #5a34a0;
  border-color: #533090;
}

.text-primary {
  color: var(--primary-color) !important;
}

.btn-light {
  color: #333;
  background-color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-light:hover {
  background-color: #e2e6ea;
  border-color: #dae0e5;
}

.btn-outline-light {
  color: #f8f9fa;
  border-color: #f8f9fa;
}

.btn-outline-light:hover {
  color: #333;
  background-color: #f8f9fa;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  /* 4px 8px */
  font-size: 0.875rem;
  /* 14px */
  border-radius: 0.2rem;
  /* 3.2px */
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

h1.hero-title {
  font-size: 3rem;
  /* 48px */
  font-weight: bold;
}

p.hero-subtitle {
  font-size: 1.25rem;
  /* 20px */
  margin-bottom: 30px;
}

/* Utilities */
.mt-4 {
  margin-top: 1.5rem !important;
  /* 24px */
}

.text-center {
  text-align: center !important;
}

/* Animation base (used by animate-fade-in) */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Delay classes for staggered animations */
.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.navbar-colored {
  background-color: var(--primary-color);
}

.site-logo {
  font-size: 1.8rem;
  /* Adjust as needed for "锦秀到家" */
  font-weight: bold;
  color: #fff !important;
  /* Override Bootstrap default brand color if necessary */
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.site-logo .site-logo-img {
  width: 48px;
  height: 48px;
}

.site-navigation-links .nav-item {
  margin-left: 10px;
  margin-right: 10px;
}

.site-navigation-links .nav-link {
  color: #fff !important;
  /* Standard link color */
  font-weight: 500;
  /* Slightly bolder than normal text */
  padding: 0.5rem 0.8rem;
  transition: color 0.2s ease-in-out;
}

.site-navigation-links .nav-link:hover,
.site-navigation-links .nav-item.active .nav-link {
  color: #6f42c1;
  /* Purple for hover and active link */
}

.site-navigation-links .nav-item.active .nav-link,
.site-navigation-links .nav-link.active {
  color: #fff !important;
  background: #4e3ca5;
  /* 更深的主色，提升对比度 */
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 2px 8px 0 rgba(78, 60, 165, 0.1);
}

.site-header-actions .header-booking-btn {
  /* .btn-primary already provides purple background and white text */
  padding: 0.5rem 1.2rem;
  /* Adjust padding for button size */
  font-weight: 500;
  border-radius: 5px;
  /* Consistent with other buttons */
}

/* Adjustments for mobile toggler if needed */
.navbar-toggler {
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(0, 0, 0, 0.85) !important;
  }
  .site-navigation-links .nav-link {
    color: #fff !important;
  }
}

.footer-main {
  background: #181e29;
  color: #e6e8ef;
  font-size: 1rem;
}
.footer-main .footer-brand {
  color: var(--primary-color);
  font-size: 1.3rem;
  font-weight: 700;
}
.footer-main .footer-desc {
  color: #bfc4d1;
  font-size: 1rem;
  margin-top: 0.5rem;
}
.footer-main h6,
.footer-main h5 {
  color: #fff;
  font-weight: 600;
}
.footer-main .footer-links a {
  color: #e6e8ef;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-main .footer-links a:hover {
  color: var(--primary-color);
}
.footer-main .footer-social a {
  color: #bfc4d1;
  margin-right: 18px;
  transition: color 0.2s;
}
.footer-main .footer-social a:last-child {
  margin-right: 0;
}
.footer-main .footer-social a:hover {
  color: var(--primary-color);
}
.footer-main .fa-phone,
.footer-main .fa-envelope {
  color: #bfc4d1;
  margin-right: 8px;
}
.footer-main .footer-divider {
  border-top: 1px solid #232a3a;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.text-light-50 {
  color: #bfc4d1 !important;
}
@media (max-width: 767.98px) {
  .footer-main {
    font-size: 0.98rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .footer-main .footer-brand {
    font-size: 1.1rem;
  }
}
