@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap");

* {
  box-sizing: border-box;
}

@font-face {
  font-family: "ST-Druzhba";
  src:
    url("fonts/ST-Druzhba.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}


:root {
  --page-bg: #febd03;
  --page-bg-soft: #f9e199;
  --orange: #d5490e;
  --orange-dark: #8f3f0d;
  --orange-soft: #ffe0b5;
  --brown: #3b2416;
  --text: #2f2a25;
  --muted: #76553b;
  --cream: #fffaf0;
}

body {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(255, 222, 140, 0.9), transparent 34rem),
    linear-gradient(180deg, var(--page-bg), var(--page-bg-soft));
  margin: 0;
  padding: 34px 30px 48px;
  color: var(--text);
}

body,
button,
input,
textarea,
select {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

header {
  text-align: center;
  margin: 0 auto 34px;
  max-width: 760px;
}

header h1 {
  margin: 0;
  color: var(--orange);
  font-family: "ST-Druzhba", "Montserrat", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.3rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.75);
}

header h1 span {
  display: block;
}

.event-date {
  display: inline-block;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.55);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(199, 95, 25, 0.12);
}

.event-info {
  margin: 12px auto 0;
  max-width: 660px;
  color: var(--brown);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  background: rgba(255, 250, 240, 0.72);
  padding: 11px 18px;
  border-radius: 18px;
  border: 1px solid rgba(199, 95, 25, 0.14);
  box-shadow: 0 8px 18px rgba(88, 51, 13, 0.08);
}

.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1320px;
  margin: 30px auto;
}

.card {
  position: relative;
  min-height: 500px;
  border-radius: 26px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 36px rgba(88, 51, 13, 0.22);
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.7);
  transform: translateY(0);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 46px rgba(88, 51, 13, 0.28);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(22, 15, 10, 0.88), rgba(22, 15, 10, 0.28), rgba(255, 205, 115, 0.08)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 18rem);
}

.card-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 16px;
  padding: 20px;
  color: white;
  border-radius: 22px;
  background: rgba(39, 25, 15, 0.74);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.country {
  display: inline-flex;
  align-items: center;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 950;
  color: #ffe8c1;
  background: rgba(255, 255, 255, 0.12);
  padding: 10px 14px;
  border-radius: 18px;
  margin-bottom: 18px;
  line-height: 1.05;
}

.dish-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.dish-gallery {
  display: grid;
  gap: 8px;
  flex-shrink: 0;
}

.dish-gallery.multiple {
  width: 174px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dish-gallery.multiple .dish-image {
  width: 100%;
}

.dish-image {
  width: 130px;
  height: 130px;
  border-radius: 24px;
  object-fit: cover;
  border: 3px solid rgba(255, 237, 201, 0.92);
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
}

.dish-info h2 {
  margin: 0;
  color: white;
  font-size: 1.28rem;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.dish-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.veg-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #79d96e, #2d9d3a);
  color: white;
  font-size: 0.92rem;
  line-height: 1;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(25, 93, 28, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
}

.person,
.portion {
  margin-top: 7px;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.9);
}

.portion {
  color: #ffe8c1;
  font-weight: 700;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.price {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  color: #3b2416;
  background: #fff1c7;
  border: 1px solid rgba(255, 255, 255, 0.72);
  padding: 8px 13px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(143, 63, 13, 0.08);
  cursor: default;
  user-select: none;
}

.price-label {
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f5c27;
  font-weight: 900;
}

.price-value {
  font-size: 1.25rem;
  line-height: 1;
  font-weight: 900;
  color: var(--orange-dark);
}


.hint {
  margin-top: 13px;
  font-size: 0.82rem;
  color: rgba(255, 241, 214, 0.82);
}

.details {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.95);
  transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.card.active .details {
  max-height: 980px;
  opacity: 1;
  margin-top: 15px;
}

.details p {
  margin: 8px 0;
  line-height: 1.5;
}

.origin {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.allergens {
  font-size: 0.9rem;
  color: #ffd9c7;
}


.site-footer {
  max-width: 1320px;
  margin: 38px auto 0;
  padding: 18px 22px;
  text-align: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(199, 95, 25, 0.14);
  border-radius: 20px;
  box-shadow: 0 12px 26px rgba(88, 51, 13, 0.12);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

@media (max-width: 640px) {
  body {
    padding: 22px 14px 38px;
  }

  header h1 {
    font-size: 2.35rem;
  }

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

  .card {
    min-height: 460px;
    border-radius: 22px;
  }

  .card-content {
    margin: 12px;
    padding: 16px;
  }

  .country {
    font-size: 1.48rem;
    padding: 9px 12px;
    margin-bottom: 16px;
  }

  .dish-row {
    gap: 14px;
  }

  .dish-gallery {
    gap: 7px;
  }

  .dish-gallery.multiple {
    width: 146px;
  }

  .dish-image {
    width: 108px;
    height: 108px;
    border-radius: 20px;
  }

  .dish-info h2 {
    font-size: 1.08rem;
  }

  .veg-badge {
    min-width: 26px;
    height: 26px;
    font-size: 0.86rem;
  }

  .card-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .price {
    align-self: flex-start;
  }
}
