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

@layer base {
  :root {
    --background: 60 9% 98%;
    --foreground: 20 9% 13%;
    
    --card: 0 0% 100%;
    --card-foreground: 20 9% 13%;
    
    --popover: 0 0% 100%;
    --popover-foreground: 20 9% 13%;
    
    --primary: 20 70% 31%;
    --primary-foreground: 60 9% 98%;
    
    --primary-light: 20 53% 41%;
    --primary-dark: 28 50% 27%;
    
    --secondary: 48 67% 91%;
    --secondary-foreground: 20 9% 13%;
    
    --secondary-light: 60 100% 97%;
    --secondary-dark: 55 71% 76%;
    
    --accent: 43 65% 49%;
    --accent-foreground: 0 0% 100%;
    
    --accent-light: 55 71% 76%;
    --accent-dark: 43 74% 39%;
    
    --muted: 60 4.8% 95.9%;
    --muted-foreground: 20 3.8% 46.1%;
    
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 60 9% 98%;

    --border: 20 5.9% 90%;
    --input: 20 5.9% 90%;
    --ring: 20 9% 13%;
    
    --radius: 0.5rem;
    
    --sidebar-background: 0 0% 100%;
    --sidebar-foreground: 20 9% 13%;
    --sidebar-primary: 20 70% 31%;
    --sidebar-primary-foreground: 60 9% 98%;
    --sidebar-accent: 43 65% 49%;
    --sidebar-accent-foreground: 0 0% 100%;
    --sidebar-border: 20 5.9% 90%;
    --sidebar-ring: 20 5.9% 90%;
    
    --chart-1: 20 70% 31%;
    --chart-2: 43 65% 49%;
    --chart-3: 20 53% 41%;
    --chart-4: 55 71% 76%;
    --chart-5: 28 50% 27%;
  }
 
  .dark {
    --background: 20 10% 10%;
    --foreground: 60 9% 98%;
    
    --card: 20 10% 14%;
    --card-foreground: 60 9% 98%;
    
    --popover: 20 10% 14%;
    --popover-foreground: 60 9% 98%;
    
    --primary: 20 70% 31%;
    --primary-foreground: 60 9% 98%;
    
    --primary-light: 20 53% 41%;
    --primary-dark: 28 50% 27%;
    
    --secondary: 48 30% 21%;
    --secondary-foreground: 60 9% 98%;
    
    --secondary-light: 48 20% 30%;
    --secondary-dark: 48 40% 15%;
    
    --accent: 43 65% 49%;
    --accent-foreground: 0 0% 100%;
    
    --accent-light: 43 45% 59%;
    --accent-dark: 43 74% 39%;
    
    --muted: 20 10% 20%;
    --muted-foreground: 20 10% 70%;
    
    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 60 9% 98%;
    
    --border: 20 10% 25%;
    --input: 20 10% 25%;
    --ring: 20 53% 41%;
    
    --sidebar-background: 20 10% 14%;
    --sidebar-foreground: 60 9% 98%;
    --sidebar-primary: 20 53% 41%;
    --sidebar-primary-foreground: 60 9% 98%;
    --sidebar-accent: 43 65% 49%;
    --sidebar-accent-foreground: 0 0% 100%;
    --sidebar-border: 20 10% 25%;
    --sidebar-ring: 20 53% 41%;
    
    --chart-1: 20 70% 31%;
    --chart-2: 43 65% 49%;
    --chart-3: 20 53% 41%;
    --chart-4: 55 60% 60%;
    --chart-5: 28 50% 40%;
  }
}

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

  h1, h2, h3, h4, h5, h6 {
    @apply font-heading font-bold;
  }
}

@layer utilities {
  .font-heading {
    font-family: 'Playfair Display', serif;
  }
  
  .font-body {
    font-family: 'Open Sans', sans-serif;
  }
  
  .font-accent {
    font-family: 'Ubuntu', sans-serif;
  }
}
