/* Wild Gaze – Premium Light-Mode Card System (global layer)
   Load after wg-luxury-boxes.css */

:root {
  --wg-premium-bg: rgba(255, 255, 255, 0.92);
  --wg-premium-bg-solid: #f8fafc;
  --wg-premium-border: rgba(226, 232, 240, 0.95);
  --wg-premium-border-hover: #bfa15f;
  --wg-premium-shadow: 0 10px 30px rgba(191, 161, 95, 0.04), 0 1px 4px rgba(0, 0, 0, 0.02);
  --wg-premium-shadow-hover: 0 18px 40px rgba(191, 161, 95, 0.1), 0 4px 12px rgba(0, 0, 0, 0.04);
  --wg-premium-radius: 16px;
  --wg-premium-radius-lg: 16px;
  --wg-premium-text: #1e293b;
  --wg-premium-text-muted: #475569;
  --wg-premium-accent: #bfa15f;
  --wg-premium-font: var(--font-body, 'Montserrat', 'Inter', system-ui, sans-serif);
  --wg-premium-display: var(--font-display, 'Cinzel', serif);
  --wg-premium-transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* ── Shared premium card shell ─────────────────────────────── */
.wg-cj-card,
.wg-pop-itin-card,
.wg-pop-type,
.wg-pop-detail-panel,
.wg-tz-card,
.wg-tzh-card,
.wg-shortcut-card,
.wg-dest-exp,
.wg-itin-inc-item,
.wg-itin-step,
.wg-route-link,
.wg-itin-info-card,
.wg-cultural-info-card,
[class*="-white-card"]:not(.wg-tzh-intro [class*="-white-card"]),
.wg-book-form-card,
.wg-book-side-card {
  position: relative;
  overflow: hidden;
  background: var(--wg-premium-bg-solid) !important;
  border: 1px solid var(--wg-premium-border) !important;
  border-radius: var(--wg-premium-radius) !important;
  box-shadow: var(--wg-premium-shadow) !important;
  clip-path: none !important;
  transition: all 0.4s ease !important;
}

/* Hover accent line (hidden until hover) */
.wg-cj-card::after,
.wg-tz-card::after,
.wg-tzh-card::after,
.wg-shortcut-card::after,
.wg-dest-exp::after,
.wg-itin-inc-item::after,
.wg-itin-step::after,
.wg-route-link::after,
.wg-itin-info-card::after,
.wg-book-form-card::after,
.wg-book-side-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--wg-premium-accent), #d4b87a, transparent);
  opacity: 0;
  transform: scaleX(0.6);
  transform-origin: left center;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 3;
  pointer-events: none;
}

.wg-cj-card:hover,
.wg-tz-card:hover,
.wg-tzh-card:hover,
.wg-shortcut-card:hover,
.wg-dest-exp:hover,
.wg-itin-inc-item:hover,
.wg-itin-step:hover,
.wg-route-link:hover,
.wg-itin-info-card:hover,
.wg-book-form-card:hover,
.wg-book-side-card:hover {
  transform: translateY(-5px) !important;
  border-color: var(--wg-premium-border-hover) !important;
  box-shadow: var(--wg-premium-shadow-hover) !important;
}

.wg-cj-card:hover::after,
.wg-tz-card:hover::after,
.wg-tzh-card:hover::after,
.wg-shortcut-card:hover::after,
.wg-dest-exp:hover::after,
.wg-itin-inc-item:hover::after,
.wg-itin-step:hover::after,
.wg-route-link:hover::after,
.wg-itin-info-card:hover::after,
.wg-book-form-card:hover::after,
.wg-book-side-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Carousel cards use .wg-sr scroll reveal – do not force visible */
.wg-cj-card:not(.wg-sr),
.wg-pop-itin-card:not(.wg-sr) {
  opacity: 1;
}

/* ── Typography & hierarchy ────────────────────────────────── */
.wg-cj-desc,
.wg-pop-itin-desc,
.wg-tz-desc,
.wg-tzh-desc,
.wg-shortcut-text,
.wg-dest-exp span,
.wg-itin-day-text,
.wg-itin-text p,
.wg-itin-step-text,
.wg-itin-inc-item,
.wg-pop-detail-desc,
.wg-cj-features li {
  color: var(--wg-premium-text-muted) !important;
  line-height: 1.6 !important;
  font-family: var(--wg-premium-font) !important;
}

.wg-cj-title,
.wg-pop-itin-name,
.wg-tz-card-title,
.wg-shortcut-title,
.wg-itin-day-title,
.wg-route-link-name {
  font-family: var(--wg-premium-font) !important;
  color: var(--wg-premium-text) !important;
  letter-spacing: 0.04em !important;
}

/* Numbered highlight index (01 // TITLE) */
.wg-dest-experiences {
  counter-reset: wg-highlight;
}

.wg-dest-exp strong {
  font-family: var(--wg-premium-font) !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--wg-premium-text) !important;
}

.wg-dest-exp strong::before {
  content: counter(wg-highlight, decimal-leading-zero) ' // ';
  counter-increment: wg-highlight;
  color: var(--wg-premium-accent);
  font-weight: 600;
}

.wg-cj-highlight,
.wg-pop-itin-label,
.wg-tz-highlight {
  font-family: var(--wg-premium-font) !important;
  font-size: 0.62rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #92680a !important;
}

.wg-cj-body,
.wg-pop-itin-body,
.wg-tz-body,
.wg-shortcut-body {
  background: var(--wg-premium-bg-solid) !important;
}

/* ── Carousel image overlays & badge contrast ──────────────── */
.wg-cj-img-wrap,
.wg-pop-itin-img,
.wg-tz-img-wrap {
  border-radius: 16px 16px 0 0;
  overflow: hidden;
}

.wg-cj-img-wrap img,
.wg-pop-itin-img img,
.wg-tz-img-wrap img {
  transition: transform 0.4s ease !important;
  filter: none !important;
}

.wg-cj-card:hover .wg-cj-img-wrap img,
.wg-pop-itin-card:hover .wg-pop-itin-img img,
.wg-tz-card:hover .wg-tz-img-wrap img {
  transform: scale(1.04) !important;
  filter: none !important;
}

/* Badges – high contrast on photos */
.wg-cj-badge,
.wg-tz-badge,
.wg-pop-itin-dur,
.wg-pop-itin-popular {
  border-radius: 6px !important;
  font-family: var(--wg-premium-font) !important;
  font-size: 0.58rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28) !important;
}

.wg-cj-badge.camping,
.wg-tz-badge.camping {
  background: rgba(15, 12, 6, 0.92) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.wg-cj-badge.lodge,
.wg-tz-badge.lodge {
  background: rgba(22, 48, 18, 0.94) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.wg-cj-badge.boat,
.wg-tz-badge.combined {
  background: rgba(12, 52, 88, 0.94) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.wg-cj-badge.popular,
.wg-pop-itin-popular {
  background: linear-gradient(135deg, #c45a10, #a83208) !important;
  color: #fff !important;
  border: none !important;
}

.wg-cj-dur,
.wg-tz-dur,
.wg-pop-itin-dur {
  background: rgba(15, 12, 6, 0.92) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.wg-cj-dur i,
.wg-tz-dur svg {
  color: var(--wg-premium-accent) !important;
  opacity: 1 !important;
}

/* Parks label – readable on warm gold wash */
.wg-cj-parks,
.wg-tz-parks {
  opacity: 1 !important;
  transform: none !important;
  color: #1a1408 !important;
  font-family: var(--wg-premium-font) !important;
  font-size: 0.65rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.85);
  z-index: 3 !important;
}

/* Broken / missing image fallback */
.wg-cj-img-wrap,
.wg-pop-itin-img,
.wg-tz-img-wrap {
  background: linear-gradient(145deg, #e8e0d0 0%, #d4cbb8 50%, #c4b9a4 100%) !important;
}

/* ── Explore Safari Types picker ───────────────────────────── */
.wg-pop-type {
  border-radius: var(--wg-premium-radius) !important;
  clip-path: none !important;
  background: var(--wg-premium-bg-solid) !important;
  border: 1px solid var(--wg-premium-border) !important;
  box-shadow: var(--wg-premium-shadow) !important;
}

.wg-pop-type.is-active {
  border-color: var(--wg-premium-border-hover) !important;
  background: linear-gradient(165deg, #fffdf6 0%, #f5edd8 100%) !important;
  box-shadow: var(--wg-premium-shadow-hover) !important;
}

.wg-pop-type-name {
  font-family: var(--wg-premium-font) !important;
  color: var(--wg-premium-text) !important;
}

.wg-pop-detail-panel {
  border-radius: var(--wg-premium-radius-lg) !important;
  clip-path: none !important;
  overflow: hidden;
}

.wg-pop-detail-text {
  background: var(--wg-premium-bg-solid) !important;
}

/* ── Destination sidebar – light card, no drop shadows ─────── */
.wg-dest-book {
  background: var(--wg-premium-bg-solid) !important;
  border: 1px solid var(--wg-premium-border) !important;
  border-radius: var(--wg-premium-radius-lg) !important;
  box-shadow: none !important;
  filter: none !important;
  padding: 28px 26px !important;
}

.wg-dest-book,
.wg-dest-book * {
  text-shadow: none !important;
}

.wg-dest-book::before {
  height: 3px !important;
  background: linear-gradient(90deg, var(--wg-premium-accent), #d4b87a, transparent) !important;
}

.wg-dest-book-label {
  color: #92680a !important;
  font-family: var(--wg-premium-font) !important;
}

.wg-dest-book-name {
  color: var(--wg-premium-text) !important;
  font-family: var(--wg-premium-display) !important;
}

.wg-dest-book-row .lbl {
  color: var(--wg-premium-text-muted) !important;
}

.wg-dest-book-row .val {
  color: var(--wg-premium-text) !important;
}

.wg-dest-book-row {
  border-bottom-color: rgba(191, 161, 95, 0.15) !important;
}

.wg-dest-book-btn {
  border-radius: 999px !important;
  font-family: var(--wg-premium-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  background: linear-gradient(135deg, #e8c84a 0%, #c9a02a 48%, #a88418 100%) !important;
  color: #1a1408 !important;
  box-shadow: none !important;
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.wg-dest-book-btn:hover {
  transform: translateY(-2px) !important;
  opacity: 0.92 !important;
  box-shadow: none !important;
}

.wg-dest-back {
  border-radius: var(--wg-premium-radius) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

/* ── Inclusion checklist cards ─────────────────────────────── */
.wg-itin-inc-item {
  padding: 16px 18px !important;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem !important;
}

.wg-itin-inc-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(191, 161, 95, 0.14);
  border-radius: 50%;
  color: #7a6010;
}

/* ── Carousel controls ───────────────────────────────────── */
.wg-cj-arrow,
.wg-pop-itin-arrow,
.wg-pop-itin-dot,
.wg-cj-dot {
  border-radius: 10px !important;
  clip-path: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .wg-cj-card,
  .wg-pop-itin-card,
  .wg-dest-exp,
  .wg-itin-inc-item,
  .wg-route-link,
  .wg-destinations .wg-card,
  .wg-accom-grid .wg-card {
    transition: none !important;
  }

  .wg-cj-card:hover,
  .wg-pop-itin-card:hover,
  .wg-dest-exp:hover,
  .wg-destinations .wg-card:hover,
  .wg-accom-grid .wg-card:hover {
    transform: none !important;
  }

  .wg-destinations .wg-card:hover .wg-img-wrap img,
  .wg-accom-grid .wg-card:hover .wg-img-wrap img,
  .wg-cj-card:hover .wg-cj-img-wrap img,
  .wg-pop-itin-card:hover .wg-pop-itin-img img {
    transform: none !important;
  }
}

/* Bottom 25% bridge – wg-image-overlays.css */
