/* ══════════════════════════════════════════════════════
   Restaurant Hub — Global Design Tokens
   ══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  /* Core palette */
  --ivory: #FCFBF7;
  --ivory-warm: #F9F8F3;
  --cream: #F2EFE8;
  --sand: #EAE5D9;
  --taupe: #D0C8B7;
  --graphite: #111111;
  --graphite-soft: #2A2A2A;
  --coffee: #C5A059;
  --coffee-light: #D4B373;
  --coffee-pale: rgba(197, 160, 89, 0.12);
  
  /* Dark theme */
  --dark-bg: #0a0a0a;
  --dark-surface: #141414;
  --dark-surface-2: #1a1a1a;
  --dark-border: #2a2a2a;
  --dark-text: #f0f0f0;
  --dark-text-muted: #888888;
  
  /* Semantic */
  --accent: var(--coffee);
  --accent-hover: #b58f48;
  --accent-glow: rgba(197, 160, 89, 0.15);
  --danger: #e74c3c;
  --success: #27ae60;
  
  /* Spacing */
  --r: 12px;
  --r-sm: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, system-ui, sans-serif;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
img { max-width: 100%; display: block; }

.fade-in {
  opacity: 0;
  transform: translateY(12px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r);
}
