@import url("fonts.css");
@import url("reset.css");
@import url("variables.css");
@import url("header.css");
@import url("main.css");
@import url("footer.css");

@import url("sections/intro.css");
@import url("sections/info.css");
@import url("sections/services.css");
@import url("sections/pricelist.css");
@import url("sections/staff.css");
@import url("sections/examples.css");
@import url("sections/contacts.css");

body {
  font-family: "Cygre", sans-serif;
  background-color: var(--main-back);
  color: var(--white);
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Chrome/Safari/Edge */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #c1c1c1 #f1f1f1;
}

h1 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h2 {
  font-size: 28px;
  line-height: 1.2;
}
h3 {
  font-size: 22px;
  line-height: 1.3;
}
body {
  font-size: 15px;
  line-height: 1.5;
}
small {
  font-size: 12px;
}

/* Меню (навигация) */
nav,
nav a {
  font-size: 16px;
}

/* .swiper-slide {
  height: auto !important;
}

.pricelist__slider {
  height: auto !important;
} */

.swiper-pagination-bullet {
  background-color: #f7ef9c !important;
}

.swiper-pagination-bullet-active {
  background-color: #a37b3d !important;
}

.swiper__arrows-wrapper {
  display: flex !important;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  position: absolute;
  height: 100%;
  width: 88px;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.swiper-button-prev,
.swiper-button-next {
  background-image: url("../assets/images/arrow.svg");
  background-size: 18px 14px;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: relative !important;
  width: 40px !important;
  height: 40px !important;
  margin-top: 0 !important;
  left: initial !important;
  right: initial !important;
  bottom: initial !important;
  top: initial !important;
  opacity: 1;
  transition: var(--transition-base);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 0.7;
}

.swiper-button-prev {
  transform: scale(-1);
}

#pricelist,
#staff,
#contacts {
  scroll-margin-top: 124px;
}

/* Планшеты и маленькие ноутбуки (от 960px и выше) */
@media (min-width: 960px) {
  h1 {
    font-size: 44px;
  }
  h2 {
    font-size: 32px;
  }
  h3 {
    font-size: 24px;
  }
  body {
    font-size: 16px;
  }
  small {
    font-size: 13px;
  }

  /* Меню (навигация) */
  nav,
  nav a {
    font-size: 20px;
  }

  a {
    transition: var(--transition-base);
  }

  a:hover {
    opacity: 0.7;
  }
}

/* Десктопы (от 1440px и выше) */
@media (min-width: 1440px) {
  h1 {
    font-size: 56px;
  }
  h2 {
    font-size: 40px;
  }
  h3 {
    font-size: 24px;
  }
  body {
    font-size: 18px;
  }
  small {
    font-size: 14px;
  }
}
