/* Theme Variables and Base Styles */
:root {
  /* Typography */
  --font-primary: 'Lora', serif;
  --font-secondary: 'Source Sans Pro', sans-serif;
  
  /* Colors */
  --primary: #7a4e2d;      /* earthy brown */
  --secondary: #3d5a40;    /* forest green */
  --accent: #f4a259;       /* sunset orange */
  --highlight: #7d8a50;    /* olive green */
  --text-dark: #2e2e2e;    /* near black for text */
  --text-light: #ffffff;   /* white for text */
  --success: #57910c;      /* sage green */
  --warning: #d98252;      /* terracotta */
  
  /* Background Colors */
  --bg-primary: #f5f0e6;   /* calm beige */
  --bg-secondary: #e9dccb; /* sand background */
  --bg-accent: #f9e8d8;    /* pale tan */
  --bg-light: #ffe2c6;     /* soft peach */
  
  /* Spacing */
  --space-xs: 0.25rem;     /* 4px */
  --space-sm: 0.5rem;      /* 8px */
  --space-md: 1rem;        /* 16px */
  --space-lg: 1.5rem;      /* 24px */
  --space-xl: 2rem;        /* 32px */
  --space-xxl: 3rem;       /* 48px */
  
  /* Typography Scale */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.15;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Base Typography */
h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6, .display-7 {
  font-family: var(--font-primary) !important;
  line-height: var(--leading-tight) !important;
  color: var(--text-dark);
}

body, p, li, .mbr-text {
  font-family: var(--font-secondary) !important;
  line-height: var(--leading-normal) !important;
  color: var(--text-dark);
}

/* Section Spacing */
section {
  padding: var(--space-xxl) 0;
}

/* Buttons */
.btn {
  font-family: var(--font-secondary);
  font-weight: 600;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
}

/* Cards & Images */
.card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.image-wrapper img {
  border-radius: var(--radius-lg);
}

/* Links */
a {
  color: var(--primary);
  transition: var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}