@import "./burger-menu.css";
@import "./price.css";
/*@import "./barbers.css";*/
@import "./footer.css";

:root {
  --light-color: #fff;
  --border-radius: 20px;

  --key-color: #cd9b5a;
}

body {
  font-family: "Ubuntu", sans-serif;
  font-size: 18px;
  overflow-x: hidden;
}

button {
  color: #000;
}

.container {
  margin: 0 auto;
  max-width: 1280px;
  padding: 0px 30px;
}

@media (max-width: 479px) {
  .container {
    padding: 0 20px;
  }
}

/* Loader */
.root.loader-visible {
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}
.root.loader-visible .loader {
  display: flex;
  transform: translateY(0);
  transition: transform 1s ease-in-out;
}

.loader {
  transform: translateY(-100vh);
  transition: transform 1s ease-in-out;
  position: fixed;
  width: 100vw;
  height: 100vh;
  padding: 0 30px;
  background-color: #000;
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader img {
  max-width: 300px;
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  background-color: #000;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  max-width: 100vw;
}

.header__content {
  display: flex;
  color: #fff;
  padding: 10px 0;
  justify-content: space-between;
}

.header__menu {
  display: flex;
  align-items: center;
  transition: 0.3s ease;
  width: 100%;
}
.header__menu li {
  cursor: pointer;
  margin-right: 30px;
}
.header__logo img {
  --animate-duration: 0.75s;
}
.header__menu li:nth-child(1) {
  --animate-duration: 1s;
}
.header__menu li:nth-child(2) {
  --animate-duration: 1.25s;
}
.header__menu li:nth-child(3) {
  --animate-duration: 1.5s;
}

.header__logo {
  margin-right: 50px;
  cursor: pointer;
}

.header__logo img {
  width: 100px;
}
.header__time {
  display: flex;
  align-items: center;
  font-size: 14px;
}

.header__time p {
  margin-left: 10px;
}

.header__social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
}

.header__social a {
  transition: 0.3s ease-out;
}
.header__social a:hover {
  scale: 1.2;
  transition: 0.3s ease-out;
}

.header-menu__social {
  display: none;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.header-menu__social img {
  width: 40px;
  height: 40px;
}
.header-menu__social a {
  display: inline-block;
}
.header-menu__social a:not(:last-child) {
  margin-bottom: 30px;
}

.header__social a {
  margin-right: 15px;
}
.header__contacts {
  display: flex;
  justify-content: flex-end;
  flex: 1;
}
.header__lng {
  background-color: #000;
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 18px;
}

.header-menu__social-dropdown {
  position: absolute;
  display: flex;
  flex-direction: column;
  top: 80px;
  background-color: rgba(0, 0, 0, 0.75);
  padding: 20px;
  border-radius: 15px;
  backdrop-filter: blur(15px);
  transform: scale(0) translateX(0);
  transform-origin: top left;
  transition: transform 0.3s ease-in;
}

.header-menu__dropdown-trigger {
  cursor: pointer;
  transition: transform 0.3s ease-out;
}

.header-menu__dropdown-trigger:active {
  transform: scale(0.9);
  transition: transform 0.3s ease-out;
}

.header-menu__social-dropdown.visible {
  transform: scale(1) translateX(-20px);
  transition: transform 0.3s ease-in;
}

/* Mobile navigation  */
@media (max-width: 768px) {
  .header__menu {
    display: none;
  }
  .header__logo {
    margin-right: 0;
  }
  .header__logo img {
    --animate-duration: 1.5s;
  }

  .header__menu--open {
    display: block;
    text-align: center;
    position: absolute;
    right: 0;
    left: 0;
    min-height: 55vh;
    background: #000;
    display: grid;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
    padding-top: 100px;
    z-index: -1;
  }

  .header__menu--open li {
    margin-right: 0;
    margin-bottom: 40px;
  }

  .header-menu__social {
    display: flex;
  }

  .header__social {
    display: none;
  }

  .header__contacts {
    display: none;
  }
}

@media (max-width: 479px) {
  .header-menu__social-dropdown {
    padding: 10px;
  }

  .header-menu__social-dropdown.visible {
    transform: scale(1) translateX(-10px);
  }
}

/* Common */
.section-title {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 50px;
  text-align: center;
}

.button {
  font-weight: 800;
  padding: 10px 20px;
  border-radius: 20px;
  line-height: 24px;
  text-align: center;
}

.background-text {
  position: absolute;
  z-index: -1;
  font-size: 120px;
  font-weight: 800;
  opacity: 0.1 !important;
}

/* Fullscreen */
.welcome-section__scroll {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: calc(50% - 20px);
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.welcome-section__scroll:before,
.welcome-section__scroll:after {
  content: url("../sources/icons/arrow-down-icon.svg");
  position: absolute;
}

.welcome-section__scroll:before {
  animation: scrollJump 1.75s infinite ease-in-out;
}

.welcome-section__scroll::after {
  animation: scrollJump 1.75s 1s infinite ease-in-out;
}

@keyframes scrollJump {
  0% {
    transform: translateY(-15px);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

.fullscreen__image {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%);
  transition: opacity 1.25s ease-in-out;
}
.fullscreen__image.fullscreen__image--visible {
  opacity: 1;
  transition: opacity 1.25s ease-in-out;
}

/* Welcome section */
.welcome-section {
  width: 100%;
  height: 100svh;
}
.welcome-section__wrapper {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 80px;
  color: #fff;
}
.welcome-section__title {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 20px;
  --animate-duration: 1s;
}
.welcome-section__address {
  margin-bottom: 20px;
  --animate-duration: 1.1s;
}
.welcome-section__phone {
  font-size: 36px;
  font-weight: 800;
  display: flex;
  align-items: center;
  cursor: pointer;
  --animate-duration: 1.2s;
}
.welcome-section__phone-icon {
  width: 50px;
  height: 50px;
}
.welcome-section__number {
  padding-left: 20px;
}

@media (max-width: 479px) {
  .section-title {
    font-size: 42px;
  }
  .welcome-section__phone-icon {
    width: 30px;
    height: 30px;
  }
  .welcome-section__phone {
    font-size: 28px;
  }
  .welcome-section__number {
    padding-left: 10px;
  }
}
