/* Banner Base Styles */
.video-banner {
  transition: all 0.6s ease-out;
}

.video-banner-row {
  transition: all 0.6s ease-out;
}

/* Play Button Styles */
.play-trigger {
  cursor: pointer;
}

.play-btn {
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 40px;
  color: #333;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(255,255,255,0.5);
}

.play-triangle {
  width: 0;
  height: 0;
  border-left: 25px solid #333;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 8px;
}

.play-text {
  color: white !important;
  margin-top: 20px;
  font-size: 18px;
}

.play-subtitle {
  color: white !important;
  margin-top: 10px;
  font-size: 16px;
  font-style: italic;
  opacity: 0.8;
}

/* Play Button Hover Effects */
.play-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 50px rgba(255,255,255,0.8);
}

/* Video Container Styles */
.video-container {
  display: none;
  opacity: 0;
  transform: scale(0.3) translateY(80px);
}

.video-wrapper {
  max-width: 900px;
  margin: 40px auto 20px auto;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(0,0,0,0.9);
  border-radius: 15px;
}

.video-close-btn {
  margin-top: 20px;
  background: rgba(255,255,255,0.2);
  border: 1px solid white;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

/* Video Animations */
.video-animate {
  animation: videoSwoosh 0.6s ease-out forwards;
}

.play-button-animate {
  animation: playButtonSwoosh 0.6s ease-out forwards;
}

@keyframes videoSwoosh {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(80px);
  }
  60% {
    transform: scale(1.05) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(30px);
  }
}

@keyframes playButtonSwoosh {
  0% {
    opacity: 0;
    transform: scale(0.3) translateY(-30px);
  }
  60% {
    transform: scale(1.08) translateY(5px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Banner Expansion States */
.banner-expanded {
  min-height: 120vh !important;
}

.banner-row-expanded {
  min-height: 100vh !important;
}

/* Laptop Specific Adjustments */
@media (min-width: 992px) and (max-width: 1400px) {
  .banner-expanded {
    min-height: 130vh !important;
  }
  
  .banner-row-expanded {
    min-height: 110vh !important;
  }
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  @keyframes videoSwoosh {
    0% {
      opacity: 0;
      transform: scale(0.3) translateY(60px);
    }
    60% {
      transform: scale(1.05) translateY(0px);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(20px);
    }
  }
  
  @keyframes playButtonSwoosh {
    0% {
      opacity: 0;
      transform: scale(0.3) translateY(-20px);
    }
    60% {
      transform: scale(1.05) translateY(3px);
    }
    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }
  
  .video-wrapper {
    max-width: 95% !important;
    margin: 20px auto !important;
  }
  
  .banner-expanded {
    min-height: 100vh !important;
  }
  
  .banner-row-expanded {
    min-height: 80vh !important;
  }
}

/* When screen is too short, make banner height = viewport width */
@media (max-height: 500px) {
  .video-banner {
    min-height: 100vw !important;
  }
  
  .video-banner-row{
    min-height: calc(100vw - 40px) !important;
  }
}

