body {
  font-family: 'Georgia', serif;
  margin: 0;
  padding: 2rem 1rem;
  background: #fff8f0;
  color: #4b2e0f;
}

#restaurant-name {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #8b0000;
  margin-bottom: 2rem;
  border-bottom: 4px double #c49a6c;
  padding-bottom: 0.5rem;
}

.menu-category {
  padding-top: 8px;
  margin-bottom: 3rem;
}

.category-title {
  position: relative;
  font-size: 1.6rem;
  color: #7a3e00;
  background: linear-gradient(to right, #fff5e0, transparent);
}


.category-title::before {
  content: "";
  position: relative;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 1.4rem; /* Match heading font size */
  background: #c49a6c;
  border-radius: 3px;
}

.category-anchor {
  position: relative;
  padding-top: 3.5rem; /* match nav height */
  margin-top: -3.5rem;
}





.menu-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fffdf7;
  border: 1px solid #dcbf91;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(100, 50, 0, 0.1);
  transition: transform 0.2s ease;
  width: fit-content;
  max-width: 90%;
}

.menu-item:hover {
  transform: scale(1.02);
}

/* Odd items (1st, 3rd, etc.): image left, align left */
.menu-category .menu-item:nth-child(odd) {
  flex-direction: row;
  margin-left: 0;
  margin-right: auto;
}

/* Even items (2nd, 4th, etc.): image right, align right */
.menu-category .menu-item:nth-child(even) {
  flex-direction: row-reverse;
  margin-left: auto;
  margin-right: 0;
}


@media (max-width: 600px) {
   .menu-image {
    width: 150px;
    height: 120px;
    object-fit: cover;
    border-radius: 5px;
    display: block; /* Not flex if it's an <img> */
    margin: auto;   /* Center horizontally */
  }

  .menu-item > div {
    width: 100%;
  }
  item.description{
    padding: 50px;
  }

  
}



#category-nav {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0.5rem 0 1rem;
  margin-bottom: 1rem;
  position: sticky;
  top: 0;
  background: #fff8f0;
  z-index: 10;
  border-bottom: 2px solid #e5c79b;
}

.category-link {
  padding: 0.4rem 1rem;
  background: #c49a6c;
  color: #fff8f0;
  font-weight: bold;
  border-radius: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.category-link:hover {
  background: #b58649;
}

.edit-btn {
  float: right;
  background: #007bff;
  color: white;
  border: none;
  padding: 4px 10px;
  border-radius: 5px;
  font-size: 0.85rem;
  cursor: pointer;
}
.edit-btn:hover {
  background: #0056b3;
}


.category-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.3rem 0 1rem;
}

.category-dropdown {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 0.8rem;
  border-radius: 6px;
  border: 1px solid #aaa;
  font-size: 1rem;
  background: #fffefc;
}
