/* Non-critical CSS that can be loaded asynchronously */

/* Non-critical utility classes */
.section-padding {
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .section-padding {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .section-padding {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.container-max {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.parallax-container {
  position: relative;
  overflow: hidden;
}

/* Non-critical parallax styles - loaded after critical path */
.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Desktop-specific optimizations */
@media (min-width: 1024px) {
  .parallax-bg {
    background-attachment: fixed;
  }
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgb(0 0 0 / 0.6), rgb(0 0 0 / 0.5), rgb(0 0 0 / 0.6));
}

.parallax-content {
  position: relative;
  z-index: 10;
}

/* Animation classes - non-critical */
.animate-bounce {
  animation: bounce 1s infinite;
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translate3d(0,0,0);
  }
  40%, 43% {
    transform: translate3d(0,-30px,0);
  }
  70% {
    transform: translate3d(0,-15px,0);
  }
  90% {
    transform: translate3d(0,-4px,0);
  }
}