/* ==========================================================================
   CHIRANI SIGNATURE HOTEL — DESIGN SYSTEM & TOKENS
   Visual Identity: Deep Pine Teal, Warm Champagne Gold, Alabaster Cream
   Typography: Cormorant Garamond (Editorial Serif) + Jost (Geometric Sans)
   ========================================================================== */

:root {
  /* Brand Primary Palette (Direct from chirani.com) */
  --chirani-teal-primary: #122223;    /* Main brand dark forest/pine teal */
  --chirani-teal-dark: #0A2D27;       /* Preloader / deepest teal */
  --chirani-teal-mid: #1D3334;        /* Section contrast teal */
  --chirani-teal-deep: #0E1D1E;       /* Elevated dark card surface */
  --chirani-teal-translucent: rgba(18, 34, 35, 0.94);
  --chirani-teal-glass: rgba(18, 34, 35, 0.75);

  /* Brand Secondary & Accent Palette */
  --chirani-gold-champagne: #F9DABA;  /* Official warm gold/sand accent */
  --chirani-gold-rich: #E5BE94;       /* Rich hover gold */
  --chirani-gold-muted: #C8A682;      /* Muted gold borders */
  --chirani-gold-glow: rgba(249, 218, 186, 0.25);
  --chirani-gold-faint: rgba(249, 218, 186, 0.08);

  /* Light Tones / Neutral Surfaces */
  --chirani-alabaster: #F8F5F0;       /* Warm light section surface */
  --chirani-mint-cream: #EDF5F3;      /* Subtle secondary light */
  --chirani-white: #FFFFFF;
  --chirani-white-90: rgba(255, 255, 255, 0.90);
  --chirani-white-70: rgba(255, 255, 255, 0.70);
  --chirani-white-40: rgba(255, 255, 255, 0.40);
  --chirani-white-15: rgba(255, 255, 255, 0.15);
  --chirani-white-08: rgba(255, 255, 255, 0.08);

  /* Status / Sub-Accents */
  --chirani-olive-success: #5B7052;
  --chirani-olive-soft: rgba(91, 112, 82, 0.15);
  --chirani-amber-warn: #927238;
  --chirani-amber-soft: rgba(146, 114, 56, 0.15);
  --chirani-slate-info: #4780AA;
  --chirani-slate-soft: rgba(71, 128, 170, 0.15);

  /* Borders & Dividers */
  --border-dark-subtle: rgba(255, 255, 255, 0.10);
  --border-dark-gold: rgba(249, 218, 186, 0.28);
  --border-light-subtle: rgba(18, 34, 35, 0.12);
  --border-light-gold: rgba(200, 166, 130, 0.35);

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;

  /* Typography Scale */
  --text-2xs: 0.6875rem;   /* 11px */
  --text-xs: 0.8125rem;    /* 13px */
  --text-sm: 0.9375rem;    /* 15px */
  --text-base: 1.0625rem;  /* 17px */
  --text-lg: 1.3125rem;    /* 21px */
  --text-xl: 1.5rem;       /* 24px */
  --text-2xl: 1.875rem;    /* 30px */
  --text-3xl: 2.5rem;      /* 40px */
  --text-4xl: 3.25rem;     /* 52px */
  --text-5xl: 4rem;        /* 64px */
  --text-6xl: 5rem;        /* 80px */

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

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 12px 36px rgba(0, 0, 0, 0.18);
  --shadow-elevated: 0 24px 60px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 30px rgba(249, 218, 186, 0.18);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-editorial: 0.7s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout dimensions */
  --header-height: 72px;
  --deck-max-width: 1720px;
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--chirani-teal-primary);
  color: var(--chirani-alabaster);
  font-family: var(--font-sans);
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--chirani-teal-primary);
  color: var(--chirani-alabaster);
  line-height: 1.6;
}

/* Editorial Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--chirani-white);
}

p {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.65;
  color: var(--chirani-white-90);
}

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

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

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--chirani-teal-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--chirani-gold-muted);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--chirani-gold-champagne);
}
