@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
  --color-primary: #4A3728;
  --color-secondary: #F5E6D3;
  --color-accent: #C05621;
  --color-text: #2D241E;
  --color-bg: #FAF3E0;
  --color-white: #FFFFFF;
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-md: 8px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  text-align: center;
  margin: 0;
  padding-top: 80px;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  color: var(--color-primary);
}

h1 {
  font-size: 2.5rem;
  margin: 2rem 0 1rem;
}

/* Category Selector */
select {
  width: 100%;
  max-width: 300px;
  padding: 12px 20px;
  margin: 20px auto 40px;
  font-size: 16px;
  font-family: 'Outfit', sans-serif;
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  background-color: white;
  color: var(--color-primary);
  cursor: pointer;
  outline: none;
  transition: all 0.3s;
}

select:hover,
select:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(192, 86, 33, 0.2);
}

/* Menu Grid */
.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.category-section {
  margin-bottom: 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

/* Make the title span all columns */
.category-section h2 {
  grid-column: 1 / -1;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
  position: relative;
  display: block;
  text-align: center;
}

.category-section h2::after {
  content: '';
  display: block;
  width: 100px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 10px auto 0;
  border-radius: 2px;
}

.menu-item {
  background-color: white;
  border-radius: var(--radius-md);
  padding: 25px;
  text-align: left;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.menu-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.menu-item p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  flex-grow: 1;
  /* Pushes the price to the bottom */
}

.menu-item strong {
  display: block;
  color: var(--color-accent);
  font-size: 1.25rem;
  font-weight: 700;
  text-align: right;
  margin-top: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .category-section {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .menu-item {
    margin: 0;
  }
}