/* ==========================================================================
   THE MANOR HOUSE - BOUTIQUE STAYS
   In-Room Dining Design System & CSS Tokens
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Brand Palette - Heritage Luxury Hospitality */
  --manor-green-deep: #14231E;
  --manor-green-primary: #1C2E27;
  --manor-green-surface: #253C33;
  --manor-green-light: #335146;
  --manor-green-rgb: 28, 46, 39;

  --manor-gold-primary: #C5A880;
  --manor-gold-light: #E4D2B8;
  --manor-gold-deep: #9E7D4E;
  --manor-gold-subtle: rgba(197, 168, 128, 0.15);
  --manor-gold-glow: rgba(197, 168, 128, 0.35);

  /* Backgrounds & Canvas */
  --bg-canvas: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-secondary: #F3EFE8;
  --bg-warm-tint: #F7F4EE;
  --bg-dark: #121E1A;
  --bg-dark-surface: #1B2B25;

  /* Typography Colors */
  --text-primary: #1F2421;
  --text-secondary: #525C56;
  --text-muted: #7D8881;
  --text-light: #A5B0A9;
  --text-inverse: #FFFFFF;
  --text-inverse-muted: #C9D4CE;
  --text-gold: #AC8A57;

  /* Dietary & Accent Colors */
  --color-veg: #2E7D32;
  --color-veg-bg: #E8F5E9;
  --color-nonveg: #C62828;
  --color-nonveg-bg: #FFEBEE;
  --color-dairy: #1565C0;
  --color-gluten: #E65100;
  --color-egg: #F57F17;
  --color-nuts: #6D4C41;
  --color-soy: #558B2F;

  /* Borders & Dividers */
  --border-ultra-light: rgba(0, 0, 0, 0.04);
  --border-subtle: #E8E2D8;
  --border-card: #DFD7C9;
  --border-gold: rgba(197, 168, 128, 0.45);
  --border-gold-solid: #C5A880;
  --border-dark-subtle: rgba(255, 255, 255, 0.12);

  /* Typography Fonts */
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(20, 35, 30, 0.04);
  --shadow-card: 0 6px 24px rgba(20, 35, 30, 0.06);
  --shadow-float: 0 12px 36px rgba(20, 35, 30, 0.12);
  --shadow-hover: 0 16px 40px rgba(20, 35, 30, 0.14);
  --shadow-header: 0 4px 24px rgba(0, 0, 0, 0.18);
  --shadow-drawer: -10px 0 45px rgba(0, 0, 0, 0.35);

  /* Radius */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-quick: 0.18s cubic-bezier(0.2, 0, 0.2, 1);
  --transition-smooth: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.55s cubic-bezier(0.16, 1, 0.3, 1);

  /* Spacing */
  --header-height: 84px;
  --header-height-mobile: 70px;
  --sticky-nav-height: 60px;
}

/* Base Reset & Box Sizing */
*, *::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-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Accessible focus ring */
:focus-visible {
  outline: 2px solid var(--manor-gold-primary);
  outline-offset: 3px;
}

/* Typography Utility Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--manor-green-deep);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  letter-spacing: 0.04em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-quick);
}

button {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  background: transparent;
  transition: all var(--transition-quick);
}

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

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

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

.container-wide {
  max-width: 1440px;
}

/* Luxury Editorial Accents */
.gold-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 20px 0;
}

.gold-separator::before,
.gold-separator::after {
  content: "";
  height: 1px;
  width: 60px;
  background: linear-gradient(90deg, transparent, var(--manor-gold-primary), transparent);
}

.gold-diamond {
  width: 6px;
  height: 6px;
  background-color: var(--manor-gold-primary);
  transform: rotate(45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-xs);
  transition: all var(--transition-smooth);
}

.btn-primary {
  background-color: var(--manor-gold-primary);
  color: var(--manor-green-deep);
  border: 1px solid var(--manor-gold-primary);
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.25);
}

.btn-primary:hover {
  background-color: #d1b58f;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(197, 168, 128, 0.4);
}

.btn-outline {
  background-color: transparent;
  color: var(--manor-gold-light);
  border: 1px solid var(--border-gold);
}

.btn-outline:hover {
  background-color: var(--manor-gold-subtle);
  color: #fff;
  border-color: var(--manor-gold-primary);
}

.btn-forest {
  background-color: var(--manor-green-primary);
  color: #FFFFFF;
  border: 1px solid var(--manor-green-surface);
}

.btn-forest:hover {
  background-color: var(--manor-green-surface);
  color: var(--manor-gold-light);
}

/* Micro Badge */
.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
