@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;700;800&display=swap");

/* ==========================================================================
   CONTAINER & LAYOUT - Full Width Slides
   ========================================================================== */

.cds-uikit-container {
  width: 100vw;
  max-width: 100vw;
  position: relative;
  padding: 0;
  margin: 0 auto;
  overflow: hidden;
  box-sizing: border-box;
}

[uk-slider] {
  width: 100%;
  padding: 0;
  position: relative;
  overflow: visible;
  margin: 0;
  direction: ltr;
}

.uk-slider-container {
  overflow: hidden !important;
}

.uk-slider-items {
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  display: flex !important;
}

/* ==========================================================================
   SLIDE STYLING - 600px fixed height, image covers full area
   ========================================================================== */

.cds-uikit-slide {
  position: relative;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 600px;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0;
  box-sizing: border-box !important;

  filter: brightness(0.7);
  transition: filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.cds-uikit-slide.uk-active {
  filter: brightness(1);
  z-index: 10;
}

/* ==========================================================================
   IMAGE CONTAINER
   ========================================================================== */

.imagecontainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.imagecontainer-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ==========================================================================
   OVERLAY
   ========================================================================== */

.slide-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   TEXT OVERLAY
   ========================================================================== */

.imagecontainer__text-wrap {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.slideshow__text-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.slideshow__text-content {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  text-align: center;
  pointer-events: all;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
  width: 80%;
  max-width: 900px;
}

.uk-active .slideshow__text-content {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.slideshow__subtitle {
  color: #fff;
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slideshow__description {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 2rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   BUTTON STYLING
   ========================================================================== */

.slideshow__button {
  margin-top: 1.5rem;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 4px;
  background-color: #013017 !important;
  color: #ffffff !important;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
}

.slide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   NAVIGATION ARROWS
   ========================================================================== */

.cds-uikit-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 100;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3%;
  box-sizing: border-box;
  width: 100%;
}

/* Force arrows always visible - override UIkit's uk-visible-toggle hiding */
.uk-visible-toggle .uk-slidenav,
.uk-visible-toggle:not(:hover) .uk-slidenav,
.cds-uikit-navigation a,
.cds-uikit-navigation .uk-slidenav {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  clip: auto !important;
  clip-path: none !important;
}

/* Ensure the slider wrapper never clips the nav arrows */
.uk-position-relative {
  overflow: visible !important;
  width: 100% !important;
}

.uk-slider-container {
  width: 100% !important;
}

.cds-uikit-navigation a {
  pointer-events: all;
  color: #ffffff !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cds-uikit-navigation [uk-slidenav-previous],
.cds-uikit-navigation [uk-slidenav-next] {
  padding: 10px;
}

.uk-slidenav {
  color: #fff !important;
}

/* ==========================================================================
   PAGINATION DOTS
   ========================================================================== */

.uk-dotnav {
  padding: 0;
  list-style: none;
}

.uk-dotnav > * > * {
  width: 10px;
  height: 10px;
  border: none;
  background: #fff;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.uk-dotnav > .uk-active > * {
  opacity: 1;
  border-radius: 10px;
  background: #fff;
  transition: width 0.4s ease;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

/* Navigation padding is percentage-based and scales automatically */

@media screen and (max-width: 980px) {
  .cds-uikit-slide {
    height: 450px;
  }
  .slideshow__subtitle {
    font-size: 3.8rem;
  }
  .cds-uikit-navigation a {
    width: 40px;
    height: 40px;
  }
}

@media screen and (max-width: 768px) {
  .cds-uikit-slide {
    height: 300px;
  }
  .slideshow__subtitle {
    font-size: 2.8rem;
  }
}

/* ==========================================================================
   DIVI OVERRIDES
   ========================================================================= */

.et_pb_section .cds-uikit-container {
  width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  overflow: hidden !important;
  scroll-behavior: auto !important;
}

.uk-slider-items {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
  transition: none !important;
  will-change: transform;
}

.cds-uikit-slide {
  transition: filter 0.5s ease !important;
}

li.uk-active {
  color: #013017 !important;
}

.uk-dotnav > * {
  flex: none;
  padding-left: 2px;
}