/**
 * ====================================================================
 * CHOU SPA SANCTUARY & HOME - UNIFIED CORE STYLESHEET (style.css)
 * ====================================================================
 * Design Philosophy: Serene Botanical Luxury (5-Star Eastern Wellness)
 * Typography: Unified Google Font "Inter" (Variable Optical Sizing 14-32)
 * Primary Palette: Imperial Emerald (#153E32), Antique Gold (#C5A059), Cream (#FAF7F2)
 * ====================================================================
 */

/* --------------------------------------------------------------------
 * 1. DESIGN TOKENS & CSS VARIABLES
 * -------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --chou-primary: #153E32;
  --chou-primary-light: #235D4B;
  --chou-primary-dark: #0D2720;
  
  --chou-gold: #C5A059;
  --chou-gold-light: #E8D4A2;
  --chou-gold-dark: #99732B;
  
  --chou-cream: #FAF7F2;
  --chou-surface: #F4EFE6;
  --chou-charcoal: #1B1C1A;
  --chou-muted: #707973;
  --chou-border: #E8DFC8;
  
  /* Typography */
  --font-family-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------
 * 2. CSS RESET & BOX MODEL
 * -------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  padding: 0;
  background-color: var(--chou-cream);
  color: var(--chou-charcoal);
  font-family: var(--font-family-base);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  min-width: 320px;
}

/* --------------------------------------------------------------------
 * 3. TYPOGRAPHY - UNIFIED INTER FONT SYSTEM
 * -------------------------------------------------------------------- */
html,
body,
input,
button,
select,
textarea,
optgroup,
p,
span,
a,
li,
td,
th {
  font-family: var(--font-family-base);
}

h1, .h1 {
  font-family: var(--font-family-base);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h2, .h2 {
  font-family: var(--font-family-base);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h3, .h3 {
  font-family: var(--font-family-base);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

h4, .h4,
h5, .h5,
h6, .h6 {
  font-family: var(--font-family-base);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.4;
}

/* --------------------------------------------------------------------
 * 4. MATERIAL SYMBOLS ICON PROTECTION (Zero-Conflict Rule)
 * -------------------------------------------------------------------- */
.material-symbols-outlined,
.material-icons,
[class*="material-symbols"] {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Filled icon variation when needed */
.material-symbols-outlined.fill-1,
.material-symbols-outlined[data-fill="1"] {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* --------------------------------------------------------------------
 * 5. BRAND GRADIENTS & DECORATIVE UTILITIES
 * -------------------------------------------------------------------- */
/* Chou Spa Signature Gold Gradient Text */
.gold-gradient-text {
  background: linear-gradient(135deg, #DFBE74 0%, #C5A059 50%, #9E7428 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

/* Gold Gradient Border */
.gold-border-gradient {
  border-image: linear-gradient(to right, #C5A059, #F5E6BE, #C5A059) 1;
}

/* Luxury Card Shadow */
.shadow-luxury {
  box-shadow: 0 20px 45px -15px rgba(21, 62, 50, 0.08), 0 0 1px 1px rgba(197, 160, 89, 0.15);
}

.shadow-luxury-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shadow-luxury-hover:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px -12px rgba(21, 62, 50, 0.16), 0 0 2px 1px rgba(197, 160, 89, 0.25);
}

/* --------------------------------------------------------------------
 * 6. MEDIA & EMBEDDED ELEMENTS
 * -------------------------------------------------------------------- */
img,
video,
canvas,
audio,
iframe,
embed,
object {
  max-width: 100%;
  height: auto;
  display: block;
}

svg {
  vertical-align: middle;
  flex-shrink: 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* --------------------------------------------------------------------
 * 7. FORM ELEMENTS & INTERACTION STATES
 * -------------------------------------------------------------------- */
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
input[type="time"],
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* Remove default number spinner arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield;
}

/* --------------------------------------------------------------------
 * 8. ANIMATIONS & MICRO-INTERACTIONS
 * -------------------------------------------------------------------- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.animate-pulse-slow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* --------------------------------------------------------------------
 * 9. CUSTOM LUXURY SCROLLBAR & SELECTION
 * -------------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F4EFEA;
}

::-webkit-scrollbar-thumb {
  background: #C5A059;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #99732B;
}

/* Hide scrollbar for horizontal mobile swipe carousels */
.scrollbar-none::-webkit-scrollbar,
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.scrollbar-none,
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.overflow-x-auto {
  -webkit-overflow-scrolling: touch;
}

::selection {
  background-color: var(--chou-gold);
  color: #ffffff;
}

::-moz-selection {
  background-color: var(--chou-gold);
  color: #ffffff;
}

/* --------------------------------------------------------------------
 * 10. ACCESSIBILITY & PRINT STYLES
 * -------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--chou-gold);
  outline-offset: 2px;
}

@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }
  header,
  footer,
  aside,
  #mobile-menu,
  .no-print {
    display: none !important;
  }
}

/* --------------------------------------------------------------------
 * 11. CHOU SPA LUXURY COMMENTS SECTION
 * -------------------------------------------------------------------- */
.comments-area {
  scroll-margin-top: 5rem;
}
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comment-list .children {
  list-style: none;
  padding-left: 1rem;
  margin-top: 1rem;
  margin-left: 0.5rem;
  border-left: 2px solid rgba(197, 160, 89, 0.35);
}
@media (min-width: 640px) {
  .comment-list .children {
    padding-left: 1.75rem;
    margin-left: 1.5rem;
  }
}
.comment-respond {
  transition: all 0.25s ease;
}
.comment-respond:focus-within {
  box-shadow: 0 12px 35px -10px rgba(21, 62, 50, 0.12);
  border-color: rgba(197, 160, 89, 0.4);
}
.comment-reply-link {
  text-decoration: none;
}

/* --------------------------------------------------------------------
 * 12. CHOU SPA EDITORIAL & ARTICLE TYPOGRAPHY
 * -------------------------------------------------------------------- */
.chouspa-article-content {
  font-family: var(--font-family-base);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #2D3748;
  word-break: break-word;
}

.chouspa-article-content h1,
.chouspa-article-content h2,
.chouspa-article-content h3,
.chouspa-article-content h4,
.chouspa-article-content h5,
.chouspa-article-content h6 {
  color: #153E32;
  font-family: var(--font-family-base);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-top: 2rem;
  margin-bottom: 0.875rem;
}

.chouspa-article-content h1 {
  font-size: 1.875rem;
  font-weight: 800;
}

.chouspa-article-content h2 {
  font-size: 1.45rem;
  font-weight: 700;
  padding-left: 0.875rem;
  border-left: 4px solid #C5A059;
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}

.chouspa-article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #153E32;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.chouspa-article-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #235D4B;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.chouspa-article-content p {
  margin-top: 0;
  margin-bottom: 1.25rem;
  line-height: 1.85;
}

.chouspa-article-content strong,
.chouspa-article-content b {
  color: #153E32;
  font-weight: 600;
}

.chouspa-article-content a {
  color: #153E32;
  text-decoration: underline;
  text-decoration-color: #C5A059;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.chouspa-article-content a:hover {
  color: #C5A059;
}

.chouspa-article-content ul {
  list-style-type: disc !important;
  padding-left: 1.5rem !important;
  margin-top: 0.875rem;
  margin-bottom: 1.25rem;
}

.chouspa-article-content ol {
  list-style-type: decimal !important;
  padding-left: 1.5rem !important;
  margin-top: 0.875rem;
  margin-bottom: 1.25rem;
}

.chouspa-article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
}

.chouspa-article-content blockquote {
  border-left: 4px solid #C5A059;
  background-color: #FAF7F2;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 0.875rem 0.875rem 0;
  font-style: italic;
  color: #153E32;
}

.chouspa-article-content blockquote p:last-child {
  margin-bottom: 0;
}

.chouspa-article-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 1rem;
  margin: 1.75rem auto;
  display: block;
  box-shadow: 0 4px 20px -4px rgba(21, 62, 50, 0.08);
}

.chouspa-article-content figure {
  margin: 2rem 0;
  max-width: 100%;
}

.chouspa-article-content figure img {
  margin-bottom: 0.5rem;
}

.chouspa-article-content figcaption {
  font-size: 0.875rem;
  color: #707973;
  text-align: center;
  font-style: italic;
  margin-top: 0.5rem;
}

.chouspa-article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.75rem 0;
  font-size: 0.9375rem;
  background-color: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.chouspa-article-content th,
.chouspa-article-content td {
  padding: 0.875rem 1rem;
  border: 1px solid #E8DFC8;
  text-align: left;
}

.chouspa-article-content th {
  background-color: #153E32;
  color: #ffffff;
  font-weight: 600;
}

.chouspa-article-content tr:nth-child(even) {
  background-color: #FAF7F2;
}


