
/* Текст навігація, класси : ( навігація кнопки, зміна мови, випадаюче меню, назва сайту )  */
.navbar-brand, .nav-link, .language-switcher{

  font-family: Romul;
  font-weight: 50;
  font-size: 12;
}

/* Текст футер, власні класси: ( bottem-email, bottc-contact, bott-all other text )  */
.bottem, .bottc,.bott{

  font-family: segoeu;
  font-weight: 300;
}


  /* Текст : інформація  */
  .news-text{
  
    font-family: FixelL;
    font-weight: 200;
    
  }

  .news-title{

    font-family: Fixel;
    font-weight: 100;

  }
/* Футер */
.footer-left,
.footer-right {
  width: 40%;
}
.footer-left {
  text-align: left;
}
.footer-right {
  text-align: right;
}
.footer-link {
  text-decoration: none;
  color: #000;
}
.footer-link:hover {
  text-decoration: underline;
}
.header-image,
.footer-image {
  max-height: 75px; /* Розмір можна змінювати */
}


footer .gap-3 a {
    font-size: 1.25rem; /* Збільшуємо розмір іконок */
  }
  footer img {
    margin: 0 auto;
  }
/* Розширення відступів у навігації */
.navbar .nav-link {
  padding: 0 15px;
  
}



  /* Анімація прокрутки */
  .smooth-scroll {
    scroll-behavior: smooth;
  }
  
  /* Загальні стилі для навігації */
  .navbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10px 40px;
  background-color: #f8f9fa;
  position: fixed; /* робимо navbar фіксованим */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: top 0.3s ease-in-out; /* анімація зникання */
}

body {
  padding-top: 80px; /* щоб контент не заходив під navbar */
}
  
  .navbar-brand {
    display: flex;
    align-items: center;
    width: 180px;
    gap: 20px;
  }
  
  .navbar-brand img {
    height: 50px;
  }
  
  .desktop-menu {
    display: flex;
    gap: 30px;
    flex-grow: 1;
    justify-content: center;
    
  }
  
  .language-switcher {
    display: flex;
    width: 110px;
    gap: 20px;
    align-items: center;
  }


  .lang-btn {
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: #000;
    transition: color 0.3s ease, font-weight 0.3s ease;
  }
  
  .lang-btn:hover {
    color: #007bff;
  }
  
  .lang-btn:active {
    font-weight: bold;
    color: #007bff;
  }



  
  /* Бургер-меню */
  .navbar-toggler {
    display: none;
    border: none;
    background: none;
    font-size: 24px;
    cursor: pointer;
  }
  
  
  
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1040;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .menu-open .menu-overlay {
    display: block;
    opacity: 1;
  }
  
  .menu-slide {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: #fff;
    z-index: 1050;
    transition: right 0.4s ease;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
  }
  
  .menu-open .menu-slide {
    right: 0;
  }
  
  /* Адаптивність */
  @media (max-width: 992px) {
    .desktop-menu, .language-switcher {
      display: none;
    }
  
    .navbar-toggler {
      display: block;
    }
  }
  
  /* Ховаємо зміну мов разом із десктопним меню при малих екранах */
  @media (max-width: 1200px) {
    .desktop-menu, .language-switcher {
        display: none !important;
    }
    .navbar-toggler {
        display: block !important;
    }
  }
  
  
  /* При ширині менше 1024px */
  @media (max-width: 1024px) {
    .desktop-menu .language-switcher {
        display: none !important;
    }
    .navbar-toggler {
        display: block !important;
    }
  }
  
  /* При ширині менше 768px */
  @media (max-width: 768px) {
    .desktop-menu .language-switcher{
        display: none !important;
    }
    .navbar-toggler {
        display: block !important;
    }
  }
  
  /* Показуємо зміну мов та меню тільки на великих екранах */
  @media (min-width: 1200px) {
    .desktop-menu, .language-switcher {
        display: flex !important;
    }
    .navbar-toggler {
        display: none !important;
    }
  }
  
  
  /* Базове позиціонування бургер-меню */
  .navbar-toggler {
    position: absolute;
    right: 15px; /* Вирівнюємо по правому краю */
    top: 55%; /* Опускаємо нижче */
    transform: translateY(-50%);
  }
  
  /* Адаптація для мобільних пристроїв */
  @media (max-width: 768px) {
    .navbar {
        display: flex;
        align-items: center;
        justify-content: space-between; /* Вирівнюємо контент */
        padding: 10px 15px;
    }
  
    .navbar-toggler {
        position: static;
        margin-left: auto;
        transform: translateY(3px); /* Трішки опускаємо */
    }
  }




  .news-container {
    max-width: 1000px;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: auto;
  }
  
  .news-text {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
  }
  
  .news-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .image-inline {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .image-inline.left {
    float: left;
    width: 45%;
    margin-right: 20px;
  }
  
  .image-inline.right {
    float: right;
    width: 45%;
    margin-left: 20px;
  }
  
  .image-inline img {
    width: 100%;
    border-radius: 8px;
  }

  .image-inline.heigh{
    float: right;
    width: 250px;
    height: 250px;
    overflow: hidden;
    margin-left: 20px;

  }
  
  .caption {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-top: 5px;
  }
  
  @media (max-width: 768px) {
    .image-inline.left,
    .image-inline.right {
      float: none;
      width: 100%;
      margin: 20px 0;
    }
  }
  