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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', Arial, sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.5;
  padding: 0;
}

.menu-container {
  overflow: hidden;
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-overlay h1 {
  font-size: 2rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  padding: 0 10px; 
}

.back-button {
  position: absolute; 
  top: 10px; 
  left: 10px; 
  z-index: 10; 
}

.back-button a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5); 
  color: #fff; 
  text-decoration: none;
  border-radius: 50%; 
  font-size: 1.5rem; 
  transition: background-color 0.3s ease;
}

.back-button a:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.menu-items {
  padding: 20px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
}

.menu-items h2 {
  font-size: 1.5rem;
  color: #fff; 
  background: linear-gradient(90deg, #004d40, #00796b);
  margin: 20px 0;
  padding: 10px;
  border-radius: 8px;
  text-align: center; 
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}


.menu-item:last-child {
  border-bottom: none;
}

.item-name {
  font-weight: bold;
}

.item-size {
  color: #777;
}

.item-price {
  font-weight: bold;
  color: #333;
}

@media (max-width: 768px) {
  .menu-container {
    max-width: 100%; 
    margin: 0;
    border-radius: 0;
  }

  .menu-header {
    height: 180px;
  }

  .header-overlay h1 {
    font-size: 1.5rem;
  }

  .menu-item {
    flex-wrap: wrap; 
    justify-content: flex-start;
  }

  .item-name,
  .item-size,
  .item-price {
    width: 100%; 
    margin-bottom: 5px;
  }

  .item-price {
    text-align: right; 
  }

  .back-button a {
    width: 36px; 
    height: 36px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .header-overlay h1 {
    font-size: 1.2rem; 
  }

  .menu-item {
    padding: 8px 0;
  }

  .back-button a {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

html {
  scroll-behavior: smooth;
}
