/* ==========================================================================
   TRANSPARENT ULTRA-LUXURY HERO VIDEO SLIDER
   Dr. Dhannur's Sangameshwar Multispeciality Hospital
   Editorial Luxury Medical Typography & Cinematic Animation Engine
   ========================================================================== */

:root {
  --lux-emerald: #1fa849;
  --lux-emerald-deep: #136a2e;
  --lux-emerald-glow: rgba(31, 168, 73, 0.28);
  --lux-gold: #e5b358;
  --lux-gold-light: #f7d58b;
  --lux-gold-glow: rgba(229, 179, 88, 0.22);
  --lux-font-display: 'Plus Jakarta Sans', 'Outfit', -apple-system, sans-serif;
  --lux-font-serif: 'Playfair Display', Georgia, serif;
  --lux-font-body: 'Inter', -apple-system, sans-serif;
}

/* Base Hero Canvas */
.cinema-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  min-height: 680px;
  background-color: #02080c;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
  z-index: 1;
  /* Generous top clearance ensuring zero collision with absolute header */
  padding-top: 230px;
  padding-bottom: 90px;
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  .cinema-hero {
    padding-top: 250px;
    padding-bottom: 110px;
    min-height: 740px;
  }
}

@media (max-width: 1199px) {
  .cinema-hero {
    padding-top: 190px;
    padding-bottom: 85px;
    min-height: 660px;
  }
}

@media (max-width: 991px) {
  .cinema-hero {
    height: auto;
    min-height: 650px;
    padding-top: 80px;
    padding-bottom: 75px;
  }
}

@media (max-width: 575px) {
  .cinema-hero {
    min-height: 590px;
    padding-top: 55px;
    padding-bottom: 65px;
  }
}

/* Background Video Stage */
.cinema-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.cinema-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  z-index: 1;
}

.cinema-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

.cinema-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background-color: #010609;
}

.cinema-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%) scale(1.03);
  object-fit: cover;
  transition: transform 9s cubic-bezier(0.2, 1, 0.4, 1);
}

.cinema-slide.active .cinema-video {
  transform: translate(-50%, -50%) scale(1);
}

/* Transparent Crystal Vignette Overlay */
.cinema-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: 
    linear-gradient(90deg, rgba(2, 8, 12, 0.88) 0%, rgba(2, 9, 14, 0.6) 45%, rgba(2, 8, 12, 0.28) 100%),
    linear-gradient(180deg, rgba(1, 5, 8, 0.78) 0%, transparent 20%, transparent 68%, rgba(1, 5, 8, 0.92) 100%),
    radial-gradient(circle at 18% 45%, rgba(31, 168, 73, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .cinema-overlay {
    background: 
      linear-gradient(180deg, rgba(2, 8, 12, 0.65) 0%, rgba(2, 8, 12, 0.78) 45%, rgba(1, 5, 8, 0.94) 100%),
      radial-gradient(circle at 50% 30%, rgba(31, 168, 73, 0.15) 0%, transparent 65%);
  }
}

/* Hero Content Area */
.cinema-container {
  position: relative;
  z-index: 5;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 1200px) {
  .cinema-container {
    padding-left: 30px;
  }
}

.cinema-content-wrapper {
  max-width: 700px;
}

/* ==========================================================================
   CINEMATIC TEXT ANIMATIONS (SILKY SMOOTH LUXURY ENTRANCE)
   ========================================================================== */

.cinema-slide .cinema-kicker {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-slide .cinema-title {
  opacity: 0;
  transform: translateY(22px) scale(0.99);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-slide .cinema-desc {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinema-slide .cinema-actions-row {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active Stagger Transitions */
.cinema-slide.active .cinema-kicker {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
}

.cinema-slide.active .cinema-title {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.28s;
  animation: luxuryTitleGlow 4s ease-in-out infinite alternate;
}

.cinema-slide.active .cinema-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.42s;
}

.cinema-slide.active .cinema-actions-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.56s;
}

@keyframes luxuryTitleGlow {
  0% { text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7); }
  100% { text-shadow: 0 2px 22px rgba(31, 168, 73, 0.3), 0 2px 12px rgba(0, 0, 0, 0.8); }
}

/* Pre-title Kicker (Refined Micro-Pill) */
.cinema-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--lux-font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--lux-gold-light);
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: 30px;
  background: rgba(229, 179, 88, 0.08);
  border: 1px solid rgba(229, 179, 88, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.cinema-kicker-emerald {
  color: #71ff8c;
  background: rgba(31, 168, 73, 0.1);
  border-color: rgba(31, 168, 73, 0.3);
}

.cinema-kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #39e75f;
  box-shadow: 0 0 8px #39e75f;
  animation: luxPulse 2s infinite;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes luxPulse {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; box-shadow: 0 0 10px #39e75f; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* Ultra-Premium Headline - Smaller, Proportional & Majestic */
.cinema-title {
  font-family: var(--lux-font-display);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.018em;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}

.cinema-title-italic {
  font-family: var(--lux-font-serif);
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #ffffff 0%, #e0f6e9 40%, var(--lux-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

@media (min-width: 1400px) {
  .cinema-title {
    font-size: 40px;
    line-height: 1.18;
  }
}

@media (max-width: 1199px) {
  .cinema-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .cinema-title {
    font-size: 24px;
    line-height: 1.26;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .cinema-title {
    font-size: 21px;
    line-height: 1.28;
  }
}

/* Subtitle / Description */
.cinema-desc {
  font-family: var(--lux-font-body);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.62;
  color: #c9d8e4;
  max-width: 580px;
  margin-bottom: 24px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

@media (max-width: 768px) {
  .cinema-desc {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 18px;
    color: #bcd0e0;
  }
}

/* Action Buttons - Scaled & High-Prestige */
.cinema-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cinema-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  background: linear-gradient(135deg, #1fa849 0%, #12632b 100%);
  color: #ffffff !important;
  font-family: var(--lux-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px var(--lux-emerald-glow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  cursor: pointer;
}

.cinema-btn-primary:hover {
  background: linear-gradient(135deg, #26bd53 0%, #167734 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 168, 73, 0.45);
  color: #ffffff !important;
}

.cinema-btn-gold {
  background: linear-gradient(135deg, #d49f3d 0%, #a6741b 100%);
  box-shadow: 0 6px 18px var(--lux-gold-glow);
}

.cinema-btn-gold:hover {
  background: linear-gradient(135deg, #e5b04c 0%, #bc8623 100%);
  box-shadow: 0 8px 24px rgba(229, 179, 88, 0.4);
}

.cinema-btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-family: var(--lux-font-display);
  font-size: 14px;
  font-weight: 600;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cinema-btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  color: #ffffff !important;
}

.cinema-hotline-glass {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(4, 15, 22, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 40px;
  color: #ffffff !important;
  font-family: var(--lux-font-display);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  text-decoration: none;
}

.cinema-hotline-glass:hover {
  background: rgba(31, 168, 73, 0.2);
  border-color: rgba(31, 168, 73, 0.5);
  color: #ffffff !important;
}

@media (max-width: 575px) {
  .cinema-actions-row {
    gap: 8px;
  }
  .cinema-btn-primary,
  .cinema-btn-glass {
    flex: 1;
    min-width: 130px;
    padding: 9px 14px;
    font-size: 13px;
    text-align: center;
  }
  .cinema-hotline-glass {
    width: 100%;
    justify-content: center;
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* Minimalist Timeline Slide Indicator */
.cinema-timeline-wrapper {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(2, 9, 14, 0.72);
  padding: 5px 14px;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .cinema-timeline-wrapper {
    bottom: 15px;
    padding: 4px 10px;
    gap: 6px;
  }
}

.cinema-timeline-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-family: var(--lux-font-display);
  text-align: left;
}

.cinema-timeline-tab.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.cinema-tab-num {
  font-weight: 800;
  font-size: 11.5px;
  color: var(--lux-gold-light);
}

.cinema-tab-info {
  display: flex;
  flex-direction: column;
}

.cinema-tab-title {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
}

.cinema-tab-progress-track {
  width: 65px;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  margin-top: 3px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 575px) {
  .cinema-tab-progress-track {
    width: 35px;
  }
  .cinema-tab-title {
    font-size: 10px;
  }
}

.cinema-tab-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #1fa849, var(--lux-gold));
  border-radius: 3px;
}

.cinema-timeline-tab.active .cinema-tab-progress-fill {
  width: 100%;
}

/* Arrow Navigation Buttons */
.cinema-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10.5px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cinema-nav-btn:hover {
  background: #1fa849;
  border-color: #1fa849;
  color: #ffffff;
}

/* Floating Audio / Playback Controls */
.cinema-media-controls {
  position: absolute;
  top: 155px;
  right: 25px;
  z-index: 15;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 991px) {
  .cinema-media-controls {
    top: 15px;
    right: 15px;
    flex-direction: row;
  }
}

.cinema-control-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(3, 12, 18, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.cinema-control-btn:hover {
  background: rgba(31, 168, 73, 0.85);
  border-color: #1fa849;
}

/* Bottom Scroll Down Indicator */
.cinema-scroll-indicator {
  position: absolute;
  right: 25px;
  bottom: 28px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--lux-font-display);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
}

@media (max-width: 991px) {
  .cinema-scroll-indicator {
    display: none;
  }
}

.cinema-scroll-indicator:hover {
  color: var(--lux-gold-light);
}

.cinema-scroll-mouse {
  width: 16px;
  height: 26px;
  border-radius: 9px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  position: relative;
}

.cinema-scroll-mouse::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5px;
  height: 3.5px;
  background: var(--lux-gold-light);
  border-radius: 2px;
  animation: luxScrollBounce 2s infinite;
}

@keyframes luxScrollBounce {
  0% { top: 4px; opacity: 1; }
  80% { top: 12px; opacity: 0; }
  100% { top: 4px; opacity: 0; }
}
