/* ==========================================================================
   DELTA TRAVEL - 3D SCROLL EXPERIENCE & PARALLAX BACKGROUND TYPOGRAPHY
   ========================================================================== */

/* Khung bọc toàn bộ đường trượt cuộn 3D - CRYSTAL CLEAR DEEP SPACE */
.hero-3d-showcase {
  position: relative;
  width: 100%;
  height: 300vh;
  background-color: #030712;
  margin: 0;
  padding: 0;
}

/* Phần cố định toàn màn hình khi người dùng cuộn */
.hero-3d-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #030712;
}

/* 1. LỚP CANVAS HIỂN THỊ CHUỖI ẢNH 3D (Z-INDEX: 2) */
.hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  pointer-events: none;
  will-change: transform;
}

/* Lớp chuyển tiếp mượt mà: hoàn toàn trong suốt, không sương mù che trái đất 3D */
.hero-vignette-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent 85%, #ffffff 100%);
}

/* 2. CHỮ NGHỆ THUẬT MỜ KHỔNG LỒ ĐÃ ĐƯỢC XÓA THEO YÊU CẦU */
.section-watermark-bg,
.watermark-row {
  display: none !important;
}

/* 3. LỚP NỘI DUNG VĂN BẢN TRÊN CÙNG (Z-INDEX: 4) */
.hero-3d-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 110px 2rem 0 2rem;
  pointer-events: none;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-phase-block {
  max-width: 760px;
  transition: opacity 0.35s ease-out, transform 0.35s ease-out;
  will-change: opacity, transform;
}

#heroPhase2,
#heroPhase3 {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.hero-3d-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1.35rem;
  border-radius: 50px;
  color: #000000;
  font-family: var(--font-family, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.hero-3d-title {
  color: #000000;
  font-family: var(--font-heading, 'Montserrat', sans-serif);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.35rem;
  text-shadow: none;
}

.hero-3d-title span {
  display: inline-block;
  text-shadow: none;
  background: linear-gradient(135deg, #000000 0%, #1e293b 60%, #0f172a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: none;
}

.hero-3d-desc {
  color: #334155;
  font-family: var(--font-family, 'Plus Jakarta Sans', sans-serif);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 500;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  text-shadow: none;
  max-width: 640px;
}

.hero-3d-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  pointer-events: auto;
}

.btn-hero-3d-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #000000;
  color: #ffffff;
  padding: 0.95rem 2.25rem;
  border-radius: 50px;
  font-family: var(--font-family, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid #000000;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.btn-hero-3d-primary:hover {
  transform: translateY(-2px);
  background: #18181b;
  color: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.btn-hero-3d-primary:active {
  transform: scale(0.96);
}

.btn-hero-3d-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #ffffff;
  color: #000000;
  padding: 0.95rem 2rem;
  border-radius: 50px;
  font-family: var(--font-family, 'Plus Jakarta Sans', sans-serif);
  font-weight: 700;
  font-size: 1rem;
  border: 1.5px solid #000000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-hero-3d-outline:hover {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-hero-3d-outline:active {
  transform: scale(0.96);
}

/* Chỉ dẫn cuộn chuột động ở góc dưới */
.hero-scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #0f172a;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
  animation: floatBounce 2.5s infinite ease-in-out;
  transition: opacity 0.3s ease;
}

.hero-scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid #0f172a;
  border-radius: 15px;
  position: relative;
}

.hero-scroll-mouse::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: #0f172a;
  border-radius: 2px;
  animation: scrollWheel 1.8s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, 14px); }
}

@keyframes floatBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

@media (max-width: 991.98px) {
  .hero-3d-content {
    padding-top: 80px;
  }
}

@media (max-width: 768px) {
  .hero-3d-showcase {
    height: 220vh;
  }
  .hero-3d-title {
    font-size: 2.1rem;
  }
  .hero-3d-content {
    padding: 70px 1.25rem 0 1.25rem;
  }
  .faded-bg-text.text-track-1 {
    font-size: 4rem;
  }
  .faded-bg-text.text-track-2 {
    font-size: 3rem;
  }
}
