/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* Header */
header {
  background: #0077b6;
  color: white;
  padding: 20px 0;
  text-align: center;
}

header h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

/* Menu */
nav {
  background: #003f88;
  padding: 10px 0;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
}

nav ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 10px 20px; /* thêm padding để có hộp nền */
  display: block; /* giúp nền bao toàn bộ text */
  transition: 0.3s;
  border-radius: 6px; /* giống hình thứ hai */
}

/* Hover — đổi nền thay vì đổi màu chữ */
nav ul li a:hover {
  background-color: #00a7d1; /* xanh nhạt kiểu hình 2 */
  color: white; /* giữ chữ trắng */
}

/* Mục đang chọn (active) */
nav ul li.active a {
  background-color: #00a7d1;
  color: white;
  font-weight: bold;
}

/* Hero section */
.hero-amthuc {
  background: url("https://upload.wikimedia.org/wikipedia/commons/6/65/Vietnamese_cuisine_banner.jpg")
    center/cover;
  padding: 90px 20px;
  text-align: center;
  color: white;
  font-size: 26px;
  font-weight: bold;
}

/* Phần nội dung */
section {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 28px;
  color: #003f88;
}

/* Grid 3 card 1 hàng */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

/* Card */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-6px);
}

/* Ảnh card */
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Tên món */
.card h3 {
  font-size: 22px;
  color: #0077b6;
  margin: 15px;
}

/* Mô tả món */
.card p {
  padding: 0 15px 15px;
  font-size: 15px;
  color: #333;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #003f88;
  color: white;
  margin-top: 40px;
}
