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

:root {
  --cream: #FAF7F0;
  --deep-green: #1B4B43;
  --mango: #F2A33D;
  --citrus-yellow: #FFD23F;
  --ink: #22322E;
  --muted: #6B7A75;
  --error: #C0392B;
  --success: #2E7D32;
  --border: #E3DFD3;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1, h2, h3 { font-family: 'Fredoka', sans-serif; color: var(--deep-green); margin-top: 0; }
a { color: var(--deep-green); }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 48px 0; }

/* Header / Nav */
.site-header { background: var(--deep-green); color: white; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; }
.brand { font-family: 'Fredoka', sans-serif; font-size: 1.4rem; color: white; text-decoration: none; font-weight: 700; }
.site-header nav a { color: #EAF3EE; text-decoration: none; margin-left: 24px; font-weight: 500; }
.site-header nav a.btn-staff { background: var(--mango); color: var(--deep-green); padding: 8px 16px; border-radius: 999px; font-weight: 600; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--deep-green), #2E6B5F);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 90px 0;
  text-align: center;
}
.hero-inner h1 { color: white; font-size: 3rem; margin-bottom: 8px; }
.hero .tagline { font-size: 1.2rem; color: var(--citrus-yellow); margin-bottom: 24px; }
.btn-cta {
  display: inline-block;
  background: var(--mango);
  color: var(--deep-green);
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: 'Fredoka', sans-serif;
}
.btn-cta:hover { background: var(--citrus-yellow); }

/* Gallery / Menu grids */
.gallery-grid, .menu-grid, .media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 16px;
}
.gallery-item img, .gallery-item video { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; }
.menu-cat { margin-top: 40px; border-bottom: 2px solid var(--mango); display: inline-block; padding-bottom: 4px; }
.menu-item { background: white; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.menu-item img { width: 100%; height: 150px; object-fit: cover; }
.menu-item-info { padding: 12px 16px; }
.menu-item-info h3 { margin: 0 0 4px; font-size: 1.05rem; }
.menu-item-info .price { color: var(--mango); font-weight: 700; margin: 0; }

/* Footer */
.site-footer { background: var(--deep-green); color: #CFE3D9; padding: 24px 0; margin-top: 40px; text-align: center; font-size: 0.9rem; }

/* Login */
.login-body { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--deep-green); }
.login-box { background: white; padding: 40px; border-radius: 16px; width: 100%; max-width: 360px; }
.login-box h1 { text-align: center; }
.login-box label { display: block; margin-top: 14px; font-weight: 600; font-size: 0.9rem; }
.login-box input { width: 100%; padding: 10px; margin-top: 6px; border: 1px solid var(--border); border-radius: 8px; }
.login-box button { width: 100%; margin-top: 20px; padding: 12px; background: var(--mango); border: none; border-radius: 8px; font-weight: 700; cursor: pointer; font-family: 'Fredoka', sans-serif; }
.back-link { display: block; text-align: center; margin-top: 16px; font-size: 0.85rem; }

/* Shared utility */
.error { color: var(--error); font-weight: 600; }
.success { color: var(--success); font-weight: 600; }
.muted { color: var(--muted); }
.data-table { width: 100%; border-collapse: collapse; margin-top: 12px; background: white; }
.data-table th, .data-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.data-table th { background: #F0ECE0; font-family: 'Fredoka', sans-serif; }
.thumb { width: 50px; height: 50px; object-fit: cover; border-radius: 6px; }
.inline-form { display: inline-flex; gap: 6px; align-items: center; }
.filter-form { display: flex; gap: 16px; align-items: end; flex-wrap: wrap; margin: 16px 0; }
.filter-form label { font-size: 0.85rem; font-weight: 600; display: flex; flex-direction: column; gap: 4px; }
.filter-form input, .filter-form select { padding: 8px; border: 1px solid var(--border); border-radius: 6px; }
