:root {
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --secondary: #8b5cf6;
  --accent: #f59e0b;
  --bg: #ffffff;
  --bg-alt: #f9fafb;
  --text: #111827;
  --text-light: #6b7280;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); text-decoration: underline; }

.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { white-space: nowrap; }

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: 4rem 1.5rem;
  text-align: center;
}
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; font-family: 'Playfair Display', serif; }
.hero p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 2rem; }
.stats-bar {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.stat { font-size: 1.5rem; font-weight: 700; }

.search-container {
  position: relative;
  max-width: 600px;
  margin: 2rem auto;
}
#parkSearch {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border: 2px solid var(--color-primary);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s ease;
}
#parkSearch:focus {
  border-color: #4f46e5;
}
#searchResults {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-top: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: none;
}
.search-item {
  padding: 1rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.search-item:hover {
  background: #f9fafb;
}
.search-item:last-child {
  border-bottom: none;
}
.search-item-name {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}
.search-item-meta {
  font-size: 0.875rem;
  color: #6b7280;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.card-body {
  padding: 1.5rem;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.card-meta {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--bg-alt);
  border-radius: 4px;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  margin-top: 0.25rem;
}

.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-light);
}
.footer-links {
  margin-bottom: 1rem;
}
.footer-links a {
  margin: 0 0.75rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { flex-wrap: nowrap; }
}
