@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600&display=swap');

:root {
  --charcoal: #241611;
  --brown: #4a2c1a;
  --orange: #d9622b;
  --ember: #f2a154;
  --cream: #fdf6ec;
  --text: #2b1c12;
  --smoke: #8a7669;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', Georgia, 'Times New Roman', serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 480px; }

h1, h2, h3, .logo { font-family: 'Fraunces', Georgia, serif; color: var(--brown); }

/* ---------- header ---------- */
.site-header {
  background: linear-gradient(180deg, var(--charcoal), #2f1d15);
  color: white;
  padding: 1rem 0;
  border-bottom: 3px solid var(--orange);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.logo {
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.logo span { color: var(--ember); }
.site-header nav a {
  position: relative;
  color: #f0e6da;
  text-decoration: none;
  margin-left: 1.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.site-header nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--ember);
  transition: width 0.2s ease;
}
.site-header nav a:hover { color: var(--ember); }
.site-header nav a:hover::after { width: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,0.08) 0 2px, transparent 2px 26px),
    radial-gradient(ellipse at 30% 20%, #f2a154 0%, #d9622b 42%, #7a3418 78%, var(--charcoal) 100%);
  color: white;
  text-align: center;
  padding: 5rem 0 4.5rem;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: white;
  margin: 0 0 0.6rem;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 3px 18px rgba(0,0,0,0.35);
}
.hero p {
  font-size: 1.15rem;
  margin: 0 auto 1.8rem;
  max-width: 32rem;
  color: #fff3e6;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #5a3520, var(--brown));
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); background: linear-gradient(180deg, #6b3f26, #3c2313); }
.btn:active { transform: translateY(0); }
.btn.small { padding: 0.45rem 1rem; font-size: 0.85rem; }
.btn.danger { background: linear-gradient(180deg, #b23f3f, #8a2f2f); }

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

h2 { font-size: 1.8rem; margin-bottom: 1rem; }
h2::after {
  content: '';
  display: block;
  width: 54px;
  height: 3px;
  background: var(--orange);
  margin-top: 0.5rem;
  border-radius: 2px;
}

/* ---------- feature strip ---------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin: 2.5rem 0;
}
.feature-card {
  background: white;
  border-radius: 10px;
  padding: 1.4rem 1.2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 3px solid var(--orange);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 10px 22px rgba(0,0,0,0.1); }
.feature-icon { font-size: 1.8rem; display: block; margin-bottom: 0.5rem; }
.feature-card h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.feature-card p { margin: 0; font-size: 0.9rem; color: #5c4b3f; }

/* ---------- testimonial ---------- */
.testimonial {
  margin: 2.5rem auto;
  max-width: 42rem;
  text-align: center;
  padding: 0 1rem;
}
.testimonial p {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--brown);
  margin: 0 0 0.6rem;
  line-height: 1.5;
}
.testimonial cite {
  font-style: normal;
  font-weight: 600;
  color: var(--smoke);
  font-size: 0.9rem;
}

/* ---------- events ---------- */
.event-list { list-style: none; padding: 0; }
.event-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: white;
  border-left: 4px solid var(--orange);
  padding: 1.1rem 1.3rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.event-card:hover { transform: translateX(2px); box-shadow: 0 6px 16px rgba(0,0,0,0.09); }
.date-badge {
  flex: 0 0 auto;
  background: var(--brown);
  color: white;
  border-radius: 8px;
  width: 56px;
  text-align: center;
  padding: 0.4rem 0;
  line-height: 1.1;
}
.date-badge .day { display: block; font-size: 1.3rem; font-weight: 700; font-family: 'Fraunces', serif; }
.date-badge .mon { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ember); }
.event-card .event-body { flex: 1; }
.event-card .event-body strong { font-size: 1.05rem; }
.event-card span { display: block; color: #6b5c4f; font-size: 0.9rem; margin-top: 0.15rem; }
.event-card p { margin: 0.5rem 0 0; }

/* ---------- menu ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.3rem;
  margin: 1.5rem 0;
}
.menu-item {
  position: relative;
  background: white;
  padding: 1.4rem 1.3rem;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
  border-top: 3px solid var(--orange);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.menu-item:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.12); }
.menu-item h3 { margin: 0 0 0.4rem; }
.menu-item p { margin: 0; color: #5c4b3f; font-size: 0.95rem; }
.edit-note {
  color: var(--smoke);
  font-style: italic;
  border: 1px dashed #cbb9a8;
  background: #faf1e6;
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  display: inline-block;
}

/* ---------- contact ---------- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 480px;
  background: white;
  padding: 1.8rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  margin-top: 1.5rem;
}
.contact-form label { font-weight: 600; font-size: 0.9rem; color: var(--brown); }
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid #ddd0c2;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(217, 98, 43, 0.15);
}
.success-msg { color: #2a7a4f; font-weight: 600; }
.error-msg { color: #b23f3f; font-weight: 600; }

/* ---------- admin ---------- */
.admin-bar { display: flex; justify-content: space-between; align-items: center; }
.admin-table { width: 100%; border-collapse: collapse; margin: 1rem 0 2rem; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.admin-table th { background: #f6e9da; text-align: left; }
.admin-table th, .admin-table td { padding: 0.7rem 0.8rem; border-bottom: 1px solid #eee; text-align: left; font-size: 0.9rem; }

/* ---------- footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #2f1d15, var(--charcoal));
  color: #cbb9a8;
  text-align: center;
  padding: 1.8rem 0;
  font-size: 0.85rem;
  border-top: 3px solid var(--orange);
}
.site-footer a { color: #cbb9a8; text-decoration: underline; }
.site-footer a:hover { color: var(--ember); }
