@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    --background: 220 20% 97%;
    --foreground: 222 47% 16%;

    --card: 0 0% 100%;
    --card-foreground: 222 47% 16%;

    --popover: 0 0% 100%;
    --popover-foreground: 222 47% 16%;

    --primary: 222 47% 16%;
    --primary-foreground: 0 0% 100%;

    --secondary: 42 85% 41%;
    --secondary-foreground: 0 0% 100%;

    --muted: 220 14% 92%;
    --muted-foreground: 222 10% 45%;

    --accent: 42 85% 41%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;

    --border: 220 13% 87%;
    --input: 220 13% 87%;
    --ring: 42 85% 41%;

    --radius: 0.625rem;
    --radius-sm: calc(0.625rem - 4px);
    --radius-lg: calc(0.625rem + 4px);
    --radius-full: 9999px;

    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    --spacing-3xl: 64px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.03), 0 1px 3px 0 rgb(0 0 0 / 0.06);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.05);

    --duration-fast: 150ms;
    --duration-normal: 250ms;
    --duration-slow: 350ms;

    --chart-1: 42 85% 41%;
    --chart-2: 222 47% 16%;
    --chart-3: 42 70% 55%;
    --chart-4: 222 30% 35%;
    --chart-5: 42 60% 65%;

    --navy: #0D1B3E;
    --gold: #C9940A;
    --gold-light: #E8B84B;
    --navy-light: #1A2D5A;
  }

  .dark {
    --background: 222 47% 10%;
    --foreground: 0 0% 95%;

    --card: 222 47% 14%;
    --card-foreground: 0 0% 95%;

    --popover: 222 47% 14%;
    --popover-foreground: 0 0% 95%;

    --primary: 42 85% 41%;
    --primary-foreground: 222 47% 10%;

    --secondary: 222 47% 20%;
    --secondary-foreground: 0 0% 95%;

    --muted: 222 30% 18%;
    --muted-foreground: 220 10% 60%;

    --accent: 42 85% 41%;
    --accent-foreground: 222 47% 10%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 0 0% 98%;

    --border: 222 30% 22%;
    --input: 222 30% 22%;
    --ring: 42 85% 41%;

    --chart-1: 42 85% 50%;
    --chart-2: 222 47% 40%;
    --chart-3: 42 70% 60%;
    --chart-4: 222 30% 50%;
    --chart-5: 42 60% 70%;
  }
}

@layer base {
  * {
    @apply border-border;
  }
  body {
    @apply bg-background text-foreground;
  }
}

[data-hydration-error] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}
