/* Menu Page Styles */

.page-header {
  position: relative;
  height: 300px;
  background: linear-gradient(135deg, var(--color-dark-brown) 0%, var(--color-warm-brown) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 80px;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://knabbel.b-cdn.net/images/hero-image-1.jpg') center/cover;
  opacity: 0.2;
  z-index: 0;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,20,16,0.7), rgba(26,20,16,0.9));
  z-index: 1;
}

.page-header .container {
  position: relative;
  z-index: 2;
}

.page-header h1 {
  color: var(--color-off-white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-subtitle {
  color: var(--color-gold);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-family: var(--font-heading);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Category Filters */
.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
  border-bottom: 2px solid var(--color-beige);
}

.category-btn {
  background: white;
  border: 2px solid var(--color-amber);
  color: var(--color-dark-brown);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.category-btn:hover {
  background: var(--color-amber);
  color: white;
  transform: translateY(-2px);
}

.category-btn.active {
  background: var(--color-orange);
  border-color: var(--color-orange);
  color: white;
  box-shadow: 0 4px 15px rgba(217, 118, 57, 0.3);
}

/* Menu Content */
.menu-content {
  max-width: 1200px;
  margin: 0 auto;
}

.menu-category {
  margin-bottom: 4rem;
  animation: fadeIn 0.6s ease;
}

.menu-category.hidden {
  display: none;
}

.menu-category h2 {
  color: var(--color-dark-brown);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--color-orange);
  display: inline-block;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.menu-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.menu-item:hover::before {
  transform: scaleX(1);
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.menu-item h3 {
  font-size: 1.25rem;
  color: var(--color-dark-brown);
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.menu-item .price {
  color: var(--color-orange);
  font-weight: 700;
  font-size: 1.25rem;
  white-space: nowrap;
  font-family: var(--font-heading);
}

.menu-item .description {
  color: var(--color-espresso);
  line-height: 1.6;
  font-size: 0.9375rem;
  margin: 0;
}

.menu-item.special {
  border: 2px solid var(--color-gold);
}

.menu-item .badge {
  display: inline-block;
  background: var(--color-orange);
  color: white;
  padding: 0.375rem 0.875rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.75rem;
}

/* Price Options (for items with multiple price choices) */
.price-options {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-beige);
}

.price-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  gap: 1rem;
}

.price-option .option-name {
  color: var(--color-espresso);
  font-weight: 500;
  flex: 1;
}

.price-option .price {
  color: var(--color-orange);
  font-weight: 700;
  font-size: 1.125rem;
  white-space: nowrap;
  font-family: var(--font-heading);
}

/* CTA Section */
.cta-section {
  background: var(--color-dark-brown);
  padding: 5rem 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--color-off-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-beige);
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

/* Navigation Active State */
.nav-menu a.active {
  color: var(--color-gold);
  position: relative;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
}

/* Responsive */
@media (max-width: 768px) {
  .page-header {
    height: 250px;
  }

  .category-filters {
    gap: 0.5rem;
  }

  .category-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .menu-item-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .menu-item h3 {
    font-size: 1.125rem;
  }

  .menu-item .price {
    font-size: 1.125rem;
  }
}
