@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: 32 20% 97%;
    --foreground: 20 14% 12%;

    --card: 0 0% 100%;
    --card-foreground: 20 14% 12%;

    --popover: 0 0% 100%;
    --popover-foreground: 20 14% 12%;

    --primary: 186 65% 35%;
    --primary-foreground: 0 0% 100%;

    --secondary: 38 75% 58%;
    --secondary-foreground: 20 14% 12%;

    --muted: 32 15% 90%;
    --muted-foreground: 20 10% 45%;

    --accent: 38 75% 58%;
    --accent-foreground: 20 14% 12%;

    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;

    --border: 32 15% 85%;
    --input: 32 15% 85%;
    --ring: 186 65% 35%;

    --radius: 0.75rem;
    
    --gradient-hero: linear-gradient(135deg, hsl(186 65% 35%), hsl(186 55% 45%));
    --gradient-card: linear-gradient(180deg, hsl(0 0% 100%), hsl(32 20% 98%));
    --shadow-elegant: 0 10px 40px -10px hsl(186 65% 35% / 0.15);
    --shadow-hover: 0 20px 60px -15px hsl(186 65% 35% / 0.25);
    --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: 20 20% 8%;
    --foreground: 32 20% 95%;

    --card: 20 18% 12%;
    --card-foreground: 32 20% 95%;

    --popover: 20 18% 12%;
    --popover-foreground: 32 20% 95%;

    --primary: 186 65% 45%;
    --primary-foreground: 0 0% 100%;

    --secondary: 38 75% 55%;
    --secondary-foreground: 20 14% 12%;

    --muted: 20 15% 18%;
    --muted-foreground: 32 10% 60%;

    --accent: 38 75% 55%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;

    --border: 20 15% 22%;
    --input: 20 15% 22%;
    --ring: 186 65% 45%;
    --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;
  }
}
