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

body {
  font-family: 'PT Sans', Arial, Helvetica, sans-serif;
}

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

@layer base {
  :root {
    --background: 240 100% 99%;
    --foreground: 240 10% 3.9%;
    --card: 240 100% 99%;
    --card-foreground: 240 10% 3.9%;
    --popover: 240 100% 99%;
    --popover-foreground: 240 10% 3.9%;
    --primary: 45 74% 52%;
    --primary-foreground: 25 71% 10%;
    --secondary: 240 5% 96.1%;
    --secondary-foreground: 240 5.9% 10%;
    --muted: 240 5% 96.1%;
    --muted-foreground: 240 3.8% 46.1%;
    --accent: 25 71% 31%;
    --accent-foreground: 45 74% 98%;
    --border: 45 20% 85%;
    --input: 45 20% 90%;
    --ring: 45 74% 52%;
    --radius: 0.5rem;
  }
}

@layer base {
  * {
    border-color: hsl(var(--border));
  }
  body {
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
  }
}

/* Custom UI Classes to mimic Shadcn */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
  cursor: pointer;
}
.btn-ghost {
  padding: 0.5rem 1rem;
}
.btn-ghost:hover {
  background-color: hsl(var(--accent) / 0.1);
  color: hsl(var(--accent));
}
.btn-default {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
}
.btn-default:hover {
  background-color: hsl(var(--primary) / 0.9);
}
.btn-outline {
  border: 1px solid hsl(var(--input));
  padding: 0.5rem 1rem;
}
.btn-outline:hover {
  background-color: hsl(var(--accent) / 0.1);
}
.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1.125rem;
}

[data-state="open"] .accordion-content {
  display: block;
}
[data-state="closed"] .accordion-content {
  display: none;
}
.accordion-trigger[data-state="open"] svg {
  transform: rotate(180deg);
}

#mobile-menu {
  transition: transform 0.3s ease-in-out;
}
#mobile-menu[data-state="closed"] {
  transform: translateX(100%);
}
#mobile-menu[data-state="open"] {
  transform: translateX(0);
}

/* Modal */
.modal-overlay {
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-overlay[data-state="open"] {
  display: flex;
}
