/* ===================================
   GOLF COURSE HEADER STYLES
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Add padding to body when header becomes fixed */
body.header-fixed {
  padding-top: 130px;
}

/* ===================================
     TOP BAR STYLES
     =================================== */

.top-bar {
  background-color: rgba(26, 26, 26, 0.95);
  color: #fff;
  padding: 10px 0;
  font-size: 12px;
  border-bottom: 1px solid rgba(42, 42, 42, 0.8);
  backdrop-filter: blur(5px);
}

/* Solid background when scrolled */
.main-header.scrolled .top-bar {
  background-color: #1a1a1a;
  border-bottom: 1px solid #2a2a2a;
}

.social-follow {
  display: flex;
  align-items: center;
  gap: 15px;
}

.follow-text {
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 11px;
}

.social-icon {
  color: #fff;
  font-size: 13px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  color: #ffcc05;
}

.phone-number {
  margin-left: 20px;
  font-size: 12px;
  color: #fff;
}

.phone-number i {
  margin-right: 8px;
}

.login-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 11px;
  transition: color 0.3s ease;
}

.login-link:hover {
  color: #ffcc05;
}

/* ===================================
     MAIN HEADER STYLES
     =================================== */

.main-header {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

/* Header scrolled state - add this class via JavaScript */
.main-header.scrolled {
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  z-index: 9999;
}

/* White text for transparent header */
.main-header .logo-img {
  transition: filter 0.3s ease;
}

.main-header .nav-link {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.main-header .header-icon {
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.main-header .cart-count {
  background-color: #ffcc05;
  color: #1a1a1a;
}

.main-header .menu-toggle {
  background-color: #ffcc05;
  color: #1a1a1a;
}

/* Scrolled header - dark text */
.main-header.scrolled .nav-link {
  color: #333;
  text-shadow: none;
}

.main-header.scrolled .header-icon {
  color: #333;
  text-shadow: none;
}

/* Logo Styles */
.logo {
  display: flex;
  align-items: center;
  padding: 15px 0px;
}

.logo-img {
  max-height: 50px;
  width: auto;
}

/* Navigation Menu Styles */
.main-navigation {
  display: flex;
  justify-content: center;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
  padding: 5px 0;
  display: block;
}

.nav-link:hover,
.nav-link.active {
  color: #ffcc05;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #ffcc05;
}

/* Header Icons Styles */
.header-icons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 25px;
}

.header-icon {
  color: #333;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
}

.header-icon:hover {
  color: #ffcc05;
}

/* Cart Icon with Badge */
.cart-icon {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #ffcc05;
  color: #1a1a1a;
  font-size: 10px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Menu Toggle (Hamburger) */
.menu-toggle {
  background-color: #ffcc05;
  color: #1a1a1a;
  padding: 10px 15px;
  border-radius: 3px;
  font-size: 16px;
}

.menu-toggle:hover {
  background-color: #ffed4e;
  color: #1a1a1a;
}

/* ===================================
     RESPONSIVE STYLES
     =================================== */

@media (max-width: 1200px) {
  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    font-size: 12px;
  }
}
/* ===================================
     FOOTER STYLES
     =================================== */

.main-footer {
  background-color: #2a2a2a;
  color: #b3b3b3;
  padding: 60px 0 0;
}

/* Footer Widget Styles */
.footer-widget {
  margin-bottom: 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  max-height: 45px;
  width: auto;
}

.footer-description {
  font-size: 13px;
  line-height: 1.8;
  color: #b3b3b3;
  margin-bottom: 25px;
}

/* Footer Contact List */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  font-size: 13px;
  color: #b3b3b3;
}

.footer-contact li i {
  color: #ffcc05;
  font-size: 14px;
  margin-right: 12px;
  margin-top: 2px;
  min-width: 16px;
}

.footer-contact li span {
  line-height: 1.6;
}

/* Footer Title */
.footer-title {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

/* Latest Posts List */
.latest-posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.post-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #3a3a3a;
}

.post-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.post-link {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.6;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.post-link:hover {
  color: #ffcc05;
}

.post-date {
  font-size: 11px;
  color: #808080;
  font-style: italic;
}

/* Twitter Feed */
.twitter-description {
  font-size: 13px;
  line-height: 1.8;
  color: #b3b3b3;
  margin-bottom: 25px;
}

.twitter-handle {
  color: #ffcc05;
  text-decoration: none;
  transition: color 0.3s ease;
}

.twitter-handle:hover {
  color: #ffed4e;
}

/* Footer Social Icons */
.footer-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  background-color: #3a3a3a;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-social-icon:hover {
  background-color: #ffcc05;
  color: #1a1a1a;
}

/* Footer Copyright */
.footer-copyright {
  background-color: #1a1a1a;
  padding: 20px 0;
  margin-top: 40px;
}

.copyright-text {
  font-size: 12px;
  color: #808080;
  margin: 0;
  letter-spacing: 0.5px;
}

/* ===================================
     FLOATING BUTTONS
     =================================== */

.floating-buttons {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-btn {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.favorite-btn {
  background-color: #ff4757;
  color: #fff;
}

.favorite-btn:hover {
  background-color: #ff6b7a;
  color: #fff;
  transform: scale(1.05);
}

.cart-btn {
  background-color: #fff;
  color: #1a1a1a;
}

.cart-btn:hover {
  background-color: #ffcc05;
  color: #1a1a1a;
  transform: scale(1.05);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background-color: #ffcc05;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 998;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: #ffed4e;
  transform: translateY(-5px);
}

/* ===================================
     FOOTER RESPONSIVE STYLES
     =================================== */

@media (max-width: 992px) {
  .main-navigation {
    display: none;
  }

  .header-icons {
    justify-content: flex-end;
  }

  .social-follow {
    font-size: 11px;
    gap: 10px;
  }

  .phone-number {
    display: none;
  }

  .main-footer {
    padding: 40px 0 0;
    margin-top: 60px;
  }

  .footer-widget {
    margin-bottom: 40px;
  }

  .floating-buttons {
    right: 20px;
  }

  .scroll-to-top {
    right: 20px;
    bottom: 20px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    font-size: 10px;
  }

  .social-follow {
    gap: 8px;
  }

  .follow-text {
    font-size: 10px;
  }

  .social-icon {
    font-size: 12px;
  }

  .logo-img {
    max-height: 40px;
  }

  .header-icons {
    gap: 15px;
  }

  .header-icon {
    font-size: 16px;
  }

  .main-footer {
    padding: 30px 0 0;
    margin-top: 40px;
  }

  .footer-title {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .footer-description,
  .post-link,
  .twitter-description {
    font-size: 12px;
  }

  .footer-social-icon {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .floating-buttons {
    right: 15px;
  }

  .floating-btn {
    width: 45px;
    height: 45px;
    font-size: 16px;
  }

  .scroll-to-top {
    width: 40px;
    height: 40px;
    font-size: 14px;
    right: 15px;
    bottom: 15px;
  }
}

@media (max-width: 576px) {
  .social-follow {
    flex-wrap: wrap;
  }

  .main-header {
    padding: 0;
  }

  .floating-buttons {
    right: 10px;
    gap: 10px;
  }

  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .footer-copyright {
    padding: 15px 0;
  }

  .copyright-text {
    font-size: 11px;
  }
}

/* ===================================
     GOLF HERO SWIPER BANNER STYLES
     =================================== */

.golf-swiper-banner {
  position: relative;
  width: 100%;
  height: 90vh;
  min-height: 700px;
  overflow: hidden;
}

.golf-swiper-banner-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Swiper Container */
.golf-hero-swiper {
  width: 100%;
  height: 100%;
}

.golf-hero-swiper .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Slide Background */
.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  z-index: 2;
}

/* Slide Content */
.slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 20px;
  text-align: center;
  color: #fff;
}

.hero-subtitle {
  display: inline-block;
  font-family: "Dancing Script", cursive;
  font-size: 28px;
  color: #ffcc05;
  font-weight: 400;
  margin-bottom: 15px;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 72px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
  line-height: 1.2;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.6);
  letter-spacing: 1px;
}

.hero-description {
  font-size: 18px;
  color: #fff;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
  font-weight: 300;
}

/* Swiper Navigation Arrows */
.golf-hero-swiper .swiper-button-next,
.golf-hero-swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
}

.golf-hero-swiper .swiper-button-next:after,
.golf-hero-swiper .swiper-button-prev:after {
  font-size: 20px;
  font-weight: 700;
}

.golf-hero-swiper .swiper-button-next:hover,
.golf-hero-swiper .swiper-button-prev:hover {
  background: rgba(255, 204, 5, 0.8);
  color: #1a1a1a;
}

.golf-hero-swiper .swiper-button-next {
  right: 30px;
}

.golf-hero-swiper .swiper-button-prev {
  left: 30px;
}

/* Search Form Wrapper */
.hero-search-form-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 40px 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 50%,
    transparent 100%
  );
}

.hero-search-form {
  background: #fff;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.search-form-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}

.search-field-wrapper {
  flex: 1;
  min-width: 200px;
  position: relative;
  border-right: 1px solid #e0e0e0;
}

.search-field-wrapper:last-of-type {
  border-right: none;
}

.search-field-wrapper .search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffcc05;
  font-size: 18px;
  z-index: 2;
  pointer-events: none;
}

.search-field {
  width: 100%;
  padding: 20px 45px 20px 55px;
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
  transition: background-color 0.3s ease;
}

.search-field:hover {
  background-color: #f8f8f8;
}

.search-field option {
  padding: 10px;
  color: #333;
  text-transform: none;
}

/* Select arrow for select elements */
.search-field-wrapper select.search-field {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px;
  padding-right: 45px;
}

/* Input field (date picker) doesn't need arrow */
.search-field-wrapper input.search-field {
  padding-right: 20px;
  background-image: none;
}

/* Search Submit Button */
.search-submit-btn {
  background: #ffcc05;
  color: #1a1a1a;
  border: none;
  padding: 20px 50px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 0 8px 8px 0;
  white-space: nowrap;
  min-width: 180px;
}

.search-submit-btn:hover {
  background: #ffed4e;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 204, 5, 0.4);
}

.golf-map-section {
  width: 100%;
  position: relative;
  background-image: url(https://golfinvietnam.vn/wp-content/uploads/2025/11/76827-scaled.jpg);
  padding: 20px;
  background-size: cover;
  background-position: top center;
  background-blend-mode: overlay;
  background-color: #ffffffb3;
}

/* Chiều cao bắt buộc cho bản đồ */
#golfMap {
  height: 600px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.golf-info-card {
  height: 600px;
  overflow-y: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f8f9fa;
}

.golf-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
}

/* Hiệu ứng highlight cho item đang được chọn */
.selected-item-animation {
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.placeholder-text {
  text-align: center;
  color: #6c757d;
  margin-top: 50%;
  transform: translateY(-50%);
}

.golf-promo-swiper {
  width: 100%;
  padding-bottom: 50px; /* Chừa chỗ cho dấu chấm pagination */
  padding-top: 50px;
}

/* CARD STYLE: Thiết kế theo dạng ảnh mẫu */
.golf-promo-card {
  display: block;
  position: relative;
  /* Chiều cao cố định tạo hình chữ nhật đứng (Portrait) */
  height: 450px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  /* Xử lý ảnh background */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
  transition: transform 0.4s ease;
}

/* Hover effect */
.golf-promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Lớp phủ màu tối dần từ dưới lên để làm nổi text */
.golf-promo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70%; /* Phủ 70% diện tích từ dưới lên */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.4) 60%,
    transparent 100%
  );

  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Đẩy nội dung xuống đáy */
  padding: 25px;
  color: #fff;
}

/* Typography */
.promo-tag {
  font-family: "Brush Script MT", cursive; /* Font viết tay giả lập chữ 'fun' trong ảnh mẫu */
  color: #ffc107;
  font-size: 1.5rem;
  margin-bottom: 5px;
  transform: rotate(-5deg); /* Nghiêng nhẹ cho nghệ */
  display: inline-block;
  width: fit-content;
}

.promo-title {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.promo-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Cắt dòng nếu dài quá 2 dòng */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.promo-price {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Chỉnh màu dấu chấm trang */
.golf-promo-pagination .swiper-pagination-bullet-active {
  background-color: #ffc107;
}

.testimonial-section {
  /* Đảm bảo chiều cao tối thiểu trên màn hình lớn */
  min-height: 600px;
  background-color: #1a1a1a; /* Màu nền tối dự phòng */
}

/* Cột Trái: Ảnh tĩnh */
.testimonial-image-col {
  min-height: 400px; /* Chiều cao tối thiểu trên mobile */
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  /* Ảnh mẫu bên trái (Thay bằng ảnh của bạn) */
  background-image: url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1470&q=80");
}

/* Cột Phải: Nội dung & Slider */
.testimonial-content-col {
  background-color: #111111; /* Nền màu đen tối */
  color: #ffffff;
  position: relative; /* Để định vị lớp phủ bản đồ */
  overflow: hidden; /* Cắt bỏ phần bản đồ thừa */
  padding: 60px 40px; /* Padding rộng rãi */
}

/* Lớp phủ bản đồ thế giới mờ (Background Overlay) */
.testimonial-content-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Link ảnh bản đồ thế giới dạng tối màu */
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/80/World_map_-_low_resolution.svg/1200px-World_map_-_low_resolution.svg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.05; /* Rất mờ để làm nền */
  filter: invert(1); /* Đảo màu sang trắng nếu ảnh gốc là đen */
  z-index: 0; /* Nằm dưới nội dung */
  pointer-events: none;
}

/* Container nội dung chính (để nổi lên trên lớp bản đồ nền) */
.testimonial-content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 600px; /* Giới hạn chiều rộng nội dung cho đẹp */
  margin: 0 auto; /* Căn giữa ngang */
}

/* Typography */
.review-heading {
  font-family: "Playfair Display", serif; /* Font có chân cho sang */
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.review-subheading {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  color: #e0e0e0;
}
/* Màu sao đánh giá (Vàng) */
.star-rating i {
  color: #ffc107;
  margin: 0 2px;
}

/* Phần Swiper Slider Riêng Biệt */
.review-swiper {
  padding-bottom: 50px; /* Chỗ cho pagination */
}

.review-item {
  text-align: center;
  background-color: transparent !important;
}

.review-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #fff;
  font-style: italic;
  margin: 30px 0;
}

.review-golf-course-name {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 0;
  color: #ffffff;
}

/* Thông tin người review */
.reviewer-info h5 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}
.reviewer-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #333; /* Viền nhẹ quanh avatar */
}

/* Custom Pagination dots cho section này */
.review-swiper .swiper-pagination-bullet {
  background: #666;
  opacity: 0.5;
}
.review-swiper .swiper-pagination-bullet-active {
  background: #ffc107; /* Màu vàng khi active */
  opacity: 1;
}

.golf-tour-section .header-section .section-title {
  font-family: "Playfair Display", serif; /* Font có chân cho tiêu đề */
  font-weight: 700;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.golf-tour-section .header-section .section-subtitle {
  max-width: 700px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #777;
}
.golf-tour-section .masonry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  grid-auto-rows: 0px;
  width: 90%;
  margin: auto;
}

/* Base Style cho Card */
.golf-tour-section .offer-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  margin: 0; /* Grid lo khoảng cách rồi nên không cần margin */
}

/* Đảm bảo ảnh luôn phủ kín chiều cao của thẻ */
.golf-tour-section .offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cắt ảnh để vừa khung mà không bị méo */
  display: block;
  transition: transform 0.5s ease;
}

.golf-tour-section .card-short {
  grid-row-end: span 12;
}

/* Loại vừa: span 17 dòng ~ 340px + gap (Số bạn yêu cầu) */
.golf-tour-section .card-medium {
  grid-row-end: span 15;
}

/* Loại cao: span 22 dòng ~ 440px + gap */
.golf-tour-section .card-tall {
  grid-row-end: span 18;
}

.golf-tour-section .card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0; /* Bỏ margin bottom để transition mượt hơn */
  transition: transform 0.4s ease; /* Thêm transition cho title */
}

.golf-tour-section .card-desc {
  /* Trạng thái mặc định: Ẩn */
  max-height: 0; /* Chiều cao bằng 0 */
  opacity: 0; /* Trong suốt */
  overflow: hidden; /* Giấu nội dung thừa */
  /* Tạo khoảng trượt nhẹ từ dưới lên */
  transform: translateY(20px);
  /* Transition mượt mà cho tất cả thuộc tính */
  transition: all 0.4s ease-in-out;
  /* Style cho chữ */
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 0;
  line-height: 1.5;
}

.golf-tour-section .offer-card:hover .card-desc {
  max-height: 80px; /* Mở chiều cao ra (ước lượng đủ cho 2-3 dòng) */
  opacity: 1; /* Hiện rõ */
  margin-top: 10px; /* Thêm khoảng cách với title */
  margin-bottom: 10px; /* Thêm khoảng cách với price */
  transform: translateY(0); /* Trượt về vị trí chuẩn */
}

.golf-tour-section .card-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fdd835; /* Màu vàng cho nổi bật */
}

/* (Giữ lại các style Overlay/Text cũ ở câu trả lời trước nhé) */
.golf-tour-section .card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 25px; /* Tăng padding chút cho đẹp */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 10%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
  color: #fff;
  z-index: 2;

  /* QUAN TRỌNG: Sắp xếp flex dọc và dồn xuống đáy */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* --- Cột Trái: Nền đen --- */
.plan-tour-section .bg-dark-theme {
  background-color: #1a1a1a; /* Màu đen xám sang trọng */
  min-height: 600px; /* Chiều cao tối thiểu */
  color: #fff;
  overflow: hidden; /* Cắt phần họa tiết thừa */
}

/* Họa tiết chìm (Line Art) */
.plan-tour-section .pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* Thay URL bên dưới bằng ảnh họa tiết vector trong suốt (.png) của bạn */
  background-image: url("https://www.transparenttextures.com/patterns/black-scales.png");
  background-size: cover;
  background-position: center;
  opacity: 0.1; /* Làm mờ để chỉ thấy thoáng qua */
  pointer-events: none; /* Không che mất nút bấm */
  z-index: 1;
}

/* Box chứa nội dung text */
.plan-tour-section .content-box {
  position: relative;
  z-index: 2; /* Nổi lên trên họa tiết */
  max-width: 500px;
  padding: 2rem;
}

/* Typography */
.plan-tour-section .sub-title {
  font-family: "Damion", cursive; /* Font viết tay */
  font-size: 2.5rem;
  color: #f4c63d; /* Màu vàng */
  display: block;
  margin-bottom: -10px; /* Kéo tiêu đề chính lên sát hơn */
}

.plan-tour-section .main-title {
  font-family: "Playfair Display", serif; /* Font có chân */
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.plan-tour-section .description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #ccc; /* Màu xám nhạt cho dễ đọc trên nền đen */
  margin-bottom: 2.5rem;
}

/* Nút See More */
.plan-tour-section .btn-see-more {
  color: #f4c63d;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 2px;
  font-size: 0.9rem;
  padding-bottom: 5px;
  border-bottom: 2px solid #f4c63d;
  transition: all 0.3s ease;
}

.plan-tour-section .btn-see-more:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* --- Cột Phải: Ảnh --- */
.plan-tour-section .image-side {
  width: 100%;
  height: 100%;
  min-height: 600px; /* Đồng bộ chiều cao với bên trái */
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* ===================================
   POST GOLF DESTINATION - MASONRY BLOG
   =================================== */

.post-golf-destination {
  margin-top: 100px;
  margin-bottom: 80px;
  position: relative;
}

.post-golf-destination .header-section .section-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.post-golf-destination .header-section .section-subtitle {
  max-width: 700px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #777;
}

/* Masonry Grid - CSS Columns */
.post-golf-destination .masonry-blog-grid {
  column-count: 4;
  column-gap: 30px;
}

/* Each Blog Item */
.post-golf-destination .masonry-blog-item {
  break-inside: avoid;
  margin-bottom: 40px;
  display: inline-block;
  width: 100%;
}

.post-golf-destination .masonry-blog-item a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Image Wrapper */
.post-golf-destination .masonry-img-wrap {
  overflow: hidden;
  line-height: 0;
}

.post-golf-destination .masonry-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}

.post-golf-destination .masonry-blog-item:hover .masonry-img-wrap img {
  transform: scale(1.03);
  opacity: 0.9;
}

/* Content Below Image */
.post-golf-destination .masonry-blog-content {
  padding: 18px 0 0 0;
}

/* Title */
.post-golf-destination .masonry-blog-title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1a1a1a;
  margin: 0 0 8px 0;
  transition: color 0.3s ease;
  position: relative;
  display: inline;
  background-image: linear-gradient(#1a1a1a, #1a1a1a);
  background-size: 0% 1px;
  background-position: left bottom;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease;
}

.post-golf-destination .masonry-blog-item:hover .masonry-blog-title {
  background-size: 100% 1px;
}

/* Date */
.post-golf-destination .masonry-blog-date {
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem;
  color: #999;
  margin-top: 10px;
  letter-spacing: 0.3px;
}

.post-golf-destination .masonry-blog-date i {
  margin-right: 5px;
  font-size: 0.75rem;
}

/* ===================================
   MASONRY BLOG RESPONSIVE
   =================================== */

@media (max-width: 1200px) {
  .post-golf-destination .masonry-blog-grid {
    column-count: 3;
    column-gap: 25px;
  }
}

@media (max-width: 768px) {
  .post-golf-destination .masonry-blog-grid {
    column-count: 2;
    column-gap: 20px;
  }

  .post-golf-destination .masonry-blog-item {
    margin-bottom: 30px;
  }

  .post-golf-destination .masonry-blog-title {
    font-size: 1.05rem;
  }

  .post-golf-destination {
    margin-top: 60px;
    margin-bottom: 50px;
  }
}

@media (max-width: 576px) {
  .post-golf-destination .masonry-blog-grid {
    column-count: 1;
  }

  .post-golf-destination .masonry-blog-item {
    margin-bottom: 35px;
  }

  .post-golf-destination .masonry-blog-title {
    font-size: 1.1rem;
  }
}

/* ===================================
   PARTNER SECTION
   =================================== */

.partner-section {
  position: relative;
}

/* --- Partner Logos --- */
.partner-logos-wrap {
  background-color: #fff;
}

.partner-logos-wrap .header-section .section-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.partner-logos-wrap .header-section .section-subtitle {
  max-width: 700px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #777;
}

.partner-logo-swiper {
  padding: 20px 0;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 10px 20px;
}

.partner-logo-item img {
  max-height: 55px;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.4s ease;
}

.partner-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Email Subscription --- */
.email-subscription-wrap {
  position: relative;
  padding: 100px 0;
  background-color: #1a1a1a;
  background-image: url("https://images.unsplash.com/photo-1535131749006-b7f58c99034b?w=1600&q=40");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.subscription-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(26, 26, 26, 0.88);
  z-index: 1;
}

.subscription-pretitle {
  font-family: "Damion", cursive;
  font-size: 2.2rem;
  color: #f4c63d;
  display: block;
  margin-bottom: -5px;
}

.subscription-title {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.2rem;
}

.subscription-desc {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
}

.subscription-form {
  max-width: 520px;
  margin: 0 auto;
}

.subscription-input-group {
  display: flex;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.subscription-email {
  flex: 1;
  padding: 16px 24px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: "Poppins", sans-serif;
  color: #333;
  background-color: #fff;
}

.subscription-email::placeholder {
  color: #aaa;
}

.subscription-btn {
  padding: 16px 35px;
  background-color: #f4c63d;
  color: #1a1a1a;
  border: none;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.subscription-btn:hover {
  background-color: #ffed4e;
}

.subscription-note {
  font-size: 0.78rem;
  color: #777;
  margin-top: 18px;
  letter-spacing: 0.3px;
}

/* --- Partner Section Responsive --- */
@media (max-width: 768px) {
  .partner-logos-wrap {
    padding: 50px 0 40px;
  }

  .partner-logo-item {
    height: 60px;
  }

  .partner-logo-item img {
    max-height: 40px;
  }

  .email-subscription-wrap {
    padding: 60px 0;
  }

  .subscription-title {
    font-size: 2rem;
  }

  .subscription-pretitle {
    font-size: 1.8rem;
  }

  .subscription-input-group {
    flex-direction: column;
  }

  .subscription-btn {
    padding: 14px 20px;
  }
}

/* ===================================
     HERO SECTION RESPONSIVE STYLES
     =================================== */

@media (max-width: 1200px) {
  .hero-title {
    font-size: 60px;
  }

  .hero-description {
    font-size: 16px;
  }

  .golf-hero-swiper .swiper-button-next {
    right: 20px;
  }

  .golf-hero-swiper .swiper-button-prev {
    left: 20px;
  }

  /* Golf Tour Section: 2 columns on large tablet */
  .golf-tour-section .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }
}

@media (max-width: 992px) {
  .plan-tour-section .bg-dark-theme,
  .plan-tour-section .image-side {
    min-height: 400px;
  }

  .plan-tour-section .main-title {
    font-size: 2.5rem;
  }

  .plan-tour-section .sub-title {
    font-size: 2rem;
  }

  .plan-tour-section .content-box {
    max-width: 100%;
    padding: 1.5rem;
  }

  .testimonial-image-col {
    height: 350px;
    min-height: 350px;
  }

  .testimonial-content-col {
    padding: 40px 30px;
  }

  .review-heading {
    font-size: 2rem;
  }

  .review-text {
    font-size: 0.9rem;
  }

  /* Golf Map Section: Stack map and info vertically */
  .golf-map-section #golfMap {
    height: 400px;
  }

  .golf-map-section .golf-info-card {
    margin-top: 20px;
  }

  /* Section titles */
  .golf-tour-section .header-section .section-title,
  .post-golf-destination .header-section .section-title,
  .partner-logos-wrap .header-section .section-title {
    font-size: 2rem;
  }

  .golf-swiper-banner {
    height: 90vh;
    min-height: 600px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-description {
    font-size: 15px;
    padding: 0 20px;
  }

  .search-form-row {
    flex-direction: column;
  }

  .search-field-wrapper {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .search-field-wrapper:last-of-type {
    border-bottom: none;
  }

  .search-submit-btn {
    width: 100%;
    border-radius: 0 0 8px 8px;
    padding: 20px;
  }

  .hero-search-form-wrapper {
    padding: 30px 0;
  }
}

@media (max-width: 768px) {
  .golf-swiper-banner {
    height: 85vh;
    min-height: 550px;
  }

  .hero-title {
    font-size: 36px;
    margin-bottom: 15px;
  }

  .hero-subtitle {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .golf-hero-swiper .swiper-button-next,
  .golf-hero-swiper .swiper-button-prev {
    width: 40px;
    height: 40px;
  }

  .golf-hero-swiper .swiper-button-next:after,
  .golf-hero-swiper .swiper-button-prev:after {
    font-size: 16px;
  }

  .golf-hero-swiper .swiper-button-next {
    right: 15px;
  }

  .golf-hero-swiper .swiper-button-prev {
    left: 15px;
  }

  .hero-search-form-wrapper {
    padding: 20px 0;
  }

  .search-field {
    padding: 18px 20px 18px 50px;
    font-size: 13px;
  }

  .search-field-wrapper .search-icon {
    font-size: 16px;
    left: 18px;
  }

  .search-submit-btn {
    padding: 18px;
    font-size: 13px;
  }

  /* Golf Map Section */
  .golf-map-section #golfMap {
    height: 350px;
  }

  .golf-map-section .golf-info-card {
    max-height: 300px;
    overflow-y: auto;
  }

  .golf-map-section h2 {
    font-size: 1.5rem;
  }

  /* Testimonial Section */
  .testimonial-section {
    min-height: auto;
  }

  .testimonial-image-col {
    height: 300px;
    min-height: 300px;
  }

  .testimonial-content-col {
    padding: 40px 25px;
  }

  .review-heading {
    font-size: 1.8rem;
  }

  .review-golf-course-name {
    font-size: 1.2rem;
  }

  .reviewer-avatar {
    width: 55px;
    height: 55px;
  }

  /* Plan Tour Section */
  .plan-tour-section .bg-dark-theme,
  .plan-tour-section .image-side {
    min-height: 350px;
  }

  .plan-tour-section .main-title {
    font-size: 2rem;
  }

  .plan-tour-section .sub-title {
    font-size: 1.8rem;
  }

  .plan-tour-section .description {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
  }

  /* Golf Tour Section */
  .golf-tour-section .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
  }

  .golf-tour-section .card-title {
    font-size: 1.3rem;
  }

  /* Section titles */
  .golf-tour-section .header-section .section-title,
  .post-golf-destination .header-section .section-title,
  .partner-logos-wrap .header-section .section-title {
    font-size: 1.8rem;
  }

  .golf-tour-section .header-section .section-subtitle,
  .post-golf-destination .header-section .section-subtitle,
  .partner-logos-wrap .header-section .section-subtitle {
    font-size: 0.88rem;
  }

  /* Footer */
  .footer-golf-course .footer-links {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .golf-swiper-banner {
    height: 80vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-description {
    font-size: 13px;
  }

  .slide-content {
    padding: 0 15px;
  }

  .golf-hero-swiper .swiper-button-next,
  .golf-hero-swiper .swiper-button-prev {
    width: 35px;
    height: 35px;
    display: none;
  }

  .hero-search-form-wrapper {
    padding: 15px 0;
  }

  .search-field {
    padding: 15px 15px 15px 45px;
    font-size: 12px;
  }

  .search-field-wrapper .search-icon {
    font-size: 14px;
    left: 15px;
  }

  .search-submit-btn {
    padding: 15px;
    font-size: 12px;
    letter-spacing: 1px;
  }

  /* Golf Map Section */
  .golf-map-section #golfMap {
    height: 280px;
  }

  .golf-map-section h2 {
    font-size: 1.3rem;
    margin-bottom: 15px !important;
  }

  /* Testimonial Section */
  .testimonial-image-col {
    height: 250px;
    min-height: 250px;
  }

  .testimonial-content-col {
    padding: 30px 20px;
  }

  .review-heading {
    font-size: 1.5rem;
  }

  .review-text {
    font-size: 0.85rem;
    margin: 20px 0;
  }

  .reviewer-avatar {
    width: 50px;
    height: 50px;
  }

  .reviewer-info h5 {
    font-size: 0.8rem;
  }

  /* Golf Tour Section */
  .golf-tour-section .masonry-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .golf-tour-section .card-short,
  .golf-tour-section .card-medium,
  .golf-tour-section .card-tall {
    grid-row-end: auto;
    height: 350px;
  }

  .golf-tour-section .card-title {
    font-size: 1.2rem;
  }

  .golf-tour-section .card-overlay {
    padding: 20px 15px;
  }

  .golf-tour-section .header-section .section-title {
    font-size: 1.6rem;
  }

  /* Plan Tour Section */
  .plan-tour-section .bg-dark-theme,
  .plan-tour-section .image-side {
    min-height: 300px;
  }

  .plan-tour-section .main-title {
    font-size: 1.8rem;
  }

  .plan-tour-section .sub-title {
    font-size: 1.5rem;
  }

  .plan-tour-section .description {
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
  }

  .plan-tour-section .btn-see-more {
    font-size: 0.8rem;
    letter-spacing: 1.5px;
  }

  /* Section titles */
  .post-golf-destination .header-section .section-title,
  .partner-logos-wrap .header-section .section-title {
    font-size: 1.6rem;
  }

  /* Promo Cards */
  .golf-promo-card {
    height: 350px;
  }

  .promo-title {
    font-size: 1rem;
  }

  .promo-desc {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer-golf-course {
    padding: 40px 0 0;
  }

  .footer-golf-course .copyright-text {
    font-size: 0.8rem;
  }
}
