/* ==========================================================================
   Chinese Beauty Salon & Fitness Center - Design System & Master Stylesheet
   Luxury Aesthetic: Soft Blush, Dusty Rose, Champagne Gold, Ivory, Deep Cocoa
   ========================================================================== */

:root {
  --soft-blush: #F4E3E5;
  --dusty-rose: #C78E9B;
  --champagne-gold: #C6A46C;
  --champagne-gold-light: #E4D0AB;
  --ivory-white: #FFFCF8;
  --deep-cocoa: #302725;
  --deep-cocoa-light: #443734;
  --muted-mauve: #8D7178;
  --white: #FFFFFF;
  --light-gray: #F8F5F3;
  --border-color: rgba(198, 164, 108, 0.25);
  
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-subtle: 0 4px 20px rgba(48, 39, 37, 0.06);
  --shadow-medium: 0 8px 30px rgba(48, 39, 37, 0.12);
  --shadow-luxury: 0 16px 40px rgba(48, 39, 37, 0.18);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--deep-cocoa);
  background-color: var(--ivory-white);
  line-height: 1.65;
  font-weight: 300;
  overflow-x: hidden;
  position: relative;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--deep-cocoa);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1.25rem;
  color: #4A3E3B;
}

p.lead {
  font-family: var(--font-editorial);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--muted-mauve);
}

a {
  color: var(--dusty-rose);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover, a:focus {
  color: var(--champagne-gold);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 860px;
}

.section-padding {
  padding-top: clamp(60px, 8vw, 100px);
  padding-bottom: clamp(60px, 8vw, 100px);
}

.bg-ivory { background-color: var(--ivory-white); }
.bg-blush { background-color: var(--soft-blush); }
.bg-cocoa { background-color: var(--deep-cocoa); color: var(--ivory-white); }
.bg-light { background-color: var(--light-gray); }

.text-center { text-align: center; }
.text-gold { color: var(--champagne-gold); }
.text-rose { color: var(--dusty-rose); }
.text-mauve { color: var(--muted-mauve); }

/* Decorative Section Header */
.section-header {
  margin-bottom: 3.5rem;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--champagne-gold);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-header.text-center .section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--champagne-gold), transparent);
  margin: 1rem auto 0;
}

.section-subtitle {
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  color: var(--muted-mauve);
  max-width: 650px;
  margin: 0.8rem auto 0;
  font-weight: 500;
}

.bg-cocoa .section-header h2,
.bg-cocoa p {
  color: var(--ivory-white);
}

.bg-cocoa .section-subtitle {
  color: rgba(255, 252, 248, 0.8);
}

/* Top Notification / Info Bar */
.top-bar {
  background-color: var(--deep-cocoa);
  color: var(--soft-blush);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(198, 164, 108, 0.2);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 252, 248, 0.85);
}

.top-info-item a {
  color: inherit;
}

.top-info-item a:hover {
  color: var(--champagne-gold);
}

.top-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-social a {
  color: var(--soft-blush);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.top-social a:hover {
  color: var(--champagne-gold);
  transform: translateY(-2px);
}

/* Main Navigation / Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 252, 248, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(198, 164, 108, 0.18);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(255, 252, 248, 0.98);
  box-shadow: var(--shadow-subtle);
  padding-top: 2px;
  padding-bottom: 2px;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-container {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--deep-cocoa);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: var(--dusty-rose);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--deep-cocoa);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--champagne-gold);
  transition: var(--transition-smooth);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--dusty-rose);
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--deep-cocoa);
  margin: 6px 0;
  transition: var(--transition-smooth);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -7px);
}

/* Floating WhatsApp Button (MANDATORY BOTTOM LEFT) */
.floating-whatsapp {
  position: fixed !important;
  left: 24px !important;
  bottom: 24px !important;
  right: auto !important;
  z-index: 9999 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: #FFFFFF !important;
  padding: 14px 20px 14px 16px;
  border-radius: var(--radius-full);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.floating-whatsapp:hover {
  background-color: #20BA5A;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
  color: #FFFFFF !important;
}

.floating-whatsapp svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
  flex-shrink: 0;
}

.floating-whatsapp-tooltip {
  font-family: var(--font-body);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Footer Styling */
.site-footer {
  background-color: var(--deep-cocoa);
  color: var(--ivory-white);
  padding-top: 80px;
  padding-bottom: 30px;
  position: relative;
  border-top: 3px solid var(--champagne-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--champagne-gold);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col p {
  color: rgba(255, 252, 248, 0.8);
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 252, 248, 0.78);
  font-size: 0.92rem;
  display: inline-block;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--champagne-gold);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 252, 248, 0.85);
  font-size: 0.92rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--champagne-gold);
  margin-top: 4px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 252, 248, 0.12);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255, 252, 248, 0.6);
}

.footer-bottom a {
  color: rgba(255, 252, 248, 0.7);
}

.footer-bottom a:hover {
  color: var(--champagne-gold);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 868px) {
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--ivory-white);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 20px;
    transform: translateX(100%);
    transition: var(--transition-smooth);
    overflow-y: auto;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-link {
    font-size: 1.15rem;
  }

  .header-cta .btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .top-info {
    font-size: 0.8rem;
    gap: 10px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .floating-whatsapp {
    left: 16px !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 12px;
  }

  .floating-whatsapp-tooltip {
    display: none;
  }
}

