/* --- CÀI ĐẶT CHUNG --- */
:root {
  --primary-color: #e89f38; /* Màu cam vàng chủ đạo */
  --text-color: #ffffff;
  --bg-overlay: rgba(13, 17, 23, 0.85); /* Màu nền tối che phủ ảnh background */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text-color);
  background-color: #0d1117;
  overflow-x: hidden; 
}


.wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;

  background-image: url("/img/full.jpg");
  background-size: cover;
  background-position: center;
}


.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  z-index: 1;
}


.content-container {
  position: relative;
  z-index: 2;
  max-width: 1700px;
  margin: 0 auto;
  padding: 20px 30px;
  padding: 120px 30px 20px 30px; /* Tăng padding-top để tránh bị header che mất nội dung */
  min-height: 100vh; /* Đổi thành min-height để không bị cắt nội dung trên màn hình thấp */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
}

.brand {
  border-left: 4px solid var(--primary-color);
  padding-left: 15px;
}

.brand h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.;
}

.brand span {
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--primary-color);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1.3rem;
  transition: 0.3s;
}

nav a:hover {
  color: rgb(255, 255, 255);
}

/* Nút Menu 3 gạch (Mặc định ẩn trên PC) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: var(--primary-color);
  cursor: pointer;
}

/* --- PHẦN GIỮA (TITLE & MENU) --- */
.main-body {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

/* Tiêu đề "Food Menu" dạng chữ ký */
.title-script {
  font-family: "Mr Dafoe", Calibri; /* Font chữ viết tay */
  font-size: 9.9rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 90px;
  text-shadow: 12px 12px 14px rgba(0, 0, 0, 0.5);
  transform: translateY(-10px) rotate(-3deg); /* Đẩy lên cao 1 chút và giữ độ nghiêng */
}

/* Dải màu cam chạy ngang */
.orange-strip {
  position: absolute;
  width: 100vw;
  height: 140px;
  background-color: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
  top: 55%; /* Căn chỉnh vị trí dải màu */
  z-index: -1; /* Nằm dưới ảnh món ăn */
}

.food-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
 margin-top: 0px;
}

.food-card {
  background: white;
  padding: 5px; /* Tạo viền trắng */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.food-card img {
  display: block;
  width: 220px;
  height: 260px;
  object-fit: cover;
  max-width: 100%; /* Đảm bảo ảnh không tràn khung */
}

/* Ảnh giữa to hơn */
.food-card.center-card {
  transform: scale(1.2); /* Phóng to ảnh giữa */
  z-index: 10;
}

.food-card.center-card img {
  height: 300px; /* Ảnh giữa cao hơn chút */
}

/* --- CÁC HÌNH TRANG TRÍ 2 BÊN --- */
.deco-bar-left,
.deco-bar-right {
  position: absolute;
  top: 25%;
  width: 30px;
  height: 150px;
  background-color: var(--primary-color);
}

.deco-bar-left {
  left: 0;
}

.deco-bar-right {
  right: 0;
}

/* --- RESPONSIVE / ADAPTIVE CSS --- */

/* Màn hình Laptop nhỏ & Tablet (Dưới 1024px) */
@media (max-width: 1024px) {
  .title-script {
    font-size: 7rem; /* Giảm cỡ chữ tiêu đề */
    margin-bottom: 60px;
  }
  
  .food-card img {
    width: 180px;
    height: 220px;
  }
  
  .food-card.center-card img {
    height: 260px;
  }
}

/* Màn hình Điện thoại (Dưới 768px) - Giao diện Simple */
@media (max-width: 768px) {
  .content-container {
    height: auto;
    padding: 15px;
    padding: 90px 15px 15px 15px; /* Tăng padding-top cho mobile */
    justify-content: flex-start;
    gap: 40px;
  }

  /* Header dọc đơn giản */
  header {
    flex-direction: row; /* Xếp ngang để nút menu và logo cùng hàng */
    justify-content: space-between; /* Đẩy nút menu và logo ra 2 bên cho thoáng */
    align-items: center;
    gap: 20px;
    padding: 10px 20px; /* Giảm padding header một chút cho gọn */
  }

  .menu-toggle {
    display: block; /* Hiện nút 3 gạch */
    z-index: 1001;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%; /* Ẩn menu sang trái */
    width: 250px;
    height: 100vh;
    background-color: rgba(13, 17, 23, 0.98); /* Nền tối gần như đen */
    z-index: 1000;
    transition: left 0.3s ease; /* Hiệu ứng trượt */
    padding-top: 70px; 
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
  }

  /* Class để hiện menu khi bấm nút */
  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column; /* Menu xếp dọc */
    gap: 30px;
    align-items: center;
  }

  nav a {
    font-size: 1.2rem; /* Tăng nhẹ font menu để dễ bấm hơn */
  }

  /* Ẩn các chi tiết trang trí rườm rà */
  .deco-bar-left, 
  .deco-bar-right {
    display: none;
  }

  /* --- TRANG CHỦ (Mobile): Ẩn banner & nền --- */
  .home-page .wrapper {
    background-image: none;
    min-height: auto;
  }
  .home-page .content-container {
    min-height: auto;
    padding-bottom: 0;
  }
  .home-page .main-body {
    display: none;
  }
}
