/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  background: #000;
  color: #fff;
}
:root {
    --bg-dark: #eacf4e;
    --text-light: #ffffff;
    --text-gray: black;
    --border-color: #333;
}
/* ================= HEADER ================= */
.header {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}

.header-inner {
  max-width: 1280px;
  margin: auto;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* NAV LEFT */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 28px;
}

/* LOGO */
.logo {
  text-align: center;
}

.logo h1 {
  font-size: 22px;
  letter-spacing: 4px;
}

.logo span {
  font-size: 10px;
  letter-spacing: 3px;
  opacity: 0.8;
}

/* NAV RIGHT */
.nav-right {
  display: flex;
  gap: 20px;
}

/* ================= HOVER SLIDE EFFECT ================= */
.hover-slide {
  position: relative;
  overflow: hidden;
  display: inline-block;
  height: 18px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
}

.hover-slide.small {
  font-size: 13px;
}

.hover-slide .text {
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-slide .text-hover {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(100%);
}

.hover-slide:hover .text-default {
  transform: translateY(-100%);
}

.hover-slide:hover .text-hover {
  transform: translateY(0);
}
/* Nút Hamburger mặc định ẩn trên Desktop */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 100;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: #fff; /* Thay đổi màu tùy chọn */
  transition: 0.3s;
}

/* RESPONSIVE CHO MOBILE (Dưới 992px) */
@media (max-width: 992px) {
  .menu-toggle {
    display: flex; /* Hiện nút hamburger */
  }

  .nav-left {
    position: fixed;
    top: 0;
    left: -100%; /* Ẩn menu ra ngoài màn hình bên trái */
    width: 80%;
    height: 100vh;
    background: #1a1a1a; /* Màu nền menu mobile */
    padding: 100px 40px;
    transition: 0.4s ease-in-out;
    z-index: 99;
  }

  .nav-left.active {
    left: 0; /* Hiện menu khi có class active */
  }

  .nav-menu {
    flex-direction: column; /* Xếp dọc các item */
    gap: 30px;
  }

  .nav-right {
    display: none; /* Ẩn bớt thông tin liên hệ trên mobile để tránh chật chội */
  }

  .logo h1 {
    font-size: 18px; /* Thu nhỏ logo một chút */
  }
}
/* Thiết lập cho màn hình dưới 769px */
@media (max-width: 768px) {
  /* Không dùng display: none cho .nav-left ở đây nữa */
  .nav-right {
    display: none;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001; /* Đảm bảo nằm trên cùng */
  }

  .menu-toggle span {
    background-color: #fff; /* Đổi thành màu trắng để nổi bật trên nền tối */
  }

  .nav-left {
    display: block !important; /* Đảm bảo không bị display: none ghi đè */
    position: fixed;
    top: 0;
    left: -100%; 
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    padding: 100px 30px;
    transition: 0.4s ease-in-out;
    z-index: 1000;
  }

  .nav-left.active {
    left: 0; /* Hiện menu khi click */
  }

  .nav-menu {
    flex-direction: column;
    gap: 25px;
  }
}
/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.6)
  );
}

/* HERO CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}

.hero-content h2 {
  font-size: 64px;
  font-weight: 500;
  margin-bottom: 18px;
  font-family: emoji;
}

.hero-content p {
  max-width: 620px;
  font-size: 16px;
  margin-bottom: 36px;
  opacity: 0.9;
}

/* ================= BUTTON ================= */
.btn-primary {
  background: #fff;
  color: #000;
  padding: 14px 36px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 2px;
}

.hover-slide-btn {
  position: relative;
  overflow: hidden;
}

.hover-slide-btn .text {
  display: block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-slide-btn .text-hover {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  text-align: center;
  transform: translateY(120%);
}

.hover-slide-btn:hover .text-default {
  transform: translateY(-170%);
}

.hover-slide-btn:hover .text-hover {
  transform: translateY(-60%);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-content h2 {
    font-size: 48px;
  }
}

@media (max-width: 768px) {

  .hero-content h2 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 14px;
  }
}

/* ================= WELCOME SECTION ================= */
.welcome-section {
  background: #faf7f2;
  padding: 160px 32px;
  overflow: hidden;
}

.welcome-inner {
  max-width: 1400px;
  margin: auto;
  position: relative;
  display: flex;
  justify-content: center;
}

/* CENTER TEXT */
.welcome-content {
  max-width: 520px;
  text-align: center;
  color: #1f3d3a;
  z-index: 2;
}

.welcome-label {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 24px;
}

.welcome-content h2 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 32px;
}

.welcome-content p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
  opacity: 0.85;
}

.signature {
  margin-top: 40px;
}

.signature span {
  font-size: 12px;
  opacity: 0.6;
}

/* IMAGES */
.welcome-images {
  position: absolute;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.welcome-images.left {
  left: 0;
  transform: translateY(-50%);
}

.welcome-images.right {
  right: 0;
  transform: translateY(-50%);
}

.welcome-images img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 4px;
}

/* ================= SCROLL ANIMATIONS (BIDIRECTION) ================= */

/* INITIAL STATE */
.reveal-center {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ACTIVE (SCROLL DOWN) */
.reveal-center.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* DELAY */
.delay-1 {
  transition-delay: 0.15s;
}
.delay-2 {
  transition-delay: 0.35s;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .welcome-images img {
    width: 180px;
    height: 240px;
  }
}

@media (max-width: 768px) {
  .welcome-section {
    padding: 100px 20px;
  }

  .welcome-images {
    display: none;
  }

  .welcome-content h2 {
    font-size: 32px;
  }
}

/* ================= VIDEO HIGHLIGHT SECTION ================= */
.video-highlight-section {
  background-color: #fbf9f5; /* Đồng bộ màu nền với dự án */
  padding: 100px 32px;
  display: flex;
  justify-content: center;
}

.video-container {
  width: 100%;
  max-width: 1100px; /* Căn đều với độ rộng của bản đồ quy hoạch */
  text-align: center;
}

.video-header {
  margin-bottom: 50px;
}

.video-title {
  font-size: 36px;
  font-family: serif;
  color: #183c40;
  margin: 15px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.video-divider {
  width: 60px;
  height: 2px;
  background-color: #a68b77; /* Màu đồng điểm nhấn */
  margin: 0 auto;
}

/* Kỹ thuật Padding-top hack để giữ tỉ lệ 16:9 cho Video */
.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(24, 60, 64, 0.15); /* Đổ bóng sang trọng */
  background: #000;
}

.video-responsive {
  position: relative;
  padding-bottom: 56.25%; /* Tỉ lệ 16:9 (9 / 16 = 0.5625) */
  height: 0;
  overflow: hidden;
}

.video-responsive iframe,
.video-responsive video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .video-highlight-section {
    padding: 60px 20px;
  }
  
  .video-title {
    font-size: 26px;
  }
  
  .video-wrapper {
    border-radius: 8px; /* Bo góc nhỏ hơn trên mobile */
  }
}
/* ================= GALLERY SECTION ================= */
.gallery-section {
  background: #faf7f2;
  padding: 0px 0 120px;
  overflow: hidden;
}

/* HEADER */
.gallery-header {
  text-align: center;
  margin-bottom: 80px;
}

.gallery-label {
  display: block;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #1f3d3a;
}

.gallery-header h2 {
  font-size: 48px;
  font-weight: 500;
  color: #1f3d3a;
  line-height: 1.25;
}

/* SLIDER */
/* Đảm bảo wrapper ẩn phần dư */
.gallery-slider-wrapper {
  position: relative;
  overflow: hidden; /* Quan trọng để không thấy ảnh tràn ra ngoài */
  padding: 0 80px; /* Tạo khoảng trống cho nút bấm */
}

.gallery-slider {
  display: flex;
  gap: 40px;
  /* Bỏ scroll-behavior: smooth; */
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); /* Chạy mượt hơn */
  padding: 0; /* Bỏ padding cũ để dễ tính toán vị trí */
  will-change: transform;
}

/* SLIDE */
.slide {
  flex: 0 0 420px;
  height: 520px;
  overflow: hidden;
  border-radius: 4px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slide:hover img {
  transform: scale(1.05);
}

/* BUTTONS */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 28px;
  z-index: 2;
}

.slider-btn.prev {
  left: 40px;
}

.slider-btn.next {
  right: 40px;
}

.slider-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* ================= OVERVIEW SECTION ================= */
.overview-section {
  background-color: #faf7f2; /* Màu nền kem đồng bộ */
  padding: 100px 32px;
  color: #183c40;
  text-align: center;
}

.overview-container {
  max-width: 1100px;
  margin: 0 auto;
}

.overview-header {
  margin-bottom: 60px;
}

.overview-label {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.overview-title {
  font-size: 48px;
  font-family: serif;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

/* Grid thông số chính */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.overview-item {
  background: #fff;
  padding: 40px 20px;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.3s ease;
}

.overview-item:hover {
  transform: translateY(-10px);
}

.overview-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.overview-info h4 {
  font-size: 13px;
  text-transform: uppercase;
  color: #a68b77;
  margin-bottom: 10px;
}

.overview-info p {
  font-size: 20px;
  font-weight: 600;
}

/* Chi tiết diện tích */
.overview-details h3 {
  font-size: 24px;
  margin-bottom: 40px;
  font-family: serif;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.detail-card {
  border: 1px solid rgba(24, 60, 64, 0.1);
  padding: 30px;
  border-radius: 2px;
}

.detail-card h5 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #a68b77;
}

.detail-card p {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
}

.detail-card span {
  font-size: 13px;
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .overview-grid, .details-grid {
    grid-template-columns: 1fr;
  }
  
  .overview-title {
    font-size: 36px;
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .slide {
    flex: 0 0 340px;
    height: 440px;
  }
}

@media (max-width: 768px) {
  .gallery-header h2 {
    font-size: 36px;
  }

  .gallery-slider {
    padding: 0 60px;
    gap: 24px;
  }

  .slide {
    flex: 0 0 280px;
    height: 360px;
  }

  .slider-btn {
    display: none;
  }
}
/* ===== ROOMS SECTION ===== */
.rooms-section {
  background: #fbf9f5;
  overflow: hidden;
  padding-left: 15px;
  padding-right: 15px;
}

.rooms-container {
  max-width: 1300px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

/* LEFT */
.section-label {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #4a7c7a;
}

.rooms-heading {
  font-size: 56px;
  margin: 16px 0;
  color: #183c40;
}

.rooms-desc {
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 50px;
  color: #183c40;
}

/* ROOM DETAIL */
.room-detail h3 {
  font-size: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
  color: #183c40;
}

.room-detail .divider {
  flex: 1;
  height: 1px;
  background: #ddd;
}

.room-meta {
  display: flex;
  gap: 26px;
  font-size: 14px;
  color: #6f8f8d;
  margin-bottom: 28px;
}

.room-price-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 28px;
}

.price small {
  font-size: 12px;
  color: #aaa;
}

.price strong {
  font-size: 32px;
  color: #183c40;
}

.btn-book {
    padding: 14px 34px;
    /* border: 1px solid #183c40; */
    background: transparent;
    cursor: pointer;
    transition: 0.4s;
    color: #183c40;
}

.btn-book:hover {
  background: #183c40;
  color: #fff;
}

/* ROOM LIST */
.room-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
}

.room-list li {
  font-size: 26px;
  margin-bottom: 20px;
  color: #b8cfcf;
  cursor: pointer;
  transition: 0.4s;
}

.room-list li.active,
.room-list li:hover {
  color: #183c40;
}

/* RIGHT IMAGE */
.room-image {
  position: relative;
}

.room-image img {
  width: 100%;
  border-radius: 6px;
}

#room-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  max-width: 420px;
  color: #fff;
  font-size: 18px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .rooms-container {
    grid-template-columns: 1fr;
  }

  .rooms-heading {
    font-size: 42px;
  }

  .room-price-action {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* ================= MASTER PLAN SECTION ================= */
.masterplan-section {
  background-color: #fbf9f5;
  padding: 120px 32px;
  color: #183c40;
}

.masterplan-container {
  max-width: 1200px;
  margin: 0 auto;
}

.masterplan-header {
  text-align: center;
  margin-bottom: 80px;
}

.masterplan-title {
  font-size: 42px;
  font-family: serif;
  margin: 15px 0 25px;
  letter-spacing: 2px;
}

.masterplan-intro {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  opacity: 0.8;
}

/* Layout Grid */
.masterplan-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

/* Zone Card */
.plan-zone {
  background: #fff;
  border: 1px solid rgba(24, 60, 64, 0.08);
  padding: 40px;
  position: relative; /* Cần thiết để chứa ảnh tuyệt đối */
  overflow: hidden;    /* Để ảnh không tràn ra ngoài bo góc */
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

/* HIỆU ỨNG HÌNH ẢNH KHI HOVER */
.zone-preview-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;      /* Nằm dưới văn bản */
  opacity: 0;        /* Mặc định ẩn */
  transform: scale(1.1); /* Hơi phóng to nhẹ */
  transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.zone-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4); /* Làm tối ảnh 60% để chữ trắng nổi lên */
}

/* Trạng thái Hover của Card */
.plan-zone:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  color: #fff !important; /* Đổi toàn bộ chữ sang trắng */
  border-color: transparent;
}

.plan-zone:hover .zone-preview-img {
  opacity: 1;        /* Hiện ảnh */
  transform: scale(1); /* Thu về kích thước gốc tạo cảm giác mượt */
}

/* Zone Header */
.zone-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(24, 60, 64, 0.1);
  padding-bottom: 20px;
  transition: border-color 0.4s;
}

.plan-zone:hover .zone-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.zone-number {
  font-size: 48px;
  font-weight: 700;
  color: #e4e0d8;
  line-height: 1;
  transition: color 0.4s;
}

.plan-zone:hover .zone-number {
  color: rgba(255, 255, 255, 0.3); /* Số nhạt đi khi có ảnh nền */
}

.zone-title-box h3 {
  font-size: 20px;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.zone-title-box p {
  font-size: 13px;
  opacity: 0.7;
  transition: color 0.4s;
}

.plan-zone:hover .zone-title-box p {
  color: #fff;
}

/* Phân khu featured (Khu 3) mặc định xanh đen */
.plan-zone.featured {
  background: #183c40;
  color: #fff;
}

.plan-zone.featured .zone-number {
  color: rgba(255, 255, 255, 0.2);
}

/* Utility List */
.zone-desc {
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 15px;
  transition: color 0.4s;
}

.plan-zone:hover .zone-desc {
  color: #fff;
}

.utility-list {
  list-style: none;
}

.utility-list li {
  font-size: 14px;
  margin-bottom: 12px;
  line-height: 1.5;
  display: flex;
  gap: 12px;
  transition: color 0.4s;
}

.plan-zone:hover .utility-list li {
  color: rgba(255, 255, 255, 0.9);
}

.utility-list span {
  background: #f0ede8;
  color: #183c40;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: bold;
  transition: all 0.4s;
}

.plan-zone:hover .utility-list span {
  background: #a68b77; /* Đổi màu vòng tròn số khi hover */
  color: #fff;
}

.plan-zone.featured .utility-list span {
  background: #a68b77;
  color: #fff;
}

.masterplan-note {
  margin-top: 60px;
  text-align: center;
  font-style: italic;
  font-size: 14px;
  opacity: 0.6;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .masterplan-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .masterplan-title {
    font-size: 32px;
  }
  
  .plan-zone {
    padding: 30px 20px;
  }

  /* Tắt hiệu ứng hover ảnh trên mobile nếu muốn tối ưu trải nghiệm chạm */
  /* .zone-preview-img { display: none; } */
}
/* ================= MASTER PLAN MAP IMAGE ================= */
.masterplan-map {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto 80px; /* Cách header 0, cách nội dung dưới 80px */
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(24, 60, 64, 0.1);
  position: relative;
  cursor: zoom-in;
  border: 1px solid rgba(24, 60, 64, 0.05);
}

.masterplan-map img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.masterplan-map:hover img {
  transform: scale(1.02); /* Hiệu ứng zoom nhẹ khi di chuột vào bản đồ */
}

.map-overlay-hint {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(24, 60, 64, 0.8);
  color: #fff;
  padding: 8px 16px;
  font-size: 12px;
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.masterplan-map:hover .map-overlay-hint {
  opacity: 1;
}

/* Điều chỉnh khoảng cách Grid phía dưới */
.masterplan-content {
  margin-top: 40px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .masterplan-map {
    margin-bottom: 40px;
  }
}
/* LIGHTBOX SYSTEM */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(24, 60, 64, 0.95); /* Màu xanh đen đặc trưng */
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox.active {
  display: flex !important;
}

.lightbox.active .lightbox-content {
  transform: scale(1);
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: 200;
  cursor: pointer;
}

/* Hiệu ứng mượt cho ảnh bản đồ chính */
.masterplan-map {
  cursor: zoom-in;
  transition: opacity 0.3s;
}

.masterplan-map:active {
  opacity: 0.7;
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: #fbf9f5;
  padding: 140px 0;
  overflow: hidden;
  padding-left: 15px;
  padding-right: 15px;
}

.services-header {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 80px;
}

.services-header h2 {
  font-size: 56px;
  margin: 14px 0;
  color: #183c40;
}

.services-header p {
  max-width: 420px;
  line-height: 1.7;
  color: #183c40;
}

.btn-outline {
  padding: 14px 30px;
  border: 1px solid #183c40;
  text-decoration: none;
  color: #183c40;
  transition: 0.4s;
}

.btn-outline:hover {
  background: #183c40;
  color: #fff;
}

/* SLIDER */
.services-slider {
  max-width: 1300px;
  margin: auto;
  position: relative;
}

.service-slide {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  
  /* Cập nhật hiệu ứng mượt */
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 0.8s ease;
  transform: translateX(20px); /* Đẩy nhẹ sang phải khi ẩn */
}

.service-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateX(0); /* Trở về vị trí cũ khi hiện */
}

/* IMAGE */
.service-image img {
  width: 100%;
  border-radius: 6px;
}

/* CONTENT */
.service-content {
	color: #183c40;
}
.service-content h3 {
  font-size: 40px;
  margin: 24px 0;
}

.service-content p {
  max-width: 100%; /* Cho phép text rộng hơn nếu cần */
  margin-bottom: 10px;
}

.service-icon {
  font-size: 32px;
  color: #183c40;
}

/* NAV */
.slider-nav {
  position: absolute;
  right: 0;
  bottom: -60px;
  display: flex;
  gap: 16px;
}

.slider-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #183c40;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  transition: 0.4s;
}

.slider-nav button:hover {
  background: #183c40;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-header {
    flex-direction: column;
    gap: 30px;
  }

  .service-slide {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-content h3 {
    font-size: 32px;
  }

  .slider-nav {
    position: static;
    margin-top: 30px;
  }
}

/* ================= NEWS SECTION ================= */
.news-section {
  background-color: #fbf9f5; /* Màu nền kem nhạt đồng bộ */
  padding: 100px 32px;
}

.news-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Header */
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 60px;
}

.news-header .section-label {
  color: #4a7c7a;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 15px;
}

.news-header .section-title {
  font-size: 52px;
  color: #183c40;
  font-family: serif;
  margin-bottom: 15px;
}

.news-header .section-desc {
  color: #555;
  max-width: 500px;
  line-height: 1.6;
}

.btn-read-all {
  padding: 12px 35px;
  border: 1px solid #183c40;
  text-decoration: none;
  color: #183c40;
  font-size: 14px;
  transition: all 0.3s;
}

.btn-read-all:hover {
  background-color: #183c40;
  color: #fff;
}

/* Grid layout */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* News Card */
.news-card {
  display: flex;
  flex-direction: column;
}

.news-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  margin-bottom: 25px;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-content h3 {
  font-size: 22px;
  color: #183c40;
  line-height: 1.3;
  margin-bottom: 15px;
  font-weight: 500;
  min-height: 58px; /* Giữ tiêu đề thẳng hàng */
}

.news-content p {
  color: #666;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Giới hạn 2 dòng mô tả */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-date {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  
  .news-header .section-title {
    font-size: 38px;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }
  
  .news-image {
    height: 240px;
  }
}

/* ================= BOOKING SECTION ================= */
.booking-section {
  background-color: #FAF7F2; /* Màu nền kem đồng bộ */
  padding: 100px 32px;
}

.booking-container {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 30px 60px rgba(24, 60, 64, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Chia cột trái ảnh, phải form */
}

/* Cột ảnh */
.booking-image {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.booking-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay-text {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: #fff;
  z-index: 2;
}

.image-overlay-text span {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
}

.image-overlay-text h3 {
  font-family: serif;
  font-size: 28px;
  margin-top: 10px;
}

.booking-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24,60,64,0.7), transparent);
}

/* Cột Form */
.booking-form-container {
  padding: 60px 80px;
  background-color: #fff;
}

.form-header {
  margin-bottom: 40px;
}

.form-header .sub-title {
  color: #a68b77;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.form-header .main-title {
  font-family: serif;
  font-size: 32px;
  color: #183c40;
  margin-bottom: 15px;
}

.form-header p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

/* Style cho các Input */
.contact-form .input-group {
  margin-bottom: 25px;
}

.contact-form input, 
.contact-form select {
  width: 100%;
  padding: 15px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(24, 60, 64, 0.2);
  outline: none;
  color: #183c40;
  font-size: 15px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus {
  border-bottom-color: #183c40;
}

.contact-form select {
  cursor: pointer;
  color: #666;
}

/* Nút Submit */
.btn-submit {
  width: 100%;
  padding: 20px;
  background: #183c40;
  color: #fff;
  border: none;
  font-weight: 600;
  letter-spacing: 2px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  transition: 0.3s;
  margin-top: 20px;
}

.btn-submit:hover {
  background: #264d52;
  gap: 25px; /* Hiệu ứng mũi tên dịch chuyển */
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .booking-grid {
    grid-template-columns: 1fr;
  }
  .booking-form-container {
    padding: 60px 40px;
  }
  .booking-image {
    min-height: 300px;
  }
}

@media (max-width: 600px) {
  .booking-section {
    padding: 60px 15px;
  }
  .form-header .main-title {
    font-size: 26px;
  }
}

/* ================= POPUP ================= */
.floating-cta {
    position: fixed;
    right: clamp(12px, 2vw, 24px);
    bottom: calc(env(safe-area-inset-bottom) + 88px) !important;
    z-index: 9999;
    animation: slideIn .6s cubic-bezier(.22,.61,.36,1), 
               attention-shake 4s infinite 2s; /* Rung gây chú ý */
}

@keyframes slideIn {
    from {
        transform: translateX(140%);
        opacity: .3;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.floating-cta__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    border-radius: 999px;
    padding: 12px 12px 12px 14px;
    color: #1f2437;
    max-width: min(92vw, 540px);
    transform: scale(1);
    transform-origin: right bottom;
    transition: transform .22s ease, box-shadow .22s ease;
    will-change: transform;
	background: linear-gradient(135deg, #ffffff 0%, #fdfbf1 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(46, 58, 46, 0.1);
}

.floating-cta:hover .floating-cta__content,
.floating-cta:focus-within .floating-cta__content {
    transform: scale(1.06); /* ZoomIn */
    box-shadow: 0 22px 50px rgba(0,0,0,.22);
}

.cta-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 10px 8px;
}

.cta-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    color: #2e3a2e;
    background: coral;
    border-radius: 999px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,.08);
    position: relative;
}
/* 3. Làm Icon điện thoại xoay như đang đổ chuông */
.cta-icon svg {
    width: 20px; /* Tăng kích thước icon một chút cho rõ */
    height: 20px;
    animation: phone-ring 1.5s infinite ease-in-out;
}
    /* ping nhẹ quanh icon */
    .cta-icon::after {
        content: "";
        position: absolute;
        inset: -4px;
        border-radius: 999px;
        border: 2px solid rgba(239,122,103,.35);
        transform: scale(.8);
        opacity: 0;
        pointer-events: none;
        animation: ping 2.2s ease-out infinite;
    }

/* nhấn xuống chút khi click */
.floating-cta:active .floating-cta__content {
    transform: scale(1.02);
}

@keyframes ping {
    0% {
        transform: scale(.7);
        opacity: .7
    }

    100% {
        transform: scale(1.2);
        opacity: 0
    }
}

.cta-text {
    line-height: 1.1;
    margin-right: 8px;
}

.cta-title {
    font-weight: 800;
    letter-spacing: .3px;
    font-size: 14px;
}

.cta-sub {
    font-size: 12px;
    opacity: .7;
}

.cta-btn {
    white-space: nowrap;
    text-decoration: none;
    color: #264d52;
    font-weight: 800;
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(239,122,103,.35);
    transition: transform .15s ease, filter .15s ease;
    font-size: x-large;
}

    .cta-btn:hover {
        transform: translateY(-1px);
        filter: brightness(1.05);
    }

    .cta-btn:active {
        transform: translateY(0);
    }

/* Thanh tên phía dưới */
.cta-name {
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 20px;
    color: #2c2b2b;
    font-family: "Georgia", "Times New Roman", serif;
    border-radius: 0 0 16px 16px;
}

/* Responsive: rút gọn trên màn nhỏ */
@media (max-width: 520px) {
    .floating-cta__content {
        padding-right: 10px;
        gap: 10px;
    }

    .cta-title {
        font-size: 13px
    }

    .cta-sub {
        display: none
    }
    /* ẩn dòng phụ cho gọn */
    .cta-btn {
        padding: 10px 12px;
        font-size: 13px;
    }
}
/* ================= KEYFRAMES MỚI ================= */

/* Hiệu ứng rung cả khối popup */
@keyframes attention-shake {
    0%, 90%, 100% { transform: translateX(0); }
    92% { transform: translateX(-3px) rotate(-1deg); }
    94% { transform: translateX(3px) rotate(1deg); }
    96% { transform: translateX(-3px) rotate(-1deg); }
    98% { transform: translateX(3px) rotate(1deg); }
}

/* Hiệu ứng xoay icon điện thoại */
@keyframes phone-ring {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50% { transform: rotate(-15deg); }
    20%, 40%, 60% { transform: rotate(15deg); }
    70% { transform: rotate(0); }
}

/* Nâng cấp hiệu ứng Ping (vòng tròn lan tỏa) cho sang hơn */
@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 0.8;
        border-color: rgba(46, 58, 46, 0.5);
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
        border-color: rgba(239, 122, 103, 0);
    }
}

/* FOOTER */
.footer {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding-top: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar Styling */
.footer-top {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 40px;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.top-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.top-item i { font-size: 24px; color: var(--text-gray); }
.top-item span { display: block; font-size: 14px; color: var(--text-gray); }

.social-links a {
    color: white;
    font-size: 20px;
    margin-left: 15px;
    text-decoration: none;
}

/* Main Content Styling */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 15px;
}

.logo { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.logo span { font-weight: bold; font-size: 18px; }

.policy-link { color: var(--text-gray); text-decoration: none; font-size: 14px; }

.quick-links { list-style: none; padding: 0; }
.quick-links li { 
    border-bottom: 1px solid #1a1a1a; 
    padding: 10px 0;
}
.quick-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: 0.3s;
}
.quick-links a:hover { color: white; }

/* Copyright Styling */
.footer-bottom {
    background-color: #081020;
    padding: 15px 0;
    text-align: center;
    font-size: 13px;
    color: var(--text-gray);
}

/* RESPONSIVE TRÊN MOBILE */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Chuyển thành 1 cột */
        text-align: center;
    }

    .top-bar-flex {
        flex-direction: column;
        text-align: center;
    }

    .top-item {
        flex-direction: column;
    }

    .logo { justify-content: center; }
    
    .quick-links li { border-bottom: none; }
}

/* ================= CUSTOM MODAL ================= */
.custom-modal {
    display: none; /* Mặc định ẩn */
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 60, 64, 0.85); /* Màu xanh đen đặc trưng */
    backdrop-filter: blur(8px);
}

.modal-content {
    position: relative;
    background-color: #fff;
    width: 90%;
    max-width: 650px;
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    z-index: 10001;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.custom-modal.active {
    display: flex;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    color: #183c40;
    cursor: pointer;
    line-height: 1;
}

.modal-title {
    font-family: serif;
    color: #A68B77; /* Màu Vàng Đồng */
    font-size: 26px;
    margin-bottom: 30px;
    line-height: 1.4;
    text-align: center;
    font-weight: bold;
}

.modal-text {
    color: #183c40;
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
}

.modal-text p {
    margin-bottom: 20px;
}

.highlight {
    color: #A68B77; /* Màu Vàng Đồng cho các chữ in đậm */
    font-weight: bold;
}

.modal-footer {
    text-align: center;
    margin-top: 30px;
}

.btn-action {
    display: inline-block;
    padding: 15px 40px;
    background-color: #183c40;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-action:hover {
    background-color: #A68B77;
}

/* Responsive */
@media (max-width: 600px) {
    .modal-content {
        padding: 30px 20px;
    }
    .modal-title {
        font-size: 20px;
    }
}


