/* ==========================================================================
   Warung Selera — shared styles (variables, reset, nav, footer, buttons)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500&family=Caveat:wght@500;700&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --red: #c41230;
  --red-dark: #8f0e24;
  --red-darker: #6e0a1c;
  --cream: #fdf3e3;
  --cream-soft: #f7e6cd;
  --ink: #2b1210;
  --gold: #d9a441;
  --coral: #d9836c;
  --green: #5e8f3d;
  --sage: #8ba17a;
  --teal: #1f5c56;
  --dustyblue: #5b7c99;
  --dusty: #e7b6ab;
  --white: #ffffff;
  --shadow: 0 10px 30px rgba(43, 18, 16, 0.18);
  --radius: 18px;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-script: 'Caveat', cursive;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--red);
  -webkit-text-stroke: 1.5px var(--ink);
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
}

.section-lead {
  max-width: 620px;
  color: var(--ink);
  opacity: 0.8;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  background: var(--red-dark);
}

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

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

.btn-light {
  background: var(--cream);
  color: var(--red);
}

.btn-light:hover {
  background: var(--white);
}

/* ---------------- Decorative food-doodle background ---------------- */

.doodle-bg {
  background-color: var(--cream);
  background-image: url('../images/pattern-food.svg');
  background-size: 220px 220px;
  background-repeat: repeat;
}

.doodle-bg-red {
  background-color: var(--red);
  background-image: url('../images/pattern-food.svg');
  background-size: 220px 220px;
  background-repeat: repeat;
}

/* ---------------- Brand mark (reused in top bar, footer, admin, dashboard) ---------------- */

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--red);
  text-transform: uppercase;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  color: var(--cream);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

/* ---------------- Shared page header bar (admin, dashboard) ---------------- */

.admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  background: var(--cream);
  border-bottom: 1px solid rgba(43,18,16,0.1);
}

.admin-bar h1 {
  font-family: var(--font-display);
  color: var(--ink);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------------- Reusable dish "plate" ---------------- */

.plate {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  border: 6px solid var(--white);
}

.plate.plate-sm {
  width: 90px;
}

.plate img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
}

/* ---------------- CSS-drawn dish visuals (no external images/fonts) ---------------- */

.dish {
  width: 74%;
  height: 74%;
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.12);
}

.dish::before,
.dish::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.dish-story {
  background: radial-gradient(circle at 50% 50%, #e8875a, #b8231c 85%);
}
.dish-story::before { width: 70%; height: 70%; top: 15%; left: 15%; border: 4px solid rgba(255,255,255,0.35); background: transparent; }
.dish-story::after { width: 40%; height: 40%; top: 30%; left: 30%; border: 3px solid rgba(255,255,255,0.3); background: transparent; }

/* ---------------- Avatars (people, initials-based) ---------------- */

.avatar {
  width: 74%;
  height: 74%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  color: var(--cream);
  font-size: 2.2rem;
  letter-spacing: 0.02em;
}

.avatar-1 { background: linear-gradient(135deg, var(--red), var(--red-darker)); }
.avatar-2 { background: linear-gradient(135deg, var(--gold), #a8611e); }
.avatar-3 { background: linear-gradient(135deg, #5e8f3d, #345223); }

/* ---------------- Utility ---------------- */

.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 48px;
}
