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

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

@layer base {
  :root {
    --background: 40 33% 98%;
    --foreground: 160 20% 15%;

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

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

    --primary: 160 50% 22%;
    --primary-foreground: 40 33% 98%;

    --secondary: 40 30% 94%;
    --secondary-foreground: 160 20% 15%;

    --muted: 40 20% 92%;
    --muted-foreground: 160 10% 40%;

    --accent: 43 74% 49%;
    --accent-foreground: 160 20% 15%;

    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 210 40% 98%;

    --border: 40 20% 88%;
    --input: 40 20% 88%;
    --ring: 160 50% 22%;

    --radius: 0.5rem;

    --gold: 43 74% 49%;
    --gold-light: 43 60% 70%;
    --cream: 40 33% 96%;
    --cream-dark: 40 25% 90%;
    --emerald: 160 50% 22%;
    --emerald-light: 160 40% 35%;
    --emerald-dark: 160 60% 12%;

    --sidebar-background: 0 0% 98%;
    --sidebar-foreground: 240 5.3% 26.1%;
    --sidebar-primary: 240 5.9% 10%;
    --sidebar-primary-foreground: 0 0% 98%;
    --sidebar-accent: 240 4.8% 95.9%;
    --sidebar-accent-foreground: 240 5.9% 10%;
    --sidebar-border: 220 13% 91%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }

  .dark {
    --background: 160 30% 8%;
    --foreground: 40 33% 96%;

    --card: 160 25% 12%;
    --card-foreground: 40 33% 96%;

    --popover: 160 25% 12%;
    --popover-foreground: 40 33% 96%;

    --primary: 43 74% 49%;
    --primary-foreground: 160 30% 8%;

    --secondary: 160 20% 18%;
    --secondary-foreground: 40 33% 96%;

    --muted: 160 15% 20%;
    --muted-foreground: 40 20% 65%;

    --accent: 43 74% 49%;
    --accent-foreground: 160 30% 8%;

    --destructive: 0 62.8% 30.6%;
    --destructive-foreground: 210 40% 98%;

    --border: 160 20% 20%;
    --input: 160 20% 20%;
    --ring: 43 74% 49%;

    --sidebar-background: 240 5.9% 10%;
    --sidebar-foreground: 240 4.8% 95.9%;
    --sidebar-primary: 224.3 76.3% 48%;
    --sidebar-primary-foreground: 0 0% 100%;
    --sidebar-accent: 240 3.7% 15.9%;
    --sidebar-accent-foreground: 240 4.8% 95.9%;
    --sidebar-border: 240 3.7% 15.9%;
    --sidebar-ring: 217.2 91.2% 59.8%;
  }
}

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

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

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

@layer utilities {
  .font-serif {
    font-family: 'Playfair Display', serif;
  }

  .font-sans {
    font-family: 'Inter', sans-serif;
  }

  .text-gradient-gold {
    @apply bg-gradient-to-r from-[hsl(var(--gold))] to-[hsl(var(--gold-light))] bg-clip-text text-transparent;
  }

  .bg-gradient-hero {
    background: linear-gradient(135deg, hsl(var(--emerald-dark)) 0%, hsl(var(--emerald)) 50%, hsl(var(--emerald-light)) 100%);
  }

  .bg-gradient-gold {
    background: linear-gradient(135deg, hsl(var(--gold)) 0%, hsl(var(--gold-light)) 100%);
  }

  .shadow-elegant {
    box-shadow: 0 10px 40px -10px hsl(var(--emerald) / 0.15);
  }

  .shadow-card {
    box-shadow: 0 4px 20px -4px hsl(var(--foreground) / 0.08);
  }

  .animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
  }

  .animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
  }

  .animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
  }
}

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

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

html {
  scroll-behavior: smooth;
}
