* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background: #f5f5f5;
  color: #333;
}

/* header {
  background: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
} */

.logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: #b72c2c;
}

/* nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #b72c2c;
} */

.hero {
  height: 90vh;
  overflow: hidden;
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  position: relative; /* Cần thiết để định vị lớp phủ tuyệt đối */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.3
  ); /* Màu đen với độ mờ 30%. Bạn có thể điều chỉnh màu và độ mờ */
  z-index: 1; /* Đảm bảo lớp phủ nằm trên ảnh nền */
}

.hero-text {
  position: absolute;
  bottom: 50px;
  left: 50px; /* Mặc định cho desktop */
  color: white;
  max-width: 600px;
  animation: fadeInUp 1.2s ease forwards;
  padding-right: 20px; /* Thêm padding để không sát mép phải trên mobile */
  z-index: 2; /* Đảm bảo hero-text nằm trên lớp phủ */
}

.hero-text h1 {
  font-size: 48px; /* Mặc định cho desktop */
  font-family: "Playfair Display", serif;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 20px; /* Mặc định cho desktop */
  line-height: 1.5; /* Cải thiện khả năng đọc */
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.content-section {
  margin-bottom: 60px;
}

h2 {
  font-size: 32px;
  color: #b72c2c;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.overview p {
  font-size: 18px;
  line-height: 1.8;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  align-items: stretch;
}

.card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card img {
  margin-bottom: 10px;
}

.card h3 {
  margin: 10px;
  color: red;
}

.card p {
  margin: 10px;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.07);
}

.card-content {
  padding: 15px 20px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  padding: 0;
  font-size: 20px;
  color: #b72c2c;
  margin-top: 0;
}

.card-content p {
  padding: 0;
  font-size: 16px;
  margin-bottom: 20px;
}

.btn-more {
  margin-top: auto;
  background: #b72c2c;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-align: center;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-more:hover {
  background: #e63946;
  transform: translateY(-3px);
}

.gallery .image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* CSS cho thẻ bao (wrapper) mới của mỗi ảnh */
.image-grid-item-wrapper {
  height: 300px; /* Bạn có thể TĂNG giá trị này nếu muốn ảnh trong grid cao hơn, ví dụ: 450px */
  border-radius: 10px; /* Chuyển border-radius từ img sang đây */
  overflow: hidden; /* Đây là chìa khóa để giới hạn ảnh khi phóng to (scale) */
  position: relative; /* Thường hữu ích cho các thẻ bao bọc */
}

/* CSS cho thẻ <img> bên trong wrapper */
.image-grid-item-wrapper img {
  width: 100%;
  height: 100%; /* Ảnh sẽ lấp đầy thẻ wrapper */
  object-fit: cover;
  display: block; /* Đảm bảo không có khoảng trống thừa bên dưới ảnh */
  transition: transform 0.3s ease; /* Đồng bộ transition */
  cursor: pointer;
  /* border-radius đã được chuyển cho .image-grid-item-wrapper */
}

.image-grid-item-wrapper img:hover {
  /* Hiệu ứng hover vẫn áp dụng cho thẻ <img> */
  transform: scale(1.07); /* Đồng bộ scale factor */
}

footer {
  background: #333;
  color: white;
  padding: 30px 0;
  text-align: center;
  font-size: 16px;
}

.content-section h1 {
  font-family: "Playfair Display", serif;
}

.video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.gallery {
  padding: 40px 20px;
  text-align: center;
  background: #fff;
}

.gallery h2 {
  color: goldenrod;
  font-size: 32px;
  margin-bottom: 30px;
}

.swiper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden; /* Thêm dòng này để ẩn các slide nằm ngoài khung */
}

.swiper-wrapper {
  display: flex; /* Quan trọng: Cho phép các slide xếp hàng */
  flex-direction: row; /* Quan trọng: Xếp theo hàng ngang */
  align-items: stretch; /* Giúp các slide có chiều cao bằng nhau nếu nội dung khác nhau */
  /* Các thuộc tính khác như width, transform, transition thường do Swiper.js quản lý */
  /* height: auto; hoặc một giá trị cụ thể nếu cần */
}

.swiper-slide {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  /* Thêm overflow: hidden để cắt phần ảnh bị phóng to tràn ra ngoài */
  overflow: hidden;
  /* Chuyển border-radius từ img sang swiper-slide để áp dụng cho cả khung */
  border-radius: 10px;
  /* Bạn có thể thêm box-shadow ở đây nếu muốn bóng đổ cho toàn bộ slide */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* Đặt chiều cao cố định cho slide để ảnh có thể lấp đầy 100% chiều cao này */
  height: 300px; /* Dựa trên max-height bạn muốn cho ảnh trước đó. Điều chỉnh nếu cần. */

  width: 90%;
  flex-shrink: 0; /* Quan trọng: Ngăn slide bị co lại nhỏ hơn width đã đặt khi dùng với slidesPerView: 'auto' */
}

.swiper-slide img {
  width: 100%;
  height: 100%; /* Ảnh sẽ lấp đầy chiều cao của .swiper-slide */
  object-fit: cover;

  transition: transform 0.3s ease; /* Đồng bộ transition */
  display: block; /* Đảm bảo ảnh là block element */
}

.swiper-slide img:hover {
  transform: scale(1.07); /* Đồng bộ scale factor */
}

@media (max-width: 768px) {
  /* header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  } */

  .logo {
    font-size: 24px;
    margin-bottom: 10px;
  }

  /* nav ul {
    flex-direction: column;
    gap: 10px;
  } */

  .hero-text {
    bottom: 20px;
    left: 20px; /* Giảm khoảng cách trái cho tablet/mobile */
    max-width: 90%; /* Cho phép text chiếm nhiều hơn chiều rộng màn hình */
  }

  .hero-text h1 {
    font-size: 32px; /* Giảm kích thước chữ cho tablet */
  }

  .hero-text p {
    font-size: 16px; /* Giảm kích thước chữ cho tablet */
  }

  h2 {
    font-size: 26px;
  }

  /* Responsive cho hero trên mobile nhỏ hơn */
  @media (max-width: 480px) {
    .hero {
      height: 60vh; /* Giảm chiều cao hero trên mobile nhỏ */
    }
    .hero-text {
      bottom: 15px;
      left: 15px;
    }
    .hero-text h1 {
      font-size: 26px; /* Giảm nữa cho mobile nhỏ */
    }
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }

  .gallery h2 {
    font-size: 24px;
  }

  footer {
    font-size: 14px;
  }
}

.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
.two-column .text {
  flex: 1;
}
.two-column .text,
.two-column .image {
  flex: 1;
  position: relative; /* Thêm position relative cho .image wrapper */
}
.two-column .image {
  overflow: hidden; /* Quan trọng: cắt phần ảnh tràn ra */
  border-radius: 12px; /* Chuyển border-radius từ img sang đây */
}
.two-column .image img {
  width: 100%;
  height: auto; /* Hoặc height: 100% nếu .image có chiều cao cố định */
  object-fit: cover; /* Đảm bảo ảnh lấp đầy và cắt nếu cần */
  display: block;
  transition: transform 0.3s ease; /* Thêm transition */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Thêm hiệu ứng zoom cho ảnh trong .two-column .image */
.two-column .image:hover img {
  transform: scale(1.07);
}
.tip-box {
  background: #fff7e6;
  border-left: 5px solid #f7b731;
  padding: 15px 20px;
  margin: 20px 0;
  font-style: italic;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: #b72c2c;
  transition: transform 0.3s ease, color 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  color: #e63946;
}

.btn-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background: #b72c2c;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn-cta:hover {
  background: #e63946;
  transform: translateY(-3px);
}

h2,
h3 {
  position: relative;
  display: inline-block;
}

h2::after,
h3::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 3px;
  background: #b72c2c;
  left: 0;
  bottom: -0.5px;
  transition: width 0.3s ease-in-out;
}

h2:hover::after,
h3:hover::after {
  width: 100%;
}

body {
  animation: fadeInBody 1s ease-out;
}

.tour-card {
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.tour-image {
  flex: 1 1 300px;
  position: relative;
  overflow: hidden; /* Quan trọng: cắt phần ảnh tràn ra */
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; /* Thêm transition */
}

.badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: #b72c2c;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
}

/* Thêm hiệu ứng zoom cho ảnh trong .tour-image khi hover .tour-card */
.tour-card:hover .tour-image img {
  transform: scale(1.07);
}

.tour-details {
  flex: 2 1 400px;
  padding: 24px;
}

.tour-details h2 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #111;
}

.rating {
  color: #f6b100;
  font-size: 16px;
  margin-bottom: 10px;
}

.tour-details p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.tour-info {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  color: #444;
  font-size: 15px;
}

.tour-info i {
  margin-right: 6px;
}

.price-and-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.price {
  font-size: 16px;
  color: #333;
}

.btn-cta {
  padding: 10px 20px;
  background: #b72c2c;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background: #e63946;
}

@keyframes fadeInBody {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Gallery Links */
.gallery-link {
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease;
}

.gallery-link:hover {
  transform: scale(1.02);
}

.gallery-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Lightbox Customization */
.lb-data .lb-caption {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}

.lb-data .lb-details {
  width: 100%;
  text-align: center;
}

/* Things to do Section Styling */
.things-to-do h2 {
  text-align: center;
  margin-bottom: 40px;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.activity-icon {
  flex-shrink: 0;
  margin-right: 20px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fef2f2;
  border-radius: 50%;
}

.activity-icon i {
  font-size: 2.5em;
  color: #b72c2c;
}

.activity-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3em;
  color: #333;
  margin-top: 0;
  margin-bottom: 8px;
}

.activity-content h3::after {
  display: none;
}

.activity-content p {
  font-size: 0.95em;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-item {
    padding: 15px;
  }

  .activity-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
  }

  .activity-icon i {
    font-size: 2em;
  }

  .activity-content h3 {
    font-size: 1.2em;
  }
}
.page-container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.destination-listing h2 {
  text-align: center;
  margin-bottom: 2rem !important; /* Dùng !important để ghi đè các style h2 khác nếu cần */
}
