:root {
  --bg: #f8ebdc;
  --text: #222;
  --dot: #000;
  --dot-bg: #fff;
  --radius: 50px;
  --side-padding: 48px;
  --page-max: 1200px;
  --bg-beige: #fbf3ea;
  --text-dark: #222;
  --muted: #6f6f6f;
  --accent: #fff;
}

* {
  box-sizing: border-box;
}

/* html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
} */
html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100%; /* chỉ body kéo dài */
}

body {
  font-family: Poppins, Regular, sans-serif;
  background: var(--bg);
  color: var(--text);
}
body.home {
  background: #f6e8d6 !important;
}
/* Header */
.top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #f6e8d6;
  width: 100%;
}

.top-header.scrolled {
  background: #fff7eb; /* màu sau khi scroll */
}

.top-header .header-container {
  max-width: 1200px;
  /* giới hạn nội dung ở giữa */
  margin: 0 auto;
  padding: 18px var(--side-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* PC nav */
.nav-pc {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-pc a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

/* Logo */
.logo img {
  height: 48px;
  width: auto;
  display: block;
}

/* Buttons header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-actions button {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.header-actions .primary {
  background: #42413a;
  color: #fff;
}

.header-actions .primary:hover {
  background: #000;
}

.nav-mobile button {
  padding: 10px 20px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-mobile .primary {
  background: #42413a;
  color: #fff;
}

.nav-mobile .primary:hover {
  background: #000;
}
/* Hamburger button */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  display: none;
}

.menu-toggle .menu-icon {
  width: 26px;
  height: 26px;
  color: #333;
  /* đổi màu dễ dàng */
}

/* Mobile nav (ẩn mặc định) */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  /* dùng màu nền của site */
  padding: 24px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);

  /* hiệu ứng trượt */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.nav-mobile a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 1.1rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

/* Khi mở menu */
.nav-mobile.show {
  display: flex;
  max-height: 400px;
  /* đủ lớn để chứa menu */
  padding: 24px;
}

/* Responsive */

/* Footer bottom */
footer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--side-padding) 40px;
  color: #6b5f57;
}

/* Title */
.hero {
  text-align: center;
  padding: 30px 16px 8px;
}

.hero h1 {
  margin: 0;
  font-size: 2.8rem;
  font-weight: 500;
  color: #46463e;
}

.hero p {
  margin: 8px 0 0;
  color: #5b5046;
}

/* Slider wrapper (centered) */
.slider-wrap {
  position: relative;
  /* để pagination-wrap absolute relative tới đây */
  max-width: 1200px;
  margin: 28px auto 40px;
  padding: 0 24px;
  /* chừa 2 bên để lộ ảnh kế */
}

/* chỉ áp dụng cho slider ảnh */
.slider-wrap .swiper {
  position: relative;
  overflow: visible;
  /* cho lộ ảnh 2 bên */
  height: clamp(260px, 45vw, 520px);
  /* responsive height */
}

.slider-wrap .swiper-slide {
  width: 70%;
  /* luôn set mỗi slide chiếm 70% */
  max-width: 950px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(255, 255, 255, 0.08);
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pagination wrapper: nằm chính giữa trên ảnh (chiều rộng = 70% -> bằng với slide giữa) */
.pagination-wrap {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  /* chỉnh nếu muốn cao/thấp */
  width: 70%;
  /* khớp với .swiper-slide width */
  max-width: 950px;
  display: flex;
  justify-content: center;
  pointer-events: none;
  /* mặc định để tránh chặn kéo */
  z-index: 30;
}

/* Bật lại pointer events cho bullets */
.pagination-wrap .swiper-pagination {
  pointer-events: auto;
}

.pagination-wrap .swiper-pagination {
  text-align: center;
}

.pagination-wrap .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  /* background: var(--dot-bg); */
  background: #dddcdc;
  /* border: 2px solid var(--dot); */
  opacity: 0.95;
  margin: 0 6px !important;
}

.pagination-wrap .swiper-pagination-bullet-active {
  background: #747474;
  border-color: #fff;
}

/* Footer info */
.info-grid {
  max-width: 1200px;
  margin: auto auto;
  padding: 40px var(--side-padding);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  /* tăng khoảng cách cột cho thoáng */
}

.info-grid h3 {
  margin: 0 0 8px;
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--text);
}

.info-grid p {
  margin: 0px;
  line-height: 1.7;
  font-size: 0.95rem;
  color: #4a4037;
}

/* Map box theo mẫu */
.map-box {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.map-box iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}

.social-icons {
  margin-top: 10px;
  display: flex;
  gap: 14px;
}

.social-icons a {
  color: var(--text);
  /* hoặc màu khác */
  transition: color 0.3s ease;
}

.social-icons svg {
  width: 19px;
  height: 19px;
}

/* Responsive */
@media (max-width: 992px) {
  .swiper-slide {
    width: 80%;
  }

  .pagination-wrap {
    width: 80%;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-header .header-container {
    padding: 12px 16px;
    /* nhỏ padding cho mobile */
  }

  .nav-pc {
    display: none;
  }

  /* Ẩn menu PC */
  .menu-toggle {
    display: flex;
  }

  /* Hiện nút hamburger */
  .header-actions button,
  .nav-mobile button {
    white-space: nowrap;
  }
}

@media (max-width: 600px) {
  .swiper-slide {
    width: 90%;
  }

  .pagination-wrap {
    width: 90%;
    bottom: 14px;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .nav-pc {
    display: none;
  }

  /* Ẩn menu PC */
  .menu-toggle {
    display: flex;
  }

  /* Hiện nút hamburger */
  .header-actions button,
  .nav-mobile button {
    padding: 8px 14px;
  }
}

/* ---------- HERO và BANNER ---------- */
.hero-about {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: inset 0 -40px 60px rgba(0, 0, 0, 0.15);
}

/* banner "About Us" — pill bo tròn và phủ xuống dưới */
.about-banner,
.service-banner {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -18px;
  /* phủ xuống dưới hero */
  background: var(--bg-beige);
  padding: 14px 44px;
  border-radius: 35px;
  /* box-shadow: 0 12px 30px rgba(23,23,23,0.12); */
  font-weight: 600;
  font-size: 36px;
  color: var(--text-dark);
  letter-spacing: 0.2px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* kiểu thêm: một viền mảnh màu be để giống thiết kế */
.about-banner::before {
  content: "";
  position: absolute;
  inset: -2px;
  /* tạo viền mảnh xung quanh */
  border-radius: 40px;
  background: #f8ebdc;
  z-index: -1;
}
.service-banner::before {
  content: "";
  position: absolute;
  inset: -2px;
  /* tạo viền mảnh xung quanh */
  border-radius: 40px;
  background: #fff8ef;
  z-index: -1;
}
/* ---------- Nội dung chính ---------- */
.container {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 70px 20px 40px;
  /* top lớn để chừa chỗ banner */
  position: relative;
}

.about-row {
  display: flex;
  gap: 34px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-left {
  flex: 1 1 520px;
  min-width: 280px;
}

.small-label {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.about-left h1 {
  font-size: 30px;
  margin: 0 0 18px;
  font-weight: 500;
}

.about-left p {
  color: #5a5a5a;
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 15px;
}

.btn-appoint {
  display: inline-block;
  background: #3b3b3b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin-top: 10px;
  box-shadow: 0 6px 14px rgba(59, 59, 59, 0.12);
}

.about-right {
  flex: 0 0 550px;
  min-width: 260px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.about-image {
  width: 100%;
  max-width: 550px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- Reviews (giữ đơn giản) ---------- */
.reviews {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.25),
    rgba(250, 245, 240, 0.7)
  );
  padding: 60px 20px 90px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.reviews .inner {
  max-width: var(--page-max);
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.reviews h2 {
  font-size: 26px;
  margin: 0 0 8px;
  font-weight: 500;
}

.reviews p {
  color: var(--muted);
  margin: 0 0 30px;
}

.review-swiper {
  padding-bottom: 40px;
  /* chừa chỗ cho dots */
}

.review-wrapper {
  display: flex;
}

.review-slide {
  display: flex;
  height: auto;
  /* đảm bảo auto */
}

.review-swiper .swiper-pagination-bullet {
  background: #dddcdc;
  opacity: 1;
  width: 14px;
  /* tăng size ngang */
  height: 14px;
  /* tăng size dọc */
  margin: 0 6px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
  /* hiệu ứng mượt khi đổi trạng thái */
}

/* chấm active */
.review-swiper .swiper-pagination-bullet-active {
  background: #747474;
}

.review-swiper .swiper-slide {
  width: auto;
  /* quan trọng: để Swiper quyết định */
  max-width: none;
  box-shadow: none;
  /* tùy ý, nếu bạn muốn bỏ shadow */
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  text-align: left;
  display: flex;
  flex-direction: column;
}

.card-header {
  display: flex;
  align-items: center;
  /* căn giữa avatar và info theo chiều dọc */
  margin-bottom: 12px;
}

.card .avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  /* khoảng cách avatar ↔ info */
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.card .info h4 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.card .info .stars {
  color: #f1c40f;
  margin-top: 4px;
  font-size: 14px;
}

.card p {
  color: #5b5b5b;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .about-row {
    gap: 20px;
  }

  .about-right {
    order: 2;
  }

  .about-left {
    order: 1;
  }

  .about-banner {
    padding: 10px 28px;
    font-size: 22px;
    bottom: -30px;
  }

  .container {
    padding-top: 60px;
  }
}

@media (max-width: 520px) {
  .about-banner {
    bottom: -24px;
    padding: 8px 20px;
    font-size: 20px;
  }

  .about-right {
    flex-basis: 100%;
  }

  .about-left {
    flex-basis: 100%;
  }

  .card {
    width: 100%;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 60px auto; /* căn giữa gallery */
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.gallery-item a {
  display: block; /* cho link chiếm toàn bộ khung */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 900px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    /* 2 cột */
    padding: 0 var(--side-padding);
  }
}

@media (max-width: 600px) {
  .gallery {
    grid-template-columns: 1fr;
    /* 1 cột */
    padding: 0 var(--side-padding);
  }
}

.service-wrapper {
  background: url("/templates/images/service/backgroud-service.png") no-repeat center
    center fixed;
  background-size: cover;
  padding-top: 0px;
  padding-bottom: 10px;
  background-color: #ffffff;
}
.menu-section {
  opacity: 0.8;
}
.menu-container {
  max-width: 1200px;
  margin: 0 auto 60px;
  background: #fff8ef;
  padding: 40px;
  border-radius: 16px;
  backdrop-filter: blur(6px);
  /* hiệu ứng blur nhẹ */
}

h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 36px;
  letter-spacing: 1px;
  color: #5f340b;
}

/* 2 cột */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;
  row-gap: 0;
}

.menu-subsection {
  margin-bottom: 30px;
}

.menu-subsection h3 {
  margin-bottom: 10px;
  font-size: 28px;
  border-bottom: 2px solid #ccc;
  padding-bottom: 5px;
  font-weight: 600;
  color: #5f340b;
}
.menu-subsection small {
  font-size: 18px;
  font-style: italic;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px dotted #ddd;
}

.menu-item span {
  font-size: 22px;
  font-weight: 600;
  color: #000000;
}
.menu-item small {
  font-weight: 500;
  font-size: 18px;
  font-style: italic;
  color: #000;
}
.price {
  font-weight: bold;
  color: #000 !important;
}

/* Responsive */
@media (max-width: 900px) {
  .menu-container {
    padding: 30px;
    margin: 0 auto 10px;
  }

  h2 {
    font-size: 1.7rem;
  }
  .menu-subsection h3 {
    font-size: 1.3rem;
  }
  .menu-subsection small {
    font-size: 0.9rem;
  }
  .menu-item span {
    font-size: 1rem;
  }
  .menu-item small {
    font-size: 0.9rem;
  }
}

@media (max-width: 600px) {
  .menu-section {
    /* padding: 40px var(--side-padding); */
  }

  .menu-grid {
    grid-template-columns: 1fr;
    /* 1 cột */
  }

  h2 {
    font-size: 1.5rem;
  }
}

.contact-section {
  max-width: 1200px;
  margin: 40px auto;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-left {
  flex: 1;
}

.contact-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-right {
  flex: 1;
  background: url("/templates/images/contact/bacgroud-contact.png") no-repeat center
    center/cover;
  color: #333;
  padding: 40px;
}

.contact-right h2 {
  margin-top: 0;
  margin-bottom: 15px;
}

.contact-info p {
  margin: 6px 0;
  line-height: 1.8;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

.business-hours {
  margin-top: 20px;
}

.business-hours p {
  margin: 5px 0;
  line-height: 1.8;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  margin-right: 10px;
  font-size: 20px;
  text-decoration: none;
  color: #333;
}

.map-section {
  max-width: 1200px;
  margin: 20px auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-section iframe {
  width: 100%;
  height: 350px;
  border: none;
}

/* Responsive dưới 900px */
@media (max-width: 900px) {
  .contact-section {
    flex-direction: column;
  }

  .contact-left,
  .contact-left img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .contact-right {
    min-height: auto;
  }
}

/* Responsive dưới 600px */
@media (max-width: 600px) {
  .contact-right {
    padding: 20px;
    font-size: 14px;
  }

  .contact-right h2 {
    font-size: 20px;
  }

  .business-hours h3 {
    font-size: 16px;
  }

  .social-icons a {
    font-size: 18px;
  }
}
.lb-close {
  display: none !important;
}

/* trạng thái mặc định (PC) */
.btn-egift {
  display: inline-block;
}
.btn-services {
  display: none;
}
@media (max-width: 900px) {
  .btn-egift {
    display: none !important;
  } /* !important để override inline style nếu có */
  .btn-services {
    display: inline-block !important;
  }
  .hero h1 {
    font-weight: 600;
  }
}

/* Popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.popup-content {
  background: white;
  width: 80%;
  height: 80%;
  position: relative;
}

.popup-content iframe {
  width: 100%;
  height: 100%;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
}

.booking-section {
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  background-color: #f8ebdc;
  /* position: relative;
  z-index: 10; */
}

.iframe-wrapper {
  width: 100%;
  max-width: 1200px;
  height: 90vh; /* Chiều cao bằng 90% chiều cao màn hình */
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .booking-section {
    padding: 20px 10px;
  }

  .iframe-wrapper {
    height: 80vh; /* thấp hơn chút cho mobile */
    border-radius: 6px;
  }
}
