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

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

@layer base {
  :root {
    /* Core Colors */
    --background: 195 61% 13%;
    --foreground: 0 0% 96%;
    --card: 196 55% 15%;
    --card-foreground: 41 35% 91%;
    --popover: 195 61% 13%;
    --popover-foreground: 0 0% 96%;
    --primary: 39 65% 47%;
    --primary-foreground: 0 0% 100%;
    --secondary: 195 55% 23%;
    --secondary-foreground: 0 0% 100%;
    --muted: 200 52% 18%;
    --muted-foreground: 193 26% 73%;
    --accent: 39 65% 47%;
    --accent-foreground: 0 0% 100%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 100%;
    --border: 197 51% 24%;
    --input: 197 51% 24%;
    --ring: 39 65% 47%;

    /* Extended Colors */
    --chart-1: 39 65% 77%;
    --chart-2: 39 65% 63%;
    --chart-3: 39 65% 47%;
    --chart-4: 39 65% 33%;
    --chart-5: 40 66% 17%;

    /* Sidebar Colors */
    --sidebar: 200 52% 18%;
    --sidebar-foreground: 0 0% 96%;
    --sidebar-primary: 39 65% 47%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 39 65% 47%;
    --sidebar-accent-foreground: 0 0% 100%;
    --sidebar-border: 197 51% 24%;
    --sidebar-ring: 39 65% 47%;

    /* Typography */
    --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: "Playfair Display", 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;
}
