/* ===================================================================
   WATER TOURS - FINAL STYLESHEET (Theme: Hơi Thở Biển Xanh)
   =================================================================== */

/* === BIẾN MÀU & CÀI ĐẶT CHUNG === */
/* Các giá trị màu và cài đặt sẽ được áp dụng trực tiếp */

/* === BASE STYLES === */
.adventure-page-wrapper {
  background-color: #f9fafb; /* --sea-bg */
  font-family: "Roboto", sans-serif; /* --font-primary */
  color: #4b5563; /* --sea-text-body */
  line-height: 1.7;
}
.adventure-page-wrapper .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.adventure-page-wrapper main {
  padding: 80px 0;
}

/* === TYPOGRAPHY === */
.adventure-page-wrapper h1,
.adventure-page-wrapper h2,
.adventure-page-wrapper h3 {
  font-family: "Playfair Display", serif;
  color: #111827;
}
.adventure-page-wrapper .tour-card__title {
  color: #0d7c9c; /* Màu xanh biển/teal cho tiêu đề thẻ */
}

/* === BUTTONS === */
.adventure-page-wrapper .btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.25s ease-out;
  border: 2px solid transparent;
  cursor: pointer;
}
.adventure-page-wrapper .btn--primary {
  background-color: #0077b6; /* Màu xanh dương sáng hơn cho nút chính */
  color: #ffffff; /* Màu chữ đậm trên nền vàng */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* --shadow-sm */
  text-align: center;
}
.adventure-page-wrapper .btn--primary:hover {
  background-color: #005f8e; /* Màu xanh đậm hơn khi hover */
  transform: translateY(-3px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06); /* --shadow-md */
}
.adventure-page-wrapper .btn--light {
  background-color: rgba(255, 255, 255, 0.95);
  color: #0700db; /* --sea-primary */
}
.adventure-page-wrapper .btn--light:hover {
  background-color: white;
  transform: scale(1.05);
}

/* === HEADER SECTION === */
.adventure-page-wrapper .tour-list-header {
  padding: 140px 20px;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center 70%; /* Căn ảnh nền thấp hơn một chút */
  position: relative;
  height: 90vh;
}
/* Tạo lớp phủ tối màu để chữ dễ đọc hơn trên ảnh nền */
.adventure-page-wrapper .tour-list-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.45
  ); /* Lớp phủ tối màu đơn giản để chữ dễ đọc hơn */
  z-index: 1; /* Đảm bảo lớp phủ nằm trên ảnh nền và dưới nội dung chữ */
}
.adventure-page-wrapper .tour-list-header .hero__title,
.adventure-page-wrapper .tour-list-header .hero__subtitle,
.adventure-page-wrapper .tour-list-header .btn {
  position: relative; /* Đưa lên trên lớp phủ */
  z-index: 2;
}
.adventure-page-wrapper .tour-list-header .hero__title {
  font-size: 3.8rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.adventure-page-wrapper .tour-list-header .hero__subtitle {
  font-size: 1.25rem;
  max-width: 650px;
  margin: 1rem auto 0;
  font-family: "Roboto", sans-serif; /* --font-primary */
  font-weight: 400;
  opacity: 0.95;
}

/* === TOUR GRID & CARDS === */
.adventure-page-wrapper .tour-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 45px;
}

.adventure-page-wrapper .tour-card {
  background: #ffffff; /* --sea-surface */
  border-radius: 16px; /* --border-radius */
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* --shadow-sm */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid #dde2e7; /* Viền rõ nét hơn một chút */
}
.adventure-page-wrapper .tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05); /* --shadow-lg */
}

.adventure-page-wrapper .tour-card__image-container {
  height: 240px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  overflow: hidden;
}
.adventure-page-wrapper .tour-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.adventure-page-wrapper .tour-card:hover .tour-card__image {
  transform: scale(1.05);
}

.adventure-page-wrapper .tour-card__content {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.adventure-page-wrapper .tour-card__title {
  font-size: 1.45rem;
  margin: 0 0 1rem 0;
}

.adventure-page-wrapper .tour-card__info {
  display: flex;
  gap: 20px;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #f3f4f6;
  font-size: 0.9rem;
}
.adventure-page-wrapper .tour-card__info span {
  display: flex;
  align-items: center;
}
.adventure-page-wrapper .tour-card__info i {
  color: #38bdf8; /* --sea-accent: Icon màu xanh trời */
  margin-right: 8px;
  font-size: 1.2rem;
}

.adventure-page-wrapper .tour-card__summary {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

/* Nút bên trong card sẽ chiếm toàn bộ chiều rộng */
.adventure-page-wrapper .tour-card .btn--primary {
  width: 100%;
}

/* === ANIMATIONS === */
.adventure-page-wrapper .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.adventure-page-wrapper .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.tour-card:nth-child(1) {
  transition-delay: 0.08s;
}
.tour-card:nth-child(2) {
  transition-delay: 0.16s;
}
.tour-card:nth-child(3) {
  transition-delay: 0.24s;
}
.tour-card:nth-child(4) {
  transition-delay: 0.32s;
}
.tour-card:nth-child(5) {
  transition-delay: 0.4s;
}
.tour-card:nth-child(6) {
  transition-delay: 0.48s;
}
.tour-card:nth-child(7) {
  transition-delay: 0.56s;
}
.tour-card:nth-child(8) {
  transition-delay: 0.64s;
}
.tour-card:nth-child(9) {
  transition-delay: 0.72s;
}
.tour-card:nth-child(10) {
  transition-delay: 0.8s;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .adventure-page-wrapper .tour-list-header .hero__title {
    font-size: 2.8rem;
  }
  .adventure-page-wrapper main {
    padding: 60px 0;
  }
  .adventure-page-wrapper .tour-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
