/* Global styles (unchanged) TEST*/
@font-face {
  font-family: "Montserrat";
  src: url("./assets/images/font/Montserrat-Regular.ttf") format("truetype");
}
/* Modal Styles - 80% size instead of fullscreen */
#donLapModal .modal-dialog,
#onsenModal .modal-dialog,
#shopHouseModal .modal-dialog {
  margin: 2.5vh auto;
  max-width: 80%;
  height: 80vh;
}

#donLapModal .modal-content,
#onsenModal .modal-content,
#shopHouseModal .modal-content {
  border: none;
  border-radius: 8px;
  height: 95vh;
  max-height: 95vh;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  background-color: #121212;
}

/* Darker modal backdrop */
.modal-backdrop {
  background-color: #000000;
  opacity: 0.85 !important;
}

#donLapModal .modal-header,
#onsenModal .modal-header,
#shopHouseModal .modal-header {
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1050;
  background-color: transparent;
}

#donLapModal .btn-close,
#onsenModal .btn-close,
#shopHouseModal .btn-close {
  background-color: rgb(237 229 215);
  border-radius: 50%;
  opacity: 0.8;
  color: #2f1801;
  border: 2px solid #8a6540;
  color-rendering: optimizespeed;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

#donLapModal .btn-close:hover,
#onsenModal .btn-close:hover,
#shopHouseModal .btn-close:hover {
  opacity: 1;
}

#donLapModal .iframe-container,
#onsenModal .iframe-container,
#shopHouseModal .iframe-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Loading screen styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f0ead8;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-logo {
  width: 200px;
  height: auto;
}

.loading-spinner {
  position: absolute;
  bottom: 50px;
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top: 4px solid #4a7c59;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow: hidden;
  font-family: "Montserrat", Arial, sans-serif;
}

.main-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  pointer-events: none;
}

/* Make sure all interactive elements can receive clicks */
.logo-container,
.top-navigation,
.top-right-icon,
.sidebar-tools,
.bottom-container,
.model-container,
.tool-btn,
.nav-btn,
.bottom-nav-btn {
  pointer-events: auto;
}

/* Main image styling (unchanged) */
.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo and top navigation (unchanged) */
.logo-container {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.logo {
  width: 160px;
  height: auto;
}

.icon-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.icon-img_laban {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.top-right-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.top-navigation {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 10;
}

.nav-btn {
  background-color: transparent;
  border: none;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.main-btn {
  background-color: #f0ead8;
  padding: 15px 40px;
  border-radius: 20px;
  font-weight: 500;
  color: #8e5926;
  font-size: 15px;
  font-family: "Montserrat", Arial, sans-serif;
}

/* Sidebar tool buttons (unchanged) */
.sidebar-tools {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 10;
  background-color: #f0ead8;
  padding: 10px 10px;
  border-radius: 25px;
  transition: background-color 0.3s ease;
  font-family: "Montserrat", Arial, sans-serif;
}

.tool-btn {
  position: relative;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  margin: 5px 0;
  display: flex;
  background-color: #f0ead8;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #555;
  font-family: "Montserrat", Arial, sans-serif;
}

.sidebar-tools .tool-btn:hover {
  transform: scale(1.3);
}

.sidebar-tools .tool-btn:hover .icon-img {
  transform: scale(1.1);
}

/* Tooltip styling (unchanged base for tool-btn) */
.tool-btn::before {
  content: attr(title);
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #f0ead8;
  color: #8e5926;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 20;
  font-family: "Montserrat", Arial, sans-serif;
}

.tool-btn::after {
  content: "";
  position: absolute;
  right: 39px;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.tool-btn:hover::before,
.tool-btn:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Bottom container for daynight-switch and bottom navigation (unchanged) */
.bottom-container {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 10;
}

/* Container for bottom navigation and hotline (unchanged) */
.bottom-navigation-container {
  position: relative;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  z-index: 10;
}

/* Hotline styling (unchanged) */
.hotline-container {
  position: absolute;
  left: 0;
  width: 250px;
  height: 85px;
  bottom: 0px;
  background-image: url("./assets/Images/icons/hotline.svg");
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  animation: bounceHotline 2s ease-in-out infinite;
}
.hotline-container-mobile {
  position: absolute;
  left: 0;
  width: 250px;
  height: 85px;
  bottom: 0px;
}

.hotline-number {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background: linear-gradient(
    1deg,
    #a1762b 3%,
    #b68e43 20%,
    #d5b267 15%,
    #eccc81 42%,
    #fadc90 56%,
    #ffe296 67%,
    #ffe296 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: translateY(8px);
  line-height: 1.2;
}

@keyframes bounceHotline {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Bottom navigation styling (base, for larger screens) */
.bottom-navigation {
  display: flex;
  background-color: #f0ead8;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 8px;
  gap: 10px;
  align-items: center;
  margin: 0 auto;
  max-width: 900px;
  justify-content: space-between;
  flex-wrap: nowrap;
  transition: all 0.4s;
  position: relative;
}

/* Button styling (base, for larger screens) */
.bottom-nav-btn {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 10px 12px;
  color: #8e5926;
  cursor: pointer;
  transition: all 0.4s;
  border-radius: 15px;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
  text-align: center;
}

.bottom-nav-btn .text {
  color: #8e5926;
  transition: all 0.4s;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 14px;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100px;
  line-height: 1.2;
  display: block;
  margin-top: 0;
  transition: transform 0.3s ease;
}

.bottom-nav-btn:hover .text {
  transform: translateY(-10px);
}

.bottom-nav-btn.active {
  color: #8e5926;
  font-weight: bold;
}

.bottom-nav-btn:hover {
  transform: scale(1.05);
}

.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: none;
  outline: none;
  cursor: pointer;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 50px;
  height: 50px;
  background: url("./assets/images/icons/iconlight_dark.svg") center/cover
    no-repeat;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -20px;
}

.slider::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 5px;
  margin-right: -10px;
  background: none;
}

/* Responsive Styles */

/* Desktop (1024px and above) - using base styles defined above */
@media only screen and (min-width: 1024px) {
  .logo {
    width: 160px;
  }
  .main-btn {
    padding: 15px 40px;
    font-size: 15px;
  }

  .sidebar-tools {
    right: 20px;
  }

  .bottom-navigation {
    max-width: 900px;
    gap: 10px;
    padding: 8px;
  }

  .bottom-nav-btn {
    padding: 10px 12px;
    flex-direction: row;
  }

  .bottom-nav-btn .icon-img {
    width: 35px;
    height: 35px;
    margin-right: 8px;
    margin-bottom: 0;
  }

  .bottom-nav-btn .text {
    font-size: 14px;
    max-width: 100px;
    display: block;
    margin-top: 0;
  }

  .hotline-container {
    width: 250px;
    height: 85px;
    bottom: 0px;
  }
}

/* Tablet (768px to 1023px) */
@media only screen and (max-width: 1023px) and (min-width: 768px) {
  .logo {
    width: 140px;
  }
  .main-btn {
    padding: 12px 30px;
    font-size: 14px;
  }
  .sidebar-tools {
    right: 15px;
    padding: 8px 8px;
  }
  .tool-btn {
    width: 30px;
    height: 30px;
  }
  .icon-img {
    width: 28px;
    height: 28px;
  }
  .bottom-navigation {
    max-width: 700px;
    padding: 6px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .bottom-nav-btn {
    padding: 8px 10px;
    flex-direction: row;
    min-width: 0;
  }

  .bottom-nav-btn .icon-img {
    width: 30px;
    height: 30px;
    margin-right: 6px;
    margin-bottom: 0;
  }

  .bottom-nav-btn .text {
    font-size: 13px;
    max-width: 90px;
    display: block;
    margin-top: 0;
  }

  .hotline-container {
    width: 220px;
    height: 75px;
    bottom: 10px;
  }

  .hotline-number {
    font-size: 18px;
  }
}

/* Mobile (321px to 767px) */
@media only screen and (max-width: 767px) {
  .logo {
    width: 60px;
  }

  .icon-img_laban {
    width: 30px;
    height: 30px;
  }

  .top-navigation {
    top: 20px;
  }

  .main-btn {
    padding: 7px 6px;
    font-size: 12px;
  }

  .sidebar-tools {
    right: 10px;
    padding: 6px 6px;
  }

  .tool-btn {
    width: 25px;
    height: 25px;
    margin: 3px 0;
  }

  .icon-img {
    width: 22px;
    height: 22px;
  }

  .bottom-navigation {
    max-width: 95%;
    padding: 4px;
    gap: 3px;
    overflow: hidden;
    flex-wrap: nowrap;
    justify-content: space-between;
    border-radius: 25px;
  }

  .bottom-nav-btn {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    padding: 5px 2px;
    border-radius: 8px;
    min-height: 45px;
  }

  .bottom-nav-btn .text {
    display: block;
    font-size: 8px;
    color: #8e5926;
    font-family: "Montserrat", Arial, sans-serif;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    line-height: 1;
    text-align: center;
    margin-top: 1px;
  }

  .bottom-nav-btn .icon-img {
    margin-right: 0;
    margin-bottom: 0;
    width: 20px;
    height: 20px;
  }

  .bottom-nav-btn::before,
  .bottom-nav-btn::after {
    content: "" !important;
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .bottom-nav-btn:active::before,
  .bottom-nav-btn:active::after,
  .bottom-nav-btn:focus::before,
  .bottom-nav-btn:focus::after,
  .bottom-nav-btn.show-tooltip::before,
  .bottom-nav-btn.show-tooltip::after {
    opacity: 0 !important;
    visibility: hidden !important;
  }

  .bottom-nav-btn:hover {
    transform: scale(1.05);
  }

  .bottom-nav-btn:hover .icon-img {
    transform: scale(1.05);
  }

  .hotline-container {
    width: 180px;
    height: 65px;
    bottom: 70px;
  }

  .hotline-number {
    font-size: 16px;
  }
}

/* Small Mobile (320px and below) */
@media only screen and (max-width: 320px) {
  .logo {
    width: 50px;
  }

  .main-btn {
    padding: 6px 5px;
    font-size: 11px;
  }
  .icon-img {
    width: 18px;
    height: 18px;
  }

  .bottom-navigation {
    max-width: 98%;
    padding: 3px;
    gap: 2px;
    border-radius: 20px;
  }

  .bottom-nav-btn {
    padding: 4px 1px;
    border-radius: 6px;
    min-height: 40px;
  }

  .bottom-nav-btn .text {
    font-size: 7px;
    line-height: 1;
    margin-top: 1px;
  }

  .bottom-nav-btn .icon-img {
    width: 18px;
    height: 18px;
  }

  .hotline-container {
    width: 150px;
    height: 55px;
    bottom: 60px;
  }

  .hotline-number {
    font-size: 14px;
  }
}

/* Size zoom to desktop hotline (unchanged) */
@media only screen and (max-width: 1280px) {
  .hotline-container {
    width: 200px;
    height: 70px;
    bottom: 100px;
    left: 15px;
  }
}

/* Cải thiện container cho nút chính và các nút con */
.bottom-nav-item-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Nút con xổ lên - cải thiện thiết kế */
.sub-buttons {
  position: absolute;
  bottom: 70px;
  left: 50%;
  width: 215px;
  transform: translateX(-50%);
  background-color: rgba(240, 234, 216, 0.95);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform-origin: bottom center;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  transform: translateX(-50%) translateY(10px) scale(0.8);
  z-index: 100;
  border: 1px solid rgba(142, 89, 38, 0.3);
}

/* Hiệu ứng khi hover trên desktop */
@media (hover: hover) {
  .bottom-nav-item-container:hover .sub-buttons {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* Hiệu ứng khi active trên mobile */
.bottom-nav-item-container.active .sub-buttons {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Hiệu ứng staggered cho các nút con */
.sub-buttons .sub-nav-btn:nth-child(1) {
  animation-delay: 0.05s;
}

.sub-buttons .sub-nav-btn:nth-child(2) {
  animation-delay: 0.1s;
}

/* Hiệu ứng khi các nút con xuất hiện */
@keyframes popIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.8);
  }

  70% {
    transform: translateY(-5px) scale(1.05);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hiệu ứng khi các nút con biến mất */
@keyframes popOut {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(10px) scale(0.8);
  }
}

/* Áp dụng animation khi hiển thị */
.bottom-nav-item-container.active .sub-nav-btn,
.bottom-nav-item-container:hover .sub-nav-btn {
  animation: popIn 0.5s forwards;
}

/* Áp dụng animation khi ẩn */
.bottom-nav-item-container:not(.active):not(:hover) .sub-nav-btn {
  animation: popOut 0.3s forwards;
}

/* Kiểu dáng cho nút con - cải thiện và cân đối với chữ */
.sub-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #8e5926;
  padding: 12px 15px;
  color: #8e5926;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.sub-nav-btn:hover {
  background: #8e5926;
  color: white;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Thêm hiệu ứng ripple khi click */
.sub-nav-btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3) 10%,
    transparent 10.01%
  );
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.8s;
}

.sub-nav-btn:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

.sub-nav-btn .text {
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: inherit;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0 5px;
}

/* Thêm hiệu ứng underline khi hover */
.sub-nav-btn .text::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -3px;
  left: 50%;
  background-color: currentColor;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.sub-nav-btn:hover .text::after {
  width: 100%;
}

/* Thêm indicator cho nút có sub-menu */
.bottom-nav-btn.has-sub-buttons {
  position: relative;
}

.bottom-nav-btn.has-sub-buttons::after {
  content: "";
  display: block;
  position: absolute;
  top: 5px;
  right: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #8e5926;
  transition: all 0.3s;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(142, 89, 38, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(142, 89, 38, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(142, 89, 38, 0);
  }
}

.bottom-nav-item-container.active .bottom-nav-btn.has-sub-buttons::after,
.bottom-nav-item-container:hover .bottom-nav-btn.has-sub-buttons::after {
  background-color: #e0b382;
  transform: scale(1.2);
}

/* Thêm mũi tên nhỏ ở dưới menu */
.sub-buttons::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid rgba(240, 234, 216, 0.95);
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.1));
}

/* Responsive cho mobile */
@media only screen and (max-width: 767px) {
  .sub-buttons {
    width: 120px;
    padding: 8px;
    gap: 6px;
    bottom: 48px;
    background-color: #f0ead8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px) scale(0.8);
    transition: all 0.3s ease;
  }

  .bottom-nav-item-container.active .sub-buttons {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .sub-nav-btn {
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .sub-nav-btn .text {
    font-size: 12px;
  }

  .bottom-nav-btn.has-sub-buttons::after {
    width: 6px;
    height: 6px;
    top: 3px;
    right: 3px;
  }

  .sub-buttons::after {
    bottom: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #f0ead8;
  }

  .logo-container {
    top: 15px;
    left: 10px;
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* nút thư viện */
#iframe-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#iframe-container.active {
  visibility: visible;
  opacity: 1;
}

#iframe-container iframe {
  width: 80%;
  height: 80%;
  border-radius: 8px;
}

#iframe-container .iframe-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: white;
  cursor: pointer;
  z-index: 1001;
}

#iframe-popup-container {
  background-color: rgba(0, 0, 0, 0.836) !important;
}

.menu-qr-image {
  width: 80px;
  height: 80px;
}
.main-menu-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}
@media (max-width: 768px) {
  .contact-container {
    padding-bottom: 20px;
  }

  .main-menu-content {
    justify-content: space-evenly;
  }

  .menu-logo {
    padding-top: 60px;
  }
}

/* Amenities Modal Styles */
.amenities-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.amenities-modal-overlay.open {
  display: flex;
}

.amenities-modal {
  background: linear-gradient(145deg, #f5f1e8, #e8dcc6);
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes modalSlideOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
}

.amenities-modal-header {
  background: linear-gradient(135deg, #f0ead8, #f0ead8);
  color: #a97c50;
  padding: 20px 30px;
  text-align: center;
  position: relative;
}

.amenities-modal-title {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.amenities-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: #a97c50;
  font-size: 28px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.amenities-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.amenities-tabs {
  display: flex;
  background: #e8dcc6;
  border-bottom: 2px solid #d4c4a8;
}

.amenities-tab {
  flex: 1;
  padding: 15px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #f0ead8;
  transition: all 0.3s ease;
  position: relative;
}

.amenities-tab.active {
  background: linear-gradient(135deg, #f0ead8, #f0ead8);
  color: white;
}

.amenities-tab:not(.active):hover {
  background: rgba(139, 105, 20, 0.1);
}

.amenities-modal-content {
  padding: 30px;
  max-height: 520px;
  overflow-y: auto;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Responsive adjustments for the 3-column layout */
@media (max-width: 992px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }
}

.amenities-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Standardize amenity card sizes */
.amenity-card {
  display: flex;
  flex-direction: column;
  background-color: #f0ead8;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
  margin-bottom: 20px;
}

.amenity-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

.amenity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.amenity-label {
  font-size: 16px;
  font-weight: 600;
  margin: 12px 15px 5px;
  font-family: "Montserrat", Arial, sans-serif;
  color: #a97c50;
  text-align: center;
  height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Grid layout with equal column widths */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.amenities-column {
  display: flex;
  flex-direction: column;
}

/*Hover effects */
.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.amenity-card:hover .amenity-image img {
  transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenity-image {
    height: 160px;
  }
}

@media (max-width: 576px) {
  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .amenity-image {
    height: 140px;
  }
}

/* Custom scrollbar */
.amenities-modal-content::-webkit-scrollbar {
  width: 8px;
}

.amenities-modal-content::-webkit-scrollbar-track {
  background: #f0ead8;
  border-radius: 4px;
}

.amenities-modal-content::-webkit-scrollbar-thumb {
  background: #a97c50;
  border-radius: 4px;
}

.amenities-modal-content::-webkit-scrollbar-thumb:hover {
  background: #a97c50;
}

/* Responsive design */
@media (max-width: 768px) {
  .amenities-modal {
    width: 95%;
    margin: 10px;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .amenities-modal-content {
    padding: 20px;
  }

  .amenities-modal-title {
    font-size: 20px;
  }

  .amenities-tab {
    padding: 12px 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .amenity-image {
    height: 60px;
    font-size: 24px;
  }

  .amenity-label {
    font-size: 14px;
  }
}
@media (max-height: 568px) {
  .hotline-container {
    scale: 0.8 !important;
    bottom: 60px !important;
    display: none !important;
  }

  .bottom-navigation {
    scale: 0.8 !important;
  }
  .bottom-nav-btn .text {
    white-space: nowrap;
  }
  .logo {
    width: 75px;
  }
  .sidebar-tools {
    right: 15px;
    scale: 0.7;
    padding: 8px 8px;
    top: 40%;
  }
}

/* Responsive cho tiện ích khi zoom 150% trở lên */
@media screen and (min-resolution: 1.5dppx) {
  .amenities-modal {
    max-width: 90%;
    max-height: 90vh;
  }

  .amenities-modal-content {
    max-height: 65vh;
  }

  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenity-image {
    height: 150px;
  }

  .amenity-label {
    font-size: 14px;
  }
}

/* Image zoom modal styles */
.image-zoom-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  overflow: auto;
}

.image-zoom-content {
  margin: auto;
  display: block;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 90%;
  max-height: 90vh;
}

.image-zoom-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.image-zoom-close:hover {
  color: #bbb;
}

/* Add pointer cursor to the image */
#zoomout .amenity-image {
  cursor: pointer;
}
/* CALL NOW Button */

.button-contact {
  position: fixed;
  bottom: 120px;
  display: none;
}

.button-contact .phone-vr {
  position: relative;
  visibility: visible;
  background-color: transparent;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 11;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transition: visibility 0.5s;
  display: block;
}

.phone-vr-circle-fill {
  width: 40px;
  height: 40px;
  top: 5px;
  left: 5px;
  position: absolute;
  background-color: rgba(255, 204, 102, 0.3);
  box-shadow: 0 0 0 0 rgba(255, 204, 102, 0.5);
  border-radius: 50%;
  border: 2px solid transparent;
  -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
  animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
  transition: all 0.5s;
  -webkit-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  transform-origin: 50% 50%;
  -webkit-animation: zoom 1.3s infinite;
  animation: zoom 1.3s infinite;
}

.phone-vr-img-circle {
  background-color: #2e4c3f;
  width: 25px;
  height: 25px;
  line-height: 25px;
  top: 12.5px;
  left: 12.5px;
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  -webkit-animation: phone-vr-circle-fill 1s infinite ease-in-out;
  animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.phone-vr-img-circle a {
  display: block;
  line-height: 22px;
  position: relative;
}
.phone-vr-img-circle a svg {
  position: absolute;
  top: -4px;
  left: -15px;
}

.phone-vr-img-circle img {
  max-height: 18px;
  max-width: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

@-webkit-keyframes phone-vr-circle-fill {
  0% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
  10% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }
  20% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }
  30% {
    -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
  }
  40% {
    -webkit-transform: rotate(25deg) scale(1) skew(1deg);
  }
  50% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
  100% {
    -webkit-transform: rotate(0) scale(1) skew(1deg);
  }
}

@-webkit-keyframes zoom {
  0% {
    transform: scale(0.9);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px transparent;
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 transparent;
  }
}

@keyframes zoom {
  0% {
    transform: scale(0.9);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 15px transparent;
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 transparent;
  }
}

@media only screen and (max-width: 767px) {
  .button-contact {
    display: block;
  }
  .button-contact .phone-vr {
    width: 50px;
    height: 50px;
  }
  .phone-vr-circle-fill {
    width: 40px;
    height: 40px;
    top: 5px;
    left: 5px;
  }
  .phone-vr-img-circle {
    width: 25px;
    height: 25px;
    top: 12.5px;
    left: 12.5px;
  }
  .phone-vr-img-circle img {
    max-height: 18px;
    max-width: 20px;
  }
}

@media only screen and (max-width: 767px) {
  .hotline-container {
    display: none !important;
  }
}
/* UPDATE TIỆN ÍCH */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.lightbox.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Close button */
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: #a97c50;
}

/* Image counter */
.lightbox-counter {
  position: absolute;
  top: 20px;
  left: 30px;
  color: white;
  font-size: 18px;
  font-weight: 500;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 15px;
  border-radius: 20px;
}

/* Content container */
.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  position: relative;
}

/* Image styling */
.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* Title styling */
.lightbox-title {
  color: white;
  font-size: 24px;
  font-weight: 600;
  margin-top: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 30px;
  padding: 14px 16px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: #a97c50;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: 30px;
  z-index: 1001;
}

.lightbox-next {
  right: 30px;
}

/* Responsive styles */
@media (max-width: 768px) {
  .lightbox-nav {
    font-size: 24px;
    padding: 12px 16px;
  }

  .lightbox-prev {
    left: 15px;
    z-index: 1001;
  }

  .lightbox-next {
    right: 15px;
  }

  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 30px;
  }

  .lightbox-counter {
    top: 15px;
    left: 20px;
    font-size: 16px;
  }

  .lightbox-title {
    font-size: 20px;
  }
}

/* menu con CHỈ trên mobile */
@media only screen and (max-width: 767px) {
  .mobile-submenu-indicator {
    font-size: 5px;
    position: absolute;
    top: 3px;
    right: 3px;
    transition: transform 0.3s ease;
    display: block;
  }

  .has-sub-buttons[aria-expanded="true"] .mobile-submenu-indicator {
    transform: rotate(180deg);
  }
  .sub-nav-btn .text {
    font-size: 7px;
  }

  /* Định dạng lại sub-buttons cho mobile */
  .bottom-nav-item-container .sub-buttons {
    position: absolute;
    bottom: 100%;
    right: auto !important;
    transform: translateX(-50%);
    background-color: #f0ead8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 90px; /* Giảm kích thước chiều rộng */
    padding: 8px;
    margin-bottom: 8px;
    display: none;
    flex-direction: column;
    gap: 6px;
    z-index: 1000;
  }

  .bottom-nav-item-container .sub-buttons.mobile-active {
    display: flex;
  }

  .bottom-nav-item-container .sub-nav-btn {
    background-color: #f0ead8;
    border: 1px solid #f0ead8;
    border-radius: 8px;
    padding: 6px 8px; /* Giảm padding */
    font-size: 12px; /* Giảm kích thước font */
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Thêm mũi tên chỉ xuống từ menu con */
  .bottom-nav-item-container .sub-buttons::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #f0ead8;
  }
}
/* Kiểm tra và sửa các vấn đề có thể chặn hiển thị sub-buttons */

/* 1. Đảm bảo z-index đủ cao */
.sub-buttons {
  z-index: 1001 !important; /* Tăng z-index để đảm bảo hiển thị trên các phần tử khác */
}

/* 2. Sửa lại các thuộc tính display và visibility */
@media only screen and (max-width: 767px) {
  /* Sửa lại cách hiển thị sub-buttons */
  .sub-buttons {
    position: absolute;
    bottom: 48px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f0ead8;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 140px;
    padding: 8px;
    gap: 6px;
    z-index: 1001;

    /* Quan trọng: Thay đổi cách hiển thị */
    display: none !important; /* Mặc định ẩn */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  /* Hiển thị khi active */
  .bottom-nav-item-container.active .sub-buttons {
    display: flex !important; /* Ghi đè display: none */
    opacity: 1;
    visibility: visible;
  }

  /* 3. Đảm bảo không có overflow ẩn menu */
  .bottom-navigation {
    max-width: 95%;
    padding: 4px;
    gap: 3px;
    overflow: visible !important; /* Đảm bảo không ẩn overflow */
    flex-wrap: nowrap;
    justify-content: space-between;
    border-radius: 25px;
  }

  /* 4. Đảm bảo bottom-nav-item-container có position relative */
  .bottom-nav-item-container {
    position: relative !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* 5. Đảm bảo nút con có style rõ ràng */
  .sub-nav-btn {
    width: 100%;
    padding: 8px;
    margin: 2px 0;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #8e5926;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: #8e5926;
  }
}
.copyright {
    position: fixed;
    bottom: 10px;
    left: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    z-index: 1000;
    pointer-events: none;
}