/* ==========================================================================
   HOMEPAGE STYLES — MODERN INDIAN ROYAL LUXURY
   Cinematic Taj Mahal Hero, Editorial Video Compositions, Pinned Stories & "FOUR DIRECTIONS. ONE INDIA."
   ========================================================================== */

/* --- Hero Section with Whole-India Cinematic Video Background --- */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

/* Subtle Cinematic Contrast Overlay (preserves video beauty while ensuring text readability) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 17, 22, 0.28) 0%, rgba(14, 17, 22, 0.65) 100%),
              linear-gradient(to top, rgba(14, 17, 22, 0.82) 0%, rgba(14, 17, 22, 0.15) 50%, rgba(14, 17, 22, 0.45) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1020px;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.hero-badge .pill-badge {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(226, 192, 104, 0.55);
  color: #FFFFFF;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  padding: 0.4rem 1.1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-title {
  font-family: var(--font-serif-royal);
  font-size: clamp(2.5rem, 6.2vw, 5.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-bottom: 1.35rem;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.6);
}

.hero-title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(30px) rotateX(-30deg);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 300;
  color: #F1F5F9;
  line-height: 1.7;
  max-width: 780px;
  margin-bottom: 2.35rem;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.scroll-line {
  width: 1.5px;
  height: 34px;
  background: linear-gradient(to bottom, var(--color-gold), transparent);
  animation: scrollDown 2.2s infinite ease-in-out;
}

@keyframes scrollDown {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   EDITORIAL DESTINATION VIDEOS SECTION (LIGHT ROYAL LUXURY)
   Large Editorial Video Compositions with Thin Champagne-Gold Borders & Hover GSAP
   ========================================================================== */
.featured-videos-section {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: clamp(5rem, 8vw, 8rem) 0;
  position: relative;
}

.featured-videos-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 4rem;
}

.featured-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

/* Luxury Editorial Video Card Presentation */
.royal-video-card {
  position: relative;
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-luxury), border-color 0.35s ease, box-shadow 0.45s var(--ease-luxury);
  display: flex;
  flex-direction: column;
}

.royal-video-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 5;
}

.royal-video-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-luxury);
}

.royal-video-card:hover::before {
  opacity: 1;
}

.video-container {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background-color: #0E1116;
}

.card-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-luxury);
}

.royal-video-card:hover .card-video {
  transform: scale(1.07);
}

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 17, 22, 0.45) 0%, rgba(14, 17, 22, 0.05) 45%, rgba(14, 17, 22, 0.72) 100%);
  pointer-events: none;
}

.video-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.88);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 192, 104, 0.65);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  opacity: 0.9;
  transition: all 0.35s var(--ease-luxury);
  pointer-events: none;
}

.video-play-indicator svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  margin-left: 2px;
}

.royal-video-card:hover .video-play-indicator {
  transform: translate(-50%, -50%) scale(1.08);
  opacity: 1;
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.card-badges-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 3;
}

.card-badges-top .pill-badge {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.card-body-content {
  padding: 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: var(--color-surface);
}

.card-dest-region {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--color-gold-dark);
  margin-bottom: 0.3rem;
  display: block;
}

.card-dest-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.2;
  transition: transform 0.35s var(--ease-luxury), color 0.3s ease;
}

.royal-video-card:hover .card-dest-title {
  transform: translateY(-2px);
  color: var(--color-gold-dark);
}

.card-dest-tagline {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  margin-top: 0.4rem;
  line-height: 1.55;
}

.card-dest-action {
  margin-top: 1.35rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--color-gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
}

.card-dest-action::after {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-luxury);
}

.royal-video-card:hover .card-dest-action::after {
  transform: scaleX(1);
}

.card-dest-action svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform 0.25s var(--ease-luxury);
}

.royal-video-card:hover .card-dest-action svg {
  transform: translateX(4px);
}

/* ==========================================================================
   PINNED GSAP HORIZONTAL STORYTELLING (LIGHT ROYAL LUXURY)
   "ONE COUNTRY. A THOUSAND STORIES."
   ========================================================================== */
.stories-pin-container {
  position: relative;
  width: 100%;
  background-color: var(--color-bg-champagne);
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.stories-intro-header {
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  padding-bottom: 0.85rem;
}

.stories-intro-header .heading-sub {
  margin-bottom: 0.35rem;
}

.stories-intro-header .heading-section {
  font-size: clamp(1.65rem, 2.8vw, 2.4rem);
  line-height: 1.15;
}

.stories-intro-header .lead-text {
  margin-top: 0.3rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.stories-horizontal-track {
  display: flex;
  flex-wrap: nowrap;
  width: 800vw; /* 8 chapters */
  height: clamp(380px, 52vh, 460px);
  min-height: 380px;
}

.story-panel {
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem clamp(1rem, 3.5vw, 3rem);
  position: relative;
  flex-shrink: 0;
}

.story-card-inner {
  width: 100%;
  max-width: 1180px;
  height: 100%;
  max-height: 440px;
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  position: relative;
  box-shadow: var(--shadow-luxury);
}

.story-media-side {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.story-media-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-luxury);
}

.story-card-inner:hover .story-media-side img {
  transform: scale(1.05);
}

.story-media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
}

.story-content-side {
  padding: clamp(1.25rem, 2.2vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-surface);
}

.story-index {
  font-family: var(--font-serif-royal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-gold-dark);
  margin-bottom: 0.25rem;
}

.story-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.story-description {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.story-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.story-highlights .pill-badge {
  padding: 0.25rem 0.65rem;
  font-size: 0.72rem;
}

/* ==========================================================================
   "FOUR DIRECTIONS. ONE INDIA."
   Interactive Regional Exploration (North, South, East, West) with Video Previews
   ========================================================================== */
.four-directions-section {
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: clamp(5rem, 8vw, 8rem) 0;
  position: relative;
}

.directions-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3.5rem;
}

.directions-tabs-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.direction-tab-btn {
  padding: 0.85rem 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.direction-tab-btn:hover {
  color: var(--color-gold-dark);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.direction-tab-btn.active {
  background: linear-gradient(135deg, #C59B27 0%, #D8B44A 50%, #B8860B 100%);
  color: #FFFFFF;
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.direction-display-card {
  background-color: var(--color-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  box-shadow: var(--shadow-luxury);
  min-height: 500px;
}

.direction-media-wrap {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background-color: #0E1116;
}

.direction-media-wrap video,
.direction-media-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-luxury);
}

.direction-display-card:hover .direction-media-wrap video,
.direction-display-card:hover .direction-media-wrap img {
  transform: scale(1.04);
}

.direction-media-badge {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  z-index: 3;
}

.direction-info-wrap {
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--color-surface);
}

.direction-theme-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gold-dark);
  margin-bottom: 0.75rem;
}

.direction-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.5vw, 2.85rem);
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.direction-blurb {
  font-size: 1.02rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.direction-key-places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.25rem;
}

/* --- Cultural Immersion Callout Strip (Light Royal Theme) --- */
.cultural-callout-strip {
  background: linear-gradient(135deg, rgba(197, 155, 39, 0.08) 0%, rgba(12, 59, 46, 0.06) 100%);
  border-top: 1px solid var(--color-gold-border);
  border-bottom: 1px solid var(--color-gold-border);
  padding: clamp(4.5rem, 6vw, 6rem) 0;
  text-align: center;
}

.callout-sanskrit {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  font-style: italic;
  color: var(--color-text-primary);
  margin-bottom: 0.5rem;
}

.callout-translation {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  font-weight: 700;
}

/* --- Responsive Rules for Homepage --- */
@media (max-width: 992px) {
  .featured-videos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stories-intro-header {
    padding-top: 1.75rem;
    padding-bottom: 0.75rem;
  }

  .story-card-inner {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .story-media-side {
    height: 200px;
  }

  .story-content-side {
    padding: 1.15rem;
  }

  .story-title {
    font-size: 1.45rem;
    margin-bottom: 0.4rem;
  }

  .story-description {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .story-highlights {
    margin-bottom: 0.85rem;
  }

  .stories-horizontal-track {
    height: auto;
  }

  .direction-display-card {
    grid-template-columns: 1fr;
  }

  .direction-media-wrap {
    min-height: 280px;
  }
}

@media (max-width: 576px) {
  .featured-videos-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .stories-intro-header {
    padding-top: 1.35rem;
    padding-bottom: 0.5rem;
  }

  .story-panel {
    padding: 0.5rem 0.65rem;
  }

  .story-media-side {
    height: 160px;
  }

  .story-content-side {
    padding: 1rem 0.85rem;
  }

  .story-title {
    font-size: 1.3rem;
  }

  .story-description {
    font-size: 0.82rem;
    margin-bottom: 0.65rem;
  }
}


/* ==========================================================================
   ENHANCED HOMEPAGE RESPONSIVE SUITE (320px to 2560px)
   ========================================================================== */

@media (max-width: 1200px) {
  .featured-videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: clamp(560px, 85vh, 760px);
    height: 100dvh;
  }

  .hero-title {
    font-size: clamp(2rem, 5.5vw, 3.25rem);
  }

  .hero-subtitle {
    font-size: clamp(0.92rem, 2vw, 1.1rem);
    margin-bottom: 1.85rem;
  }

  .direction-display-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .direction-media-wrap {
    min-height: 280px;
    height: clamp(240px, 45vw, 360px);
  }

  .direction-info-wrap {
    padding: clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 640px) {
  .hero-section {
    min-height: clamp(480px, 85vh, 660px);
    height: 100dvh;
  }

  .hero-content {
    padding: 0 1.15rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.8vw, 2.75rem);
    line-height: 1.12;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: clamp(0.88rem, 3.2vw, 1.05rem);
    line-height: 1.6;
    margin-bottom: 1.75rem;
  }

  .hero-badge {
    margin-bottom: 0.85rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .featured-videos-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .video-container {
    height: 220px;
  }

  .directions-tabs-nav {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
    padding-bottom: 6px;
    margin-bottom: 1.75rem;
  }

  .directions-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .direction-tab-btn {
    padding: 0.65rem 1.15rem;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 44px;
  }

  .direction-key-places {
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .direction-display-card {
    border-radius: var(--radius-md);
  }

  .direction-media-wrap {
    height: 240px;
  }

  .direction-info-wrap {
    padding: 1.35rem 1.15rem;
  }

  .direction-title {
    font-size: 1.65rem;
  }
}

@media (max-width: 390px) {
  .hero-title {
    font-size: 1.7rem;
    letter-spacing: 0.02em;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .direction-tab-btn {
    padding: 0.5rem 0.85rem;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .story-title {
    font-size: 1.2rem;
  }

  .story-description {
    font-size: 0.8rem;
  }

  .card-dest-title {
    font-size: 1.35rem;
  }
}
