/* Uff-Da Eats — shared site styles
   Palette pulled from the existing flyer/menu: cream background,
   near-black text, brick-red accent. */

:root {
  --cream: #f2ece1;
  --cream-dark: #e9e0d0;
  --ink: #1a1613;
  --ink-soft: #4a433c;
  --red: #9c2b1f;
  --red-dark: #7a2118;
  --line: #d8cfbe;
  --white: #ffffff;
  --radius: 10px;
  --max-width: 1080px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Archivo Black", "Inter", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0 0 0.4em;
  line-height: 1.05;
  color: var(--ink);
}

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.1rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }

.eyebrow {
  font-family: "Archivo Black", sans-serif;
  color: var(--red);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 0.5em;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header / nav ---------- */

header.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  font-family: "Archivo Black", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.03em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
nav.main-nav a:hover { color: var(--red); text-decoration: none; }
nav.main-nav a.active { color: var(--red); }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--ink);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 1.1rem;
  cursor: pointer;
}

@media (max-width: 720px) {
  nav.main-nav {
    display: none;
    width: 100%;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 1rem;
  }
  nav.main-nav a {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle { display: block; }
  .nav-row { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero .tagline {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.hero .lede {
  max-width: 560px;
  margin: 1rem auto 2rem;
  font-size: 1.1rem;
}

.hero-photo {
  margin-top: 2.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: linear-gradient(135deg, #3a4642, #23302c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.9rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease;
}
.btn:hover { background: #000; text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-red {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.btn-red:hover { background: var(--red-dark); }

.btn-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */

section { padding: 3.5rem 0; }
section.alt { background: var(--cream-dark); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; margin-bottom: 2.5rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 780px) { .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}

/* ---------- Menu ---------- */

.menu-section { margin-bottom: 2.5rem; }
.menu-section h3 {
  color: var(--red);
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-weight: 700; }
.menu-item-desc { color: var(--ink-soft); font-size: 0.9rem; margin-top: 0.15rem; }
.menu-item-price { font-weight: 800; color: var(--red); white-space: nowrap; }

.menu-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 780px) { .menu-columns { grid-template-columns: 1fr; } }

.tag-list { color: var(--ink-soft); }

/* ---------- Schedule / calendar ---------- */

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.cal-nav button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  font-size: 1rem;
}
.cal-nav button:hover { background: var(--cream-dark); }
.cal-month-label {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-dow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 0.4rem;
}
.cal-cell {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 78px;
  padding: 0.4rem;
  font-size: 0.85rem;
  position: relative;
}
.cal-cell.empty { background: transparent; border: none; }
.cal-cell .date-num { font-weight: 700; color: var(--ink-soft); }
.cal-cell.today { outline: 2px solid var(--red); }
.cal-dot {
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  background: var(--red);
  color: var(--white);
  border-radius: 5px;
  padding: 2px 5px;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cal-cell { min-height: 56px; font-size: 0.72rem; }
  .cal-dot { font-size: 0.62rem; }
}

.event-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.event-row {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.event-date-badge {
  font-family: "Archivo Black", sans-serif;
  color: var(--red);
  min-width: 84px;
}
.event-info h4 { margin: 0 0 0.2rem; text-transform: none; font-family: inherit; font-weight: 700; font-size: 1.02rem; }
.event-info p { margin: 0; font-size: 0.9rem; }

.empty-state {
  text-align: center;
  color: var(--ink-soft);
  padding: 2rem 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

/* ---------- Forms ---------- */

form.stacked {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}
form.stacked .full { grid-column: 1 / -1; }
@media (max-width: 680px) { form.stacked { grid-template-columns: 1fr; } }

label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
label .req { color: var(--red); }

input, select, textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
textarea { resize: vertical; min-height: 90px; }

.field-hint { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.3rem; font-weight: 400; text-transform: none; }

.form-msg {
  margin-top: 1.25rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  display: none;
}
.form-msg.show { display: block; }
.form-msg.success { background: #e7f2e4; border: 1px solid #a9cf9f; color: #2a5c22; }
.form-msg.error { background: #f7e3e0; border: 1px solid #e2a89f; color: var(--red-dark); }

/* ---------- Footer ---------- */

footer.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
}
footer.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: flex-start;
}
footer.site-footer a { color: var(--cream); }
footer.site-footer .foot-brand {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 1.1rem;
}
footer.site-footer .foot-tag {
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-top: 0.4rem;
}
footer.site-footer .foot-col p { color: #cfc7ba; margin: 0.2rem 0; }
footer.site-footer .foot-col h4 {
  font-family: inherit;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #9a9186;
  margin-bottom: 0.6rem;
}

.admin-only-banner {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: 0.85rem;
  padding: 0.5rem;
}

/* ---------- Admin ---------- */

.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.admin-table th, .admin-table td {
  text-align: left;
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  vertical-align: top;
}
.admin-table th {
  background: var(--cream-dark);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.status-pill {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-new { background: #fde7c8; color: #8a5a12; }
.status-contacted { background: #d9e6f5; color: #2b4f7a; }
.status-confirmed { background: #d8eed3; color: #2a5c22; }
.status-declined { background: #f0d9d6; color: #8a2c22; }

.login-box {
  max-width: 360px;
  margin: 5rem auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}
