* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  background-color: #e8f5e9; /* светло‑зелёный фон */
  height: 100%;
}


body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Merriweather', serif;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #e8f5e9;
}
/* Основные стили меню */
.menu-section {
  padding: 60px 0;
  background: #f5f5f5;
  font-family: 'Open Sans', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.menu-section h2 {
  text-align: center;
  color: #2e7d32;
  font-family: 'Merriweather', serif;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* Стили для поиска */
.search-container {
  margin-bottom: 20px;
  text-align: center;
}

.search-input {
  padding: 12px 20px;
  border: 2px solid #4caf50;
  border-radius: 25px;
  width: 300px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.search-input:focus {
  width: 400px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

/* Сообщение об отсутствии блюд */
.no-items {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  padding: 40px;
}

/* Плейсхолдер для отсутствующих изображений */
.image-placeholder {
  width: 100%;
  height: 200px;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8d6e63;
  font-style: italic;
}


/* Фильтры категорий */
.menu-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid #4caf50;
  background: transparent;
  color: #2e7d32;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  background: #4caf50;
  color: white;
  transform: translateY(-2px);
}

/* Сетка блюд */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Карточка блюда */
.menu-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-title {
  color: #2e7d32;
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-description {
  color: #666;
  line-height: 1.5;
  margin-bottom: 15px;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #8d6e63;
  font-size: 0.9rem;
}

.card-price {
  font-weight: bold;
  color: #2e7d32;
  font-size: 1.2rem;
}

/* Иконки пометок */
.tags {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.tag {
  padding: 3px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  white-space: nowrap;
}

.tag.vegetarian { background: #e8f5e9; color: #2e7d32; }
.tag.farm { background: #fff3e0; color: #8d6e63; }
.tag.quick { background: #e3f2fd; color: #1976d2; }

/* Адаптивность */
@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-filters {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }
}
