/* VeioMonitor - Parco di Veio Color System & Utilities */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&family=Roboto+Condensed:wght@300;400;500;700&display=swap');

:root {
  /* MPSO Parco di Veio Theme - Exact React Template Colors */
  --primary: hsl(142, 40%, 27%); /* Forest green #2E5C3E */
  
  /* Forest colors - Dense vegetation of Veio Park */
  --forest-50: hsl(148, 35%, 96%);
  --forest-100: hsl(148, 30%, 92%);
  --forest-200: hsl(148, 25%, 85%);
  --forest-300: hsl(148, 25%, 75%);
  --forest-400: hsl(148, 30%, 60%);
  --forest-500: hsl(148, 45%, 28%); /* Dense forest green */
  --forest-600: hsl(148, 50%, 22%); /* Deeper forest */
  --forest-700: hsl(148, 55%, 18%); /* Ancient oak dark */
  --forest-800: hsl(148, 60%, 15%);
  --forest-900: hsl(148, 65%, 12%);

  /* Tuff stone colors - Roman countryside earth */
  --tuff-50: hsl(32, 20%, 95%);
  --tuff-100: hsl(32, 20%, 90%);
  --tuff-200: hsl(32, 20%, 85%);
  --tuff-300: hsl(32, 20%, 75%);
  --tuff-400: hsl(32, 25%, 60%);
  --tuff-500: hsl(32, 30%, 50%); /* Tufa stone */
  --tuff-600: hsl(32, 35%, 40%); /* Archaeological earth */
  --tuff-700: hsl(32, 40%, 30%); /* Ancient stone */
  --tuff-800: hsl(32, 45%, 25%);
  --tuff-900: hsl(32, 50%, 20%);

  /* Cremera river blues */
  --cremera-50: hsl(200, 40%, 95%);
  --cremera-100: hsl(200, 35%, 90%);
  --cremera-200: hsl(200, 35%, 85%);
  --cremera-300: hsl(200, 40%, 75%);
  --cremera-400: hsl(200, 50%, 60%);
  --cremera-500: hsl(200, 60%, 45%); /* River water */
  --cremera-600: hsl(200, 65%, 35%); /* Deep pools */
  --cremera-700: hsl(200, 70%, 25%);
  --cremera-800: hsl(200, 75%, 20%);
  --cremera-900: hsl(200, 80%, 15%);

  /* Enhanced nature palette */
  --terra: hsl(25, 60%, 45%); /* Rich earth brown */
  --salamander: hsl(18, 80%, 50%); /* Natural orange-red */
  --salamander-50: hsl(18, 80%, 95%);
  --salamander-100: hsl(18, 80%, 90%);
  --salamander-200: hsl(18, 80%, 85%);
  --salamander-300: hsl(18, 80%, 75%);
  --salamander-400: hsl(18, 80%, 60%);
  --salamander-500: hsl(18, 80%, 50%);
  --salamander-600: hsl(18, 80%, 40%);
  --salamander-700: hsl(18, 80%, 30%);
  --salamander-800: hsl(18, 80%, 25%);
  --salamander-900: hsl(18, 80%, 20%);

  /* Gray Scale for CRM */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic Colors - React Template Exact Match */
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(20, 14.3%, 4.1%);
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(20, 14.3%, 4.1%);
  --muted: hsl(60, 4.8%, 95.9%);
  --muted-foreground: hsl(25, 5.3%, 44.7%);
  --border: hsl(20, 5.9%, 90%);
  --input: hsl(20, 5.9%, 90%);
  --accent: hsl(60, 4.8%, 95.9%);
  --accent-foreground: hsl(24, 9.8%, 10%);
  
  --success: var(--forest-500);
  --warning: var(--tuff-500);
  --danger: var(--salamander-500);
  --info: var(--cremera-500);
  
  /* Typography */
  --font-roboto: 'Roboto', sans-serif;
  --font-roboto-condensed: 'Roboto Condensed', sans-serif;
}

/* Reset and Base Styles - TEMPORARILY DISABLED */
/*
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-roboto);
  line-height: 1.6;
  color: var(--terra-900);
  background-color: var(--forest-50);
}

/* Typography Classes */
.font-roboto { font-family: var(--font-roboto); }
.font-roboto-condensed { font-family: var(--font-roboto-condensed); }

/* Color Utilities - Exact React Template Match */
.text-forest-500 { color: var(--forest-500); }
.text-forest-600 { color: var(--forest-600); }
.text-forest-700 { color: var(--forest-700); }
.text-tuff-500 { color: var(--tuff-500); }
.text-tuff-600 { color: var(--tuff-600); }
.text-tuff-700 { color: var(--tuff-700); }
.text-cremera-500 { color: var(--cremera-500); }
.text-cremera-600 { color: var(--cremera-600); }
.text-cremera-700 { color: var(--cremera-700); }
.text-salamander { color: var(--salamander); }
.text-salamander-500 { color: var(--salamander-500); }
.text-salamander-600 { color: var(--salamander-600); }
.text-salamander-700 { color: var(--salamander-700); }
.text-terra { color: var(--terra); }

/* Gray Text Colors */
.text-gray-400 { color: var(--gray-400); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }

/* Status Colors */
.text-green-600 { color: #059669; }
.text-blue-600 { color: #2563eb; }
.text-purple-600 { color: #9333ea; }
.text-orange-600 { color: #ea580c; }

/* Background Colors - Exact React Template Match */
.bg-forest-50 { background-color: var(--forest-50); }
.bg-forest-100 { background-color: var(--forest-100); }
.bg-forest-500 { background-color: var(--forest-500); }
.bg-forest-600 { background-color: var(--forest-600); }
.bg-forest-700 { background-color: var(--forest-700); }
.bg-tuff-50 { background-color: var(--tuff-50); }
.bg-tuff-100 { background-color: var(--tuff-100); }
.bg-tuff-500 { background-color: var(--tuff-500); }
.bg-tuff-600 { background-color: var(--tuff-600); }
.bg-tuff-700 { background-color: var(--tuff-700); }
.bg-cremera-50 { background-color: var(--cremera-50); }
.bg-cremera-100 { background-color: var(--cremera-100); }
.bg-cremera-500 { background-color: var(--cremera-500); }
.bg-cremera-600 { background-color: var(--cremera-600); }
.bg-salamander-50 { background-color: var(--salamander-50); }
.bg-salamander-100 { background-color: var(--salamander-100); }
.bg-salamander-500 { background-color: var(--salamander-500); }
.bg-salamander-600 { background-color: var(--salamander-600); }
.bg-terra { background-color: var(--terra); }
.bg-salamander { background-color: var(--salamander); }
.bg-white { background-color: white; }

/* Gray Backgrounds */
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-200 { background-color: var(--gray-200); }
.bg-gray-300 { background-color: var(--gray-300); }

/* Status Backgrounds */
.bg-green-100 { background-color: #dcfce7; }
.bg-green-400 { background-color: #4ade80; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-purple-100 { background-color: #f3e8ff; }
.bg-orange-100 { background-color: #fed7aa; }
.bg-yellow-400 { background-color: #facc15; }

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-3 > * + * { margin-left: 0.75rem; }
.space-x-4 > * + * { margin-left: 1rem; }
.space-x-6 > * + * { margin-left: 1.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* Grid System */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Additional spacing utilities */
.space-x-8 > * + * { margin-left: 2rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

/* Missing utilities */
.h-16 { height: 4rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-4 { margin-left: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.w-5 { width: 1.25rem; }
.h-5 { height: 1.25rem; }
.border-t { border-top-width: 1px; }
.border-b-2 { border-bottom-width: 2px; }
.border-forest-200 { border-color: var(--forest-200); }
.border-forest-300 { border-color: var(--forest-300); }
.border-gray-200 { border-color: var(--gray-200); }
.border { border-width: 1px; }
.inline-flex { display: inline-flex; }
.justify-center { justify-content: center; }
.text-decoration-none { text-decoration: none; }
.transition-colors { transition: color 0.15s ease-in-out; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.gap-2 { gap: 0.5rem; }
.text-sm { font-size: 0.875rem; }
.uppercase { text-transform: uppercase; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.text-white { color: white; }
.opacity-20 { opacity: 0.2; }
.text-6xl { font-size: 3.75rem; }
.text-xl { font-size: 1.25rem; }
.text-lg { font-size: 1.125rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.text-tuff-500 { color: var(--tuff-500); }
.text-green-600 { color: #059669; }
.text-green-800 { color: #166534; }
.ml-2 { margin-left: 0.5rem; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.bottom-4 { bottom: 1rem; }
.left-4 { left: 1rem; }
.space-x-8 > * + * { margin-left: 2rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.max-w-md { max-width: 28rem; }
.w-auto { width: auto; }
.text-3xl { font-size: 1.875rem; }
.mt-6 { margin-top: 1.5rem; }
.text-center { text-align: center; }
.focus\:ring-forest-500:focus { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1); }
.focus\:border-forest-500:focus { border-color: var(--forest-500); }
.focus\:outline-none:focus { outline: none; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus\:ring-offset-2:focus { box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(59, 130, 246, 0.5); }
.disabled\:opacity-50:disabled { opacity: 0.5; }

/* Navigation Link Styles - Remove underlines from NavLink */
.nav-link {
  text-decoration: none !important;
}

.nav-link:hover {
  text-decoration: none !important;
}

.nav-link:focus {
  text-decoration: none !important;
  outline: none;
}

/* Ensure navigation colors work properly - keep MPSO and CRM green, menu items black */
nav .text-tuff-600 {
  color: var(--tuff-600) !important;
}

nav .text-forest-600 {
  color: var(--forest-600) !important;
}

nav .text-forest-700 {
  color: var(--forest-700) !important;
}

nav .text-gray-900 {
  color: var(--gray-900) !important;
}

nav .text-gray-700 {
  color: var(--gray-700) !important;
}

nav .hover\:text-forest-600:hover {
  color: var(--forest-600) !important;
}

nav .hover\:text-gray-700:hover {
  color: var(--gray-700) !important;
}

/* Language Button Styles */
.language-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.language-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 0.375rem;
}

/* Responsive Navigation */
.hidden { display: none; }
.md\\:flex { display: flex; }
.md\\:hidden { display: none; }

/* Missing responsive utilities */
.sm\\:px-6 { padding-left: 1rem; padding-right: 1rem; }
.lg\\:px-8 { padding-left: 1rem; padding-right: 1rem; }
.lg\\:gap-12 { gap: 3rem; }
.lg\\:grid { display: grid; }
.lg\\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.lg\\:mt-0 { margin-top: 0; }
.mt-10 { margin-top: 2.5rem; }

/* Sizing */
.w-4 { width: 1rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-48 { height: 12rem; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Spacing */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.m-0 { margin: 0; }
.mt-0.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.mb-4 { margin-bottom: 1rem !important; }
.mb-6 { margin-bottom: 1.5rem !important; }
.mb-8 { margin-bottom: 2rem !important; }
.mb-12 { margin-bottom: 3rem !important; }
.mb-16 { margin-bottom: 4rem !important; }
.mb-20 { margin-bottom: 5rem !important; }
.mb-24 { margin-bottom: 6rem !important; }
.mb-32 { margin-bottom: 8rem !important; }
.mb-40 { margin-bottom: 10rem !important; }

/* Text Sizing */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }

/* Text Utilities */
.text-center { text-align: center; }
.text-white { color: white; }
.leading-relaxed { line-height: 1.625; }

/* Font Weights */
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* Typography Refinements */
.leading-none { line-height: 1; }
.tracking-tight { letter-spacing: -0.025em; }

/* Semantic Color Classes */
.text-primary { color: var(--primary); }
.text-muted-foreground { color: var(--muted-foreground); }
.text-card-foreground { color: var(--card-foreground); }
.bg-background { background-color: var(--background); }
.bg-card { background-color: var(--card); }
.bg-muted { background-color: var(--muted); }
.bg-accent { background-color: var(--accent); }
.border-border { border-color: var(--border); }
.border-input { border-color: var(--input); }

/* Positioning */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.bottom-0 { bottom: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* Borders and Shadows */
.rounded { border-radius: 0.25rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.border { border-width: 1px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l-4 { border-left-width: 4px; }
.last\:border-b-0:last-child { border-bottom-width: 0; }
.border-forest-500 { border-color: var(--forest-500); }
.border-forest-600 { border-color: var(--forest-600); }
.border-cremera-500 { border-color: var(--cremera-500); }
.border-salamander-500 { border-color: var(--salamander-500); }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }
.border-forest-300 { border-color: #86efac; }
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.hover\:shadow-xl:hover { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }

/* Transitions and Animations */
.transition { transition: all 0.15s ease-in-out; }
.transition-all { transition: all 0.3s ease-in-out; }
.duration-300 { transition-duration: 300ms; }
.ease-in-out { transition-timing-function: ease-in-out; }

.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.hover\:transform:hover { transform: translateY(-2px); }
.hover\:bg-forest-600:hover { background-color: var(--forest-600); }
.hover\:bg-forest-700:hover { background-color: var(--forest-700); }
.hover\:bg-forest-50:hover { background-color: var(--forest-50); }
.hover\:bg-salamander-600:hover { background-color: var(--salamander-600); }
.hover\:text-forest-600:hover { color: var(--forest-600); }
.hover\:text-forest-700:hover { color: var(--forest-700); }

/* Animations */
@keyframes slide-in {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.animate-slide-in {
  animation: slide-in 0.6s ease-out;
}

.animate-fade-in {
  animation: fade-in 1s ease-in-out;
}

.animate-shimmer {
  animation: shimmer 1.2s ease-in-out infinite;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200px 100%;
}

/* Component Specific Styles */
.hero-slider {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
}

.nav-menu {
  background-color: var(--forest-700);
  color: white;
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-link {
  color: white;
  text-decoration: none;
  padding: 1rem;
  transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--salamander-500);
  color: white;
}

.environmental-card {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid var(--forest-500);
}

.environmental-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.15s ease-in-out;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--forest-500);
  color: white;
}

.btn-primary:hover {
  background-color: var(--forest-600);
}

.btn-secondary {
  background-color: var(--tuff-500);
  color: var(--terra-900);
}

.btn-secondary:hover {
  background-color: var(--tuff-600);
}

/* Miscellaneous Utilities */
.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }
.opacity-80 { opacity: 0.8; }

/* Layout Utilities */
.min-w-0 { min-width: 0px; }
.flex-1 { flex: 1 1 0%; }
.truncate { 
  overflow: hidden; 
  text-overflow: ellipsis; 
  white-space: nowrap; 
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* Opacity Background Utilities */
.bg-primary\/10 { background-color: hsl(142, 40%, 27%, 0.1); }
.bg-blue-600\/10 { background-color: rgba(37, 99, 235, 0.1); }
.bg-green-600\/10 { background-color: rgba(5, 150, 105, 0.1); }
.bg-purple-600\/10 { background-color: rgba(147, 51, 234, 0.1); }
.bg-orange-600\/10 { background-color: rgba(234, 88, 12, 0.1); }

/* Card Component Base */
.card {
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  color: var(--card-foreground);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.card-content {
  padding: 1.5rem;
}

/* Hover States */
.hover\:bg-accent:hover { background-color: var(--accent); }
.hover\:text-accent-foreground:hover { color: var(--accent-foreground); }
.hover\:bg-primary\/90:hover { background-color: hsl(142, 40%, 27%, 0.9); }

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }
  
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .text-5xl {
    font-size: 2.25rem;
  }
  
  .text-6xl {
    font-size: 3rem;
  }
  
  .md\:flex-row {
    flex-direction: column;
  }
  
  .md\:space-x-6 > * + * {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .md\:space-y-0 > * + * {
    margin-top: 1rem;
  }
}

@media (min-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:flex {
    display: flex !important;
  }
  
  .md\:hidden {
    display: none !important;
  }
  
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:items-center {
    align-items: center;
  }
  
  .md\:space-x-6 > * + * {
    margin-left: 1.5rem;
  }
  
  .md\:space-y-0 > * + * {
    margin-top: 0;
  }
}

@media (min-width: 1024px) {
  .lg\:grid {
    display: grid;
  }
  
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  
  .lg\:gap-12 {
    gap: 3rem;
  }
  
  .lg\:mt-0 {
    margin-top: 0;
  }
}

/* Dynamic content styling for HTML content from CMS */
.project-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #4b5563;
}

/* Project Page Section Spacing - Override CSS Reset */
.project-page-section {
    margin-bottom: 6rem !important; /* 96px - equivalent to mb-24 */
}

.project-page-section.large-spacing {
    margin-bottom: 8rem !important; /* 128px - equivalent to mb-32 */
}

.project-content p {
    margin-bottom: 1rem;
}

.project-content h1, .project-content h2, .project-content h3 {
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.project-content h1 {
    font-size: 2rem;
}

.project-content h2 {
    font-size: 1.5rem;
}

.project-content h3 {
    font-size: 1.25rem;
}

.project-content ul, .project-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.project-content a {
    color: var(--forest-600);
    text-decoration: underline;
}

.project-content a:hover {
    color: var(--forest-700);
}

.project-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0;
}

.project-content .space-y-4 > * + * {
    margin-top: 1rem;
}

.project-content .flex.items-start {
    margin-bottom: 1rem;
}

.project-content .text-forest-500 {
    color: var(--forest-500);
}

.project-content .text-tuff-700 {
    color: var(--tuff-700);
}

.project-content .text-tuff-600 {
    color: var(--tuff-600);
}

.project-content .bg-forest-500 {
    background-color: var(--forest-500);
}

.project-content .hover\:bg-forest-600:hover {
    background-color: var(--forest-600);
}

/* Loading animation */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}