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

:root {
  font-size: 18px;
  color: #2b1c0d;
  background-color: #fce7d2;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, rgba(255, 255, 255, 0.25), transparent 55%), linear-gradient(145deg, #ffb347 0%, #f06d46 60%, #d35400 100%);
  min-height: 100vh;
  padding: 0;
  color: inherit;
  font-family: 'Nunito', system-ui, sans-serif;
  display: flex;
  justify-content: center;
}

.page-shell {
  width: 100%;
  min-height: 100vh;
  padding: 2rem;
  box-sizing: border-box;
}

.card {
  width: 100%;
  max-width: 1240px;
  min-height: calc(100vh - 3rem);
  background: #ffd3a3;
  border-radius: 1.75rem;
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.35);
  border: 6px solid #d4601d;
  overflow: hidden;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding-bottom: 1rem;
}

header {
  padding: 2.5rem 2rem 1rem;
  text-align: left;
  background: linear-gradient(135deg, #ffb347, #ffcc33);
  color: #3d1b00;
  display: flex;
  justify-content: center;
  align-items: center;
}

header h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 3.8rem);
  font-family: 'Montserrat', 'Trebuchet MS', sans-serif;
  letter-spacing: 0.08rem;
}

.hero-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 620px;
}

.hero-headline {
  text-align: left;
}

.eyebrow {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15rem;
  margin: 0;
  color: #a24609;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1rem;
  margin: 0.15rem 0 0;
  max-width: 420px;
}

header .logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #37c8a2;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  padding: 4px;
  flex-shrink: 0;
}

@keyframes logo-spin {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

header .logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  animation: logo-spin 2s linear infinite;
}

main {
  display: grid;
  grid-template-columns: minmax(480px, 2fr) minmax(260px, 1fr);
  gap: 1.75rem;
  padding: 2rem 2.5rem 1rem;
  align-items: start;
  flex: 1;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 320px;
  width: 100%;
}

.panel {
  background: #fff9f2;
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 2px solid rgba(235, 138, 60, 0.45);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.75rem;
}

.charity-logo {
  width: 132px;
  height: auto;
  display: block;
  margin: 0 0 1rem;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
}

.charity-title {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: #2b5f33;
}

.panel h2 {
  margin-top: 0;
  color: #d05b0c;
  font-size: 1.5rem;
}

.menu-grid {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.menu-item {
  background: #fff8ef;
  border-radius: 1rem;
  padding: 0.9rem;
  border: 1px solid rgba(220, 124, 56, 0.4);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  box-shadow: inset 0 0 0 rgba(255, 255, 255, 0);
}

.menu-item:focus-visible,
.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.menu-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.menu-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-info strong {
  font-size: 1.15rem;
  color: #9e3d00;
}

.menu-price {
  font-weight: 700;
  color: #d05b0c;
  margin-top: 0.15rem;
}

.menu-meta {
  font-size: 0.9rem;
  color: #b9550f;
  margin-top: 0.5rem;
}

.order-count {
  font-size: 0.85rem;
  color: #a24609;
  margin-top: 0;
  font-weight: 600;
  display: block;
}

.location-note {
  font-size: 0.95rem;
  color: #8f2a00;
  border: 1px dashed rgba(143, 42, 0, 0.4);
  padding: 0.65rem 0.9rem;
  border-radius: 0.9rem;
  background: #fff2e4;
  margin-top: 0.75rem;
  font-weight: 600;
}

.story {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.cta {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.8rem;
  background: #d05b0c;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
}

footer {
  padding: 1.5rem 2rem 2.5rem;
  text-align: center;
  background: #ef7a30;
  color: #fff4e0;
  font-size: 1rem;
}

@media (max-width: 1100px) {
  main {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  header {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .hero-pill {
    justify-self: left;
  }
}

@media (max-width: 600px) {
  main {
    padding: 1.25rem;
  }

  .panel {
    padding: 1.25rem;
  }
  .hero-headline {
    text-align: left;
  }
}
