/* Текст навігація, класси : ( навігація кнопки, зміна мови, випадаюче меню, назва сайту )  */
.navbar-brand, .nav-link, .language-switcher, .fw-bold, .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;
}


/* Текст : команда  */
.teamf,.teamdev{

  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;
  }


/* Футер */
.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 {
  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: 200px;
  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;
  }
}



@media (max-width: 1024px) {
  .desktop-menu .language-switcher {
      display: none !important;
  }
  .navbar-toggler {
      display: block !important;
  }
}


@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); 
  }
}



/* Позиціонування блоків відносно сторінки */
.align-left {
  justify-content: flex-start;
  text-align: left;
}

.align-center {
  justify-content: center;
  text-align: center;
}

.align-right {
  justify-content: flex-end;
  text-align: right;
}




.team-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.team-title {
  text-align: center;
  font-size: 1.8rem;
  margin: 40px 0 20px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-gridf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  align-items: start;
  justify-items: center;
  margin-top: 50px;
}

.member-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}



.member-photo {
  width: 100%;
  height: 280px;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  padding: 15px;
}

.member-name {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.member-role {
  font-size: 0.95rem;
  color: #555;
}




.portrait-photo {
  width: 100%;
  height: 260px;
  background-color: #f9f9f9;
  overflow: hidden;
  border-radius: 12px;
}

.portrait-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}