body {
  margin: 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.menu-section {
  background-color: #333333; /* Nền sáng hơn (xám ghi) thay vì đen */
  padding: 80px 20px;
  color: #fff;
  text-align: center;
}

.menu-header {
  margin-bottom: 40px;
}

.menu-header h2 {
  font-family: "Montserrat", sans-serif; /* Font in nghiêng giống mẫu */
  font-style: italic;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Phong cách cho Dropdown chọn danh mục */
.category-select-wrapper {
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  max-width: 100%; /* Đảm bảo không tràn màn hình nhỏ */
}

.category-select {
  padding: 12px 20px;
  font-size: 1.5rem;
  font-family: "Montserrat", sans-serif;
  color: #fff;
  background-color: #1f1f1f;
  border: 2.9px solid #e89f38;
  border-radius: 28px; /* Bo tròn mềm mại (pill shape) */
  cursor: pointer;
  outline: none;
  min-width: 300px; /* Giảm min-width một chút */
  width: 100%; /* Co giãn trên mobile */
  box-shadow: 0 4px 15px rgba(232, 159, 56, 0.15); /* Hiệu ứng phát sáng nhẹ màu vàng */
  transition: all 0.3s ease;
}

.category-select option {
  background-color: #1f1f1f;
  color: white;
  padding: 10px;
}

/* Lưới hiển thị món ăn */
.menu-grid {
  display: grid;
  /* Chia cột: Desktop 4 cột, Tablet 2 cột, Mobile 1 cột */
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Thẻ món ăn */
.menu-item {
  background-color: #444444; /* Thẻ món ăn sáng hơn nền section một chút để nổi bật */
  padding: 15px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  /* Mặc định hiện tất cả */
  display: block;
  border: none;
}

/* Hiệu ứng ẩn hiện */
.menu-item.hidden {
  display: none;
}

/* Hiệu ứng fade in khi hiện món */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-item.show {
  animation: fadeIn 0.5s ease forwards;
}

.menu-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.item-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.item-desc {
  font-size: 0.9rem;
  color: #a0a0a0; /* Màu xám nhạt cho mô tả */
  margin-bottom: 10px;
  line-height: 1.4;
  padding: 0 10px;
}

.item-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-color, #e89f38); /* Đổi màu giá sang vàng để đồng bộ */
}

/* Responsive: Tablet */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr); /* 3 cột */
    padding: 0 20px;
  }

  header {
    padding: 15px 30px; /* Thu gọn padding header trên tablet */
  }
  
  .menu-header h2 {
    font-size: 3rem;
  }
}

/* Responsive: Mobile - Simple Mode */
@media (max-width: 600px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr); /* CHUYÊN NGHIỆP: 2 cột để ảnh to, rõ ràng */
    gap: 15px;
    padding: 0 15px;
  }

  header {
    padding: 15px 20px;
  }

  .menu-section {
    padding: 40px 10px;
  }

  .menu-header h2 {
    font-size: 2rem; /* Giảm nhẹ cỡ chữ tiêu đề menu */
    padding-top: 20px !important; 
    margin-bottom: 15px;
  }

  .category-select {
    min-width: auto; /* Bỏ giới hạn chiều rộng tối thiểu */
    font-size: 1rem; /* Chữ trong dropdown nhỏ lại cho gọn */
    padding: 10px 15px;
  }
  
  /* --- Tinh chỉnh thẻ món ăn cho chế độ 4 cột --- */
  .menu-item {
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2); /* Thêm bóng đổ nhẹ */
  }

  .menu-item img {
    height: 130px; /* Điều chỉnh chiều cao ảnh vừa phải */
    margin-bottom: 10px;
    border-radius: 8px;
  }

  .item-title {
    font-size: 0.95rem; /* Tên món vừa vặn, không quá to */
    margin-bottom: 5px;
    white-space: normal; /* Cho phép xuống dòng */
    line-height: 1.3;
  }

  .item-price {
    font-size: 0.9rem;
  }

  .item-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Hiện tối đa 2 dòng mô tả */
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
}

/* --- FOOTER CHUYÊN NGHIỆP --- */
.site-footer {
  background-color: #050505; /* Nền đen sâu */
  color: #b0b0b0; /* Chữ màu xám sáng */
  padding: 70px 0 0 0;
  font-family: "Montserrat", sans-serif;
  border-top: 1px solid #222;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr; /* Chia 3 cột */
  gap: 40px;
  padding-bottom: 50px;
}

/* Cột Thương hiệu */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 50px;
  width: auto;
}

.footer-logo h3 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
}

.footer-desc {
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 350px;
}

/* Tiêu đề các cột */
.footer-col h4 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color, #e89f38);
}

/* Danh sách liên kết */
.links-col ul {
  list-style: none;
  padding: 0;
}

.links-col ul li {
  margin-bottom: 12px;
}

.links-col ul li a {
  color: #b0b0b0;
  text-decoration: none;
  transition: 0.3s;
}

.links-col ul li a:hover {
  color: var(--primary-color, #e89f38);
  padding-left: 5px; /* Hiệu ứng đẩy nhẹ sang phải */
}

/* Thông tin liên hệ */
.contact-col p {
  margin-bottom: 15px;
  line-height: 1.5;
}

.contact-col .highlight {
  color: var(--primary-color, #e89f38);
  font-weight: bold;
}

.social-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 20px;
  border: 1px solid var(--primary-color, #e89f38);
  color: var(--primary-color, #e89f38);
  text-decoration: none;
  border-radius: 20px;
  transition: 0.3s;
  font-size: 0.9rem;
}

.social-btn:hover {
  background-color: var(--primary-color, #e89f38);
  color: #fff;
}

/* Dòng bản quyền dưới cùng */
.footer-bottom {
  background-color: #000;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #666;
  border-top: 1px solid #1a1a1a;
}

/* Responsive cho Footer */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr; /* Chuyển về 1 cột */
    gap: 40px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-desc {
    margin: 0 auto; /* Căn giữa đoạn mô tả */
  }

  .footer-col h4::after {
    left: 50%;
    transform: translateX(-50%); /* Căn giữa gạch chân tiêu đề */
  }
}
