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

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

@layer base {
  :root {
    --background: 0 0% 10%;
    --foreground: 0 0% 100%;

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

    --popover: 0 0% 15%;
    --popover-foreground: 0 0% 100%;

    --primary: 24 100% 41%;
    --primary-foreground: 0 0% 100%;

    --secondary: 0 0% 17%;
    --secondary-foreground: 0 0% 100%;

    --muted: 0 0% 17%;
    --muted-foreground: 0 0% 69%;

    --accent: 24 100% 41%;
    --accent-foreground: 0 0% 100%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 100%;

    --border: 0 0% 22%;
    --input: 0 0% 22%;
    --ring: 24 100% 41%;

    --radius: 0.5rem;

    --sidebar-background: 0 0% 10%;
    --sidebar-foreground: 0 0% 100%;
    --sidebar-primary: 24 100% 41%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 0 0% 17%;
    --sidebar-accent-foreground: 0 0% 100%;
    --sidebar-border: 0 0% 22%;
    --sidebar-ring: 24 100% 41%;
  }
}

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

  body {
    @apply bg-background text-foreground;
    font-family: 'Inter', sans-serif;
  }

  h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
  }
}

@layer utilities {
  .font-oswald {
    font-family: 'Oswald', sans-serif;
  }
  .font-playfair {
    font-family: 'Playfair Display', serif;
  }
  .font-inter {
    font-family: 'Inter', sans-serif;
  }
  .text-rust {
    color: #d35400;
  }
  .bg-rust {
    background-color: #d35400;
  }
  .bg-rust-hover:hover {
    background-color: #e67e22;
  }
  .bg-charcoal {
    background-color: #2b2b2b;
  }
  .bg-charcoal-dark {
    background-color: #1a1a1a;
  }
  .bg-charcoal-card {
    background-color: #333333;
  }
  .text-gold {
    color: #f39c12;
  }
  .text-green-stock {
    color: #27ae60;
  }
  .border-charcoal {
    border-color: #444444;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
  background: #444;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #d35400;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}