@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

/* Custom class for the active thumbnail in Tag01 gallery - Các viền xung quanh ảnh của trang chi tiết điểm đến */
.uk-active .tc-active-thumb {
  border-color: #0088ff !important;
  box-shadow: 0 0 12px rgba(0, 136, 255, 0.7) !important;
  transform: scale(0.98) !important;
}

/* === Testing Mode Popup Premium Styles === */
.testing-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testing-overlay.active {
  opacity: 1;
  visibility: visible;
}

.testing-modal {
  background: rgba(255, 255, 255, 0.95);
  width: 90%;
  max-width: 450px;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9) translateY(20px);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(235, 28, 36, 0.1);
}

.testing-overlay.active .testing-modal {
  transform: scale(1) translateY(0);
}

.testing-icon {
  width: 64px;
  height: 64px;
  background: rgba(235, 28, 36, 0.1);
  color: #eb1c24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
  animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
  0% {
    box-shadow: 0 0 0 0 rgba(235, 28, 36, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(235, 28, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(235, 28, 36, 0);
  }
}

.testing-title {
  font-size: 20px;
  font-weight: 700;
  color: #161616;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.testing-message {
  font-size: 16px;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 28px;
}

.btn-testing-close {
  background: #eb1c24;
  color: #ffffff !important;
  padding: 12px 32px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(235, 28, 36, 0.3);
}

.btn-testing-close:hover {
  background: #d31920;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(235, 28, 36, 0.4);
}

/* Style for TikTok social share icon in the footer */
.tiktok-footer-icon {
  width: 32px !important;
  height: 32px !important;
}

/* Responsive copyright footer custom styling */
.copyright-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px;
}

.copyright-separator {
  display: none !important;
}

@media (min-width: 768px) {
  .copyright-container {
    flex-direction: row !important;
    gap: 0 !important;
  }
  .copyright-separator {
    display: inline !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    opacity: 0.5 !important;
  }
}

/* Custom font overrides to support Vietnamese correctly and avoid Georgia letter-spacing bugs on Windows */
.tc-title,
.global-font-title,
.font-playfair,
.font-georgia,
[class*="font-['Playfair_Display']"],
[class*="font-['Georgia']"] {
  font-family: "Playfair Display", "Lora", "Georgia", serif !important;
}

/* Custom breadcrumb interactive links style */
.tc-breadcrumb-link {
  position: relative;
  cursor: pointer;
  transition: color 0.3s ease;
}
.tc-breadcrumb-link:hover {
  /* color: #222 !important; */
}

/* Scrollbar and custom utility classes */
.scrollbar-hide::-webkit-scrollbar {
  display: none;
}
.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.menu-item-no-underline,
.menu-item-no-underline:hover,
.menu-item-no-underline:focus {
  text-decoration: none !important;
}

/* Background classes for Video Gallery */
.background-thu-vien-video-san-vat {
  background-image: url("../images/background_san_vat-BkXff8Dy.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.background-thu-vien-video-diem-den {
  background-image: url("../images/background_diem_den-D7wUUbsd.png");
  background-position: 100% 0;
  background-repeat: no-repeat;
  background-size: auto 100%;
}
.background-phim-kinh-vr {
  background-image: url("../images/background_phim_danh_cho_kinh_vr-iBdLkF7Y.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}
.background-di-san-van-hoa {
  background-image: url("../images/background_di_san_van_hoa_phi_vat_the-CRoaXvPn.png");
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Video modal styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  color: white;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10100;
  transition: color 0.2s ease;
}

.modal-close-btn:hover {
  color: #eb1c24;
}

.video-card {
  position: relative;
  overflow: hidden;
}

.antuong-banner {
  height: 480px !important;
}

@media (max-width: 768px) {
  .antuong-banner {
    height: 300px !important;
  }
}
