@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

html,
body {
  margin: 0;
  padding: 0;
  background-color: #161f30;
  overflow-x: hidden;
}

.body {
  padding-top: 149px;
}

/* ------------------js----------------- */

.header {
  /* transition: background 0.25s ease, backdrop-filter 0.25s ease, top 0.25s ease; */
}

body.has-fixed-header {
  padding-top: 149px;

}


.blur-filter {
  background-color: rgba(0, 0, 0, 0.6);
  /* Напівпрозорий чорний */
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  z-index: 5;

  /* Плавність */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;

  /* Ефект розмиття фону (опціонально) */
  backdrop-filter: blur(4px);
}

/* Коли додаємо клас .show через JS */
.blur-filter.show {
  opacity: 1;
  visibility: visible;
}

/* ---------------------------------------------- */

/* --------header-------- */

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: 0.3s;
  width: 100%;
  height: 149px;
  background-color: #1B263B;
  position: fixed;
  top: 0;
  z-index: 2;
  left: 0;
  /* margin-bottom: 15px; */
}

.header-list-item {
  margin-right: 24px;
}


.Seniorzy-list-title {
  text-decoration: none;
  font-family: Bebas Neue;
  font-size: 27px;
  color: #a07f54;
  transition: 0.3s;
}

.Seniorzy-list-link {
  text-decoration: none;
  color: #ffffff;
  font-family: Bebas Neue;
  font-size: 22px;
}

.Seniorzy-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.Seniorzy-btw-line {
  margin-top: 30px;
  margin-bottom: 20px;
}











.Akademia-list{
  display: flex;
  gap: 10px;
}

.Akademia-list-unfo{
  flex-direction: column;
}

.Akademia-list-menu{
  width: 400px;
}

.Seniorzy-list-main{
  margin-top: 20px;
}




















.header.header-scrolled {
  height: 95px;
  opacity: 0.6;
  /* backdrop-filter: blur(8px); */
}

.hero-wrap.hero-wrap-scrolled {
  background-color: brown;
}

.header-list-link {
  text-decoration: none;
  font-family: Bebas Neue;
  font-size: 37px;
  color: #aa7f47;
  transition: 0.3s;
}

.header-list-link:hover {
  text-decoration: none;
  font-family: Bebas Neue;
  font-size: 37px;
  color: #E0A458;
  transition: 0.3s;
}

.header-list {
  display: flex;
  flex-direction: row;
  gap: 50px;
  /* position: absolute; */
  /* margin-left: 560px; */
  z-index: 99999;
}

.header-box1 {
  width: 9%;
  height: 95%;
  display: flex;
}

.header-box2 {
  /* width: 26%;
  height: 95%;
  display: flex;
  justify-content: space-around; */
  width: 26%;
  height: 100%;
  display: flex;
  justify-content: space-around;
  position: relative;
}

.header-box2-bg-header-img {
  /* width: 36%;
  height: 149px;
  position: fixed;
  right: 0px;
  z-index: 0;
  top: 0px; */
  position: absolute;
  right: 0;
  top: 0;
  width: 152%;
  height: auto;
  max-height: 100%;
  z-index: 0;
}

.header-box2-liga-maz {
  z-index: 1;
  /* position: absolute;
  right: 50px; */
  width: 80px;
  object-fit: contain;
}

.header-box2-srebrny-cert-img {
  z-index: 1;
  /* position: absolute;
  right: 230px; */
  width: 120px;
  object-fit: contain;
}


.header-box1-logo {
  width: 125px;
    margin-left: 60px;
  object-fit: contain;
  /* margin-top: 0px;
  margin-left: 20px; */
}

/* .head-logo-liga{
  z-index: 2;
  position: absolute;
  right: 40px;
  width: 80px;
} */
/* ---------------------- */













.info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  height: 600px;
  /* Задай фіксовану висоту для перевірки */
  background-color: #1b263b;
  /* Трохи інший відтінок, щоб бачити межі */
}




































/* ------------- */

.main {
  display: flex;
  width: 100%;
  min-height: 800px;
  /* Використовуйте min-height замість height */
  background-color: #161f30;

  /* ВАЖЛИВО: Оскільки хедер fixed (149px), додаємо відступ зверху, 
     щоб контент не ховався під меню */
  margin-top: 149px;

  /* Для тестів додайте колір, щоб переконатися, що блок є */
  border: 2px solid red;
}
























































/* ------------------------------- */


.main-kontact-container {
  height: 1000px;
  width: 1000px;
}

/* ----------new-info--------------- */



.info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;

  width: 100%;
  height: 1000px;
}


.info-section-title-cont {
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  gap: 40px;

}

.info-section-line {
  width: 300px;
  height: 0px;
  margin-top: 15px;
}

.info-section-title {
  color: white;
  font-family: Bebas Neue;
  font-size: 40px;
}








.footer {
  height: 400px;
  width: 100%;

}

.footer-line {
  width: 100%;
  float: inline-start;
}

.footer-list-link {
  text-decoration: none;
  font-family: Bebas Neue;
  font-size: 24px;
  color: rgb(192, 192, 192);
  transition: 0.3s;
}

.footer-list-title {
  text-decoration: none;
  font-family: Bebas Neue;
  font-size: 24px;
  color: rgb(192, 192, 192);
  transition: 0.3s;
}



.footer-container {
  width: 100%;
  display: flex;
  gap: 220px;
}

.footer-list {
  margin-left: 50px;
  display: flex;
  flex-direction: column;

}

.first-footer-list {
  margin-left: 30px;
}

/* ------------------------------------ */










@media (max-width: 599px) {

  .header-box2 {
    height: 100%;
  }

  .header-box2-bg-header-img {
    height: 100%;
  }


  .header-list-link {
    font-size: 35px;
  }

  .header-list {
    gap: 25px;
    margin-left: 40px;
    flex-wrap: wrap;
    width: 450px;

  }


  .video-cont {
    height: 500px;
    background-position: center;
  }






  .footer-container {
    width: 60%;
    display: flex;
    gap: 70px;
    margin-left: 30px;
    flex-direction: column;
  }



  hr {
    width: 300px;
  }




  .header.header-scrolled {
    height: 95px;
    opacity: 0.6;
    position: absolute;
    /* backdrop-filter: blur(8px); */


  }

  .footer-list-title-sen {
    margin-top: 40px;
  }

  .footer-list-title-imp {
    margin-bottom: 40px;
  }

}








@media (min-width: 600px) and (max-width: 899px) {
  .header-box2 {
    height: 100%;
  }

  .header-box2-bg-header-img {
    height: 100%;
  }


  .header-list-link {
    font-size: 35px;
  }

  .header-list {
    gap: 25px;
    margin-left: 40px;
    flex-wrap: wrap;
    width: 450px;

  }

  .footer-container {
    width: 60%;
    display: flex;
    gap: 70px;
  }


  .header.header-scrolled {
    height: 95px;
    opacity: 0.6;
    position: absolute;
    /* backdrop-filter: blur(8px); */
  }
}








@media (min-width: 900px) and (max-width: 1199px) {



  .header-box2 {
    height: 100%;
  }

  .header-box2-bg-header-img {
    height: 100%;
  }


  .header-list-link {
    font-size: 35px;
  }

  .header-list {
    gap: 25px;
    margin-left: 40px;
    flex-wrap: wrap;
    width: 450px;

  }

  .footer-container {
    width: 60%;
    display: flex;
    gap: 70px;
  }




}








@media (min-width: 1200px) and (max-width: 1439px) {
  .header-box2 {
    height: 100%;
  }

  .header-box2-bg-header-img {
    height: 100%;
  }


  .header-list-link {
    font-size: 30px;
  }

  .header-list {
    gap: 35px;
    margin-right: 60px;
  }

  .footer-container {
    width: 100%;
    display: flex;
    gap: 70px;
  }


}







.footer-container-sponsor .swiper {
  /* Высота ровно под один логотип */
  height: 350px !important;
  width: 400px;
  overflow: hidden;
  margin-left: auto;
  /* Прижать вправо */
  position: relative;
  right: 0px;
  top: 0px;
}

.footer-container-sponsor .swiper-wrapper {
  display: flex;
  flex-direction: column;
}

.footer-container-sponsor .swiper-slide {
  height: 350px !important;
  /* Должна совпадать с высотой swiper */
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-container-sponsor .swiper-slide img {
  max-height: 350px;
  /* Чтобы логотип не касался границ */
  width: auto;
  object-fit: contain;
  display: block;


}












/* ---------------------------------------------- */


/* Основні стилі списку */
.header-list {
  display: flex;
  list-style: none;
  gap: 20px;
}

.header-list-item {
  position: relative;
}

.link-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* Стиль іконки (стрілочки) */
.toggle-icon {
  position: relative;
  width: 12px;
  height: 12px;
  margin-left: 5px;
}

.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  background-color: #000;
  /* Колір ліній */
  transition: all 0.3s ease;
}

/* Малюємо стрілочку куточком вниз */
.toggle-icon::before {
  width: 2px;
  height: 8px;
  left: 3px;
  transform: rotate(-45deg);
}

.toggle-icon::after {
  width: 2px;
  height: 8px;
  right: 3px;
  transform: rotate(45deg);
}

/* Стан Хрестика (активується через клас .active) */
.has-dropdown.active .toggle-icon::before {
  transform: rotate(45deg);
  left: 5px;
}

.has-dropdown.active .toggle-icon::after {
  transform: rotate(-45deg);
  right: 5px;
}

/* Стилі випадаючого блоку */
.dropdown-menu {
  position: absolute;
  top: 110%;
  /* Трішки нижче від пункту */
  left: 0;
  background: #161f30;
  padding: 15px;
  list-style: none;
  min-width: 180px;
  height: 400px;
  z-index: 10;

  /* Початковий стан: прозорий та трохи зміщений вгору */
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
}

/* Стан при відкритті */
.has-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  /* Повертається на місце */
}


.toggle-icon::before,
.toggle-icon::after {
  content: "";
  position: absolute;
  /* ЗАМІНІТЬ ЦЕЙ КОЛІР НА ВАШ */
  background-color: #E0A458;
  /* Наприклад, помаранчевий */
  transition: all 0.3s ease;
}















































/* Центрируем все блоки со составами и тренерами */
#team-content,
#second-team-content,
#first-team-staff-content,
#second-team-staff-content {
  align-items: center;
  /* Центрирует элементы по горизонтали */
  text-align: center;
  /* Центрирует текст внутри параграфов */
  margin: 0 auto;
  width: 100%;
}

/* Убеждаемся, что картинки не прижаты к краю */
#team-content img,
#second-team-content img,
#first-team-staff-content img,
#second-team-staff-content img {
  margin-left: auto;
  margin-right: auto;
  display: block;
  max-width: 100%;
  /* Чтобы на мобилках не вылезало */
  height: auto;
  margin-top: 100px;
}

/* Если хочешь, чтобы заголовки позиций тоже были четко по центру */
.position-header,
.second-position-header {
  width: 100%;
  display: block;
}

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

.centered-content p {
  display: flex;
  justify-content: center;
}

.second-staff-photo {
  border-radius: 15%;
  border: 6px solid #cfa56f;
}

.staff-photo {
  border-radius: 15%;
  border: 6px solid #cfa56f;
  margin-bottom: 30px;
}

.second-team-staff-content {
  display: flex;
}

.second-staff-info {
  font-family: Bebas Neue;
  font-size: 27px;
  color: #ffffff;
}

.staff-info {
  font-family: Bebas Neue;
  font-size: 27px;
  color: #ffffff;
}

.second-team-staff-title {
  font-family: Bebas Neue;
  font-size: 35px;
  color: #eebf81;
  margin-top: 30px;

}

.second-staff-title-cont {
  width: 100%;
  display: flex;
  justify-content: center;
}

.staff-title-cont {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.team-staff-title {
  font-family: Bebas Neue;
  font-size: 35px;
  color: #eebf81;
  margin-top: 30px;
    text-align: center;
}
















































* {
  box-sizing: border-box;
}

/* ---- GOOGLE MAP + INFO ---- */

.google-map {
  display: flex;
  gap: 40px;
}

/* 📱 мобілки */
@media (max-width: 768px) {
  .google-map {
    flex-direction: column;
    align-items: center;
  }

  .klub-info-container {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 40px auto;
  padding: 20px;
}

/* текст */
.klub-list {
  gap: 25px;
}

.klub-title {
  margin-bottom: 30px;
  margin-top: 0;
  font-size: 38px;
}

.klub-info {
  font-size: 29px;
}

/* ---- MAP ---- */

.map-sul {
  width: 100%;
  max-width: 100%;
  height: 300px;
  margin: 0 auto;
  float: none;
  padding: 0;
  border-radius: 6px;
}

/* ---- MAIN LINE ---- */
.main-line {
  width: 90%;
}
}

/* ---- INFO BOX ---- */



/* ---- HERO FIX ---- */

@media (max-width: 768px) {
  .hero-wrap {
    flex-direction: column;
    margin-top: 20px;
  }

  .hero-section {
    height: 300px;
    margin-left: 0;
  }

  .hero-aside {
    height: auto;
  }

  .hero-match-container,
  .hero-match-container-jun {
    width: 100%;
    max-width: 400px;
  }
}

/* ---- VIDEO ---- */



/* ---- FOOTER ---- */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;

  
  min-height: 300px;
  margin-top: 200px;
  background-position: center;
}
  }







/* ---- HEADER ---- */

@media (max-width: 768px) {

  .header-list-link{
    font-size: 20px;
  }


  
}





@media (max-width: 768px) {
  .footer {
    height: auto;
    padding-bottom: 40px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .footer-container ul {
    align-items: center;
  }

  .footer-container img {
    max-width: 120px;
    height: auto;
  }
}
/* ============================= */
/* 🔥 MOBILE / RESPONSIVE FIX (MAX-WIDTH: 768PX) 🔥 */
/* ============================= */

/* ============================= */
/* 🔥 MOBILE / RESPONSIVE FIX (MAX-WIDTH: 768PX) 🔥 */
/* ============================= */

@media (max-width: 768px) {

    /* --- 1. ХЕДЕР (Знімаємо фіксацію) --- */
    .header {
        position: relative !important;
        height: auto !important;
        flex-direction: column;
        padding-bottom: 20px;
        background-color: #1B263B;
    }

    .body {
        padding-top: 0 !important;
    }

    /* --- 2. ЛОГОТИП КЛУБУ (Центруємо) --- */
    .header-box1 {
        width: 100%;
        display: flex;
        justify-content: center;
        padding: 15px 0;
    }
    
    .header-box1-logo {
        width: 110px;
        margin: 0;
    }

    /* --- 3. МЕНЮ (Flex-wrap для переносу рядків) --- */
    .header-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 15px 25px;
        margin: 0;
        padding: 0 10px;
        width: 100%;
    }

    .header-list-item {
        margin-right: 0;
    }

    .header-list-link {
        font-size: 24px !important;
    }

    /* --- 4. DROPDOWN (Відкривається вниз, розсуваючи контент) --- */
    .dropdown-menu {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        background-color: #151d2e;
        border-top: 1px solid #E0A458;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        box-shadow: none;
    }

    .has-dropdown.active .dropdown-menu {
        display: block;
    }

    .Seniorzy-cont, 
    .Akademia-list {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 10px;
        padding: 10px 0;
    }

    /* --- 5. ЛОГОТИПИ СПОНСОРІВ (Без білого фону) --- */
    .header-box2 {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 30px;
        margin-top: 30px;
        position: static;
        order: 1; /* Ставимо в самий низ */
    }

    /* Прибираємо білу пляму */
    .header-box2-bg-header-img {
        display: none !important;
    }

    /* Показуємо логотипи */
    .header-box2-srebrny-cert-img {
          display: block !important;
        position: static;
        width: 80px;
        height: auto;
        object-fit: contain;
        margin: 0;
        border-radius: 5px;
    }
     .header-box2-liga-maz{
   display: block !important;
        position: static;
        width: 60px;
        height: auto;
        object-fit: contain;
        margin: 0;
        border-radius: 5px;
     }
  
}











@media (min-width: 600px) and (max-width: 899px) {
  .header-box2{
  height: 100%;
}

.header-box2-bg-header-img{
  height: 100%;
}


.header-list-link{
  font-size: 35px;
}

.header-list{
  gap: 25px;
  margin-left: 40px;
  flex-wrap: wrap;
  width: 450px;
  
}

.footer-container{
  width: 60%;
  display: flex;
  gap: 70px;
}


.header.header-scrolled{

}
}








@media (min-width: 900px) and (max-width: 1199px) {



.header-box2{
  height: 100%;
}

.header-box2-bg-header-img{
  height: 100%;
}


.header-list-link{
  font-size: 35px;
}

.header-list{
  gap: 25px;
  margin-left: 40px;
  flex-wrap: wrap;
  width: 450px;
  
}

.footer-container{
  width: 60%;
  display: flex;
  gap: 70px;
}




}








@media (min-width: 1200px) and (max-width: 1439px) {
.header-box2{
  height: 100%;
}

.header-box2-bg-header-img{
  height: 100%;
}


.header-list-link{
  font-size: 30px;
}

.header-list{
  gap: 35px;
  margin-right: 60px;
}

.footer-container{
  width: 100%;
  display: flex;
  gap: 70px;
}


}