body {
  font-family: 'Poppins', sans-serif;
  padding-left: 10%;
  padding-right: 10%;
  color: rgb(13, 43, 95);
  background: #f3f4f6;
}

/* Header & Logo */
header {
  background: #aaf1d2;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 2px;
  padding-left: 10%;
  padding-right: 10%;
  width: 100vw;
  left: 0;
  right: 0;
  position: relative;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  margin-right: calc(-1 * (100vw - 100%) / 2);
}

footer {
  background: #aaf1d2;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 2px;
  padding-left: 10%;
  padding-right: 10%;
  width: 100vw;
  left: 0;
  right: 0;
  position: relative;
  margin-left: calc(-1 * (100vw - 100%) / 2);
  margin-right: calc(-1 * (100vw - 100%) / 2);
}

.logo-img {
  height: 60px;
  width: auto;
  margin-right: 10px;
  border-radius: 16px;
  border: 2px solid #fff;
  background: #fff;
}

/* Menu */
nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s;
}
nav a:hover, nav a:focus {
  color: #ffe082;
  text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb {
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  background: transparent;
  padding: 0;
  margin-bottom: 0;
}
.breadcrumb-item a {
  color: #06b6d4;
  text-decoration: none;
}
.breadcrumb-item a:hover {
  color: #0891b2;
  text-decoration: underline;
}
.breadcrumb-item.active {
  color: rgb(13, 43, 95);
  font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
  color: #94a3b8;
}

/* Hero Section (Slide) */
.hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}
.hero-slider {
  width: 100%;
  height: 100%;
  display: flex;
  animation: slide 15s infinite;
  cursor: grab;
  user-select: none;
}
.hero-slider:active {
  cursor: grabbing;
}
.hero-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  flex-shrink: 0;
}
@keyframes slide {
  0%, 32% { transform: translateX(0); }
  33%, 65% { transform: translateX(-100%); }
  66%, 98% { transform: translateX(-200%); }
  99%, 100% { transform: translateX(0); }
}
.hero-slide h1 {
  font-size: 2.5rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem;
  border-radius: 10px;
  word-break: break-word;
}

/* Slide Navigation */
.slide-nav {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slide-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.slide-dot.active {
  background: #fff;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  transition: background 0.3s;
  z-index: 10;
}

.slide-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slide-btn.prev {
  left: 20px;
}

.slide-btn.next {
  right: 20px;
}

/* Floating Social Media Icons */
.floating-social {
  position: fixed;
  right: 20px;
  bottom: 30px;
  top: auto;
  transform: none;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.social-icon.whatsapp {
  background: #25D366;
}

.social-icon.facebook {
  background: #1877F2;
}

.social-icon.phone {
  background: #007bff;
}

.social-icon img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: block;
  margin: auto;
  background: #25D366;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Ngôn ngữ icon lớn cho cả desktop và mobile */
.btn-group .btn img[data-lang-icon] {
  height: 40px !important;
  width: auto !important;
  vertical-align: middle;
}

.btn-group .btn.btn-outline-light[data-lang] {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 768px) {
  .btn-group .btn img[data-lang-icon] {
    height: 36px !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  body { padding-left: 2%; padding-right: 2%; }
  .hero { height: 35vh; min-height: 120px; }
  .hero-slide h1 { font-size: 1.2rem; padding: 0.5rem; }
  
  /* Mobile header styles - chỉ cao 1/8 màn hình */
  header {
    padding: 0.02rem 0.05rem !important;
    min-height: 12.5vh;
    max-height: 12.5vh;
    margin-bottom: 0.1rem !important;
    display: flex;
    align-items: center;
    width: 100vw;
    left: 0;
    right: 0;
    position: relative;
    margin-left: calc(-1 * (100vw - 100%) / 2);
    margin-right: calc(-1 * (100vw - 100%) / 2);
  }
  
  header .logo-img {
    height: 10vh !important;
    max-height: 10vh !important;
    width: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    border-width: 1px !important;
    padding: 0 !important;
  }
  
  .lang-switcher-mobile {
    height: 2.5vh;
    display: flex;
    align-items: center;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
  }
  .lang-switcher-mobile .btn-group {
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }
  .lang-switcher-mobile .btn {
    height: 2.5vh;
    display: flex;
    align-items: center;
    padding: 0 1px !important;
    border-width: 1px !important;
    margin: 0 0.1px !important;
    font-size: 0.65rem;
  }
  #mobile-nav-toggle {
    height: 2.5vh !important;
    width: 2.5vh !important;
    font-size: 1rem;
    padding: 0 !important;
  }
  
  /* Mobile navigation grid 3 columns */
  #mobile-nav-menu .row {
    margin: 0 !important;
    padding: 0 !important;
    --bs-gutter-x: 0 !important;
    --bs-gutter-y: 0 !important;
  }
  #mobile-nav-menu .col-4 {
    padding: 0 0.05px !important;
    margin: 0 !important;
  }
  #mobile-nav-menu .btn {
    font-size: 0.65rem;
    padding: 0.02rem 0.02rem !important;
    border-radius: 0.12rem;
    margin: 0 !important;
    min-height: 18px;
    height: 18px;
    line-height: 1;
  }
  
  .floating-social {
    right: 10px;
    bottom: 15px;
    gap: 10px;
  }
  .social-icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
}

.item-price {
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: rgb(255, 137, 11);
  font-weight: bold;
  font-size: 1.1em;
}

/* --- Custom CSS từ home.php --- */
.hero-slider-video {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider-video {
  width: 100vw;
  max-width: 100%;
  height: 80vh;
  max-height: 80vh;
  object-fit: cover;
  transition: filter 0.4s, box-shadow 0.4s;
  filter: brightness(0.98) contrast(1.08) saturate(1.1);
}
.slider-video:focus, .slider-video:hover {
  filter: brightness(1) contrast(1.12) saturate(1.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}
.slider-sound-btn {
  position: absolute;
  top: 24px;
  right: 32px;
  z-index: 20;
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background 0.3s, box-shadow 0.3s, color 0.3s;
}
.slider-sound-btn:hover {
  background: rgba(0,0,0,0.85);
  color: #ffd700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
}
.video-nav {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  z-index: 10;
}
.video-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.4s, box-shadow 0.4s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.10);
}
.video-dot.active {
  opacity: 0.85;
  box-shadow: 0 2px 8px #ffd700, 0 1px 4px rgba(0,0,0,0.18);
}
@media (max-width: 900px) {
  .slider-video {
    height: 40vw;
    min-height: 180px;
    border-radius: 12px;
  }
  .slider-sound-btn {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .video-nav {
    bottom: 12px;
    gap: 8px;
  }
  .video-dot {
    width: 10px;
    height: 10px;
  }
}

.bestseller-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(45deg, #ffd700, #ffed4e);
  color: #333;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#toggleVideoSound {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 20;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  outline: none;
  transition: background 0.3s;
}
#toggleVideoSound:hover {
  background: rgba(0,0,0,0.8);
}

.slider-poster {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 30;
  background: url('./public/assets/images/slide.jpeg') center center/cover no-repeat;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
  transition: opacity 0.7s, transform 0.7s;
  opacity: 1;
  transform: scale(1);
}
.slider-poster.hide {
  opacity: 0;
  transform: scale(0.7);
}
@media (max-width: 900px) {
  .slider-poster {
    border-radius: 12px;
  }
}

.slider-image {
  width: 100vw;
  max-width: 100%;
  height: 80vh;
  max-height: 80vh;
  object-fit: cover;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.10);
  transition: filter 0.4s, box-shadow 0.4s;
  filter: brightness(0.98) contrast(1.08) saturate(1.1);
  display: block;
}
.slider-image:focus, .slider-image:hover {
  filter: brightness(1) contrast(1.12) saturate(1.2);
  box-shadow: 0 12px 40px rgba(0,0,0,0.22);
}
@media (max-width: 900px) {
  .slider-image {
    height: 40vw;
    min-height: 180px;
    border-radius: 12px;
  }
} 

/* Hiệu ứng menu xổ xuống như trang sách trên mobile */
#mobile-nav-menu {
  background: #fff;
  border-radius: 18px 18px 24px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 1.5px 0 #e0e0e0 inset;
  border: 1.5px solid #e0e0e0;
  margin-top: 18px;
  padding: 12px 0 8px 0;
  animation: bookOpen 0.35s cubic-bezier(.4,1.6,.6,1) both;
  width: auto;
  min-width: 140px;
  max-width: 280px;
  right: 2vw;
  left: auto;
  position: absolute;
  top: 100%;
  z-index: 100;
}

@keyframes bookOpen {
  0% {
    opacity: 0;
    transform: scaleY(0.7) scaleX(0.95) translateY(-10px);
    box-shadow: 0 0 0 rgba(0,0,0,0);
  }
  80% {
    opacity: 1;
    transform: scaleY(1.04) scaleX(1.01) translateY(2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.22);
  }
  100% {
    opacity: 1;
    transform: scaleY(1) scaleX(1) translateY(0);
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), 0 1.5px 0 #e0e0e0 inset;
  }
}

@media (max-width: 768px) {
  #mobile-nav-menu {
    width: auto;
    min-width: 120px;
    max-width: 260px;
    right: 2vw;
    left: auto;
    position: absolute;
    top: 100%;
    margin-top: 18px;
  }
}

#mobile-nav-menu .list-group-item {
  background: transparent;
  border: none;
  color: #1a237e;
  font-weight: 500;
  font-size: 1.08rem;
  border-radius: 8px;
  margin: 2px 12px;
  transition: background 0.18s, color 0.18s;
}
#mobile-nav-menu .list-group-item:active,
#mobile-nav-menu .list-group-item:focus,
#mobile-nav-menu .list-group-item:hover {
  background: #e3f2fd;
  color: #0d47a1;
} 

.tour-gallery-img {
    border: 1px solid #eee;
    background: #fafbfc;
} 

.tour-img-fixed {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
}

@media (max-width: 767.98px) {
  .swiper-container {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  .swiper-wrapper {
    width: 100% !important;
    max-width: 100vw !important;
  }
  .swiper-slide {
    width: 100% !important;
    max-width: 100vw !important;
    display: flex;
    justify-content: center;
  }
  body, html {
    overflow-x: hidden !important;
  }
  .swiper-pagination {
    margin-bottom: 16px !important;
    position: static !important;
    text-align: center;
  }
} 

.custom-dropdown-menu {
  background-color: #06b6d4 !important; /* Màu cyan-500 */
  color: #fff;
}
.custom-dropdown-menu .dropdown-item {
  color: #fff;
}
.custom-dropdown-menu .dropdown-item:hover, 
.custom-dropdown-menu .dropdown-item:focus {
  background-color: #0891b2 !important; /* Đậm hơn khi hover */
  color: #fff;
} 