/* Menu styles — matching header palette and design */

:root {
  --header-offset: 72px;
}

#menu {
  padding: 2rem 2rem;
  background-color: #fafafa;
  overflow-x: hidden;
  position: relative;
  scroll-margin-top: calc(var(--header-offset) + 8px);
}

#menu h2 {
  margin: 0 0 2rem 0;
  font-size: 2rem;
  color: #ffffff;
  font-weight: 700;
  background-color: #ff6b35;
  display: block;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 0;
  text-align: center;
  border-radius: 0;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.12);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-top: 4px solid rgba(255, 107, 53, 0.06);
  border-bottom: 4px solid rgba(255, 107, 53, 0.06);
  position: relative;
  z-index: 1;
}

#menu h2::after {
  content: "";
  display: block;
  width: 56%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255,107,53,0.95), rgba(255,123,90,0.8));
  margin: 0.6rem auto 0;
  border-radius: 4px;
}

/* Category heading and grid */
.menu-category {
  margin-bottom: 2.5rem;
}

.menu-category h3 {
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
  color: #333333;
  font-weight: 600;
}

/* Menu items grid: 2-3 columns responsive */
.menu-category {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.menu-category > h3 {
  grid-column: 1 / -1;
}

/* Menu item card */
.menu-item {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e8e8e8;
}

/* Image/Video placeholder */
.item-image {
  width: 100%;
  height: 180px;
  background-color: #f0f0f0;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1.25rem;
  object-fit: cover; /* Для видео */
}

/* Item content wrapper */
.item-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Header with title and price */
.item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.item-header h4 {
  margin: 0;
  font-size: 1.05rem;
  color: #222222;
  font-weight: 600;
  flex: 1;
}
/* Цена */
.price {
  font-weight: 700;
  color: #ff6b35;
  white-space: nowrap;
  font-size: 1.5rem;
  background-color: #ffffff;
  border-radius: 8px;
}

/* Описание к блюду */
.description {
  margin: 0;
  color: #666666;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Responsive adjustments */
/* Contact section styles */
#contact {
  padding: 2rem 2rem;
  background-color: #fafafa;
  overflow-x: hidden;
  position: relative;
  scroll-margin-top: calc(var(--header-offset) + 8px);
}

#contact h2 {
  margin: 0 0 2rem 0;
  font-size: 2rem;
  color: #ffffff;
  font-weight: 700;
  background-color: #ff6b35;
  display: block;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  padding: 1rem 0;
  text-align: center;
  border-radius: 0;
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.12);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-top: 4px solid rgba(255, 107, 53, 0.06);
  border-bottom: 4px solid rgba(255, 107, 53, 0.06);
  position: relative;
  z-index: 1;
}

#contact h2::after {
  content: "";
  display: block;
  width: 56%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255,107,53,0.95), rgba(255,123,90,0.8));
  margin: 0.6rem auto 0;
  border-radius: 4px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info p {
  margin: 0.75rem 0;
  color: #333333;
  line-height: 1.6;
}

.contact-info strong {
  color: #ff6b35;
}

.contact-info a {
  color: #0066cc;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  #menu {
    padding: 1.5rem 1rem;
  }

  #menu h2 {
    font-size: 1.5rem;
  }

  .menu-category {
    gap: 1.5rem;
  }

  .menu-item {
    padding: 1.25rem;
  }

  .item-image {
    height: 180px;
  }

  #contact {
    padding: 1.5rem 1rem;
  }

  #contact h2 {
    font-size: 1.5rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  #menu {
    padding: 1rem;
  }
  :root {
    --header-offset: 56px;
  }
  #menu h2 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }

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

  .menu-item {
    padding: 1rem;
  }

  .item-image {
    height: 140px;
  }

  .item-header h4 {
    font-size: 1rem;
  }
}

