/* Premium animations and effects */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-in-out forwards;
}

.animate-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.animate-delay-100 { animation-delay: 0.1s; }
.animate-delay-200 { animation-delay: 0.2s; }
.animate-delay-300 { animation-delay: 0.3s; }
.animate-delay-400 { animation-delay: 0.4s; }

.premium-gradient-text {
  background: linear-gradient(135deg, #9333ea, #ec4899, #8b5cf6);
  background-size: 200% 200%;
  animation: gradientFlow 6s ease infinite;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.premium-card {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.premium-image {
  transition: all 0.5s ease;
}

.premium-image:hover {
  transform: scale(1.02);
}

.event-hero-section {
  position: relative;
  overflow: hidden;
}

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

/* Hero parallax effect */
.hero-container {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  display: flex;
  flex-direction: column;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 100%;
  display: block;
  transform: translateY(0);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

@media (max-width: 767px) {
  .hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.95));
  }
  
  .hero-content.mobile {
    align-items: flex-end;
    padding-bottom: 1.5rem;
  }
  
  .hero-content.mobile .text-container {
    text-align: left;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Ensure desktop hero is hidden on mobile */
  .event-hero-section {
    display: none !important;
  }
  
  /* Fix for mobile hero container */
  .hero-container {
    height: 40vh !important;
    min-height: 300px;
    overflow: hidden;
  }
  
  /* Ensure image covers the entire container on mobile */
  .hero-image {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover;
    transform: scale(1.1);
  }
}

@media (min-width: 768px) {
  /* Ensure mobile hero is hidden on desktop */
  .block.md\:hidden.hero-container {
    display: none !important;
  }
  
  .event-details-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  }
  
  .event-image-container {
    height: 500px;
    overflow: hidden;
  }
}
