body {
  background-color: #F8F9FA;
  margin: 0;
  overflow-x: hidden;
}

body.overlay-open {
  overflow: hidden;
}

.side-padding {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Welcome Overlay */
.welcome-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #5a5a5a;
  background-image: url(images/Cover-image.webp);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  overflow: hidden;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

/* @media (max-width: 768px) {
  .welcome-overlay {
    background-image: url(images/nkana-logo.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }
} */

.welcome-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.welcome-container {
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  /* border: #a41e22 2px solid; */
  padding: 3rem 2rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

h1 {
  color: var(--primary-dark);
  font-size: 2rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.welcome-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.welcome-btn {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-family: "Georgia", serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: bold;
  background-color: #0e7b54;
  color: #f1f1f1;
}

.welcome-btn:hover {
  background-color: #004225;
  color: var(--accent-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 66, 37, 0.3);
}

.welcome-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.welcome-footer p {
  margin: 0.5rem 0;
}

.layman {
  color: black;
}

#currentDateTime {
  font-weight: bold;
  color: var(--primary-dark);
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2em;
  background-size: cover;
  background-position: center center;
  height: 200px;
}

.menu button {
  background-color: #006837;
  color: white;
  padding: 1em;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.content {
  display: none;
  flex-direction: column;
  align-items: center;
  background: #F8F9FA;
}

.content[style*="block"] {
  display: flex;
}

.tab-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1em 16px 0;
}

.availability {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.circle {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #30CD83;
}

.availability p {
  color: #30CD83;
}

.food-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: solid 1px #e7e7e7;
  background-color: white;
  transition: all 0.3s ease;
  cursor: pointer;
  margin-bottom: 12px;
  overflow: hidden;
}

.food-card:hover {
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
}

.food-card.active .title {
  background-color: #004d28;
}

.card-image {
  flex: 1;
  width: 100%;
  background-size: cover;
  background-position: center;
}

.food-card .title {
  width: 100%;
  background-color: #006837;
  color: white;
  padding: 0.75em 1em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  flex-shrink: 0;
}

.title h2 {
  margin: 0;
  color: white;
  font-size: 1rem;
  text-align: left;
}

.chevron {
  color: white;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.category-body {
  display: none;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding-bottom: 12px;
}

.category-body.open {
  display: flex;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  box-sizing: border-box;
  background-color: #F2F6FA;
  border-left: solid 5px #A62428;
  margin-top: 8px;
  padding: 12px 16px;
  transition: transform 0.2s ease;
  position: relative;
}

.item:hover {
  transform: translateX(6px);
}

.additional {
  display: none;
}

.item.show,
.additional.show {
  display: flex;
}

.item h3 {
  color: #006837;
  margin: 0;
}

.single-price-item {
  margin-bottom: 0;
}

.single-price-item .single-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.single-price-item .single-price-row h3 {
  margin: 0;
  color: #006837;
  font-size: 1.1rem;
}

.single-price-item .price {
  font-weight: bold;
  color: #A62428;
  margin: 0;
  font-size: 1.1rem;
}

.single-price-item .description {
  margin: 5px 0 0 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.multiple-price-item {
  margin-bottom: 0;
}

.multiple-price-item h3 {
  margin: 0 0 8px 0;
  color: #006837;
  font-size: 1.1rem;
}

.multiple-price-item .price-tags {
  margin-bottom: 8px;
}

.multiple-price-item .description {
  margin: 5px 0 0 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.no-price-item {
  margin-bottom: 0;
}

.no-price-item h3 {
  margin: 0 0 5px 0;
  color: #006837;
  font-size: 1.1rem;
}

.no-price-item .description {
  margin: 5px 0 0 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
}

.group-header {
  width: 100%;
  box-sizing: border-box;
  margin-top: 16px;
  margin-bottom: 6px;
  padding: 0 4px;
}

.group-header h4 {
  color: #A62428;
  margin: 0;
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 2px solid #A62428;
  padding-bottom: 5px;
}

.single {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.price-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  width: 100%;
  margin-top: 8px;
}

.price-group {
  display: flex;
  gap: 1em;
  border: solid 1px #30CD83;
  background-color: white;
  padding: 5px 10px;
  border-radius: 25px;
}

.price-group p {
  margin: 0;
  font-size: 0.8rem;
}

.price-group .size {
  font-weight: 400;
}

.price-group .price {
  color: #A62428;
}

.description {
  color: #A5A5A5;
}

.additional {
  display: none;
  flex-direction: column;
  background-color: #F3F2F2;
  border-radius: 10px;
  margin-top: 10px;
  padding-bottom: 1em;
  pointer-events: auto;
}

.group .section-title {
  margin: 0;
  padding-bottom: 5px;
  justify-self: flex-start;
  color: #A62428;
  font-size: 1rem;
}

.additional .group {
  margin-bottom: 10px;
  max-width: 380px;
}

.group {
  padding-top: 10px;
  border-top: solid 3px #F8F9FA;
  max-width: 380px;
}

.toppings {
  display: flex;
  flex-wrap: wrap;
  max-width: 380px;
  gap: 10px;
}

.topping-group {
  display: flex;
  gap: 10px;
  background-color: #F2F6FA;
  border: 1px solid #E6E6E6;
  border-radius: 25px;
  min-width: 60px;
  justify-content: center;
  padding: 5px 10px;
}

.topping-group p {
  margin: 0;
  font-size: 0.9rem;
}

.item.unavailable {
  filter: grayscale(100%) opacity(0.4);
  position: relative;
  pointer-events: none;
  border-color: #646464;
}

.item.unavailable::before {
  content: "UNAVAILABLE";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(156, 156, 156, 0.5);
  color: white;
  padding: 8px 10px;
  font-weight: bold;
  font-size: 1rem;
  z-index: 10;
  width: 95%;
  height: 90%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Toppings/Sides special grouping */
.toppings-group {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  padding: 0 4px;
}

.toppings-group h4 {
  color: #A62428;
  margin: 0 0 15px 0;
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  border-bottom: 2px solid #A62428;
  padding-bottom: 5px;
}

.toppings-price-group {
  margin-bottom: 15px;
}

.toppings-price-group .price-header {
  color: #006837;
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.toppings-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.toppings-item {
  background-color: #F2F6FA;
  border: 1px solid #E6E6E6;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 0.9rem;
  color: #006837;
  position: relative;
  min-width: 120px;
  text-align: center;
}

.toppings-item::before {
  content: "+ ";
  color: #A62428;
  font-weight: bold;
}

#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #006837;
  color: white;
  font-size: 1.6rem;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 999;
}

/* Footer */
footer {
  background-color: #418a3e;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 900px;
  margin: 0 auto;
}

.footer-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #c8f0d8;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.footer-section p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: white;
  margin: 0;
}

.footer-divider {
  border-top: 1px solid rgba(255,255,255,0.3);
  margin: 1.5rem 0;
}

.footer-bottom {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

@media (max-width: 600px) {
  .footer-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
