main, body {
  background-color: #000 !important;
}
.menu-category {
  background-color: #000;
}


/* Menu Page Styles */
.menu-container {
    background: #000;
    color: #fff;
    padding: 60px 40px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Menu Header */
.menu-header {
    text-align: center;
    margin-bottom: 60px;
}

.menu-header h1 {
  font-size: 3.5em;
  font-weight: bold;
  letter-spacing: 3px;
  margin-bottom: 10px;

  /* Gradient vàng gold -> trng */
  background: linear-gradient(90deg, #a38f4b, #d7ba7c, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.menu-subtitle {
    font-size: 1.2em;
    letter-spacing: 2px;
    color: #999;
    font-weight: 300;
    margin-bottom: 30px;
}

/* Category Navigation */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.category-btn {
  background: transparent;
  border: 2px solid #bfa45a;
  color: #e0d2a0;
  padding: 10px 20px;
  font-size: 1em;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

/* Hover với hiệu ng vàng đồng trm lấp lánh */
.category-btn:hover {
  background: linear-gradient(90deg, #bfa45a, #c9ad6a, #e6d7a1, #bfa45a);
  background-size: 300%;
  color: transparent;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 4s linear infinite;
  border-color: #c2a65e;
  transform: scale(1.05);
}

.category-btn.active {
  background: #e6d7a1;
  color: #000;
  border-color:#7a6a33;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  animation: none;
}

/* Hiệu ng ánh sng chạy nh */
@keyframes shine {
  0% { background-position: 0% }
  100% { background-position: 100% }
}


/* Menu Content */
.menu-content {
    max-width: 1400px;
    margin: 0 auto;
}

.menu-category {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Category Title */
.category-title-section {
    text-align: center;
    margin-bottom: 50px;
}

.category-title {
    font-size: 2.5em;
    letter-spacing: 3px;
    margin-bottom: 20px;
    color: #999;
    font-weight: 300;
}

.category-line {
    width: 100%;
    height: 1px;
    background: #333;
}

/* Menu Items Layout */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* CHỈNH: CSS cho lazy loading images */
.menu-item-image.lazy {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.menu-item-image.lazy.loaded {
    opacity: 1;
}

/* Loading placeholder - blur effect */
.menu-item-image.lazy:not(.loaded) {
    filter: blur(10px);
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
}


/* Mỗi món ăn gm ảnh + thông tin */
.menu-item {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding-bottom: 30px;
  border-bottom: 1px solid #333;
}

/* Ảnh món ăn */
.menu-item-image-box {
  flex-shrink: 0;
  width: 220px;
  height: 150px;
  overflow: hidden;
  border-radius: 10px;
}

.menu-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.menu-item-image:hover {
  transform: scale(1.05);
}

/* Phần chữ mô tả món */
.menu-item-info {
  flex: 1;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.menu-item h3 {
  font-size: 1.1em;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.menu-tags {
  display: flex;
  gap: 8px;
}

.menu-item-description {
  color: #999;
  font-size: 0.95em;
  line-height: 1.6;
  max-width:400px;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .menu-item-image-box {
    width: 100%;
    max-width: 320px;
    height: 200px;
  }

  .menu-item-header {
    flex-direction: column;
    gap: 5px;
    align-items: center;
  }

  .menu-item-description {
    font-size: 0.9em;
  }
}


/* Menu Tags */
.menu-tags {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.tag {
    background: transparent;
    border: 1px solid #666;
    color: #999;
    padding: 4px 8px;
    font-size: 0.75em;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Menu Description */
.menu-item-description {
    color: #999;
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

/* Menu Legend */
.menu-legend {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 0px;
    padding-top: 10px;
    padding-bottom:150px;
}


.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #999;
    font-size: 0.95em;
}

.legend-tag {
    border: 1px solid #666;
    padding: 3px 6px;
    color: #999;
    font-weight: 600;
    font-size: 0.8em;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .menu-items {
        grid-template-columns: 200px 1fr 200px;
        gap: 30px;
    }

    .menu-header h1 {
        font-size: 2.5em;
    }

    .category-title {
        font-size: 2em;
    }
}

@media (max-width: 1024px) {
    .menu-items {
        grid-template-columns: 1fr;
    }

    .menu-images {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }

    .menu-image-box {
        aspect-ratio: 1;
    }

    .menu-container {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .menu-container {
        padding: 30px 15px;
    }

    .menu-header h1 {
        font-size: 2em;
        letter-spacing: 2px;
    }

    .menu-subtitle {
        font-size: 1em;
    }

    .download-pdf-btn {
        padding: 12px 24px;
        font-size: 0.9em;
        letter-spacing: 1px;
    }

    .category-tabs {
        gap: 10px;
    }

    .category-btn {
        padding: 10px 18px;
        font-size: 0.9em;
        letter-spacing: 1px;
    }

    .category-title {
        font-size: 1.5em;
        letter-spacing: 2px;
    }

    .menu-item-header {
        flex-direction: column;
        gap: 8px;
    }

    .menu-item h3 {
        font-size: 1em;
    }

    .menu-images {
        display: grid;
        grid-template-columns: 1fr;
    }

    .menu-legend {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .menu-header h1 {
        font-size: 1.5em;
    }

    .category-btn {
        padding: 8px 14px;
        font-size: 0.8em;
    }

    .menu-items-list {
        gap: 25px;
    }

    .menu-item {
        padding-bottom: 20px;
    }

    .menu-item-description {
        font-size: 0.9em;
    }
}