/* ── Luxury Rail Journeys ─────────────────────────────────────────────────────
   Uses the site's existing design tokens — red accent (#c74242) as the primary
   luxury-rail accent, gold (--gold/--gold-dark) as the secondary highlight.
   Fonts: Cormorant Garamond (headings) + DM Sans (body) — same as every other
   page; no custom font overrides in this file.
   ─────────────────────────────────────────────────────────────────────────── */

:root {
  --lux-red: #c74242;
  --lux-red-dark: #9c2f2f;
  --lux-red-tint: rgba(199,66,66,0.1);
}

/* ── HERO BACKGROUND SLIDER ───────────────────────────────────────────────── */
.lux-hero-slider {
  position: absolute;
  inset: 0;
}

.lux-hero-slide {
  opacity: 0;
  transition: opacity 1.6s ease;
  z-index: 0;
}

.lux-hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  animation: luxHeroKenBurns 9s ease-out both;
}

@keyframes luxHeroKenBurns {
  from { transform: translate(-50%, -50%) scale(1.08); }
  to   { transform: translate(-50%, -50%) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .lux-hero-slide.is-active { animation: none; }
}

/* ── HUB PAGE: TRAIN CARDS ────────────────────────────────────────────────── */
.lux-hub-outer {
  padding: 90px 48px 110px;
  background: linear-gradient(180deg, #faf7f2 0%, #ffffff 60%, #f6f0ea 100%);
}

.lux-hub-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

.lux-train-card {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  background: #101014;
  text-decoration: none;
  aspect-ratio: 3 / 4;
  box-shadow: 0 16px 40px rgba(20,10,10,0.16);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
}

.lux-train-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 64px rgba(20,10,10,0.28);
}

.lux-train-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.8,.2,1);
}

.lux-train-card:hover img {
  transform: scale(1.08);
}

.lux-train-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,8,8,0.05) 0%, rgba(10,8,8,0.35) 55%, rgba(10,8,8,0.92) 100%);
}

.lux-train-card-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.lux-train-card-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lux-red);
}

.lux-train-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 26px 32px;
  color: #fff;
}

.lux-train-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 10px;
  transform: translateY(0);
}

.lux-train-card-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.8);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .4s ease, margin .45s ease;
}

.lux-train-card:hover .lux-train-card-desc {
  max-height: 120px;
  opacity: 1;
  margin-bottom: 16px;
}

.lux-train-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #f2b8b8;
  text-transform: uppercase;
}

.lux-train-card-cta svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  transition: transform .3s ease;
}

.lux-train-card:hover .lux-train-card-cta svg {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .lux-hub-grid { grid-template-columns: 1fr; max-width: 480px; }
  .lux-train-card { aspect-ratio: 4 / 5; }
}

/* ── DETAIL PAGE: QUICK FACTS STRIP ──────────────────────────────────────── */
.lux-facts-strip {
  background: #100b0b;
  padding: 0;
}

.lux-facts-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.lux-fact {
  padding: 30px 32px;
  border-right: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}

.lux-fact:last-child { border-right: none; }

.lux-fact-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--lux-red);
  margin-bottom: 8px;
}

.lux-fact-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  color: #f7f3ee;
}

@media (max-width: 720px) {
  .lux-fact { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
}

/* ── ABOUT SECTION ────────────────────────────────────────────────────────── */
.lux-about-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 48px;
}

.lux-about-wrap {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.lux-about-image {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 24px 54px rgba(20,10,10,0.16);
}

.lux-about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}

.lux-about-image:hover img { transform: scale(1.05); }

.lux-about-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lux-red);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lux-about-eyebrow::before {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--lux-red);
}

.lux-about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 20px;
}

.lux-about-body p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--muted);
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .lux-about-wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* ── WHY CHOOSE — ICON CARDS ──────────────────────────────────────────────── */
.lux-why-section {
  background: linear-gradient(180deg, #fbf7f2 0%, #f4ece4 100%);
  padding: 100px 48px;
}

.lux-why-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.lux-why-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.lux-why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 36px 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.lux-why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(20,10,10,0.1);
  border-color: rgba(199,66,66,0.3);
}

.lux-why-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--lux-red-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.lux-why-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--lux-red);
  stroke-width: 1.8;
}

.lux-why-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.lux-why-card-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 900px) {
  .lux-why-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .lux-why-grid { grid-template-columns: 1fr; }
}

/* ── ITINERARY CARDS ──────────────────────────────────────────────────────── */
.lux-itin-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 100px 48px;
}

.lux-itin-grid {
  display: grid;
  gap: 32px;
  margin-top: 52px;
}

.lux-itin-grid[data-count="1"] { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.lux-itin-grid[data-count="2"] { grid-template-columns: repeat(2, 1fr); }
.lux-itin-grid[data-count="4"] { grid-template-columns: repeat(2, 1fr); }

.lux-itin-card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(20,10,10,0.06);
  transition: transform .35s ease, box-shadow .35s ease;
}

.lux-itin-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 54px rgba(20,10,10,0.14);
}

.lux-itin-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.lux-itin-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.lux-itin-card:hover .lux-itin-img img { transform: scale(1.07); }

.lux-itin-duration {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(16,11,11,0.75);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
}

.lux-itin-body { padding: 28px 28px 30px; }

.lux-itin-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 25px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.lux-itin-desc {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 16px;
}

.lux-itin-route {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lux-red-dark);
  letter-spacing: 0.2px;
  margin-bottom: 20px;
  line-height: 1.6;
}

.lux-itin-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1.5px solid var(--lux-red);
  padding-bottom: 2px;
  transition: color .2s ease, gap .2s ease;
}

.lux-itin-link:hover { color: var(--lux-red); gap: 11px; }
.lux-itin-link svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.4; }

@media (max-width: 900px) {
  .lux-itin-grid[data-count="2"],
  .lux-itin-grid[data-count="4"] { grid-template-columns: 1fr; }
}

/* ── LIFE ONBOARD ─────────────────────────────────────────────────────────── */
.lux-onboard-section {
  background: #100b0b;
  padding: 100px 48px;
  color: #f7f3ee;
}

.lux-onboard-wrap {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.lux-onboard-gallery {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  height: 460px;
}

.lux-onboard-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform .6s ease;
}

.lux-onboard-gallery img:hover { transform: scale(1.04); }

.lux-onboard-gallery a:first-child { grid-row: 1 / 3; }
.lux-onboard-gallery a { display: block; overflow: hidden; border-radius: 16px; }

.lux-onboard-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--lux-red);
  margin-bottom: 12px;
}

.lux-onboard-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  margin-bottom: 32px;
  color: #fff;
}

.lux-onboard-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lux-onboard-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  color: rgba(247,243,238,0.85);
  line-height: 1.5;
}

.lux-onboard-list svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--lux-red);
  stroke-width: 2.4;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 980px) {
  .lux-onboard-wrap { grid-template-columns: 1fr; gap: 40px; }
  .lux-onboard-gallery { height: 360px; order: 2; }
}
@media (max-width: 560px) {
  .lux-onboard-list { grid-template-columns: 1fr; }
}

/* ── INCLUDED ─────────────────────────────────────────────────────────────── */
.lux-included-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 100px 48px;
  text-align: center;
}

.lux-included-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 32px;
  text-align: left;
}

.lux-included-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
}

.lux-included-list svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--lux-red);
  stroke-width: 2.6;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 640px) {
  .lux-included-list { grid-template-columns: 1fr; }
}

/* ── WHY BOOK WITH OFFSITE INDIA ──────────────────────────────────────────── */
.lux-book-section {
  background: linear-gradient(120deg, #2b0f0f 0%, #170a0a 55%, #0f0b0b 100%);
  padding: 100px 48px;
  color: #f7f3ee;
  position: relative;
  overflow: hidden;
}

.lux-book-section::before {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(199,66,66,0.35), rgba(199,66,66,0));
  filter: blur(2px);
}

.lux-book-wrap {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lux-book-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #f2a8a8;
  margin-bottom: 14px;
}

.lux-book-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.lux-book-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: rgba(247,243,238,0.75);
}

.lux-book-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.lux-book-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
  color: #fff;
  padding: 14px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
}

.lux-book-list svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: var(--lux-red);
  stroke-width: 2.6;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .lux-book-wrap { grid-template-columns: 1fr; gap: 36px; }
}

/* ── GALLERY (Belmond-style masonry + lightbox) ──────────────────────────── */
.lux-gallery-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 48px;
}

.lux-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-top: 52px;
}

.lux-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
}

.lux-gallery-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
.lux-gallery-item:nth-child(6n+4) { grid-column: span 2; }

/* The lightbox trigger is an <a> — force it to fill the whole tile so the
   entire image is clickable, not just whatever an inline anchor happens to
   wrap. */
.lux-gallery-item .lux-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
}

.lux-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.lux-gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,11,11,0) 55%, rgba(16,11,11,0.55) 100%);
  opacity: 0;
  transition: opacity .3s ease;
  /* Purely decorative — must not steal clicks meant for the .lux-lightbox-trigger link underneath. */
  pointer-events: none;
}

.lux-gallery-item:hover img { transform: scale(1.1); }
.lux-gallery-item:hover::after { opacity: 1; }

.lux-gallery-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.7);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}

.lux-gallery-item:hover .lux-gallery-zoom { opacity: 1; transform: scale(1); }
.lux-gallery-zoom svg { width: 15px; height: 15px; fill: none; stroke: #170a0a; stroke-width: 2.4; }

@media (max-width: 980px) {
  .lux-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .lux-gallery-item:nth-child(6n+1) { grid-column: span 2; grid-row: span 2; }
  .lux-gallery-item:nth-child(6n+4) { grid-column: span 1; }
}
@media (max-width: 560px) {
  .lux-gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .lux-gallery-item:nth-child(6n+1), .lux-gallery-item:nth-child(6n+4) { grid-column: span 1; grid-row: span 1; }
}

/* Lightbox */
.lux-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(8,5,5,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  transition: opacity .3s ease;
}

.lux-lightbox.is-open { display: flex; opacity: 1; }

.lux-lightbox img {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  animation: luxLightboxIn .35s ease both;
}

@keyframes luxLightboxIn {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: scale(1); }
}

.lux-lightbox-close,
.lux-lightbox-prev,
.lux-lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.lux-lightbox-close:hover,
.lux-lightbox-prev:hover,
.lux-lightbox-next:hover { background: var(--lux-red); border-color: var(--lux-red); }

.lux-lightbox-close { top: 24px; right: 24px; }
.lux-lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lux-lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lux-lightbox-close svg, .lux-lightbox-prev svg, .lux-lightbox-next svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

@media (max-width: 640px) {
  .lux-lightbox { padding: 16px; }
  .lux-lightbox-prev, .lux-lightbox-next { width: 38px; height: 38px; }
  .lux-lightbox-prev { left: 10px; }
  .lux-lightbox-next { right: 10px; }
  .lux-lightbox-close { top: 10px; right: 10px; }
}

/* ── SECTION HEAD (shared centered heading pattern) ──────────────────────── */
.lux-section-head {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.lux-section-head .lux-about-eyebrow { justify-content: center; }
.lux-section-head .lux-about-eyebrow::before { display: none; }

.lux-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 3.6vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.15;
}

.lux-section-sub {
  font-size: 16px;
  line-height: 1.75;
  color: var(--muted);
}

.lux-onboard-section .lux-section-title,
.lux-book-section .lux-section-title { color: #fff; }

/* ── FADE/REVEAL STAGGER HELPERS ──────────────────────────────────────────── */
.lux-why-card.reveal-section,
.lux-itin-card.reveal-section,
.lux-gallery-item.reveal-section {
  transition: opacity .6s ease, transform .6s ease, box-shadow .3s ease, border-color .3s ease;
}
