/**
 * DIF Tour (DIFTour.html) — scoped under #difgc-diftour (WordPress / Elementor embed)
 * 迁移规则：Hero 全透明；原深色块 → 白底 + 阴影（与 accommodation / page-bg 一致）
 * 字体：与 accommodation / page-common — 正文 Lato、标题 Montserrat、中文 Noto Sans SC（见 thailand-fonts.css + Google 补字重）
 */

.pageContent.page-diftour-landing,
.pageContent.page-diftour-landing > .elementor.elementor-9 {
  background: transparent !important;
}

#difgc-diftour,
#difgc-diftour *::before,
#difgc-diftour *::after {
  box-sizing: border-box;
}

/* 栏目间距：避免上一节 pb 与下一节 pt 叠加 */
#difgc-diftour > section + section {
  padding-top: 0 !important;
}

#difgc-diftour {
  --navy: #0a1628;
  --navy-mid: #0f2240;
  --navy-light: #162d50;
  --gold: #d4a843;
  --gold-light: #e8c06a;
  --gold-dark: #b8922e;
  --text-primary: #0e1428;
  --text-secondary: #64748b;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.06);
  /* 与 page-common + accommodation：正文 Lato、中文 Noto Sans SC */
  font-family: "Lato", "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  /* 与 accommodation.html 一致：泰国站 css 相对路径 ../img/page-bg.jpg */
  background-image: url("../img/page-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
  z-index: 1;
}

/* 原 Tailwind text-white（定价数字等）→ 浅色底上改为深色字 */
#difgc-diftour .text-white {
  color: #0e1428 !important;
}
#difgc-diftour .hero-title {
  font-family: "Montserrat", "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 900;
  line-height: 1.1;
}

#difgc-diftour .min-h-screen {
  min-height: calc(100vh - 206px) !important;
}

/* scroll reveal */
#difgc-diftour .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
#difgc-diftour .reveal.is-inview {
  opacity: 1;
  transform: translateY(0);
}

/* 区块 section 勿铺深色实底 */
#difgc-diftour #highlights,
#difgc-diftour #pricing {
  background-color: transparent !important;
}
#difgc-diftour > section:nth-of-type(2) {
  background-color: transparent !important;
}

/* Register：去掉深色全屏渐变叠层，直接透出 page-bg */
#difgc-diftour #register > div.absolute.inset-0:first-child {
  background: transparent !important;
}

/* Hero：全透明（不要半透明叠色） */
#difgc-diftour .hero-bg {
  background: transparent !important;
  position: relative;
  overflow: hidden;
}
/* Hero 装饰纹理去掉，避免遮挡底图 */
#difgc-diftour .hero-bg::before {
  display: none;
}
/* 底部波浪：浅色衔接下一区块 */
#difgc-diftour .hero-bg svg path[fill="#0f2240"] {
  fill: rgba(255, 255, 255, 0.92) !important;
}

#difgc-diftour .hero-glow {
  text-shadow: none;
}

#difgc-diftour .badge-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.08em;
}

#difgc-diftour .hex-wrap {
  width: 56px;
  height: 64px;
  position: relative;
}
#difgc-diftour .hex-wrap svg {
  width: 100%;
  height: 100%;
}

/* 原深色卡片 → 白底 + 阴影 */
#difgc-diftour .card-highlight {
  background: var(--card-bg) !important;
  border: 1px solid var(--card-border) !important;
  border-radius: 16px;
  box-shadow: var(--card-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
#difgc-diftour .card-highlight:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.08);
  border-color: rgba(212, 168, 67, 0.35);
}

#difgc-diftour .num-tag {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

#difgc-diftour .divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

#difgc-diftour h2,
#difgc-diftour h3 {
  font-family: "Montserrat", "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#difgc-diftour .pricing-member {
  border: 2px solid var(--gold);
  background: var(--card-bg) !important;
  box-shadow: var(--card-shadow);
}
#difgc-diftour .pricing-ribbon {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: var(--navy);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 20px;
}

#difgc-diftour .btn-gold {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold-light));
  color: var(--navy) !important;
  font-weight: 800;
  border-radius: 50px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  box-shadow: 0 4px 24px rgba(212, 168, 67, 0.3);
}
#difgc-diftour .btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px rgba(212, 168, 67, 0.5);
  filter: brightness(1.08);
}
#difgc-diftour .btn-gold:active {
  transform: translateY(0) scale(0.98);
}

/* Hero 次按钮：与 .btn-gold 同字色、字重、字号（navy + 800 + text-lg） */
#difgc-diftour a.difgc-hero-secondary-cta {
  color: var(--navy) !important;
  font-weight: 800;
  font-size: 1.125rem;
  line-height: 1.75rem;
  text-decoration: none !important;
  border-radius: 50px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
#difgc-diftour a.difgc-hero-secondary-cta:hover,
#difgc-diftour a.difgc-hero-secondary-cta:focus-visible {
  color: var(--navy) !important;
  border-color: var(--gold) !important;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(212, 168, 67, 0.25);
}
#difgc-diftour a.difgc-hero-secondary-cta:active {
  transform: translateY(0) scale(0.98);
}

#difgc-diftour .section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 12px;
  border-radius: 2px;
}
#difgc-diftour .section-title.center::after {
  margin-left: auto;
  margin-right: auto;
}

@keyframes difgcTourMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
#difgc-diftour .marquee-track {
  animation: difgcTourMarquee 30s linear infinite;
}

#difgc-diftour footer {
  background: transparent !important;
  border-top: 1px solid rgba(212, 168, 67, 0.25);
}

/* Register 区联系卡片：深色半透明 → 白底 + 阴影 */
#difgc-diftour #register div.rounded-2xl.border.p-6.text-left {
  background: var(--card-bg) !important;
  border-color: var(--card-border) !important;
  box-shadow: var(--card-shadow);
}

@media (prefers-reduced-motion: reduce) {
  #difgc-diftour .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #difgc-diftour .card-highlight:hover {
    transform: none;
  }
  #difgc-diftour .btn-gold:hover {
    transform: none;
  }
  #difgc-diftour a.difgc-hero-secondary-cta:hover,
  #difgc-diftour a.difgc-hero-secondary-cta:active {
    transform: none;
  }
  #difgc-diftour .marquee-track {
    animation: none !important;
  }
}

/* Elementor：标题字号兜底 */
#difgc-diftour h1.hero-title,
#difgc-diftour .hero-title {
  font-size: clamp(2rem, 5.5vw, 3.75rem) !important;
  line-height: 1.1 !important;
  font-weight: 900 !important;
}
#difgc-diftour h2.section-title {
  font-size: clamp(1.25rem, 3vw, 1.85rem) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}
#difgc-diftour #register h2 {
  font-size: clamp(1.35rem, 3.5vw, 2.25rem) !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}
#difgc-diftour .card-highlight h3 {
  font-size: clamp(1rem, 2vw, 1.125rem) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}
#difgc-diftour footer .text-2xl.font-black {
  font-family: "Montserrat", "Noto Sans SC", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
  line-height: 1.2 !important;
}
