/* ===== PAGES.CSS - Styles cho các trang user ===== */

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, #F6B22B 0%, #7a1020 100%);
  padding: 70px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('/images/background-item.png') center/cover;
  opacity: 0.08;
}
.page-hero__title {
  font-family: 'Roboto Slab', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #F9B81C;
  margin: 0 0 8px;
  position: relative;
}
.page-hero__breadcrumb {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  position: relative;
}
.page-hero__breadcrumb a {
  color: #F9B81C;
  text-decoration: none;
}
.page-hero__breadcrumb a:hover { text-decoration: underline; }

/* Page Content Wrapper */
.page-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 24px;
  box-sizing: border-box;
}

/* Title Main (dùng chung) */
.title-main {
  text-align: center;
  margin-bottom: 40px;
}
.title-main span {
  font-size: 0.95rem;
  font-style: italic;
  color: #2563eb;
  display: block;
  margin-bottom: 6px;
}
.title-main p {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #b01e31;
  margin: 0;
  text-transform: uppercase;
}

/* ===== GIỚI THIỆU ===== */
.about-page-section {
  padding: 60px 0;
}
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 60px;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
}

.about-page-content {
  max-width: 100%;
  overflow: hidden;
  word-break: break-word;
  line-height: 1.8;
  color: #444;
}

.about-page-content img { max-width: 100%; height: auto; }
.about-page-grid.reverse { direction: rtl; }
.about-page-grid.reverse > * { direction: ltr; }
.about-page-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(176,30,49,0.15);
}
.about-page-text h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.7rem;
  color: #F6B22B;
  margin-bottom: 16px;
}
.about-page-text p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 12px;
}
.about-page-text .highlight {
  color: #F9B81C;
  font-weight: 600;
}

/* Core Values */
.core-values {
  background: #fff8f0;
  border-radius: 16px;
  padding: 48px 32px;
  margin-top: 20px;
}
.core-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.core-value-item {
  text-align: center;
  padding: 28px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  transition: transform 0.3s, box-shadow 0.3s;
}
.core-value-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(176,30,49,0.15);
}
.core-value-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  display: block;
}
.core-value-item h3 {
  font-family: 'Roboto Slab', serif;
  color: #F6B22B;
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.core-value-item p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== THỰC ĐƠN ===== */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.menu-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(176,30,49,0.18);
}
.menu-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.menu-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.menu-card:hover .menu-card__img img { transform: scale(1.07); }
.menu-card__body {
  padding: 16px;
}
.menu-card__name {
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
}
.menu-card__price {
  color: #F6B22B;
  font-weight: 700;
  font-size: 1rem;
}
.menu-card__desc {
  color: #666;
  font-size: 0.85rem;
  margin-top: 6px;
  line-height: 1.5;
}
.menu-empty {
  text-align: center;
  color: #999;
  padding: 60px 0;
  font-size: 1.1rem;
}

/* ===== TIN TỨC ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 32px rgba(176,30,49,0.18);
}
.blog-card__img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.blog-card:hover .blog-card__img img { transform: scale(1.07); }
.blog-card__body { padding: 18px; }
.blog-card__meta {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 8px;
}
.blog-card__title {
  font-family: 'Roboto Slab', serif;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__desc {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-empty {
  text-align: center;
  color: #999;
  padding: 60px 0;
  font-size: 1.1rem;
}

/* ===== TIN TỨC DETAIL ===== */
.post-detail {
  max-width: 860px;
  margin: 0 auto;
  padding: 60px 24px;
}
.post-detail__thumb {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 32px;
}
.post-detail__thumb img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.post-detail__title {
  font-family: 'Roboto Slab', serif;
  font-size: 2rem;
  font-weight: 700;
  color: #F6B22B;
  margin-bottom: 12px;
  line-height: 1.3;
}
.post-detail__meta {
  color: #999;
  font-size: 0.9rem;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0e0e3;
}
.post-detail__content {
  color: #333;
  line-height: 1.9;
  font-size: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}
.post-detail__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}
.post-detail__content table {
  max-width: 100%;
  width: 100% !important;
  overflow-x: auto;
  display: block;
  border-collapse: collapse;
}
.post-detail__content iframe,
.post-detail__content video,
.post-detail__content embed {
  max-width: 100%;
}
.post-detail__content pre,
.post-detail__content code {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}
.post-detail__content h2,
.post-detail__content h3 { color: #F6B22B; margin: 24px 0 12px; }
.post-detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 10px 24px;
  background: #F6B22B;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.post-detail__back:hover { background: #8a1525; }

/* ===== ALBUM ===== */
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.album-item {
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  display: block;
}
.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.album-item:hover img { transform: scale(1.08); }
.album-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(176,30,49,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.album-item:hover .album-item__overlay { opacity: 1; }
.album-item__overlay svg {
  width: 40px;
  height: 40px;
  fill: #fff;
}

/* ===== LIÊN HỆ ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.5rem;
  color: #F6B22B;
  margin-bottom: 20px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: #F6B22B;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}
.contact-info-text strong {
  display: block;
  color: #222;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-info-text span { color: #555; font-size: 0.95rem; }
.contact-map {
  margin-top: 28px;
  border-radius: 12px;
  overflow: hidden;
}
.contact-map iframe {
  width: 100%;
  height: 220px;
  border: none;
  display: block;
}

/* Contact Form */
.contact-form-wrap {
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}
.contact-form-wrap h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 1.4rem;
  color: #F6B22B;
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.95rem;
  color: #333;
  background: #fafafa;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #F6B22B;
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit-btn {
  width: 100%;
  padding: 13px;
  background: #F6B22B;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}
.form-submit-btn:hover { background: #8a1525; }

/* Alert messages */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .menu-grid,
  .blog-grid,
  .album-grid,
  .core-values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-page-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-page-grid.reverse { direction: ltr; }
}

@media (max-width: 600px) {
  .page-hero { padding: 48px 16px; }
  .page-hero__title { font-size: 1.7rem; }
  .page-content { padding: 40px 16px; }
  .menu-grid,
  .blog-grid,
  .album-grid,
  .core-values-grid {
    grid-template-columns: 1fr;
  }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 16px; }
  .post-detail__title { font-size: 1.4rem; }
  .title-main p { font-size: 1.5rem; }
}

.about-page-text--full {
  width: 100%;
  max-width: 100%;
}

/* ===== THỰC ĐƠN PAGE ===== */
.menu-page-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 64px 56px;
  padding: 0 90px;
}

/* Thực đơn: để phần info đỏ luôn fill hết card */
.menu-page-grid .special-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  aspect-ratio: unset;
  border-radius: 4px;
  overflow: hidden;
  background: #F6B22B;
  border: 2px solid #e0e0e0;
  width: calc(100% + 10px);
  max-width: calc(100% + 10px);
  margin-left: -5px;
  margin-right: -5px;
  transition: transform .2s, box-shadow .2s;
}

.menu-page-grid .special-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
}

.menu-page-grid .special-card__img-wrap {
  flex-shrink: 0;
  position: relative;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: visible;
  padding-bottom: 22px;
}

.menu-page-grid .special-card__img-wrap::after { display: none; }

.menu-page-grid .special-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 0;
  position: relative;
}

.menu-page-grid .special-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}

.menu-page-grid .special-card:hover .special-card__img img {
  transform: scale(1.05);
}

.menu-page-grid .special-card__info {
  padding: 26px 12px 14px;
  background: #b01e31;
  position: static;
  transform: none;
  width: auto;
  bottom: auto;
  left: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  box-sizing: border-box;
  flex-shrink: 0;
}

.menu-page-grid .special-card__category {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.menu-page-grid .special-card__name {
  margin-top: -10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  padding: 4px 8px;
  line-height: 1.4;
  font-family: 'Roboto Slab', serif;
  letter-spacing: 0.5px;
  word-break: break-word;
  width: 100%;
  box-sizing: border-box;
}

.menu-page-grid .special-card__price-wrap {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  transform: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.menu-page-grid .special-card__namepro {
  display: block;
  width: 100%;
  height: 42px;
  object-fit: cover;
}

.menu-page-grid .special-card__price {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  color: #7a1320;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.special-card__desc {
  font-size: 12px;
  color: rgba(255,255,255,.8);
  margin: 6px 0 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 768px) {
  .menu-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    padding: 0 12px;
  }
}

@media (max-width: 480px) {
  .menu-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 10px;
    padding: 0 8px;
  }
}

/* ===== TIN TỨC DETAIL ===== */
.post-detail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 60px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  box-sizing: border-box;
  width: 100%;
}

/* Ngăn grid item tràn ra ngoài */
.post-detail-wrap > * {
  min-width: 0;
}

.post-detail__desc {
  font-size: 1rem;
  color: #555;
  font-style: italic;
  border-left: 4px solid #F6B22B;
  padding-left: 16px;
  margin: 0 0 24px;
  line-height: 1.7;
}

.post-detail__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
}

.post-tag {
  background: #fff0f0;
  color: #F6B22B;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid #f5c6cb;
}

.post-detail__footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 2px solid #f0e0e3;
}

/* SEO Sidebar */
.post-seo-sidebar { position: sticky; top: 20px; }

.post-seo-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.post-seo-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F6B22B;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 16px;
  margin: 0;
}

.post-seo-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f0f0f0;
}

.post-seo-item label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px;
}

.post-seo-item p {
  font-size: 13px;
  color: #333;
  margin: 0;
  line-height: 1.5;
}

.post-seo-count {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 10px;
}
.post-seo-count.ok   { background: #d4edda; color: #155724; }
.post-seo-count.warn { background: #fff3cd; color: #856404; }

.post-seo-main-kw {
  color: #F6B22B !important;
  font-weight: 700 !important;
}

/* Google preview */
.post-seo-preview { padding: 12px 16px; }
.post-seo-preview__label {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.post-seo-preview__box {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #e0e0e0;
}
.post-seo-preview__title {
  color: #1a0dab;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.post-seo-preview__url {
  color: #006621;
  font-size: 12px;
  margin-bottom: 4px;
}
.post-seo-preview__desc {
  color: #545454;
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 900px) {
  .post-detail-wrap {
    grid-template-columns: 1fr;
    padding: 24px 16px 40px;
  }
  .post-seo-sidebar { position: static; }
  .post-detail {
    max-width: 100%;
    min-width: 0;
  }
}

/* ===== THỰC ĐƠN: override title màu đỏ ===== */
.page-content .specials-title__svg text {
  fill: #F6B22B;
  opacity: 1;
}

.page-content .specials-title__main {
  color: #F6B22B;
}

.page-content .specials-title::after {
  background: #F6B22B;
}



/* ===== GIỚI THIỆU PAGE ===== */
.about-page-wrap { max-width: 1200px; margin: 0 auto; }

.about-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-top: 40px;
}

/* Mục lục */
.about-toc {
  flex: 0 0 220px;
  position: sticky;
  top: 20px;
  background: #fff8f0;
  border: 1px solid rgba(176,30,49,.15);
  border-radius: 8px;
  padding: 20px;
}

.about-toc__title {
  font-family: 'Roboto Slab', serif;
  font-size: 15px;
  font-weight: 700;
  color: #b01e31;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(176,30,49,.15);
}

.about-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-toc__list li a {
  font-size: 14px;
  color: #444;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.about-toc__list li a::before {
  content: '›';
  color: #b01e31;
  font-size: 16px;
}

.about-toc__list li a:hover { color: #b01e31; }

/* Nội dung chính */
.about-main { flex: 1; min-width: 0; }

.about-page-section__title {
  font-family: 'Roboto Slab', serif;
  font-size: 28px;
  font-weight: 700;
  color: #b01e31;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(176,30,49,.15);
}

.about-page-section__desc {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin: 0 0 20px;
}

@media (max-width: 768px) {
  .about-layout { flex-direction: column; }
  .about-toc { position: static; flex: none; width: 100%; }
}
