:root {
  --bg: #101113;
  --panel: rgba(255,255,255,.075);
  --panel-strong: rgba(255,255,255,.11);
  --surface: #17191d;
  --ink: #f7f4ed;
  --muted: rgba(247,244,237,.68);
  --line: rgba(255,255,255,.1);
  --accent: #F5A000;
  --accent-ink: #171006;
  --blue: #80C0E0;
  --shadow: 0 34px 100px rgba(0,0,0,.36);
  --soft-shadow: 0 22px 80px rgba(0,0,0,.22);
  --radius: 26px;
  --font-display: "Montserrat", Impact, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px),
    radial-gradient(circle at 78% 8%, rgba(245,160,0,.16), transparent 30rem),
    radial-gradient(circle at 10% 34%, rgba(128,192,224,.09), transparent 28rem),
    var(--bg);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
  font-family: var(--font-body);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(16,17,19,.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo img {
  width: min(230px, 52vw);
  max-height: 44px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}
.nav-links a { transition: color 180ms var(--ease); }
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 190ms var(--ease), background 190ms var(--ease), border-color 190ms var(--ease), box-shadow 190ms var(--ease), color 190ms var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 36px rgba(0,0,0,.24); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffc04a; }
.btn-outline { border-color: rgba(255,255,255,.45); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.72); }

.hero {
  min-height: calc(100svh - 76px);
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(420px,.84fr);
  align-items: center;
  gap: 56px;
  padding: 62px 0 58px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(245,160,0,.14);
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: .96;
  letter-spacing: 0;
  hyphens: none;
  overflow-wrap: anywhere;
}
h1 {
  max-width: 720px;
  font-size: clamp(40px, 5vw, 88px);
  text-transform: uppercase;
}
.lead {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 1.55vw, 22px);
  line-height: 1.68;
  hyphens: auto;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 38px;
  max-width: 680px;
}
.meta-tile {
  min-height: 108px;
  padding: 18px;
  border-radius: 20px;
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
.meta-tile strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 18px;
}
.meta-tile span { display: block; margin-top: 8px; color: var(--muted); font-weight: 700; }
.hero-photo {
  position: relative;
  /* aspect-ratio: 4 / 3; */
  overflow: hidden;
  border-radius: 34px;
  background: var(--surface);
  box-shadow: var(--shadow);
  margin: 0;
}
.hero-photo img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; /* Thuộc tính này cực kỳ quan trọng để ảnh tràn khung */
  display: block;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.48));
}
.photo-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

section { padding: 86px 0; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0,.52fr) minmax(280px,.8fr);
  gap: 0px;
  align-items: end;
  margin-bottom: 34px;
}
h2 { font-size: clamp(34px, 4.2vw, 64px); }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; line-height: 1.72; hyphens: auto; }

.menu-list {
  display: grid;
  gap: 12px;
}
.menu-row {
  display: grid;
  grid-template-columns: 86px minmax(0,1fr) minmax(220px,.44fr);
  align-items: center;
  gap: 24px;
  min-height: 126px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--soft-shadow);
}
.menu-row .num { color: var(--accent); font-family: var(--font-mono); font-weight: 700; }
.menu-row h3 { font-size: clamp(22px, 2.3vw, 36px); }
.menu-row p { margin: 0; color: var(--muted); hyphens: auto; }

.trust {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 18px;
  align-items: stretch;
}
.rating-card, .story-card {
  min-height: 390px;
  border-radius: 34px;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.rating-card { padding: 34px; display: flex; flex-direction: column; justify-content: space-between; }
.big-rating {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: clamp(74px, 10vw, 142px);
  line-height: .85;
  overflow-wrap: anywhere;
  hyphens: none;
}
.rating-card p { max-width: 560px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.review-count { font-family: var(--font-mono); color: var(--ink); font-weight: 700; }
.story-card { display: grid; grid-template-rows: 1fr auto; }
.story-card img { width: 100%; height: 100%; min-height: 250px; object-fit: cover; }
.story-card div { padding: 24px; color: var(--muted); }
.story-card strong { display: block; margin-bottom: 8px; color: var(--ink); }
/* 
.gallery-strip {
  display: grid;
  grid-template-columns: 1.1fr .85fr .85fr;
  gap: 16px;
  align-items: stretch;
}
.gallery-item {
  min-height: 320px;
  border-radius: 30px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}
.gallery-item:first-child { min-height: 440px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; } */

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0,.74fr) minmax(380px,1fr);
  gap: 18px;
  align-items: stretch;
}
.contact-card, .map-card, .faq-item, .cta {
  background: var(--panel);
  border-radius: 30px;
  box-shadow: var(--soft-shadow);
}
.contact-card { padding: 30px; }
.info-table { display: grid; gap: 16px; margin-top: 28px; }
.info-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.info-row span:first-child {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  /* Đảm bảo chữ tiêu đề nằm canh đều ở đỉnh dòng đầu tiên */
  align-self: start; 
}

/* --- ĐOẠN ĐƯỢC CHỈNH SỬA LẠI --- */
.info-row span:last-child { 
  color: var(--muted); 
  font-weight: 500; /* Giảm độ đậm chữ chung xuống một chút cho thanh thoát */
  
  /* Tạo layout hàng dọc cho các ngày */
  display: flex;
  flex-direction: column;
  gap: 6px; /* Khoảng cách giãn dòng vừa phải giữa các ngày với nhau */
}

/* Định dạng chi tiết cho từng dòng ngày */
.info-row span:last-child small {
  font-size: 15px; /* Kích thước chữ hiển thị giờ */
  line-height: 1.4;
  display: flex;
  justify-content: space-between; /* Đẩy chữ "Po - Čt" sang trái, giờ sang phải nếu thích (Tùy chọn) */
}

/* Làm nổi bật thứ trong tuần */
.info-row span:last-child small b {
  color: var(--ink); /* Đổi màu chữ của Thứ sang màu chữ chính để dễ đọc hơn */
  font-weight: 600;
  min-width: 70px; /* Định rộng cố định cho phần chữ Thứ để các mốc giờ thẳng hàng tăm tắp */
  display: inline-block;
}
.map-card { padding: 12px; min-height: 444px; }
#map { height: 420px; border-radius: 22px; overflow: hidden; background: #202226; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  align-items: stretch;
}
.faq-item { padding: 26px; min-height: 190px; }
.faq-item h3 { font-size: 24px; line-height: 1.05; }
.faq-item p { margin: 16px 0 0; color: var(--muted); hyphens: auto; }

.cta {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(245,160,0,.18), rgba(128,192,224,.08)), var(--panel-strong);
}
.cta h2 { font-size: clamp(34px, 4.6vw, 68px); }
.cta p { margin: 18px 0 0; max-width: 620px; color: var(--muted); font-size: 18px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }

footer {
  padding: 42px 0;
  color: rgba(247,244,237,.56);
  font-size: 13px;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.disclaimer {
  max-width: 760px;
  color: rgba(247,244,237,.48);
}
.disclaimer a { color: rgba(247,244,237,.78); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .hero, .section-head, .trust, .visit-grid, .cta {
    grid-template-columns: 1fr;
  }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-photo { order: -1; }
  .menu-row { grid-template-columns: 1fr; gap: 12px; }
  .hero-meta, .faq-grid, .gallery-strip { grid-template-columns: 1fr; }
  .gallery-item, .gallery-item:first-child { min-height: 300px; }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 28px, 1180px); }
  section { padding: 62px 0; }
  .nav { min-height: 68px; }
  .logo img { max-height: 38px; }
  .btn { width: 100%; }
  .nav .btn { width: auto; padding-inline: 16px; }
  .hero { gap: 34px; }
  .meta-tile, .menu-row, .contact-card, .faq-item, .cta { padding: 22px; }
  .info-row { grid-template-columns: 1fr; gap: 6px; }
  #map { height: 340px; }
}

/* ==========================================
   CSS CHO LƯỚI ẢNH GALERIE MỚI
   ========================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 ô trên 1 hàng */
  gap: 16px;
}

.gallery-tile {
  position: relative;
  aspect-ratio: 1 / 1; /* Ép ô ảnh luôn luôn là hình vuông chuẩn */
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ảnh tràn khung vuông không méo hình */
  transition: transform 0.5s var(--ease);
}

/* Hiệu ứng zoom nhẹ khi di chuột vào */
.gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.gallery-tile:hover img {
  transform: scale(1.05);
}

/* ==========================================
   CSS HIỆU ỨNG XẾP LỚP Ô SỐ 8 (STACKED EFFECT)
   ========================================== */

/* Cấu hình chung cho ô số 8 để không làm lộ phần bóng ra ngoài khung lưới */
.gallery-more {
  position: relative;
  background: transparent !important; /* Bỏ nền mặc định để lộ bóng */
  box-shadow: none !important; /* Bỏ shadow mặc định */
  overflow: visible !important; /* Cho phép các lớp bóng xếp tầng nhô ra nhẹ */
}

/* Khung nội dung chính chứa ảnh số 8 */
.gallery-more .tile-main-content {
  position: absolute;
  inset: 0 4px 4px 0; /* Thu nhỏ lại 1 chút để lộ góc bóng phía sau */
  border-radius: 20px;
  overflow: hidden;
  z-index: 3; /* Nằm trên cùng */
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s var(--ease);
}

/* Các lớp bóng giả lập hình vuông xếp phía sau */
.gallery-more .tile-shadow {
  position: absolute;
  border-radius: 20px;
  background: #2a2c30; /* Dùng màu xám */
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* Lớp bóng số 1 (Nằm sát ảnh chính) */
.gallery-more .shadow-shallow {
  inset: 4px -4px -4px 4px;
  z-index: 2;
  opacity: 0.95;
}

/* Lớp bóng số 2 (Nằm sâu nhất dưới cùng) */
.gallery-more .shadow-deep {
  inset: 8px -8px -8px 8px;
  z-index: 1;
  opacity: 0.85;
}

/* Lớp phủ mờ tối trên ảnh số 8 để làm nổi bật chữ */
.gallery-more .more-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 17, 19, 0.5); /* Giảm độ tối xuống cho tự nhiên */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
}

/* Chữ "Xem tất cả" viết bằng tiếng Séc tối giản, sang trọng */
.gallery-more .more-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  transition: all 0.3s var(--ease);
}

/* HOVER ANIMATION: Hiệu ứng co giãn xếp tầng khi di chuột vào ô số 8 */
.gallery-more:hover .tile-main-content {
  transform: translate(-2px, -2px); /* Ảnh chính dịch nhẹ lên góc trên bên trái */
}

.gallery-more:hover .shadow-shallow {
  transform: translate(1px, 1px); /* Bóng giữa dịch nhẹ ngược lại */
  opacity: 0.9;
}

.gallery-more:hover .shadow-deep {
  transform: translate(3px, 3px); /* Bóng cuối đẩy ra xa hơn tạo cảm giác có chiều sâu */
  opacity: 0.7;
}

.gallery-more:hover .more-text {
  background: var(--accent); /* Đổi màu chữ sang màu vàng Accent của quán khi hover */
  color: var(--accent-ink);
  border-color: var(--accent);
  transform: scale(1.05);
}

/* Khung nhìn Lightbox phóng to ảnh */
.lightbox {
  display: none; /* Mặc định ẩn */
  position: fixed;
  z-index: 2000; /* Nổi lên trên tất cả mọi menu */
  inset: 0;
  background-color: rgba(10, 11, 12, 0.95);
  backdrop-filter: blur(8px);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: var(--ink);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2010;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--accent); }

.lightbox-content-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

#lightboxImg {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  animation: fadeIn 0.3s ease;
}

/* Nút bấm chuyển hướng ảnh trái/phải */
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  padding: 16px 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2005;
  transition: all 0.2s;
}
.lightbox-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.lightbox-prev { left: 32px; }
.lightbox-next { right: 32px; }

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* RESPONSIVE CHO THIẾT BỊ DI ĐỘNG */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* Máy tính bảng: 3 cột */
  }
}
@media (max-width: 560px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* Điện thoại: 2 cột x 4 hàng */
    gap: 10px;
  }
  .lightbox-btn { padding: 12px 16px; font-size: 18px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

.map-directions-btn {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 100; /* Đảm bảo nổi lên trên bản đồ */
  background: #ffffff;
  color: #101113;
  padding: 10px 16px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
}

.map-directions-btn:hover {
  background: var(--accent); /* Đổi sang màu vàng khi hover */
  color: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Khung chứa các nút mạng xã hội */
.footer-socials {
  display: flex;
  gap: 16px;          /* Tăng khoảng cách giữa 2 nút cho thoáng */
  align-items: center;
}

/* Định dạng nút nổi bật màu vàng */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;         /* Tăng nhẹ kích thước để dễ bấm trúng trên điện thoại */
  height: 44px;
  background-color: #F5A000; /* Nền màu vàng thương hiệu của quán GẠO */
  color: #111111;            /* Icon bên trong màu đen tuyền cực kỳ tương phản và rõ ràng */
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(245, 160, 0, 0.2); /* Tạo viền bóng mờ màu vàng sang trọng */
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Hiệu ứng chuyển động cao cấp */
}

/* Hiệu ứng đảo màu đặc biệt khi di chuột qua (Hover) */
.social-btn:hover {
  background-color: #ffffff; /* Nền chuyển sang màu trắng tinh khiết */
  color: #F5A000;            /* Icon chuyển sang màu vàng */
  transform: translateY(-4px) scale(1.05); /* Nút nhấc cao lên và phóng to nhẹ */
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25); /* Đổ bóng sáng */
}