@font-face {
    font-family: 'Roboto';
    src:  url('/fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}
body {
    font-family: "Roboto", Arial, sans-serif !important;
}
.homeheader_bg {
  background-image: url("../images/homeheader_bg2.png");
  background-repeat: repeat-x;
  background-position: left top;
}
@media (max-width: 768px) {
    .homeheader_bg {
    background-position: left 10px; /* "підіймаємо" фон на 50px вгору */
     background-image: url("../images/homeheader_bg_m.png");
    }
}
.navbar-nav {
  flex-wrap: nowrap; /* не переносить на новую строку */
  font-size: 120%;
  gap: 0 20px;
  align-items: center;
}
.navbar-nav .nav-item {
  margin-right: 20px; /* стандартный отступ */
  white-space: nowrap; /* не переносить текст внутри ссылки */
}
/* Зменшення шрифтів меню на мобільних пристроях */
@media (max-width: 767px) {
    .navbar-nav .nav-link {
        font-size: 12px; /* можна регулювати */
        padding: 8px 10px; /* можна зменшити відступи */
    }

    /* Якщо кнопка "Зв'язатися з нами" всередині меню теж потрібно підлаштувати */
    .navbar-nav .btn {
        font-size: 12px;
        padding: 8px 10px;
    }
}
.header_contacts {
  padding: 5px 10px;
  display: inline-block;
  background-color: slategrey;
  color: #fff;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
}

.header_contacts:hover{
  background-color: #4d5154; /* светлый цвет текста */
  color: white;
  box-shadow: 0px 5px 15px rgba(0,0,0,0.4); /* тень */
}
.nav-link {
  display: inline-block;
  padding: 10px;
  text-decoration: none;
  position: relative;
  color: black;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-image: url("../images/topnav_underline.jpg");
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.3s ease;
}
.nav-link:hover:after {
  background-size: 100% 100%;
}
.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-image: url(/images/topnav_underline.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
.header {
  margin-bottom: 0% !important;
}
/* ----------Carousel---------- */
#skyslider {
  /*width: fit-content;*/
  margin: auto;
  width: 100%;
  max-width: 700px;
  transform: scale(0.9);
}
.carousel-item img {
    width: 100%;
    height: auto;
  transition: transform 0.3s ease;
}

#indicators button {
  width: 10px;
  height: 3px;
  border-radius: 50%;
  background-color: rgba(63, 25, 215, 0.5) !important;

  border: none;
  margin-right: 5px;
  margin-left: 5px;
}

#indicators .active {
  background-color: rgba(32, 32, 32, 0.8) !important;
}
/* ----------Footer---------- */
.sky {
  min-height: 100%;
  background-image: url("../images/island_bg.jpg");
  background-repeat: no-repeat;
  background-position: center bottom;
}
/* Мобільні пристрої */
@media (max-width: 767px) {
  .sky {
        background-size: 300% auto; /* ширина 80%, висота масштабується пропорційно */
  }
}
#island {
  /*width: 100%;
  height: 345px;
  text-align: center;
  background-repeat: no-repeat;
  background-position: center top;*/
  width: 100%;
      min-height: 250px;              /* мінімальна висота */
      text-align: center;
      background-repeat: no-repeat;
      background-position: center bottom;
      background-size: contain;       /* острів цілком влазить */
      display: flex;
      align-items: flex-end;          /* текст знизу */
      justify-content: center;
      padding: 15px;
      box-sizing: border-box;
}
#island.home p {
  /*clear: both;
  color: #333333;
  font-size: 11px;
  margin: 0;
  padding-bottom: 15px;
  padding-top: 295px;*/
  color: #333;
  font-size: 11px;
  margin: 0;
  padding-top: 295px;
}
.bold-italic {
    font-weight: 700;
    font-style: italic;
    color: #003366;
}

/* Мобільні пристрої */
@media (max-width: 767px) {
    #island.home p {
        padding-top: 0px;    /* менший відступ зверху */
    }
}
.header_bg {
  background-image: url(/images/header_bg.jpg);
  background-repeat: repeat-x;
  background-position: left 12px;
  overflow: hidden;
}
@media (max-width: 767px) {
    .header_bg {
  background-image: url(/images/header_bg_m.png);
  background-repeat: repeat-x;
  background-position: left 12px;
  overflow: hidden;
    }
}


