/* ---------- BASE STYLING ---------- */
body {
  background-color: #f5f5f5; /* neutral outer background */
  color: #13070c;
  font-family: 'Nunito', sans-serif;
  padding: 20px;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #0f172a;
    color: #e2e8f0;
  }
}
/* hide any h1 sub-elements if present (you removed the text) */
h1 .restaurant,
h1 .menu-title {
  display: none;
}

/* keep a sane h1 fallback if needed */
h1 {
  font-family: 'Lora', serif;
  font-weight: 800;
  margin: 0;
  line-height: 1.05;
  font-size: 40px;
  text-align: center;
}

/* ---------- MENU CONTAINER ---------- */
.menu {
  background-image: url("background-hero-image.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.95); /* subtle overlay for readability */
  margin: 0 auto;
  width: 90%;
  max-width: 750px;
  padding: 20px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
  border-radius: 0;
  position: relative;
  box-sizing: border-box;
}

/* ---------- WRAPPER ---------- */
.menu-wrapper {
  width: 100%;
  box-sizing: border-box;
}

/* ---------- HEADER ---------- */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  margin: 0 0 16px 0;
  background-color: transparent;
  box-sizing: border-box;
}

.menu-header h1 {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  display: block;
  height: auto;
  line-height: 1;
  text-align: center;
}

/* ---------- LOGOS ---------- */
.logo {
  max-height: 100px;
  max-width: 35%;
  width: auto;
  height: auto;
  flex: 0 0 auto;
  object-fit: contain;
  display: block;
}

.menu-header img.left-logo {
  margin-left: 0; /* pull toward left edge */
}

.menu-header img.right-logo {
  margin-right: 0; /* pull toward right edge */
}

/* ---------- GRID LAYOUT ---------- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  box-sizing: border-box;
}

.menu-grid section {
  margin-bottom: 20px;
  border-bottom: 2px solid #A4243B;
  padding-bottom: 10px;
}

/* ---------- HEADINGS ---------- */
.menu-grid h2 {
  text-align: left;
  margin-bottom: 6px;
  color: #285e7a;
  display: inline-block;
  padding-bottom: 4px;
  font-weight: 700;
  font-size: 30px;
  position: relative;
}

.menu-grid h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #ffbb15;
  margin-top: 4px;
  border-radius: 2px;
}

/* ---------- SUBCATEGORY ---------- */
.sub-category {
  color: #2C2C2C;
  font-size: 25px;
  font-weight: 800;
  margin: 12px 0 6px 0;
}

/* ---------- MENU ITEMS ---------- */
.item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
}

.item p {
  margin: 2px 0;
}

.flavor,
.dessert,
.appetizer,
.main,
.drink {
  flex: 1 1 auto;
  text-align: left;
  color: #2C2C2C;
  font-size: 20px;
  font-weight: 800;
  min-width: 0;
}

.flavor-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
}

.details {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.2;
  font-weight: 500;
  font-family: 'Nunito', sans-serif;
}

.price {
  flex: 0 0 60px;
  text-align: right;
  color: #055680;
  font-size: 20px;
  font-weight: 800;
}

/* ---------- PRICE LISTS ---------- */
.price-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  font-size: 18px;
  font-weight: 700;
  color: #055680;
  line-height: 1.1;
}

.price-list span {
  margin: 0;
  padding: 0;
}

/* ---------- DAWA SECTION ---------- */
.dawa-types {
  list-style: none;
  margin: 0;
  padding-left: 18px;
}

.dawa-types li {
  font-size: 16px;
  font-weight: 700;
  color: #2C2C2C;
  line-height: 1.2;
  margin: 0;
}

/* ---------- RESPONSIVE (phones) ---------- */
@media (max-width: 700px) {
  .menu {
    width: min(94%, 350px);  /* identical to old phone width look */
    padding: 16px;
  }
.menu-header {
    padding: 10px 8px;
    gap: 8px;
  }

  .logo {
    max-height: 100px;
    max-width: 55%;
  }

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


  .menu-header img.left-logo {
    margin-left: -4px;
  }

  .menu-header img.right-logo {
    margin-right: -4px;
  }

  .price {
    font-size: 18px;
    flex: 0 0 56px;
  }

  .menu-grid section {
    background: transparent;
    padding: 10px;
    border-radius: 8px;
  }
}
.no-break {
  white-space: nowrap;
}

/* ---------- LANDSCAPE PHONES ---------- */
@media (max-width: 900px) and (orientation: landscape) {
  .menu-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .logo {
    max-height: 78px;
    max-width: 28%;
  }

  .menu {
    width: 98%;
    padding: 18px;
  }
}

/* ---------- SMALL HELPER ---------- */
.menu-header h1,
.flavor,
.dessert,
.appetizer,
.main,
.drink {
  overflow-wrap: anywhere;
  word-break: break-word;
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
/* ---------- FOOTER: LOCATION & PAYMENT ---------- */

/* LEFT SIDE */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  flex: 1;
}

.location-text {
  font-size: 14px;
  font-weight: 700;
  color: #555;
  margin: 0;
}

.location-name {
  font-size: 18px;
  font-weight: 800;
  color: #064288;
  margin: 0;
}

.iuk-logo {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* RIGHT SIDE */
.footer-right {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.paybill-image {
  max-height: 90px;
  width: auto;
  object-fit: contain;
}

/* ---------- MOBILE COLLAPSE ---------- */
@media (max-width: 700px) {
  .menu-footer {
    flex-direction: column;
    gap: 14px;
  }

  .footer-left {
    align-items: flex-start;     /* location stays left */
    width: 100%;
  }

  .footer-right {
    justify-content: flex-end;   /* paybill stays right */
    width: 100%;
  }

  .iuk-logo {
    max-height: 42px;
  }

  .paybill-image {
    max-height: 70px;
    max-width: 85%;
  }

  .location-name {
    font-size: 15px;
  }
}
/* ---------- MENU FOOTER (INSIDE FLEX CONTAINER) ---------- */
.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 0px;
  padding-top: 14px;
  /* border-top: 2px solid #A4243B; */
}


/* LEFT BLOCK */
.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex: 1;
}

.location-label {
  font-size: 13px;
  font-weight: 700;
  color: #555;
}

.location-name {
  font-size: 17px;
  font-weight: 800;
  color: #055680;
}

.iuk-logo {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

/* RIGHT BLOCK */
.footer-right {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.paybill-image {
  max-height: 85px;
  width: auto;
  object-fit: contain;
}

/* ---------- MOBILE BEHAVIOR ---------- */
@media (max-width: 700px) {
  .menu-footer {
    gap: 12px;
  }

  .iuk-logo {
    max-height: 42px;
  }

  .paybill-image {
    max-height: 65px;
  }

  .location-name {
    font-size: 15px;
  }
}

/* end of stylesheet */
