/* ==============================
   GLOBAL RESET
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background-color: #fff7ed;
  color: #1f2937;
  line-height: 1.6;
}

/* ==============================
   LAYOUT
============================== */
.wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==============================
   NAVBAR
============================== */
header {
  background: transparent;
  padding: 20px 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: #1f2937;
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
}

nav a {
  text-decoration: none;
  font-weight: 600;
  color: #1f2937;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #e11d48;
}

.hr {
  margin-top: 18px;
  height: 1px;
  background-color: #e5e7eb;
}

/* ==============================
   HEADINGS
============================== */
h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
}

h2 {
  font-size: 1.6rem;
  font-weight: 700;
}

/* ==============================
   BUTTONS
============================== */
.btn {
  display: inline-block;
  background-color: #e11d48;
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.btn-outline {
  background: transparent;
  color: #e11d48;
  border: 2px solid #e11d48;
}

/* ==============================
   CARDS
============================== */
.card {
  background: white;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
}

/* ==============================
   GRID (SEARCH RESULTS)
============================== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

/* ==============================
   FORMS
============================== */
input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

input:focus {
  outline: none;
  border-color: #e11d48;
}

/* ==============================
   FOOTER
============================== */
footer {
  margin-top: 80px;
  padding: 24px 0;
  text-align: center;
  color: #6b7280;
  font-size: 0.9rem;
}
/* ================= ROOT ================= */
:root {
  --bg-main: #fff4e3;
  --bg-card: #ffffff;
  --accent: #e63946;
  --text-dark: #1f2933;
  --text-muted: #6b7280;
}

/* ================= GLOBAL ================= */
body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg-main);
  color: var(--text-dark);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HEADER ================= */
.site-header {
  background: #fff7eb;
  border-bottom: 1px solid #f2dfc4;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.brand {
  font-weight: 800;
  font-size: 1.4rem;
  text-decoration: none;
  color: var(--text-dark);
}

.nav a {
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text-muted);
}

.nav a.active,
.nav a:hover {
  color: var(--text-dark);
}

/* ================= HERO ================= */
.hero {
  padding: 90px 0 70px;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-search {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-search input {
  width: 320px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
}

.hero-search button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 22px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.helper-text {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
}

/* ================= SECTIONS ================= */
.section {
  padding: 60px 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
}

/* ================= CARDS ================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.food-card {
  background: var(--bg-card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.food-card:hover {
  transform: translateY(-6px);
}

.food-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.food-card h3 {
  padding: 14px;
  text-align: center;
}

/* ================= FOOTER ================= */
.site-footer {
  text-align: center;
  padding: 25px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==============================
   SAVED DISH CARDS (GROCERY)
============================== */
.saved-dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.saved-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.saved-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.saved-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.saved-card ul {
  padding-left: 18px;
  margin-bottom: 12px;
}

.saved-card li {
  font-size: 0.95rem;
  color: #374151;
}

/* ==============================
   DELETE BUTTON (IMPROVED)
============================== */
.deleteBtn {
  background: transparent;
  color: #e11d48;
  border: 2px solid #e11d48;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.deleteBtn:hover {
  background: #e11d48;
  color: #ffffff;
  transform: translateY(-1px);
}

.deleteBtn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* ================= TEAM ================= */
.team-photo {
  width: 130px;
  height: 130px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
  border: 3px solid #f3f4f6;
}

.team-role {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.5;
}

.team-footer {
  margin-top: 30px;
  text-align: center;
  color: #6b7280;
  font-size: 0.95rem;
}

