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

/* Definition of the design system. All colors, gradients, fonts, etc should be defined here. 
All colors MUST be HSL.
*/

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 220 15% 20%;

    --card: 0 0% 100%;
    --card-foreground: 220 15% 20%;

    --popover: 0 0% 100%;
    --popover-foreground: 220 15% 20%;

    --primary: 215 70% 25%;
    --primary-foreground: 0 0% 100%;

    --secondary: 145 50% 45%;
    --secondary-foreground: 0 0% 100%;

    --muted: 210 20% 96%;
    --muted-foreground: 220 15% 50%;

    --accent: 25 95% 55%;
    --accent-foreground: 0 0% 100%;

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

    --border: 215 20% 88%;
    --input: 215 20% 88%;
    --ring: 215 70% 25%;

    --radius: 0.75rem;
    
    --gradient-hero: linear-gradient(135deg, hsl(215 70% 25%) 0%, hsl(215 60% 35%) 100%);
    --gradient-cta: linear-gradient(135deg, hsl(25 95% 55%) 0%, hsl(25 95% 48%) 100%);
    --shadow-elevated: 0 10px 40px -10px hsl(215 70% 25% / 0.2);
    --shadow-card: 0 4px 20px -4px hsl(215 70% 25% / 0.1);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --sidebar-background: 0 0% 98%;

    --sidebar-foreground: 240 5.3% 26.1%;

    --sidebar-primary: 240 5.9% 10%;

    --sidebar-primary-foreground: 0 0% 98%;

    --sidebar-accent: 240 4.8% 95.9%;

    --sidebar-accent-foreground: 240 5.9% 10%;

    --sidebar-border: 220 13% 91%;

    --sidebar-ring: 217.2 91.2% 59.8%;
  }

  .dark {
    --background: 220 25% 8%;
    --foreground: 0 0% 95%;

    --card: 220 20% 12%;
    --card-foreground: 0 0% 95%;

    --popover: 220 20% 12%;
    --popover-foreground: 0 0% 95%;

    --primary: 215 70% 60%;
    --primary-foreground: 0 0% 100%;

    --secondary: 145 50% 50%;
    --secondary-foreground: 0 0% 100%;

    --muted: 220 20% 16%;
    --muted-foreground: 220 10% 65%;

    --accent: 25 95% 58%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 62.8% 50%;
    --destructive-foreground: 0 0% 100%;

    --border: 220 20% 20%;
    --input: 220 20% 20%;
    --ring: 215 70% 60%;
    
    --gradient-hero: linear-gradient(135deg, hsl(215 70% 20%) 0%, hsl(215 60% 30%) 100%);
    --gradient-cta: linear-gradient(135deg, hsl(25 95% 58%) 0%, hsl(25 95% 50%) 100%);
    --shadow-elevated: 0 10px 40px -10px hsl(0 0% 0% / 0.4);
    --shadow-card: 0 4px 20px -4px hsl(0 0% 0% / 0.3);
    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
}

@layer base {
  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground;
  }
}
