/* ═══════════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════════════════════ */

/* Trạng thái ẩn ban đầu */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.reveal-left {
  transform: translateX(-50px);
}
.reveal.reveal-right {
  transform: translateX(50px);
}
.reveal.reveal-scale {
  transform: scale(0.88);
}

/* Khi phần tử vào viewport → hiện ra */
.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Delay stagger cho các item dạng grid */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Biến màu sắc chủ đạo */
:root {
  --gold: #c5a059;
  --dark-bg: #0a0a0a;
  --card-bg: #161616;
  --text-gray: #a0a0a0;
  --accent-red: #d63031;
}

/* Reset cơ bản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--dark-bg);
  color: #fff;
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

/* Header & Banner chính */
.home-hero {
  height: 100vh;
  position: relative; /* Quan trọng để định vị video bên trong */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: none; /* Xóa bỏ ảnh nền cũ */
}

/* Thêm mới lớp cho video */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0; /* Nằm dưới nội dung */
  transform: translate(-50%, -50%);
  object-fit: cover;
}

/* Tạo lớp phủ tối để chữ dễ đọc hơn (thay cho linear-gradient cũ) */
.home-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Độ tối tùy chỉnh */
  z-index: 1;
}

/* Đảm bảo nội dung chữ nằm trên video và lớp phủ */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2; 
}
/* Nội dung giữa Banner */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-bottom: 100px;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 8vw, 5.5rem);
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 40px;
  font-style: italic;
  color: #ddd;
}

.btn-group {
  display: flex;
  gap: 20px;
}

.btn {
  padding: 15px 35px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  transition: 0.3s;
}
.btn-group {
  display: flex;
  justify-content: center; /* Căn giữa 2 nút */
  gap: 20px; /* Khoảng cách giữa 2 nút */
  margin-top: 30px;
}

.btn {
  padding: 15px 35px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  transition: all 0.3s ease;
}

.btn-all {
  background-color: #c5a059; /* Màu vàng Gold */
  color: #000;
}

.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn-all {
  background: var(--gold);
  color: #000;
}
.btn-gold {
  background: var(--gold);
  color: #000;
}
.btn-outline {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
}
.btn:hover {
  opacity: 0.8;
  transform: translateY(-5px);
}
/* Khi màn hình nhỏ hơn 480px (điện thoại) button*/
@media (max-width: 480px) {
  .btn-group {
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
  }
  .btn-all,
  .btn-outline {
    width: 100%;
    padding: 15px 18px;
    box-sizing: border-box;
    font-size: 10px;
    letter-spacing: 1px;
    white-space: nowrap;
  }
}
/* Định dạng chung cho các Section */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  width: 100%;
  box-sizing: border-box;
  height: 90px; /* Chiều cao cố định */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.3);
}

.logo {
  font-family: "Cinzel", serif; /* Dùng Cinzel cho đồng bộ */
  font-size: 24px;
  color: var(--gold);
  letter-spacing: 2px;
  font-weight: bold;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: 0.3s;
  position: relative;
  padding: 10px 0;
  font-weight: 500;
}

/* Hiệu ứng gạch chân đồng bộ */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold) !important;
}
section {
  padding: 100px 10%;
  text-align: center;
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 50px;
}

h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 15px auto;
}

/* Features - Đặc điểm nhà hàng */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.feature-item .icon {
  font-size: 35px;
  color: #c5a059;
  margin-bottom: 20px;
  display: inline-block;
  background: rgba(214, 48, 49, 0.1);
  width: 70px;
  height: 70px;
  line-height: 70px;
  border-radius: 50%;
}

.feature-item h3 {
  font-size: 16px;
  margin-bottom: 10px;
}
.feature-item p {
  font-size: 13px;
  color: var(--text-gray);
}

/* About Section Styles */
.about {
  padding: 100px 10%;
  background-color: #0a0a0a; /* Nền tối */
  color: #fff;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px; /* Khoảng cách giữa ảnh và chữ */
  max-width: 1200px;
  margin: 0 auto;
}

/* Hiệu ứng hình ảnh */
.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 20px 20px 0px rgba(197, 160, 89, 0.2); /* Tạo viền bóng mờ màu gold */
}

/* Nội dung chữ */
.about-content {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-title {
  font-family: "Playfair Display", serif;
  font-size: 36px;
  color: #c5a059; /* Màu Gold */
  margin-bottom: 25px;
  position: relative;
}

/* Đường gạch dưới tiêu đề */
.about-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #c5a059;
  margin-top: 10px;
}

.about-text {
  font-size: 15px;
  line-height: 1.8;
  color: #a0a0a0;
  margin-bottom: 20px;
}

.btn-more {
  color: #c5a059;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  transition: 0.3s;
}

.btn-more:hover {
  letter-spacing: 1px;
  color: #fff;
}

/* Responsive cho thiết kế di động */
@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-title::after {
    margin: 10px auto;
  }
  .about-content {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Menu Card */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.menu-card {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  text-align: left;
  transition: 0.4s;
}

.menu-card:hover {
  transform: translateY(-10px);
}

.menu-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.5s;
}

.menu-card:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 25px;
}
.card-body h3 {
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
}
.card-body p {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 15px;
}
.price {
  color: var(--gold);
  font-weight: bold;
  font-size: 18px;
}

.view-more {
  background: #c5a059;
  color: black;
  padding: 15px 40px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
.view-more:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.4);
}
.view-more:active {
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* Footer CTA */
.cta {
  background:
    linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.85)),
    url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?q=80&w=2070");
  background-attachment: fixed;
  padding: 80px 10%;
}

/* Responsive cho điện thoại */
@media (max-width: 768px) {
    /* Điều chỉnh thanh điều hướng nằm ngang */
    nav {
        flex-direction: row !important; /* Ép nằm ngang */
        justify-content: space-between !important; /* Đẩy Logo sang trái, nút sang phải */
        align-items: center;
        padding: 0 20px;
        height: 80px;
        position: absolute;
    }

    /* Đảm bảo Logo không bị căn giữa */
    .logo {
        margin: 0; 
        text-align: left;
    }

    /* Nút 3 gạch */
    .menu-toggle {
        display: block;
        order: 2; /* Luôn nằm sau logo */
        background: none;
        border: none;
        color: var(--gold);
        cursor: pointer;
    }

    /* Menu ẩn trượt từ phải sang (giữ nguyên logic cũ của bạn) */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%; /* Ẩn đi */
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: 0.4s ease-in-out;
        z-index: 1000;
    }

    /* Khi có class active từ JS */
    .nav-links.active {
        right: 0;
    }
}

/* --- NÚT ĐĂNG NHẬP TRÊN NAVBAR --- */
.btn-login-nav {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  background: transparent !important;
  border: 1px solid #c5a059 !important;
  color: #c5a059 !important;

  /* Ép cứng kích thước, font chữ và chiều cao tuyệt đối */
  font-family: "Montserrat", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  padding: 0 18px !important;
  height: 38px !important; /* Ép chiều cao cố định, không sợ bị lùn đi */
  line-height: 1 !important;

  border-radius: 4px !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  box-sizing: border-box !important;
}

.btn-login-nav:hover {
  background: #c5a059 !important;
  color: #000 !important;
}

.avatar-icon {
  font-size: 20px !important;
}

/* --- MODAL ĐĂNG NHẬP (KHUNG ẨN) --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999; /* Đảm bảo nó nổi lên trên tất cả */
  justify-content: center;
  align-items: center;
}
.modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 40px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.95)),
    url("https://th.bing.com/th/id/OIP.nYQAFEf-BfMHBqSOIZlEdAHaEJ?w=285&h=180&c=7&r=0&o=7&dpr=1.3&pid=1.7&rm=3")
      center/cover;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.8);
  border: 1px solid #333;
  text-align: center;
  color: #fff;
  font-family: "Montserrat", sans-serif;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #888;
  cursor: pointer;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #fff;
}

.modal-title {
  font-family: "Playfair Display", serif;
  color: #c5a059;
  font-size: 26px;
  letter-spacing: 3px;
  margin-bottom: 25px;
}

/* --- CÁC NÚT VÀ INPUT --- */
.btn-google {
  width: 100%;
  padding: 12px;
  background: transparent;
  border: 1px solid #555;
  color: #fff;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.btn-google img {
  width: 20px;
  margin-right: 10px;
}

.btn-google:hover {
  background: #fff;
  color: #000;
}

.divider {
  display: flex;
  align-items: center;
  margin: 20px 0;
  color: #666;
  font-size: 13px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #444;
}

.divider span {
  margin: 0 10px;
}

.input-group {
  margin-bottom: 15px;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #444;
  border-radius: 4px;
  color: #fff;
  outline: none;
  transition: border 0.3s;
}

.input-group input:focus {
  border-color: #c5a059;
  background: rgba(0, 0, 0, 0.5);
}

.forgot-password {
  text-align: right;
  margin-bottom: 20px;
}

.forgot-password a {
  color: #aaa;
  font-size: 13px;
  text-decoration: none;
  transition: 0.3s;
}

.forgot-password a:hover {
  color: #c5a059;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background-color: #c5a059;
  color: #000;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background-color: #e0bc75;
}

.btn-footer-book:hover {
  background-color: #e0bc75 !important; /* Dùng !important để ghi đè lên màu nền inline */
}

/* --- LINK ĐĂNG KÝ & CHÍNH SÁCH --- */
.register-link {
  margin-top: 25px;
  font-size: 14px;
  color: #ccc;
}

.register-link a {
  color: #c5a059;
  text-decoration: none;
  font-weight: bold;
}

.register-link a:hover {
  text-decoration: underline;
}

.policy-text {
  margin-top: 20px;
  font-size: 11px;
  color: #666;
  line-height: 1.5;
}

.policy-text a {
  color: #888;
  text-decoration: underline;
}

.policy-text a:hover {
  color: #ccc;
}

/* --- TRANG CHÍNH SÁCH --- */
.policy-section {
  padding: 10px 10%;
  background-color: var(--dark-bg);
}

.policy-container {
  max-width: 800px; /* Bóp chiều rộng lại để người dùng không phải lia mắt quá dài khi đọc */
  margin: 0 auto;
  background-color: #111; /* Màu nền hơi khác một chút để nổi bật khung chữ */
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #222;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.last-update {
  font-style: italic;
  color: #666;
  font-size: 13px;
  margin-bottom: 40px;
  text-align: center;
}

.policy-block {
  margin-bottom: 35px;
  text-align: left;
}

.policy-block h3 {
  font-family: "Playfair Display", serif;
  color: var(--gold);
  font-size: 20px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.policy-block p {
  color: #bbb;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 10px;
}

/* --- TIÊU ĐỀ TRANG CHÍNH SÁCH --- */
.page-hero {
  display: flex;
  flex-direction: column;
  min-height: 40vh; /* Cho độ cao banner vừa phải */
}

.hero-content2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero-content2 h1 {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  color: #c5a059; /* Màu Vàng Gold */
  margin-bottom: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-content2 .line {
  width: 100px;
  height: 2px;
  background: #c5a059;
  margin: 0 auto; /* Căn giữa cái gạch vàng */
}
@media (max-width: 1024px) {
    nav {
        padding: 0 5%;
    }
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 15px 0;
        background: rgba(0,0,0,0.9); /* Làm nền đậm hơn trên mobile */
        position: relative;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        margin-top: 15px;
    }

    .nav-links a {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .hero-content h1 {
        font-size: 3.5rem; /* Giảm size tiêu đề chính */
        letter-spacing: 5px;
    }

    .about-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-image img {
        box-shadow: 10px 10px 0px rgba(197, 160, 89, 0.2);
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        padding: 30px 20px;
    }
}
/* 1. Mặc định ẩn nút hamburger trên máy tính */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
}

.menu-toggle span {
  font-size: 35px;
}
/* --- THIẾT LẬP NAV CHUNG (CHO CẢ DESKTOP & MOBILE) --- */
/* (merged into main nav rule above) */

/* Ẩn nút 3 gạch trên máy tính */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  z-index: 1001; /* Luôn nằm trên menu khi mở */
}

.menu-toggle span {
  font-size: 35px;
}

/* --- RESPONSIVE CHO MOBILE (Dưới 768px) --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Hiện nút 3 gạch bên phải */
  }

  .nav-links {
    /* Biến danh sách thành menu trượt từ phải sang */
    position: fixed;
    top: 0;
    right: -100%; 
    width: 70%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    display: flex; /* Đảm bảo nó là flex để căn giữa các mục */
  }

  /* Khi bấm nút, JS sẽ thêm class này để hiện menu */
  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 18px;
  }
}
.menu-card {
  background: transparent !important;
  overflow: visible !important;
  transform: none !important;
  transition: none !important;
  border-radius: 0 !important;
}
.menu-card:hover {
  transform: none !important;
}
/* Override chiều cao ảnh từ CSS gốc */
.menu-card img {
  height: 220px !important;
  transform: none !important;
}
 
/* 2. Perspective container */
.menu-card {
  perspective: 1200px;
  height: 480px;
  cursor: pointer;
}
 
/* 3. Lớp xoay bên trong */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.85s cubic-bezier(0.23, 1, 0.32, 1);
}
 
/* Khi hover trên desktop */
.menu-card:hover .card-inner {
  transform: rotateY(180deg);
}
 
/* Khi tap trên mobile (JS toggle class .is-flipped) */
.menu-card.is-flipped .card-inner {
  transform: rotateY(180deg);
}
 
/* 4. Mặt trước & mặt sau — dùng chung */
.card-front,
.card-back {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
 
/* 5. Mặt TRƯỚC */
.card-front {
  background: var(--card-bg);
  border: 1px solid #2a2218;
}
 
.card-front img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) saturate(0.85);
  transition: filter 0.4s ease;
}
 
.menu-card:hover .card-front img {
  filter: brightness(0.65) saturate(0.7);
}
 
/* Gợi ý "lật thẻ" ở mặt trước */
.card-front-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.card-front-hint span {
  flex: 1;
  height: 1px;
  background: #2a2218;
}
.card-front-hint p {
  font-size: 9px !important;
  letter-spacing: 2px;
  color: #4a3e2e !important;
  text-transform: uppercase;
  margin: 0 !important;
}
 
/* 6. Mặt SAU */
.card-back {
  transform: rotateY(180deg);
  background: #080604;
  border: 1px solid var(--gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 24px 22px;
}
 
/* Góc trang trí */
.card-back::before,
.card-back::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.4;
}
.card-back::before {
  top: 12px;
  left: 12px;
  border-width: 1px 0 0 1px;
}
.card-back::after {
  bottom: 12px;
  right: 12px;
  border-width: 0 1px 1px 0;
}
 
.back-tag {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.65;
  margin-bottom: 8px;
}
 
.back-name {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: #f0e6d0;
  margin-bottom: 5px;
  line-height: 1.25;
}
 
.back-origin {
  font-size: 11px;
  color: #6a5a42;
  letter-spacing: 1px;
  font-style: italic;
  margin-bottom: 16px;
}
 
.back-divider-line {
  width: 100%;
  height: 1px;
  background: #2a2218;
  margin-bottom: 16px;
}
 
.back-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}
 
.back-star {
  width: 7px;
  height: 7px;
  background: var(--gold);
  opacity: 0.75;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 68% 57%,
    79% 91%, 50% 70%, 21% 91%, 32% 57%,
    2%  35%, 39% 35%
  );
}
 
.back-desc {
  font-size: 12.5px;
  color: #9a8a70;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 20px;
}
 
.back-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
 
.back-price-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #4a3e2e;
  text-transform: uppercase;
  margin-bottom: 4px;
}
 
.back-price-value {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: var(--gold);
}
 
.back-order-btn {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 9px 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  text-decoration: none;
  display: inline-block;
}
 
.back-order-btn:hover {
  background: var(--gold);
  color: #000;
}
 
/* 7. Mobile: tắt hover, dùng tap */
@media (hover: none) {
  .menu-card:hover .card-inner {
    transform: none;
  }
}
.section-subtitle {
  text-align: center;
  color: #707070;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: -35px;
  margin-bottom: 50px;
}
 
/* ═══════════════════════════════════════════════════════════
   GALLERY SECTION
   ═══════════════════════════════════════════════════════════ */
.gallery-section {
  padding: 100px 10%;
  background: #0d0d0d;
}
 
/* Masonry grid — 4 cột, 2 hàng cố định */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto 20px;
}
 
/* Vị trí từng ô */
.masonry-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.masonry-item:nth-child(2) { grid-column: 3;     grid-row: 1; }
.masonry-item:nth-child(3) { grid-column: 4;     grid-row: 1 / 3; }
.masonry-item:nth-child(4) { grid-column: 1;     grid-row: 2; }
.masonry-item:nth-child(5) { grid-column: 2 / 4; grid-row: 2; }
 
.masonry-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #1a1a1a;
}
 
.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
  filter: brightness(0.88) saturate(0.8);
}
 
.masonry-item:hover img {
  transform: scale(1.07);
  filter: brightness(0.65) saturate(0.7);
}
 
/* Overlay */
.masonry-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.masonry-item:hover .masonry-overlay {
  background: rgba(0, 0, 0, 0.28);
}
 
.gallery-zoom-icon {
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.35s ease;
  font-size: 28px;
  color: rgba(197, 160, 89, 0.9);
}
 
.masonry-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}
 
/* Label badge */
.photo-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(197, 160, 89, 0.35);
  color: #c5a059;
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
 
.masonry-item:hover .photo-label {
  opacity: 1;
  transform: translateY(0);
}
 
/* Gợi ý click */
.gallery-hint {
  text-align: center;
  font-size: 10px;
  color: #333;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 16px;
}
 
/* ── Responsive Gallery ─────────────────────────────────── */
@media (max-width: 900px) {
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
  }
  .masonry-item:nth-child(1),
  .masonry-item:nth-child(2),
  .masonry-item:nth-child(3),
  .masonry-item:nth-child(4),
  .masonry-item:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    height: 220px;
  }
  .masonry-item:nth-child(1) { grid-column: 1 / 3; }
}
 
@media (max-width: 480px) {
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  .masonry-item:nth-child(1) { grid-column: 1; }
}
 
/* ── LIGHTBOX ───────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
 
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
 
.lightbox-inner {
  max-width: 820px;
  width: 90%;
  position: relative;
  transform: scale(0.88);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}
 
.lightbox.open .lightbox-inner {
  transform: scale(1);
}
 
.lightbox-content {
  background: #111;
  border: 1px solid rgba(197, 160, 89, 0.3);
  overflow: hidden;
}
 
.lightbox-img-area {
  width: 100%;
  height: 420px;
  overflow: hidden;
}
 
.lightbox-img-area img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
.lightbox-caption {
  padding: 22px 30px 26px;
  border-top: 1px solid #1e1e1e;
}
 
.lb-tag {
  font-size: 9px;
  letter-spacing: 3px;
  color: #c5a059;
  opacity: 0.65;
  text-transform: uppercase;
  margin-bottom: 8px;
}
 
.lightbox-caption h3 {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: #f0e6d0;
  margin-bottom: 8px;
}
 
.lightbox-caption p {
  font-size: 12.5px;
  color: #707070;
  line-height: 1.8;
}
 
.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  background: #111;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: #c5a059;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: background 0.2s;
  z-index: 2;
}
 
.lightbox-close:hover {
  background: rgba(197, 160, 89, 0.15);
}
 
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid rgba(197, 160, 89, 0.3);
  color: #c5a059;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  transition: background 0.2s;
  z-index: 2;
}
 
.lb-nav:hover { background: rgba(197, 160, 89, 0.12); }
.lb-prev { left: -56px; }
.lb-next { right: -56px; }
 
.lb-dots {
  display: flex;
  gap: 7px;
  justify-content: center;
  margin-top: 16px;
}
 
.lb-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.25);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
}
 
.lb-dot.active {
  background: #c5a059;
  transform: scale(1.3);
}
 
/* ═══════════════════════════════════════════════════════════
   TIMELINE SECTION
   ═══════════════════════════════════════════════════════════ */
.timeline-section {
  padding: 100px 10%;
  background: #080808;
  position: relative;
}
 
.timeline-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(197, 160, 89, 0.25), transparent);
}
 
/* Track — scrollable trên mobile */
.timeline-track {
  display: flex;
  gap: 0;
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 10px;
}
 
.timeline-track::-webkit-scrollbar { display: none; }
 
/* Đường nối ngang */
.timeline-spine {
  position: absolute;
  top: 54px;
  left: 60px;
  right: 60px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(197, 160, 89, 0.18) 10%,
    rgba(197, 160, 89, 0.18) 90%,
    transparent
  );
  pointer-events: none;
}
 
/* Mỗi bước */
.tl-step {
  flex: 1;
  min-width: 170px;
  text-align: center;
  padding: 0 12px;
  position: relative;
  cursor: pointer;
}
 
/* Icon circle */
.tl-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #111;
  border: 1px solid rgba(197, 160, 89, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  position: relative;
  z-index: 2;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
 
.tl-step:hover .tl-icon-wrap,
.tl-step.active .tl-icon-wrap {
  background: rgba(197, 160, 89, 0.1);
  border-color: #c5a059;
  box-shadow: 0 0 22px rgba(197, 160, 89, 0.1);
}
 
.tl-num {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: #c5a059;
  opacity: 0.45;
  transition: opacity 0.3s;
}
 
.tl-step:hover .tl-num,
.tl-step.active .tl-num { opacity: 1; }
 
/* Điểm nối ở giữa đường spine */
.tl-step:not(:first-child):not(:last-child)::after {
  content: '';
  position: absolute;
  top: 51px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.25);
  z-index: 3;
  transition: background 0.3s, transform 0.3s;
}
 
.tl-step:not(:first-child):not(:last-child):hover::after {
  background: #c5a059;
  transform: translateX(-50%) scale(1.5);
}
 
.tl-label {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #c5a059;
  opacity: 0.5;
  margin-bottom: 8px;
  transition: opacity 0.3s;
}
 
.tl-step:hover .tl-label,
.tl-step.active .tl-label { opacity: 1; }
 
.tl-title {
  font-family: "Playfair Display", serif;
  font-size: 15px;
  color: #e8e0d0;
  margin-bottom: 10px;
  line-height: 1.3;
}
 
.tl-desc {
  font-size: 11px;
  color: #484848;
  line-height: 1.75;
  transition: color 0.3s;
  max-width: 140px;
  margin: 0 auto;
}
 
.tl-step:hover .tl-desc,
.tl-step.active .tl-desc { color: #888; }
 
/* Detail Panel */
.tl-detail-panel {
  max-width: 1100px;
  margin: 44px auto 0;
  background: #0d0d0d;
  border: 1px solid rgba(197, 160, 89, 0.14);
  padding: 28px 34px;
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
  animation: tlFadeUp 0.3s ease;
}
 
@keyframes tlFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
/* Đường gạch vàng trên detail panel */
.tl-detail-panel::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 60px;
  width: 70px;
  height: 2px;
  background: #c5a059;
  transition: left 0.3s ease;
}
 
.dp-icon {
  width: 62px;
  height: 62px;
  background: rgba(197, 160, 89, 0.07);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: #c5a059;
}
 
.dp-text h4 {
  font-family: "Playfair Display", serif;
  font-size: 18px;
  color: #f0e6d0;
  margin-bottom: 10px;
}
 
.dp-text p {
  font-size: 12.5px;
  color: #888;
  line-height: 1.85;
}
 
.dp-time-block {
  margin-left: auto;
  text-align: right;
  flex-shrink: 0;
}
 
.dp-time-val {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: rgba(197, 160, 89, 0.2);
  line-height: 1;
  margin-bottom: 4px;
}
 
.dp-time-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: #444;
  text-transform: uppercase;
}
 
/* ── Responsive Timeline ────────────────────────────────── */
@media (max-width: 768px) {
  .timeline-track {
    gap: 0;
    padding-bottom: 16px;
  }
  .tl-step { min-width: 140px; }
  .tl-detail-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .dp-time-block { margin-left: 0; text-align: left; }
}
 
@media (max-width: 480px) {
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lightbox-img-area { height: 260px; }
}
/* ═══════════════════════════════════════════════════════════
   COMPREHENSIVE RESPONSIVE SYSTEM — ALL DEVICES
   Breakpoints:
     xl  : > 1440px (large desktop)
     lg  : 1025px – 1440px (desktop)
     md  : 769px  – 1024px (tablet landscape / small laptop)
     sm  : 481px  – 768px  (tablet portrait)
     xs  : ≤ 480px         (mobile)
     xxs : ≤ 360px         (small mobile)
   ═══════════════════════════════════════════════════════════ */

/* ── GLOBAL HELPERS ────────────────────────────────────────── */
img, video { max-width: 100%; height: auto; }

/* ═══════════════════════════════════════════════════════════
   XL — Large desktop (> 1440px)
   ═══════════════════════════════════════════════════════════ */
@media (min-width: 1441px) {
  section { padding: 120px 12%; }
  .features-grid { grid-template-columns: repeat(4, 1fr); gap: 50px; }
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
  .about-container { max-width: 1400px; gap: 80px; }
  .masonry-grid { max-width: 1400px; }
  .timeline-track { max-width: 1300px; }
  .tl-detail-panel { max-width: 1300px; }
}

/* ═══════════════════════════════════════════════════════════
   MD — Tablet landscape / small laptop (769px – 1024px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  /* Nav */
  nav { padding: 0 4%; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 12px; letter-spacing: 1px; }
  .logo { font-size: 20px; }

  /* Hero */
  .hero-content h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); letter-spacing: 6px; }
  .hero-content p { font-size: 16px; }

  /* Sections */
  section { padding: 80px 6%; }

  /* Features */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }

  /* Menu */
  .menu-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .menu-card { height: 440px; }

  /* About */
  .about { padding: 80px 6%; }
  .about-container { gap: 40px; }
  .about-title { font-size: 30px; }

  /* Gallery */
  .gallery-section { padding: 80px 6%; }

  /* Timeline */
  .timeline-section { padding: 80px 6%; }
  .tl-step { min-width: 150px; }

  /* CTA */
  .cta { padding: 60px 6%; }
}

/* ═══════════════════════════════════════════════════════════
   SM — Tablet portrait (481px – 768px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* ── Nav: hamburger ── */
  nav {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 5% !important;
    height: 70px !important;
    position: absolute !important;
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(8px);
  }
  .logo { font-size: 18px; letter-spacing: 1.5px; }
  .menu-toggle { display: block !important; }
  .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;
    width: 75% !important;
    height: 100vh !important;
    background: rgba(8, 8, 8, 0.99) !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 28px !important;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    z-index: 1000 !important;
    box-shadow: -8px 0 30px rgba(0,0,0,0.6) !important;
    border-left: 1px solid rgba(197, 160, 89, 0.1) !important;
    flex-wrap: nowrap !important;
    padding-top: 80px !important;
  }
  .nav-links.active { right: 0 !important; }
  .nav-links a { font-size: 16px !important; letter-spacing: 2px !important; }

  /* ── Hero ── */
  .hero-content h1 {
    font-size: clamp(2.2rem, 9vw, 3.5rem);
    letter-spacing: 4px;
    line-height: 1.1;
  }
  .hero-content p { font-size: 14px; margin-bottom: 30px; }
  .hero-content { padding-bottom: 60px; }
  .btn-group { flex-direction: column; align-items: center; gap: 14px; margin-top: 20px; }
  .btn-all, .btn-outline {
    width: 220px;
    padding: 16px 20px;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1.5px;
    white-space: nowrap;
  }

  /* ── Sections ── */
  section { padding: 70px 5%; }
  h2 { font-size: 26px; margin-bottom: 35px; }
  .section-subtitle { font-size: 11px; margin-top: -25px; margin-bottom: 40px; }

  /* ── Features ── */
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .feature-item .icon { width: 60px; height: 60px; line-height: 60px; font-size: 28px; }
  .feature-item h3 { font-size: 14px; }

  /* ── Menu cards ── */
  .menu-grid { grid-template-columns: 1fr; gap: 20px; max-width: 420px; margin-left: auto; margin-right: auto; }
  .menu-card { height: 460px; }

  /* ── About ── */
  .about { padding: 70px 5%; }
  .about-container { flex-direction: column; gap: 30px; text-align: center; }
  .about-content { align-items: center; text-align: center; }
  .about-title::after { margin: 10px auto; }
  .about-image img { box-shadow: 8px 8px 0 rgba(197,160,89,0.15); }
  .about-title { font-size: 28px; }
  .about-text { font-size: 14px; }

  /* ── Gallery ── */
  .gallery-section { padding: 70px 5%; }
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 6px;
  }
  .masonry-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; height: 200px; }
  .masonry-item:nth-child(2) { grid-column: auto; grid-row: auto; height: 180px; }
  .masonry-item:nth-child(3) { grid-column: auto; grid-row: auto; height: 180px; }
  .masonry-item:nth-child(4) { grid-column: auto; grid-row: auto; height: 180px; }
  .masonry-item:nth-child(5) { grid-column: 1 / 3; grid-row: auto; height: 180px; }

  /* ── Lightbox ── */
  .lightbox-inner { width: 95%; }
  .lightbox-img-area { height: 300px; }
  .lb-prev { left: 5px; }
  .lb-next { right: 5px; }
  .lightbox-close { top: -10px; right: -10px; }

  /* ── Timeline ── */
  .timeline-section { padding: 70px 5%; }
  .timeline-track { overflow-x: auto; padding-bottom: 20px; }
  .tl-step { min-width: 130px; padding: 0 8px; }
  .tl-title { font-size: 13px; }
  .tl-desc { font-size: 10px; max-width: 120px; }
  .tl-detail-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
  }
  .dp-time-block { margin-left: 0; text-align: left; }
  .dp-icon { width: 50px; height: 50px; font-size: 18px; }
  .dp-text h4 { font-size: 16px; }
  .dp-text p { font-size: 12px; }

  /* ── CTA ── */
  .cta { padding: 60px 5%; background-attachment: scroll; }
  .cta h2 { font-size: 24px; }
  .cta p { font-size: 14px; margin-bottom: 22px !important; }
}

/* ═══════════════════════════════════════════════════════════
   XS — Mobile (≤ 480px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  /* ── Nav ── */
  nav { height: 64px !important; padding: 0 4% !important; }
  .logo { font-size: 16px !important; letter-spacing: 1px !important; }
  .menu-toggle span { font-size: 28px; }
  .nav-links { width: 85% !important; gap: 22px !important; }
  .nav-links a { font-size: 15px !important; }
  .lang-switcher-nav { gap: 8px; }
  .btn-lang { padding: 6px 12px; font-size: 11px; }

  /* ── Hero ── */
  .home-hero { height: 100svh; }
  .hero-content h1 {
    font-size: clamp(1.9rem, 10vw, 2.8rem);
    letter-spacing: 3px;
    line-height: 1.15;
    padding: 0 10px;
  }
  .hero-content p { font-size: 13px; padding: 0 10px; }
  .hero-content { padding-bottom: 50px; padding-left: 5%; padding-right: 5%; }
  .btn-all, .btn-outline {
    width: 100%;
    max-width: 280px;
    padding: 15px 18px;
    font-size: 10px;
    letter-spacing: 1px;
    white-space: nowrap;
  }

  /* ── Sections ── */
  section { padding: 60px 5%; }
  h2 { font-size: 22px; margin-bottom: 28px; }
  h2::after { width: 40px; margin: 10px auto; }
  .section-subtitle { font-size: 10px; margin-top: -20px; margin-bottom: 35px; letter-spacing: 2px; }

  /* ── Features ── */
  .features-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .feature-item { padding: 0 4px; }
  .feature-item .icon { width: 52px; height: 52px; line-height: 52px; font-size: 24px; margin-bottom: 14px; }
  .feature-item h3 { font-size: 13px; margin-bottom: 6px; }
  .feature-item p { font-size: 11px; }

  /* ── Menu section ── */
  .menu-grid { grid-template-columns: 1fr; max-width: 100%; }
  .menu-card { height: 440px; }
  .card-front img { height: 200px !important; }
  .back-name { font-size: 18px; }
  .back-desc { font-size: 11.5px; }
  .view-more { padding: 13px 30px; font-size: 12px; }

  /* ── About ── */
  .about { padding: 60px 5%; }
  .about-container { gap: 24px; }
  .about-title { font-size: 24px; }
  .about-text { font-size: 13px; }

  /* ── Gallery ── */
  .gallery-section { padding: 60px 5%; }
  .masonry-grid {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .masonry-item:nth-child(1),
  .masonry-item:nth-child(2),
  .masonry-item:nth-child(3),
  .masonry-item:nth-child(4),
  .masonry-item:nth-child(5) {
    grid-column: 1 !important;
    grid-row: auto !important;
    height: 200px !important;
  }
  .gallery-hint { font-size: 9px; letter-spacing: 2px; }

  /* ── Lightbox ── */
  .lightbox-inner { width: 98%; }
  .lightbox-img-area { height: 240px; }
  .lightbox-caption { padding: 16px 18px 20px; }
  .lightbox-caption h3 { font-size: 16px; }
  .lightbox-caption p { font-size: 11.5px; }
  .lb-nav { width: 36px; height: 36px; font-size: 20px; }
  .lb-prev { left: 4px; }
  .lb-next { right: 4px; }
  .lightbox-close { width: 32px; height: 32px; font-size: 16px; top: -8px; right: -8px; }

  /* ── Timeline ── */
  .timeline-section { padding: 60px 5%; }
  .timeline-track { gap: 0; }
  .tl-step { min-width: 110px; padding: 0 6px; }
  .tl-icon-wrap { width: 46px; height: 46px; margin-bottom: 16px; }
  .tl-num { font-size: 15px; }
  .tl-title { font-size: 12px; }
  .tl-desc { font-size: 9.5px; max-width: 100px; }
  .tl-label { font-size: 8px; letter-spacing: 2px; }
  .tl-detail-panel { padding: 18px 16px; gap: 14px; }
  .dp-text h4 { font-size: 15px; }
  .dp-text p { font-size: 11.5px; }
  .dp-time-val { font-size: 26px; }

  /* ── CTA ── */
  .cta { padding: 55px 5%; }
  .cta h2 { font-size: 20px !important; }
  .cta p { font-size: 13px !important; }
  .btn-gold { padding: 14px 30px; font-size: 12px; }

  /* ── Modal ── */
  .modal-content { width: 96%; padding: 28px 16px; }
  .modal-title { font-size: 22px; letter-spacing: 2px; }
}

/* ═══════════════════════════════════════════════════════════
   XXS — Very small mobile (≤ 360px)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  .logo { font-size: 14px !important; letter-spacing: 0.5px !important; }
  .hero-content h1 { font-size: 1.7rem; letter-spacing: 2px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; }
  .feature-item { max-width: 280px; margin: 0 auto; }
  .menu-card { height: 420px; }
  .tl-step { min-width: 95px; }
  .tl-title { font-size: 11px; }
  .tl-desc { font-size: 9px; max-width: 85px; }
}

/* ═══════════════════════════════════════════════════════════
   TOUCH / HOVER FIXES
   ═══════════════════════════════════════════════════════════ */
/* Trên thiết bị cảm ứng: photo-label luôn hiển thị */
@media (hover: none) {
  .photo-label { opacity: 1; transform: translateY(0); }
  .gallery-zoom-icon { opacity: 0.6; transform: scale(0.8); }
  .masonry-item img { filter: brightness(0.82) saturate(0.85); }
  .card-front-hint p { color: #6a5a42 !important; }
  /* CTA background-attachment: scroll để tránh iOS flicker */
  .cta { background-attachment: scroll; }
}

/* ═══════════════════════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════════════════════ */
@media print {
  nav, .menu-toggle, .hero-video, .lightbox, .cta { display: none !important; }
  .home-hero { height: auto; background: #000; }
  section { padding: 30px 5%; }
  .features-grid, .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
