/* Hero Slider Styles */
.hero-slider-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.hero-slider {
  position: relative;
  width: 100%;
}

.hero-slider__slide {
  position: relative;
  width: 100%;
  height: auto;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Full Width Layout (Default) */
.hero-slider__slide--full-width {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 50/50 Layout */
.hero-slider__slide--50-50 {
  display: flex;
  flex-direction: row;
  background-color: #fff;
}

.hero-slider__slide--50-50 .hero-slider__image {
  position: static;
  width: 50%;
  flex: 0 0 50%;
  background-color: #000;
}

.hero-slider__slide--50-50 .hero-slider__image::after {
  display: none;
}

.hero-slider__slide--50-50 .hero-slider__content {
  width: 100%;
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
  padding: 4rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  position: static;
}

.hero-slider__slide--50-50 .hero-slider__title {
  color: var(--color-primary);
  text-shadow: none;
  font-size: clamp(2rem, 5vw, 2.5rem);
}

.hero-slider__slide--50-50 .hero-slider__description {
  color: var(--color-text);
  text-shadow: none;
}
.hero-slider__description p {
  color: var(--gin-bg-input);
}

.hero-slider__slide--50-50 .hero-slider__buttons {
  justify-content: flex-start;
}

.hero-slider__slide--50-50 .hero-slider__link {
  border-color: var(--color-text);
  color: var(--color-text);
}

.hero-slider__slide--50-50 .hero-slider__link:hover {
  background-color: #fff;
  color: #fff;
}

/* Full Width Text Bottom Layout */
.hero-slider__slide--text-bottom {
  display: flex;
  position: relative;
  flex-direction: column;
}

.hero-slider__slide--text-bottom .container {
  padding: 0;
  margin-top: auto;
}

.hero-slider__slide--text-bottom .hero-slider__content {
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
  padding: 6rem 0 2rem;
  max-width: none;
  position: absolute;
  bottom: 0;
  left: 0;
}

.hero-slider__slide--text-bottom .hero-slider__content-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 0 2rem;
  width: 100%;
}

.hero-slider__slide--text-bottom .hero-slider__text {
  flex: 1;
  text-align: left;
  max-width: 70%;
}

.hero-slider__slide--text-bottom .hero-slider__title {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  text-align: left;
}

.hero-slider__slide--text-bottom .hero-slider__description {
  margin-bottom: 0;
  opacity: 0.9;
  text-align: left;
  margin: 0;
}

.hero-slider__slide--text-bottom .hero-slider__buttons {
  flex: 0 0 auto;
  margin: 0!important;
  margin-left: auto!important;
  align-self: center;
}

.hero-slider__slide--text-bottom .hero-slider__link--secondary {
  display: none;
}

.hero-slider__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
}

.hero-slider__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider__content {
  position: relative;
  color: #fff;
  z-index: 2;
  text-align: center;
  padding: 0 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-slider__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.1;
  color: #fff;
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.02em;
}

.hero-slider__description {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 3rem;
  line-height: 1.6;
  color: #fff;
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
  font-weight: 300;
  opacity: 0.9;
}

.hero-slider__buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-slider__link {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #fff;
  color: #fff;
}

.hero-slider__link--primary {
  background-color: transparent;
  color: #fff;
}

.hero-slider__link--primary:hover {
  background-color: #fff;
  color: #000;
}

.hero-slider__link--secondary {
  background-color: transparent;
  color: #fff;
}

.hero-slider__link--secondary:hover {
  background-color: #fff;
  color: #000;
}

/* Swiper Navigation Styles */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  width: 40px;
  height: 40px;
  color: #fff;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.7));
  transition: filter 0.3s, background 0.3s;
}

.hero-slider .swiper-button-prev:after,
.hero-slider .swiper-button-next:after {
  font-size: 1.5rem;
  font-weight: bold;
}

.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
  background: rgba(0,0,0,0.55);
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.9));
}

.hero-slider .swiper-button-prev {
  left: 24px;
}

.hero-slider .swiper-button-next {
  right: 24px;
}

/* Pagination Styles */
.hero-slider .swiper-pagination {
  position: relative !important;
  bottom: 0 !important;
  padding: 1rem 0;
}

.hero-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.3);
  opacity: 1;
  margin: 0 8px !important;
  transition: all 0.3s ease;
}

.hero-slider .swiper-pagination-bullet-active {
  background: #000;
  transform: scale(1.2);
}

/* Animation */
.hero-slider__content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

.swiper-slide-active .hero-slider__content {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-slider-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 1rem;
  }

  .hero-slider__slide,
  .hero-slider__slide--50-50,
  .hero-slider__slide--text-bottom,
  .hero-slider__slide--full-width {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .hero-slider__image,
  .hero-slider__slide--50-50 .hero-slider__image,
  .hero-slider__slide--text-bottom .hero-slider__image {
    position: static;
    width: 100%;
    height: auto;
    background-color: transparent;
  }

  .hero-slider__image::after,
  .hero-slider__slide--text-bottom .hero-slider__image::after,
  .hero-slider__slide--full-width .hero-slider__image::after {
    display: none;
  }

  .hero-slider__image img,
  .hero-slider__slide--50-50 .hero-slider__image img,
  .hero-slider__slide--text-bottom .hero-slider__image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .hero-slider__content,
  .hero-slider__slide--50-50 .hero-slider__content,
  .hero-slider__slide--text-bottom .hero-slider__content {
    position: static;
    padding: 1.5rem;
    text-align: left;
    width: 100%;
    background: none;
    max-width: none;
  }

  .hero-slider__slide--text-bottom .hero-slider__content-inner {
    display: block;
    padding: 0;
  }

  .hero-slider__title,
  .hero-slider__slide--50-50 .hero-slider__title,
  .hero-slider__slide--text-bottom .hero-slider__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary);
    margin: 0 0 1.5rem;
    text-shadow: none;
    text-align: left;
    max-width: none;
  }

  .hero-slider__description,
  .hero-slider__slide--50-50 .hero-slider__description,
  .hero-slider__slide--text-bottom .hero-slider__description {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0 0 1rem;
    text-shadow: none;
    display: block;
    text-align: left;
    max-width: none;
  }

  .hero-slider__buttons,
  .hero-slider__slide--50-50 .hero-slider__buttons,
  .hero-slider__slide--text-bottom .hero-slider__buttons {
    margin: 0;
    justify-content: flex-start;
  }

  .hero-slider__link,
  .hero-slider__slide--50-50 .hero-slider__link,
  .hero-slider__slide--text-bottom .hero-slider__link {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    color: var(--color-primary); 
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
  }

  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    display: none !important;
  }

  .hero-slider .swiper-pagination {
    position: relative;
    bottom: 0;
    padding: 1rem 0;
  }

  .hero-slider .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.3);
  }

  .hero-slider .swiper-pagination-bullet-active {
    background: var(--color-primary);
  }
}

@media (max-width: 576px) {
  .hero-slider__slide--50-50 .hero-slider__link {
    border-color: #fff;
    color: #fff;
  }
  .hero-slider__slide--text-bottom .hero-slider__text { 
    max-width: 100%;
  }
  .hero-slider__slide {
    width: 100%;
  }
  
  .hero-slider__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-slider__description {
    display: none;
  }
  
  .hero-slider__slide--full-width .hero-slider__content {
    padding: 1.5rem;
    text-align: left;
    width: 100%;
    background: none;
    max-width: none;
  }
  
  .hero-slider__slide--full-width .hero-slider__buttons {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
  }
  
  .hero-slider__slide--full-width .hero-slider__link {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    color: var(--color-primary);
    text-transform: none;
    letter-spacing: normal;
    font-weight: 500;
  }
  
  .hero-slider__link {
    border-color: #fff;
    color: #fff;
    padding: 0.75rem 2rem;
  }

  .hero-slider__buttons {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
  }
}