/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Scroll Animation Styles */
[data-scroll-animation-target="animate"] {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

[data-scroll-animation-target="animate"].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Fade up animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.fade-up.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Fade in animation */
.fade-in {
  opacity: 0;
  transition: opacity 1s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.fade-in.animate-in {
  opacity: 1;
}

/* Scale animation */
.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: all 0.6s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.scale-in.animate-in {
  opacity: 1;
  transform: scale(1);
}

/* Slide animations */
.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.slide-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s cubic-bezier(0.25, 0.4, 0.25, 1);
}

.slide-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger animation delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Parallax container */
.parallax-container {
  overflow: hidden;
}

/* Float animation for hero elements */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

.float-animation:nth-child(2) {
  animation-delay: -2s;
}

.float-animation:nth-child(3) {
  animation-delay: -4s;
}
