/* Mountain Parallax Section Styles */
.mountain-section {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.mountain-image {
    position: absolute;
    left: 50%;
    transform: translate3d(-50%, var(--mountain-offset, 0), 0);
    bottom: 0;
    width: 120%;
    max-width: none;
    pointer-events: none;
    z-index: var(--z-normal);
    will-change: transform;
}

/* Mobile: Disable parallax effect */
@media (max-width: 767px) {
    .mountain-image {
        --mountain-offset: 0;
        width: 150%;
        opacity: 0.95;
    }
/* Mountain Parallax Styles */

.mountain-section {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  --mountain-offset: 0;
}

.mountain-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(calc(var(--mountain-offset, 0px) * 0.5));
  transition: transform 0.1s ease-out;
  will-change: transform;
}

/* Responsive adjustments */
@media screen and (min-width: 768px) {
  .mountain-section {
    height: 500px;
    margin: 3rem 0;
  }
}

@media screen and (min-width: 1024px) {
  .mountain-section {
    height: 600px;
    margin: 4rem 0;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .mountain-image {
    transform: none;
    transition: none;
/* Mountain Parallax Section Styles */
.mountain-section {
  position: relative;
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
/* Mountain section styles and simple parallax variables */
.mountain-section {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mountain-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  transform: translateY(var(--mountain-offset, 0));
  will-change: transform;
}

.mountain-section .section__data {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

/* Responsive: Disable parallax on small screens */
@media screen and (max-width: 767px) {
  .mountain-image {
    transform: translateY(0) !important;
  }
  
  .mountain-section {
    min-height: 200px;
  }
}

@media screen and (min-width: 768px) {
  .mountain-section {
    min-height: 400px;
  left: 50%;
  transform: translateX(-50%) translateY(var(--mountain-offset, 0));
  bottom: 0;
  width: 120%;
  max-width: none;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

.mountain-section .text {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

@media (max-width: 767px) {
  .mountain-image {
    transform: translateX(-50%) translateY(0);
    width: 150%;
    opacity: 0.95;
  }
}
