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

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

@layer base {
  :root {
    --background: 0 0% 98%;
    --foreground: 210 25% 12%;

    --card: 0 0% 100%;
    --card-foreground: 210 25% 12%;

    --popover: 0 0% 100%;
    --popover-foreground: 210 25% 12%;

    --primary: 174 72% 40%;
    --primary-foreground: 0 0% 100%;

    --primary-light: 174 65% 94%;
    --primary-dark: 174 72% 28%;

    --secondary: 210 20% 95%;
    --secondary-foreground: 210 25% 12%;

    --muted: 210 15% 95%;
    --muted-foreground: 210 10% 50%;

    --accent: 174 72% 40%;
    --accent-foreground: 0 0% 100%;

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

    --border: 210 15% 90%;
    --input: 210 15% 90%;
    --ring: 174 72% 40%;

    --radius: 0.75rem;

    --hero-gradient: linear-gradient(135deg, hsl(174, 72%, 40%) 0%, hsl(174, 60%, 30%) 50%, hsl(190, 70%, 25%) 100%);
    --card-shadow: 0 4px 20px -4px hsl(210 15% 12% / 0.08);
    --card-shadow-hover: 0 12px 32px -8px hsl(174 72% 40% / 0.2);

    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 174 72% 40%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 174 65% 94%;
    --sidebar-accent-foreground: 174 72% 28%;
    --sidebar-border: 210 15% 90%;
    --sidebar-ring: 174 72% 40%;
  }

  .dark {
    --background: 210 25% 8%;
    --foreground: 210 15% 95%;
    --card: 210 25% 12%;
    --card-foreground: 210 15% 95%;
    --popover: 210 25% 12%;
    --popover-foreground: 210 15% 95%;
    --primary: 174 72% 45%;
    --primary-foreground: 0 0% 100%;
    --primary-light: 174 40% 15%;
    --primary-dark: 174 72% 55%;
    --secondary: 210 20% 15%;
    --secondary-foreground: 210 15% 95%;
    --muted: 210 20% 15%;
    --muted-foreground: 210 10% 60%;
    --accent: 174 72% 45%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 62% 30%;
    --destructive-foreground: 210 15% 95%;
    --border: 210 20% 18%;
    --input: 210 20% 18%;
    --ring: 174 72% 45%;
    --sidebar-background: 210 25% 10%;
    --sidebar-foreground: 210 15% 90%;
    --sidebar-primary: 174 72% 45%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 174 40% 15%;
    --sidebar-accent-foreground: 210 15% 90%;
    --sidebar-border: 210 20% 18%;
    --sidebar-ring: 174 72% 45%;
  }
}

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

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

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

@layer utilities {
  .text-gradient {
    @apply bg-clip-text text-transparent;
    background-image: var(--hero-gradient);
  }

  .bg-hero-gradient {
    background-image: var(--hero-gradient);
  }
}
