/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Custom Slider Styles */
.custom-slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.custom-slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  cursor: pointer;
}

.slider-item.active {
  opacity: 1;
}

.slider-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Background Overlay */
.custom-slider-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 5;
  pointer-events: none;
}

/* Breadcrumb Overlay */
.slider-breadcrumb {
  position: absolute;
  display: none !important;
  top: 20px;
  left: 20px;
  z-index: 25;
  background: rgba(0, 0, 0, 0.8);
  padding: 8px 16px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 500;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.slider-breadcrumb:hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.9);
}

.slider-breadcrumb .current {
  color: #ffffff;
  font-weight: 600;
}

.slider-breadcrumb .separator {
  margin: 0 8px;
  opacity: 0.6;
}

.slider-breadcrumb .total {
  opacity: 0.7;
}

/* Title Container - Fixed at left side */
.slider-titles-container {
  position: absolute;
  bottom: 10vh;
  left: 40px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-title {
  font-size: 70px;
  font-weight: 400;
  color: white;
  opacity: 0.5;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  text-transform: none;
  width: fit-content;
  line-height: 1.2;
}
.slider-title:not(.active):hover::after {
  content: "";
  position: absolute;
  top: 15%;
  right: -3.29429vw;
  width: 2.19619vw;
  height: 2.56223vw;
  background-image: url(./images/arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.slider-title:hover {
  font-weight: 700 !important;
  opacity: 1;
}

.slider-title.active {
  opacity: 1;
  color: #ffffff;
  font-weight: 700 !important;
}

.slider-title.active::before {
  width: 12px;
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  .slider-breadcrumb {
    top: 15px;
    left: 15px;
    padding: 6px 12px;
    font-size: 11px;
  }

  .slider-titles-container {
    left: 20px;
    gap: 12px;
    bottom: unset;
    top: 20vh;
  }

  .slider-title {
    font-size: 30px;
  }

  .slider-title.active::before {
    width: 10px;
  }

  .slider-title.active::before {
    width: 8px;
  }
}
