/**
 * Parallax Break Section Component
 * Full-width photo bar with parallax scrolling effect
 */

.parallax-break {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  min-height: 200px;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .parallax-break {
    min-height: 150px;
  }
}

/* Parallax Image */
.parallax-break__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%; /* Default - can be overridden inline */
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Overlay */
.parallax-break__overlay {
  position: absolute;
  inset: 0;
  background-color: #000;
  z-index: 1;
}

/* Speed Modifiers - removed, height now controlled via ACF field */

/* Accessibility: Reduce Motion */
@media (prefers-reduced-motion: reduce) {
  .parallax-break__image {
    transform: none !important;
    transition: none !important;
    height: 100% !important;
  }
}

/* Mobile optimization - disable parallax on small screens */
@media (max-width: 767px) {
  .parallax-break__image {
    height: 100%;
    background-attachment: scroll;
  }
}

