@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@600;700&family=Lato:wght@400;500&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');

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

@layer base {
  :root {
    /* Core Colors */
    --background: 0 0% 100%;
    --foreground: 0 0% 15%;
    --card: 0 0% 100%;
    --card-foreground: 0 0% 15%;
    --popover: 0 0% 100%;
    --popover-foreground: 0 0% 15%;
    --primary: 322 33% 59%;
    --primary-foreground: 0 0% 100%;
    --secondary: 210 18% 62%;
    --secondary-foreground: 0 0% 100%;
    --muted: 270 25% 97%;
    --muted-foreground: 0 0% 35%;
    --accent: 285 33% 75%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    --border: 278 17% 91%;
    --input: 278 17% 91%;
    --ring: 322 33% 59%;

    /* Nav item accent colours */
    --nav-create-flogger: 322 45% 42%;
    --nav-shop-fetish: 270 55% 38%;
    --nav-about: 174 55% 38%;
    --nav-our-people: 0 65% 45%;
    --nav-faqs: 16 83% 50%;

    /* Extended Colors */
    --chart-1: 320 31% 89%;
    --chart-2: 322 33% 74%;
    --chart-3: 322 33% 59%;
    --chart-4: 322 33% 44%;
    --chart-5: 321 33% 29%;

    /* Sidebar Colors */
    --sidebar: 270 25% 97%;
    --sidebar-foreground: 0 0% 15%;
    --sidebar-primary: 322 33% 59%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 285 33% 75%;
    --sidebar-accent-foreground: 0 0% 100%;
    --sidebar-border: 278 17% 91%;
    --sidebar-ring: 322 33% 59%;

    /* Typography */
    --font-sans: "Lato", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: "Cormorant Garamond", Georgia, serif;
    --font-serif: ui-serif, Georgia, "Times New Roman", serif;
    --font-mono: ui-monospace, "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;

    /* Border Radius */
    --radius: 0.5rem;

    /* Shadows */
    --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
    --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
    --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 1px 2px -1px hsl(0 0% 0% / 0.10);
    --shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 1px 2px -1px hsl(0 0% 0% / 0.10);
    --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 2px 4px -1px hsl(0 0% 0% / 0.10);
    --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 4px 6px -1px hsl(0 0% 0% / 0.10);
    --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.10), 0 8px 10px -1px hsl(0 0% 0% / 0.10);
    --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);
  }

  * {
    @apply border-border;
  }

  body {
    @apply bg-background text-foreground font-sans;
  
    font-family: var(--font-sans);
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
  }
}

/* Custom utility classes */
@layer utilities {
  .animate-in {
    animation-duration: 0.2s;
    animation-fill-mode: both;
  }

  .fade-in {
    animation-name: fadeIn;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}

/* Unless told otherwise, keep it for smooth scrolling */
html {
  scroll-behavior: smooth;
}
