* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f4f4f4;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
}

.menu {
display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.menu-item {
  background: #fff;
  padding:  40px 15px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  width: calc(33.333% - 20px); /* 3 items per row with gap */   
}

.menu-item:hover {
  transform: scale(1.03);
}

.menu-item img {
  width: 100%;
  /* height: 160px; */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.menu-item h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 8px;
}

.menu-item p {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

.menu-item button {
  background: #27ae60;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}
#bottom-card{
    margin-top: 20px;
}

.menu-item button:hover {
  background: #219150;
}

@media(max-width: 600px) {
  header h1 {
    font-size: 2rem;
  }
}
ul {
    list-style: none;
    margin-top: 20px;
    padding: 0;
    font-weight: 600;
    font-size: 16px;
    color: #444;
  }
  
  button {
  background: #27ae60;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
  text-align: center;
  font-size: 18px;
  }
  
  button:hover {
    background: #219150;
  }
  
  .tables-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .table-card {
    width: 220px;
    height: 180px;
    background-color: #f0f0f0;
    border: 2px solid #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: transform 0.2s;
  }
  
  .table-card:hover {
    transform: scale(1.05);
    background-color: #e0e0e0;
  }
#table-info{
    margin-top: 20px;
    font-size: 20px;
    font-weight: 600;
}  

.order-list{
    margin-top: 20px;
    font-size: 22px;
    font-weight: 600;
    color: #219150;
}
.place-order-btn{
  margin-top: 30px;
}
.total-display{
  font-size: 20px;
  font-weight: 600;
}

/* media queries for menu itmes  */
@media (max-width: 900px) {
  .menu-item {
    width: calc(50% - 20px); /* 2 items per row with gap */
  }
}

@media (max-width: 600px) {
  .menu-item {
    width: 100%; /* 1 item per row */
  }
}
@media (max-width: 400px) {
  header h1 {
    font-size: 1.8rem;
  }
  
  .menu-item {
    padding: 20px 10px; /* Adjust padding for smaller screens */
  }
  
  .menu-item img {
    height: 120px; /* Adjust image height for smaller screens */
  }
}
@media (max-width: 300px) {
  header h1 {
    font-size: 1.5rem;
  }
  
  .menu-item {
    padding: 15px 5px; /* Further adjust padding for very small screens */
  }
  
  .menu-item img {
    height: 100px; /* Further adjust image height for very small screens */
  }
}

/* media queries for place order */
@media (max-width: 600px) {
  .place-order-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }
}
@media (max-width: 400px) {
  .place-order-btn {
    font-size: 0.9rem;
    padding: 10px;
  }
  
  .total-display {
    font-size: 18px;
  }
  
  .order-list {
    font-size: 20px;
  }
}
@media (max-width: 300px) {
  .place-order-btn {
    font-size: 0.8rem;
    padding: 8px;
  }
  
  .total-display {
    font-size: 16px;
  }
  
  .order-list {
    font-size: 18px;
  }
}