
/*                                                          Стили для секции #HEADER */
/* Общие стили для заголовка */
/* базовые стили */
/* Оформление header */

header {
    background-color: #fff;
    height: 100px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
 
  /* Оформление логотипа */
  .container {
    max-width: 700px;
    width: 80%; /* изменено с 80% */
    margin: 0 auto;
  }
  
  nav ul.menu li:last-child {
    margin-right: 0;
  }
  
  .logo {
    margin-left: 20px;
  }
  
  .logo img {
    max-height: 60px;
    
  }
  
  /* Оформление меню */
  
  nav ul.menu {
    display: flex;
    list-style: none;
    margin-right: 20px;
    font-family: 'Nasalization', sans-serif;
  }
  
  nav ul.menu li {
    margin-left: 30px;
    font-size: 18px;
  }
  
  nav ul.menu li a {
    color: #000000;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  nav ul.menu li a:hover {
    color: #ff7b00;
  }
  
  /* Оформление кнопки меню */
  
  .menu-toggle {
    background-color: transparent;
    border: none;
    color: #333;
    cursor: pointer;
    font-size: 20px;
    margin-right: 20px;
  }
  
  /* Оформление иконок социальных сетей */
  
  .social-icons {
    list-style: none;
    display: flex;
    margin-right: 20px;
  }
  
  .social-icons li {
    margin-left: 20px;
  }
  
  .social-icons a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    color: #ff7b00;
  }
  /* Оформление мобильного меню */


@media screen and (max-width: 757px) {

  header {
    height: auto;
    padding: 10px;
  }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 998;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  nav ul.menu {
    flex-direction: column;
  }

  nav ul.menu li {
    margin: 10px 0;
    font-size: 18px;
    text-align: center;
  }

  nav ul.menu li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 10px;
  }

  nav ul.menu li a:hover {
    color: #ff7b00;
  }

  .menu-toggle {
    display: block;
  }

  .header-info {
    display: none;
  }

  /* Отображение мобильного меню при нажатии на кнопку */

  header.open nav {
    display: block;
  }

}
/* Оформление мобильного меню */

/* Оформление мобильного меню */
@media screen and (max-width: 767px) {
  header, nav {
    box-sizing: border-box;
  }
  header {
    height: auto;
    padding: 10px;
  }
  nav.menu {
    display: none;
    position: absolute;
    bottom: 0; /* изменено с top: 60px */
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 998;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto; /* добавлено */
  }
  nav.menu.open {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  nav ul.menu li {
    margin: 10px 0;
    font-size: 18px;
    text-align: center;
  }
  nav ul.menu li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 10px;
  }
  nav ul.menu li a:hover {
    color: #ff7b00;
  }
  .menu-toggle {
    display: block;
  }
  .header-info {
    display: none;
  }
  /* Оформление иконок социальных сетей */
  .social-icons {
    list-style: none;
    display: flex;
    margin-right: 20px;
    justify-content: center;
  }
  .social-icons li {
    margin-left: 20px;
  }
  .social-icons a {
    color: #000000fd;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  .social-icons a:hover {
    color: #ff7b00;
  }
  /* Отображение мобильного меню при нажатии на кнопку */
  header.open nav {
    display: block;
  }
}
 /* Скрытие изображения мобильного меню на десктопной версии сайта */

@media screen and (min-width: 730px) {

  .menu-toggle {
    display: none;
    margin-right: 20px;
  }

} 

/*                                                          Стили для секции #banner */
body {
  margin: 0;
  padding: 0;
}

/* Стилизация секции-баннера */
#banner {
  position: relative; /* относительное позиционирование */
  height: 750px; /* задаем высоту секции */
  overflow: hidden; /* скрываем все, что выходит за пределы блока */
  object-fit: cover;
}
#banner::before {
  content: "";
  background-image: url("POV.gif"); /* добавляем ссылку на анимированный GIF-файл */
  background-size: cover;
  background-position: bottom;
  position: absolute; /* абсолютное позиционирование */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  z-index: -1; /* отображаем элемент под контентом */
}

/* Стилизация наложения */
#banner .overlay {
  position: absolute; /* абсолютное позиционирование */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex; /* позволяет дочерним элементам выстраиваться в ряд */
  flex-direction: column; /* задаем направление выстраивания - сверху вниз */
  justify-content: center; /* выравнивание по вертикали */
  align-items: center; /* выравнивание по горизонтали */
  background-color: rgba(0, 0, 0, 0.5); /* добавляем полупрозрачный черный фон */
  color: #fff; /* задаем цвет текста */
  text-align: center; /* центрируем текст */
  padding: 20px; /* добавляем отступы вокруг текста и кнопки */
}
/* Стилизация видеофайла */
#banner video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover; /* скрываем края, которые не помещаются */
  object-position: bottom; /* показываем только нижнюю часть видео */
}

/* Стилизация наложения */
#banner .overlay {
  position: absolute; /* абсолютное позиционирование */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex; /* позволяет дочерним элементам выстраиваться в ряд */
  flex-direction: column; /* задаем направление выстраивания - сверху вниз */
  justify-content: center; /* выравнивание по вертикали */
  align-items: center; /* выравнивание по горизонтали */
  background-color: rgba(0, 0, 0, 0.5); /* добавляем полупрозрачный черный фон */
  color: #fff; /* задаем цвет текста */
  text-align: center; /* центрируем текст */
  padding: 20px; /* добавляем отступы вокруг текста и кнопки */
}

/* Стилизация заголовка */
#banner h2 {
  font-size: 4rem; /* задаем размер шрифта */
  margin-bottom: 2rem; /* добавляем небольшой отступ снизу */
}

/* Стилизация кнопки */
#banner .button {
  display: inline-block;
  background-color: #ff7b00;
  color: #ffffff;
  font-size: 2rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: none;
  transition: all 0.3s ease; /* плавный переход при наведении */
}

/* Стилизация кнопки при наведении */
#banner .button:hover {
  background-color: #fff;
  color: #000000;
  cursor: pointer;
}


@media screen and (max-width: 767px) {
  #banner {
    height: 70vh;
  }

  #banner video {
    width: 100%;
    height: auto;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
  }
}



  /* Стили для секции #about */
  #about {
    padding: 4rem 0;
    text-align: center;
    
  }
  
  #about h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  #about ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
  #about li {
    margin: 1.5rem;
    flex-basis: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #about i {
    color: #ff7b00;
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  #about p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  
  /*                                                          Стили для секции #banner */

  /*  Стили условия на главной страниц */

  .pricing {
    text-align: center;
    margin-bottom: 40px;
    
}
.social-icon {
  list-style: none;
  display: flex;
  justify-content: center; /* центрирование иконок по горизонтали */
  align-items: center;
}

.social-icon li {
  margin-left: 20px;
}

/* Удаляем отступ для первой иконки, чтобы визуально они были посередине */
.social-icon li:first-child {
  margin-left: 0;
}

.social-icon a {
  color: #ff7b00;
  text-decoration: none;
  transition: all 0.3s ease;
}





.button {
  display: inline-block;
  background-color: #ff7b00;
  color: #ffffff;
  font-size: 1rem;
  padding: 1rem 2rem;
  text-decoration: none;
  border-radius: none;
  transition: all 0.3s ease; /* плавный переход при наведении */
  margin-top: 10px;

}
/*
.pricing a {
  text-decoration: none;
  color: #000000;
}*/
.pricing h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff7b00;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.pricing-card {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 20px;
    width: 300px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.features {
    list-style-type: none;
    padding: 0;
}

.features li {
    margin-bottom: 10px;
}

/* Адаптивность для мобильных устройств */
@media screen and (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 80%;
    }
}

  /*  Стили условия на главной страниц */



/*                                      Стили для раздела FAQ */
#faq {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
  }
  
  .faq-item i {
    color: #ff7b00;
  }
  @media (max-width: 768px) {
    #faq {
      flex-direction: column;
    }
    
    .faq-item {
      flex-basis: 100%;
      margin: 10px 0;
    }
  }
  .faq-item {
    display: inline-block;
    flex-basis: calc(33.33% - 20px);
    margin: 10px;
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-radius: None;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
  }
  
  .faq-item:hover {
    transform: translateY(-10px);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .faq-item i {
    color: #ff7b00;
    font-size: 3rem;
    margin-bottom: 10px;
    box-sizing: border-box;
  }
  
  @media (max-width: 768px) {
    .faq-item {
      width: 80%;
      display: block;
      margin-bottom: 20px;
    }
  }

 /* Стилизация кнопок */

 
/*                                      Стили для раздела FAQ */
/*                Стили для раздела Каталог мопедов  */

#catalog {
  background-color: #fff;
  padding: 80px 0;
  text-align: center;
  overflow-x: auto;
}
img {
  max-width: 500px;
  height: auto;
}
#catalog h3 {
  margin-bottom: 50px;
}
#catalog ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
#catalog li {
  background-color: #ffffff;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  margin: 20px;
  padding: 40px;
  text-align: center;
  width: calc((100% / 3) - 40px);
  flex-basis: calc((100% / 2) - 40px);
  max-width: calc((100% / 2) - 40px);
}
#catalog li h4 {
  margin-top: 0;
}
#catalog li p {
  font-size: 1.2rem;
  margin: 20px 0;
}
#catalog li a.button {
  background-color: #ff7b00;
  border-radius: None;
  color: #fff;
  display: inline-block;
  font-size: 1.2rem;
  padding: 10px 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
#catalog li a.button:hover {
  background-color: #ff7b00;
}
@media (max-width: 768px) {
  #catalog li {
    width: calc(100% - 40px);
    flex-basis: calc(100% - 40px);
    max-width: calc(100% - 40px);
  }
}

  /*                                        Стили для раздела Каталог мопедов  */

  /*                                        Стили для раздела ИНФОРМАЦИЯ  */
  /* Стилизация секции информации */
  #content div {
    white-space: pre-wrap;

  }
  
  #content #prices p {
    font-size: 16px;
    line-height: 1.4;
    white-space: pre-wrap;
  }
  
  #content div {
    display: none;
  }
  
  #content div.active {
    display: block;
    white-space: pre-wrap;
  }
  
  #content p {
    font-size: 16px;
    line-height: 1.4;
    white-space: pre-wrap;
  }
  
  body {
    font-family: Arial, sans-serif;
    color: #333;
  }
  
  #info {
    margin: 20px auto;
    max-width: 700px;
    background-color: #fff;
    box-shadow: 2px 2px 5px rgba(255, 255, 255, 0.1);
  }
  
  #buttons {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  #buttons button {
    background-color: #ff7b00;
    color: #fff;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: None;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  #buttons button.active {
    background-color: #fff;
    color: #ff7b00;
  }
  
  #content div {
    padding: 20px;
    display: none;
  }
  
  #content div.active {
    display: block;
  }
  
  #content .info h2,
  #content #mopeds h3,
  #content #content h3,
  #content #prices h3 {
    color: #ff7b00;
  }
  
  #content .info p {
    font-size: 18px;
    line-height: 1.5;
  }
  
  #content #mopeds p,
  #content #prices p {
    font-size: 16px;
    line-height: 1.4;
  }
  
  #content #mopeds ul {
    margin-left: 20px;
  }
  
  #content #mopeds ul li {
    list-style: disc;
  }
  
  #content #prices p {
    margin-top: 10px;
  }
  
  #content #prices p br {
    display: contents;
  }
  
  #content #prices p::before {
    content: attr(data-icon);
    display: inline-block;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-bottom: 5px;
  }
  
  @media (max-width: 768px) {
    #buttons {
      flex-wrap: wrap;
    }
  
    #buttons button {
      flex: 1;
      margin: 5px;
      max-width: 85%;
    }
  }
  

  
  /*                                        Стили для раздела ИНФОРМАЦИЯ  */


  /*                                      FOOTER */
  #footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    background-color: #333;
    color: #fff;
    font-size: 14px;
  }
  .footer a {
    color: #fff;
    text-decoration: none;
  }
  .footer {
    flex-basis: 40%;
    text-align: center;
    margin-bottom: 20px;
    flex-direction: column;
  }
  
  navig {
    order: 1;
    flex-basis: 30%;
    
  }
  
  navig ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding-left: 0;
    margin-bottom: 10px;
  }
  
  navig ul li {
    margin-bottom: 10px;
  }
  
  navig ul li a {
    color: #fff;
    text-decoration: none;
  }
  
  navig ul li a:hover {
    text-decoration: underline;
  }
  
  .copy {
    flex-basis: 30%;
    text-align: right;
  }
@media screen and (max-width: 768px) {
  
  navig {
    order: 1;
    flex-basis: 100%;
    text-align: center;
  }
  .footer {
    flex-basis: 100%;
    flex-direction: column;
  }

  .copy {
    flex-basis: 100%;
    text-align: center;
    order: 2;
    margin-top: auto;
  }
}

#scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  background-color: #ff7b00;
  border: none;
  border-radius: 10%;
  opacity: 0.3 ;
  visibility: hidden;
  z-index: 999;
  cursor: pointer;
  transition: visibility 0s, opacity 0.5s ease;
}

#scroll-to-top:hover {
  opacity: 1;
}

#scroll-to-top i {
  color: #fff;
  font-size: 20px;
  line-height: 30px;
  text-align: center;
}

/* Показываем кнопку только после прокрутки на 100px */
@media screen and (min-width: 768px) {
  #scroll-to-top {
    visibility: visible;
  }
}

/* Для мобильных устройств показываем кнопку всегда */
@media screen and (max-width: 767px) {
  #scroll-to-top {
    visibility: visible;
  }
}


/* ПАРТНЕРСКАЯ СТРАНИЦА */
















/* Общие стили */
#advantages, #how-to-become, #contact-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px 0;
    transition: background-color 0.3s ease;
}

#advantages h2, #how-to-become h2, #contact-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ff7b00;
    transition: color 0.3s ease;
}

#advantages ul, #how-to-become ol, #contact-info ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

#advantages li, #how-to-become li, #contact-info li {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

#advantages a, #how-to-become a, #contact-info a {
    color: #ff7b00;
    text-decoration: none;
    transition: color 0.3s ease;
}

#how-to-become p, #contact-info p {
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

/* Медиа-запросы для ноутбуков и планшетов */
@media (max-width: 1200px) {
    #advantages, #how-to-become, #contact-info {
        padding: 30px 15px;
    }

    #advantages li, #how-to-become li, #contact-info li {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }

    #how-to-become p, #contact-info p {
        font-size: 1.2rem;
        margin-bottom: 18px;
    }
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    #advantages, #how-to-become, #contact-info {
        padding: 20px 15px;
    }

    #advantages li, #how-to-become li, #contact-info li {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    #how-to-become p, #contact-info p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
}






/* Стили для раздела Сервис */
#service {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 10px 10px;
}
.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#service h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #ff7b00;
    transition: color 0.3s ease;
}

#service p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.service-block {
    background-color: #f7f7f7;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s ease;
	width: 250px;
}

.service-block:hover {
    background-color: #ff7b00;
    color: white;
}

.service-block h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.3s ease;
}

.service-block p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #666;
    transition: color 0.3s ease;
}

/* Медиа-запросы для ноутбуков и планшетов */
@media (max-width: 1200px) {
    #service {
        padding: 30px 15px;
    }

    .service-block {
        padding: 15px;
        margin-bottom: 15px;
    }
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    #service {
        padding: 20px 15px;
    }

    .service-block {
        padding: 15px;
        margin-bottom: 15px;
    }
}


/* Медиа-запросы для мобильных устройств */
@media (max-width: 768px) {
    #service {
        padding: 20px 15px;
    }
	.service-container {
        justify-content: center;
    }
    .service-block {
        width: calc(95% - 30px);
        margin-bottom: 15px;
    }
}
/* Стили для блока контактов */

#contacts {
  background-color: #f7f7f7;
  
}

#contacts ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0;
}

#contacts li {
  margin: 0 20px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  
}

#contacts li i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

section h3 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 30px;
  color: #ff7b00;
}

  #about ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  
  #about li {
    margin: 1.5rem;
    flex-basis: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  #about i {
    color: #ff7b00;
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  #about p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
 ul {
    list-style-type: none;
}