/* Horizontal Scroll Features */
.horizontal-scroll-container {
  position: relative;
  width: 100%;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.horizontal-content {
  display: flex;
  padding: 0 10vw;
  gap: 20vw;
  height: 100%;
  align-items: center;
  transition: transform 0.1s linear;
}

.landscape-panel {
  flex-shrink: 0;
  width: 100vw;
  height: 90vh; /* Reduced from 100vh for tighter feel */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 8vw, 10rem);
  padding: 0 10vw;
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.landscape-panel .content-side {
  flex: 1;
  max-width: 500px;
}

.landscape-panel .visual-side {
  flex: 1;
  display: flex;
  justify-content: center;
  perspective: 2000px;
}

/* Parallax Depth */
.parallax-item {
  transition: transform 0.15s ease-out;
  will-change: transform;
}

@media (max-width: 900px) {
  .sticky-wrapper {
    position: relative;
    height: auto;
    overflow: visible;
  }
  .horizontal-content {
    flex-direction: column;
    padding: 0;
    gap: 0;
    transform: none !important;
  }
  .landscape-panel {
    width: 100%;
    height: auto;
    min-height: 70vh; /* Reduced from 80vh */
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 1.5rem; /* Reduced from 6rem */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
  }
  .landscape-panel .content-side {
    text-align: center;
    order: 2;
  }
  .landscape-panel .visual-side {
    order: 1;
    width: 100%;
  }
}

.full-width-glass {
  width: 100vw !important;
  max-width: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  border-left: none !important;
  border-right: none !important;
  border-top: none !important;
  border-bottom: none !important;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  overflow: hidden;
}

/* Smooth crossfade gradient at section bottom */
.full-width-glass::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, transparent, rgba(235, 235, 235, 0.5));
  pointer-events: none;
}
