/* Local Foodie Finds – Base Styles */

:root {
  --color-primary: #c2410c;
  --color-primary-light: #ea580c;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-bg: #fef7ed;
  --color-card: #ffffff;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.site-header {
  background: var(--color-primary);
  color: white;
  padding: 1.5rem 0;
}

.site-header .logo {
  color: white;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
}

.site-header .tagline {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.main {
  min-height: 60vh;
  padding: 2rem 0;
}

.hero {
  text-align: center;
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: 1.75rem;
  margin: 0 0 0.5rem;
}

.hero .lead {
  font-size: 1.1rem;
  color: var(--color-muted);
}

.section {
  margin-bottom: 2.5rem;
}

.section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.muted {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.restaurant-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.restaurant-card {
  background: var(--color-card);
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.restaurant-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.restaurant-card .meta {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

.restaurant-card .meta .rating {
  margin-right: 0.75rem;
}

.restaurant-card .description {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.restaurant-card .offer {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  padding: 0.5rem;
  background: var(--color-bg);
  border-radius: 4px;
}

.restaurant-card .links a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9rem;
  margin-right: 1rem;
}

.restaurant-card .links a:hover {
  text-decoration: underline;
}

.empty {
  color: var(--color-muted);
  font-style: italic;
}

.cta {
  background: var(--color-card);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.subscribe-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 1rem auto 0;
}

.subscribe-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

.subscribe-form button {
  padding: 0.75rem 1.25rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.subscribe-form button:hover {
  background: var(--color-primary-light);
}

.subscribe-result {
  margin-top: 1rem;
  min-height: 2rem;
}

.subscribe-success {
  color: #059669;
}

.subscribe-saved {
  color: var(--color-muted);
}

.subscribe-err {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.5rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  color: var(--color-muted);
  font-size: 0.875rem;
}
