/* Text Slider 50-50 Component Styles */

.text-slider-50-50 {
  height: 100vh;
  min-height: 100vh;
}

/* Button */
.text-slider-50-50-button {
  background: transparent;
  transition: background-color 0.3s ease, color 0.3s ease;
  cursor: pointer;
}

.text-slider-50-50-button-text {
  transition: color 0.3s ease;
}

.text-slider-50-50-button:hover {
  background-color: var(--Tertiary-100, #F6E0DF);
}

.text-slider-50-50-button:hover .text-slider-50-50-button-text {
  color: var(--Primary-100, #680144);
}

/* Heading - ensure parts stay on same line */
.text-slider-50-50-content span {
  display: inline;
}

/* Heading Part 2 - Ensure Calluna font */
.text-slider-50-50-content span.font-calluna {
  font-family: "Calluna", "Playfair Display", serif !important;
}

.text-slider-50-50-content {
  height: 100vh;
  min-height: 100vh;
}

.text-slider-50-50-slideshow {
  position: relative;
  height: 100vh;
  min-height: 100vh;
}

.text-slider-50-50-slideshow-wrapper {
  height: 100%;
  transition: transform 0.5s ease-in-out;
  display: flex;
  width: 100%;
}

.text-slider-50-50-slide {
  height: 100%;
  width: 100%;
  flex-shrink: 0;
}

.text-slider-50-50-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desktop: 50-50 split */
@media (min-width: 1024px) {
  .text-slider-50-50 {
    height: 100vh;
    min-height: 100vh;
  }
  
  .text-slider-50-50-content {
    height: 100vh;
    min-height: 100vh;
  }
  
  .text-slider-50-50-slideshow {
    height: 100vh;
    min-height: 100vh;
  }
  
  .text-slider-50-50-slide {
    width: 100%;
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .text-slider-50-50-slideshow {
    height: 100vh;
    min-height: 100vh;
  }
  
  .text-slider-50-50-slide {
    width: 100%;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .text-slider-50-50 {
    flex-direction: column;
    height: 100vh;
    min-height: 100vh;
  }
  
  .text-slider-50-50-content {
    width: 100%;
    padding: 2rem 1.5rem;
    height: 100vh;
    min-height: 100vh;
  }
  
  .text-slider-50-50-slideshow {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    order: -1; /* Show slideshow first on mobile */
  }
  
  .text-slider-50-50-slide {
    width: 100vw;
    height: 100vh;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .text-slider-50-50-content {
    padding: 1.5rem 1rem;
    height: 100vh;
    min-height: 100vh;
  }
  
  .text-slider-50-50-slideshow {
    height: 100vh;
    min-height: 100vh;
  }
  
  .text-slider-50-50-slide {
    height: 100vh;
  }
}
