:root {
  /* Casa Daron Brand Colors */
  --background: 32 100% 96%;
  /* Cream/Beige #FFDBB5 lighter */
  --foreground: 330 32% 22%;
  /* Wine text */

  --card: 32 100% 98%;
  --card-foreground: 330 32% 22%;

  --popover: 32 100% 98%;
  --popover-foreground: 330 32% 22%;

  /* Primary: Wine #472439 */
  --primary: 330 32% 21%;
  --primary-foreground: 32 100% 96%;

  /* Secondary: Olive Green #7E8000 */
  --secondary: 61 100% 25%;
  --secondary-foreground: 32 100% 96%;

  /* Muted: Light cream */
  --muted: 32 40% 90%;
  --muted-foreground: 330 20% 40%;

  /* Accent: Terracotta #A14E52 */
  --accent: 357 35% 47%;
  --accent-foreground: 32 100% 96%;

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

  --border: 32 30% 85%;
  --input: 32 30% 85%;
  --ring: 330 32% 21%;

  --radius: 0.75rem;

  /* Custom Casa Daron tokens */
  --wine: 330 32% 21%;
  --olive: 61 100% 25%;
  --cream: 32 100% 85%;
  --terracotta: 357 35% 47%;
  --cream-light: 32 100% 96%;

  /* Gradients */
  --gradient-hero: linear-gradient(180deg, hsl(32 100% 85% / 0.1) 0%, hsl(330 32% 21% / 0.95) 100%);
  --gradient-wine: linear-gradient(135deg, hsl(330 32% 21%) 0%, hsl(357 35% 47%) 100%);
  --gradient-olive: linear-gradient(135deg, hsl(61 100% 25%) 0%, hsl(61 100% 35%) 100%);

  /* Shadows */
  --shadow-card: 0 4px 20px hsl(330 32% 21% / 0.08);
  --shadow-elevated: 0 8px 30px hsl(330 32% 21% / 0.12);

  /* Typography */
  --font-heading: 'Podkova', serif;
  --font-body: 'Lato', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.text-wine {
  color: hsl(var(--wine));
}

.text-olive {
  color: hsl(var(--olive));
}

.text-terracotta {
  color: hsl(var(--terracotta));
}

.text-cream {
  color: hsl(var(--cream));
}

.bg-wine {
  background-color: hsl(var(--wine));
}

.bg-olive {
  background-color: hsl(var(--olive));
}

.bg-terracotta {
  background-color: hsl(var(--terracotta));
}

.bg-cream {
  background-color: hsl(var(--cream));
}

.bg-cream-light {
  background-color: hsl(var(--cream-light));
}

.gradient-hero {
  background: var(--gradient-hero);
}

.gradient-wine {
  background: var(--gradient-wine);
}

.gradient-olive {
  background: var(--gradient-olive);
}

.shadow-card {
  box-shadow: var(--shadow-card);
}

.shadow-elevated {
  box-shadow: var(--shadow-elevated);
}

/* Decorative border pattern */
.border-pattern {
  background: repeating-linear-gradient(45deg,
      hsl(var(--olive)),
      hsl(var(--olive)) 20px,
      hsl(var(--wine)) 20px,
      hsl(var(--wine)) 40px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: hsl(var(--cream));
}

::-webkit-scrollbar-thumb {
  background: hsl(var(--wine));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: hsl(var(--terracotta));
}

@keyframes pulse-custom {

  0%,
  100% {
    background-color: hsl(var(--terracotta));
  }

  50% {
    background-color: hsl(var(--wine));
  }
}

.animate-pulse-custom {
  animation: pulse-custom 2s infinite ease-in-out;
}

@keyframes pulse-custom {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  }
}

.animate-pulse-custom {
  animation: pulse-custom 2s infinite ease-in-out;
}