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

    font-family: Romul;
    font-weight: 100;
  }
  
  
  /* Текст футер, власні класси: ( bottem-email, bottc-contact, bott-all other text )  */
  .bottem, .bottc,.bott{
  
    font-family: segoeu;
    font-weight: 300;
  }
  
  
  /* Текст : команда  */
  .lead, .textdev{
  
    font-family: FixelL;
    font-weight: 100;
    
  }
  
  
  /* Текст : інформація  */
  .textn,.textr{
  
    font-family: FixelL;
    font-weight: 100;
    
  }
  /* Центрування навігації та відступи між кнопками */
  .nav-link {
      color: #000;
      text-decoration: none;
    }
    .nav-link:hover {
      text-decoration: underline;
    }
  
    
    /* Розширення відступів у навігації */
    .navbar .nav-link {
      padding: 0 15px;
    }
  
  
  
   
    
    .devpm {
        text-align: center;
        background: white;
        padding: 30px;
        border-radius: 10px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .devpm h1 {
        font-size: 2rem;
        font-weight: bold;
        color: #343a40;
    }
    
    .devpm p {
        font-size: 1.2rem;
        color: #6c757d;
        margin-bottom: 20px;
    }
    
    .spinner-border {
        width: 3rem;
        height: 3rem;
    }

    .textdev{
        font-weight: bold;
    }


    
  /* Анімація прокрутки */
.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-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); /* Трішки опускаємо */
    }
  }
  
  
  /* Футер */
  .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;
    }