/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #5a5a5a;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 32rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
/* Стили для всех полноэкранных слайдеров */
.fullscreen-carousel {
  width: 100vw;
  height: 100vh;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.fullscreen-carousel .carousel-inner,
.fullscreen-carousel .carousel-item {
  height: 100%;
}

.fullscreen-carousel .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Контейнер для текста */
.fullscreen-carousel .carousel-caption-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Стили для подписей */
.fullscreen-carousel .carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem 3rem;
  border-radius: 1rem;
  backdrop-filter: blur(5px);
  max-width: 800px;
  text-align: center;
}

.fullscreen-carousel h1 {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.fullscreen-carousel p {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.5rem;
  line-height: 1.6;
}

/* Индикаторы */
.fullscreen-carousel .carousel-indicators {
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
  padding: 20px 0 10px 0;
  margin-bottom: 0;
}

.fullscreen-carousel .carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
  border: 2px solid transparent;
  background-color: rgba(255, 255, 255, 0.5);
}

.fullscreen-carousel .carousel-indicators button.active {
  background-color: white;
  transform: scale(1.2);
}

/* Кнопки навигации */
.fullscreen-carousel .carousel-control-prev,
.fullscreen-carousel .carousel-control-next {
  width: 80px;
  height: 80px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  margin: 0 20px;
}

.fullscreen-carousel .carousel-control-prev-icon,
.fullscreen-carousel .carousel-control-next-icon {
  width: 30px;
  height: 30px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .fullscreen-carousel {
    height: 70vh;
  }

  .fullscreen-carousel .carousel-caption {
    padding: 1.5rem 2rem;
    margin: 0 1rem;
  }

  .fullscreen-carousel h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .fullscreen-carousel p {
    font-size: 1.2rem;
  }

  .fullscreen-carousel .carousel-control-prev,
  .fullscreen-carousel .carousel-control-next {
    width: 60px;
    height: 60px;
    margin: 0 10px;
  }
}

@media (max-width: 576px) {
  .fullscreen-carousel {
    height: 60vh;
  }

  .fullscreen-carousel h1 {
    font-size: 1.8rem;
  }

  .fullscreen-carousel p {
    font-size: 1.1rem;
  }
}