/* File: public/css/page-river-bay-cruises.css */
/* CSS Độc Lập Cho Trang Du Thuyền */

/* --- Cài đặt biến và kiểu dáng toàn cục --- */
:root {
  --font-serif: "Playfair Display", serif;
  --font-sans: "Montserrat", sans-serif;
  --color-deep-blue: #1a3a53;
  --color-gold: #c0a575;
  --color-text-dark: #2c3e50;
  --color-text-light: #7f8c8d;
  --color-bg-light: #f8f9fa;
  --color-white: #ffffff;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.7;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section.bg-light {
  background-color: var(--color-bg-light);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--color-text-dark);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
  font-size: 1.1rem;
  color: var(--color-text-light);
}

/* --- Hero Section --- */
.hero-section {
  height: 90vh; /* Giữ chiều cao lớn */
  display: flex; /* Dùng flexbox để căn giữa nội dung */
  align-items: center;
  justify-content: center;
  color: var(--color-white);

  /* Ảnh nền được đặt trực tiếp trên thẻ này */
  background-size: cover;
  background-position: center;

  /* Thêm padding để nội dung không bị dính vào cạnh màn hình nhỏ */
  padding: 2rem;
}

.hero-content {
  max-width: 800px;
  padding: 2.5rem 3rem; /* Padding cho hộp nội dung */
  text-align: center;
  border-radius: 8px;

  /* 
    Đây là phần "ma thuật" được lấy từ trang Sapa:
    - background: Dùng màu xanh đậm của theme với độ trong suốt 40-50%
    - backdrop-filter: Làm mờ bất cứ thứ gì nằm "phía sau" hộp này (chính là ảnh nền của hero-section)
  */
  background: rgba(26, 58, 83, 0.45);
  /* Sử dụng --color-deep-blue với độ trong suốt */
  /* backdrop-filter: blur(6px); */

  /* Thêm một đường viền mờ để tăng hiệu ứng "glassmorphism" */
  /* border: 1px solid rgba(255, 255, 255, 0.15); */
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  margin: 0 0 1rem 0;
  /* Giữ lại shadow nhẹ để văn bản nổi bật hơn trên nền mờ */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400; /* Dùng font-weight thường cho dễ đọc hơn */
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* --- Intro Section --- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Mặc định 2 cột cho màn hình lớn */
  gap: 3rem;
  align-items: center;
}

.intro-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  display: block;
}

.intro-content .section-title {
  text-align: left; /* Ghi đè text-align: center của .section-title chung */
  margin-bottom: 1rem; /* Điều chỉnh khoảng cách dưới tiêu đề */
}

.intro-content p {
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

/* --- Featured Cruises Section --- */
.cruises-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.cruise-card {
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cruise-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.cruise-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.cruise-content {
  padding: 1.5rem 2rem;
}

.cruise-content h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  margin: 0 0 0.5rem 0;
}

.cruise-location {
  color: var(--color-gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
}

.highlights-list li {
  padding-left: 1.7rem;
  position: relative;
  margin-bottom: 0.7rem;
}

.highlights-list li::before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--color-gold);
}

/* --- Onboard Experience Section --- */
.onboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2rem;
  text-align: center;
}

.experience-icon {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.onboard-grid h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* --- CTA Section --- */
.cta-section {
  background-color: var(--color-deep-blue);
  color: var(--color-white);
  text-align: center;
}

.cta-section .section-title,
.cta-section .section-subtitle {
  color: var(--color-white);
}

.btn-cta {
  display: inline-block;
  background-color: var(--color-gold);
  color: var(--color-text-dark);
  padding: 1rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background-color 0.3s, transform 0.3s;
  margin-top: 1.5rem;
}

.btn-cta:hover {
  background-color: #d4b98d;
  transform: translateY(-3px);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem; /* Giảm khoảng cách cho chế độ một cột */
  }
  .intro-image-wrapper {
    margin-bottom: 2rem; /* Thêm khoảng cách dưới ảnh khi ở chế độ một cột */
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   Reviews Section (Tương tự Spa, điều chỉnh cho theme Cruise)
   ========================================================================== */
.tour-reviews {
  /* Giả sử bạn dùng class chung này trong HTML */
  padding: 5rem 0;
  background-color: var(--color-bg-light);
}

.review-list {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.review-item {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.review-author {
  font-weight: 600;
  color: var(--color-deep-blue);
}

.review-date {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.review-stars {
  margin-bottom: 0.75rem;
  color: var(--color-gold); /* Màu vàng cho sao */
}

.star-filled {
  margin-right: 2px;
}

.star-empty {
  color: #ccc; /* Màu xám cho sao rỗng */
  margin-right: 2px;
}

.review-comment {
  font-size: 0.95rem;
  line-height: 1.6;
}
