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

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

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 222.2 84% 4.9%;

    --card: 0 0% 100%;
    --card-foreground: 222.2 84% 4.9%;

    --popover: 0 0% 100%;
    --popover-foreground: 222.2 84% 4.9%;

    --primary: 44 59% 55%;
    --primary-foreground: 0 0% 100%;

    --secondary: 217 49% 24%;
    --secondary-foreground: 0 0% 100%;

    --muted: 210 40% 96.1%;
    --muted-foreground: 215.4 16.3% 46.9%;

    --accent: 44 59% 55%;
    --accent-foreground: 0 0% 100%;

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

    --border: 214.3 31.8% 91.4%;
    --input: 214.3 31.8% 91.4%;
    --ring: 44 59% 55%;

    --radius: 0.5rem;
  }

  .dark {
    --background: 222.2 84% 4.9%;
    --foreground: 210 40% 98%;

    --card: 222.2 84% 4.9%;
    --card-foreground: 210 40% 98%;

    --popover: 222.2 84% 4.9%;
    --popover-foreground: 210 40% 98%;

    --primary: 44 59% 55%;
    --primary-foreground: 0 0% 100%;

    --secondary: 217 49% 24%;
    --secondary-foreground: 210 40% 98%;

    --muted: 217.2 32.6% 17.5%;
    --muted-foreground: 215 20.2% 65.1%;

    --accent: 44 59% 55%;
    --accent-foreground: 0 0% 100%;

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

    --border: 217.2 32.6% 17.5%;
    --input: 217.2 32.6% 17.5%;
    --ring: 44 59% 55%;
  }
}

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

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

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

@layer components {
  .btn-primary {
    @apply bg-gold text-white px-6 py-3 inline-block font-medium rounded hover:opacity-90 transition-opacity;
  }
  
  .btn-secondary {
    @apply bg-navy text-white px-6 py-3 inline-block font-medium rounded hover:opacity-90 transition-opacity;
  }
  
  .btn-outline {
    @apply border border-gold text-gold px-6 py-3 inline-block font-medium rounded hover:bg-gold hover:text-white transition-all;
  }

  .container-custom {
    @apply container mx-auto px-4 md:px-8 max-w-7xl;
  }

  .section-padding {
    @apply py-12 md:py-20;
  }

  .section-title {
    @apply text-3xl md:text-4xl font-serif font-semibold mb-4;
  }

  .section-subtitle {
    @apply text-lg text-gray-600 mb-10 max-w-2xl;
  }
  
  .property-card {
    @apply bg-white rounded-lg shadow-md overflow-hidden transition-all duration-300 hover:shadow-xl;
  }
  
  .dropdown-menu {
    @apply absolute z-50 mt-2 w-auto bg-white rounded-md shadow-lg py-1 text-sm ring-1 ring-black ring-opacity-5 focus:outline-none;
  }

  /* Styling for property description HTML content */
  .property-description {
    @apply text-gray-700;
  }
  
  .property-description p {
    @apply mb-4;
  }
  
  .property-description ul {
    @apply list-disc pl-5 mb-4;
  }
  
  .property-description ol {
    @apply list-decimal pl-5 mb-4;
  }
  
  .property-description li {
    @apply mb-1;
  }
  
  .property-description strong, 
  .property-description b {
    @apply font-semibold;
  }
}
