:root {
  --brand: #0f3d2e;
  --brand-dark: #092820;
  --gold: #c9a227;
  --sand: #f6f1e7;
  --text: #24322f;
  --muted: #6b7a76;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 6px 20px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site-header { background: var(--white); box-shadow: 0 2px 10px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 20; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-size: 1.25rem; font-weight: 700; color: var(--brand-dark); }
.brand img.logo { height: 48px; width: auto; }
.brand span { font-weight: 400; color: var(--muted); font-size: 0.85rem; display: block; }
nav ul { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
nav a { font-weight: 600; color: var(--text); }
nav a:hover { color: var(--brand); }

/* Hero / slider */
.hero { position: relative; overflow: hidden; height: 60vh; min-height: 380px; background: var(--brand-dark); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); opacity: 0; transition: opacity .8s ease; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-slide::before { content: ""; position: absolute; inset: 0; background: rgba(9,40,32,0.5); }
.hero-content { position: relative; z-index: 2; max-width: 700px; padding: 20px; }
.hero-content h1 { font-size: 2.4rem; margin-bottom: 8px; }
.hero-content p { font-size: 1.1rem; opacity: 0.95; }

section { padding: 60px 0; }
h2.section-title { font-size: 1.8rem; color: var(--brand-dark); margin-bottom: 8px; text-align: center; }
p.section-sub { text-align: center; color: var(--muted); margin-bottom: 36px; }

.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); }

.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card img { width: 100%; height: 190px; object-fit: cover; display: block; background: #ddd; }
.card-body { padding: 18px; }
.card-body h3 { margin: 0 0 6px; color: var(--brand-dark); }
.price-tag { color: var(--gold); font-weight: 700; }

.menu-item { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #e6e0d2; }
.menu-cat { margin-top: 30px; font-weight: 700; color: var(--brand-dark); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; }

.contact-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; max-width: 640px; margin: 0 auto; text-align: center; }
.contact-box p { color: var(--muted); margin-bottom: 24px; }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: var(--white); border: none; padding: 12px 22px; border-radius: 8px; font-weight: 700; cursor: pointer; font-size: 0.95rem; }
.btn:hover { background: var(--brand-dark); }
.btn.whatsapp { background: #25d366; }
.btn.whatsapp:hover { background: #1ebc59; }
.btn.call { background: var(--gold); color: var(--brand-dark); }
.btn.call:hover { background: #b18f20; }
.btn.danger { background: #c0392b; }
.btn.danger:hover { background: #922b21; }
.btn.small { padding: 6px 14px; font-size: 0.82rem; }

footer { background: var(--brand-dark); color: var(--white); text-align: center; padding: 30px 0; margin-top: 40px; }
footer a { color: #cdeee5; }

@media (max-width: 720px) {
  nav ul { display: none; }
  .btn-row { flex-direction: column; }
}

/* ---- Admin panel ---- */
.admin-body { background: #f1f3f5; }
.admin-header { background: var(--brand-dark); color: #fff; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; }
.admin-wrap { display: flex; min-height: calc(100vh - 58px); }
.admin-sidebar { width: 200px; background: #fff; border-right: 1px solid #e2e2e2; padding: 20px 0; }
.admin-sidebar button { display: block; width: 100%; text-align: left; padding: 12px 24px; background: none; border: none; font-weight: 600; font-size: 0.95rem; cursor: pointer; color: #333; }
.admin-sidebar button.active, .admin-sidebar button:hover { background: var(--sand); color: var(--brand-dark); }
.admin-main { flex: 1; padding: 30px; max-width: 800px; }
.admin-card { background: #fff; border-radius: 10px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); margin-bottom: 24px; }
.admin-card h2 { margin-top: 0; }
table.admin-table { width: 100%; border-collapse: collapse; }
table.admin-table th, table.admin-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #eee; font-size: 0.88rem; vertical-align: middle; }
table.admin-table th { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; }
table.admin-table img.thumb { width: 50px; height: 38px; object-fit: cover; border-radius: 4px; background: #eee; }
.form-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); margin-bottom: 14px; }
.form-grid label { font-size: 0.8rem; font-weight: 600; display: block; margin-bottom: 4px; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 6px; font: inherit; }
.login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--brand-dark); }
.login-box { background: #fff; padding: 40px; border-radius: 12px; width: 340px; box-shadow: var(--shadow); text-align: center; }
.login-box input { width: 100%; padding: 10px; margin: 14px 0; border: 1px solid #ccc; border-radius: 6px; font: inherit; }
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; font-size: 0.9rem; }
.alert-success { background: #e2f6ec; color: #0d6e5c; }
.alert-error { background: #fbe6e6; color: #a02b2b; }
.alert-warn { background: #fff6e0; color: #8a6d00; }
