/*
  Sondela Academy — TiOLi Mini-Site
  Custom styles (Tailwind handles most styling)
*/

/* Hero video overlay */
.hero-video-container {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-video-container video,
.hero-video-container iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.40) 50%,
    rgba(0, 0, 0, 0.65) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* Sticky CTA animation */
.sticky-cta {
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

/* FAQ accordion */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.open {
  max-height: 500px;
}

.faq-toggle svg {
  transition: transform 0.3s ease;
}

.faq-toggle.open svg {
  transform: rotate(180deg);
}

/* Mobile menu */
.mobile-menu {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Proof strip counter animation */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.proof-stat {
  animation: countUp 0.6s ease forwards;
}

/* Stream cards hover */
.stream-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stream-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Day timeline connector */
.timeline-dot::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: calc(100% + 2rem);
  background: #918E6F;
  transform: translateX(-50%);
}

.timeline-item:last-child .timeline-dot::before {
  display: none;
}

/* Video placeholder styling */
.video-placeholder {
  background: linear-gradient(135deg, #2D2A26 0%, #3D3A36 100%);
  aspect-ratio: 16 / 9;
}
