/* ---------- BASE ---------- */
:root {
  --black: #000000;
  --white: #ffffff;
  --grey: #a9a9a9;
  --dark-blue: #64809b;
  --light-blue: #9bc6f0;
}
* {
  padding: 0;
  margin: 0;
  font-family: "Chakra Petch", sans-serif;
}
html {
  scroll-behavior: smooth;
}

/* ---------- ALL ---------- */
.sect-in {
  /* max-width: 1000px; */
}
body {
  background-image: repeating-linear-gradient(
      175deg,
      rgb(255, 255, 255) 0px,
      rgb(255, 255, 255) 31px,
      transparent 31px,
      transparent 35px
    ),
    repeating-linear-gradient(
      125deg,
      rgb(255, 255, 255) 0px,
      rgb(255, 255, 255) 31px,
      transparent 31px,
      transparent 35px
    ),
    repeating-linear-gradient(
      250deg,
      rgb(255, 255, 255) 0px,
      rgb(255, 255, 255) 31px,
      transparent 31px,
      transparent 35px
    ),
    repeating-linear-gradient(
      106deg,
      rgb(255, 255, 255) 0px,
      rgb(255, 255, 255) 31px,
      transparent 31px,
      transparent 35px
    ),
    linear-gradient(90deg, var(--dark-blue), var(--dark-blue));
}
.title-highlight {
  padding-left: 10px;
  padding-right: 10px;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    var(--light-blue) 55%,
    var(--light-blue) 90%,
    transparent 90%,
    transparent 100%
  );
}
.text-highlight {
  font-style: italic;
  color: var(--dark-blue);
}
.title-highlight-inverted {
  background: linear-gradient(
    to bottom,
    transparent 55%,
    var(--dark-blue) 55%,
    var(--dark-blue) 90%,
    transparent 90%,
    transparent 100%
  );
}
.text-bold {
  font-weight: bold;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 62px;
  z-index: 1818;
  transition: background-color 0.5s;
}
.nav.nav-scrolled {
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
}
.nav .nav-menu-ul {
  display: flex;
  padding: 0 28px;
  width: 75%;
  gap: 15px;
  list-style: none;
  align-items: center;
}
.nav .nav-menu-ul li:nth-child(1) {
  margin-right: auto;
  img {
    width: 50px;
    /* filter: drop-shadow(1px 1px 0px var(--black))
      drop-shadow(-1px 1px 0 var(--black)) drop-shadow(-1px -1px 0 var(--black)); */
    border: 2px solid var(--black);
    border-radius: 100%;
  }
}
.nav .nav-menu-ul li a {
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1.1px;
  color: var(--black);
  text-transform: uppercase;
  transition: 0.5s;
}
.nav .nav-menu-ul li a.nav-menu-elem:hover {
  color: var(--light-blue);
  cursor: pointer;
}
.nav .nav-menu-ul li a.nav-menu-scrolled {
  color: var(--white);
}
.nav .nav-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 1818;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  display: none;
  flex-direction: column;
  align-items: unset;
  padding: 0;
  gap: 0;
}
.nav .nav-sidebar li {
  /* padding: 18px; */
}
.nav .nav-sidebar li:first-child {
  padding-top: 58px;
  margin-right: 0;
}
.nav .nav-sidebar li a {
  display: block;
  padding: 30px;
  color: var(--white);
}
.nav-show-mobile {
  display: none;
}
@media (max-width: 800px) {
  .nav .nav-menu-ul li:nth-child(1) {
    img {
      width: clamp(30px, 5vw, 50px);
    }
  }
  .nav-hide-mobile {
    display: none;
  }
  .nav-show-mobile {
    display: block;
  }
}
@media (max-width: 500px) {
  .nav .nav-menu-ul {
    /* margin-top: 25px; */
  }
  .nav .nav-sidebar {
    width: 100%;
  }
}

/* ---------- HOME ---------- */
.home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  background-image: repeating-linear-gradient(
      0deg,
      transparent,
      transparent 20px,
      rgba(75, 85, 99, 0.08) 20px,
      rgba(75, 85, 99, 0.08) 21px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 30px,
      rgba(107, 114, 128, 0.06) 30px,
      rgba(107, 114, 128, 0.06) 31px
    ),
    repeating-linear-gradient(
      60deg,
      transparent,
      transparent 40px,
      rgba(55, 65, 81, 0.05) 40px,
      rgba(55, 65, 81, 0.05) 41px
    ),
    repeating-linear-gradient(
      150deg,
      transparent,
      transparent 35px,
      rgba(31, 41, 55, 0.04) 35px,
      rgba(31, 41, 55, 0.04) 36px
    );

  background-attachment: fixed;
}
.home-in {
  width: 820px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-in-img video {
  width: 330px;
  box-shadow: var(--white) -28px 28px 0px -2px, var(--dark-blue) -28px 28px;
}
.home-in-img img {
  display: none;
}
.home-in-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* height: 350px; */
  height: 435px;
  width: 420px;
}
.home-in-content img {
  filter: drop-shadow(1px 1px 0px var(--black))
    drop-shadow(-1px 1px 0 var(--black)) drop-shadow(-1px -1px 0 var(--black));
  width: 200px;
  border-radius: 18%;
}
.home-in-content-1 {
  display: flex;
  justify-content: center;
}
/* .home-in-content-1 {
  p {
    text-align: center;
    font-size: 45px;
    font-weight: bolder;
  }
} */
.home-in-content-2 {
  display: flex;
  gap: 20px;
  /* border: solid 1px black; */
}
.home-in-content-2-1 {
  width: 38px;
  margin-top: 15.8px;
  /* margin-left: 40px; */
  border-top: 2px solid var(--dark-blue);
}
.home-in-content-2-2 {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.5px;
  word-wrap: normal;
}
.home-in-content-empty {
  height: 18px;
}
.home-in-content-3 {
  padding: 12px;
  border: solid 1px transparent;
  border-radius: 18px;
  text-align: center;
  transition: border 2s;
}
.operating-hours-transition {
  border: solid 1px var(--black);
}
.home-in-content-3 p:nth-child(1) {
  font-size: 25px;
  padding-bottom: 5px;
  font-weight: bold;
  /* color: var(--dark-blue); */
}
.home-in-content-3 p:nth-child(2) {
  font-size: 21px;
  line-height: 29px;
}
@media (max-width: 900px) {
  .home-in-img video {
    box-shadow: none;
  }
}
@media (max-width: 845px) {
  .home {
    align-items: unset;
    justify-content: unset;
  }
  .home-in {
    flex-direction: column;
    margin: 15% 5%;
    width: 100%;
    /* justify-content: space-between; */
    /* justify-content: space-evenly; */
    justify-content: center;
    gap: 4vw;
  }
  .home-in-img {
    display: flex;
    justify-content: center;
    width: 100%;
    /* position: relative; */
    order: 2;
  }
  .home-in-img video {
    width: 80%;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  }
  /* .home-in-img img {
    display: block;
    width: 65%;
    position: absolute;
    top: 3%;
    filter: drop-shadow(1px 1px 0px var(--black))
      drop-shadow(-1px 1px 0 var(--black)) drop-shadow(-1px -1px 0 var(--black));
  } */
  .home-in-content {
    height: fit-content;
    gap: 3vw;
    width: 80%;
    justify-content: space-evenly;
    img {
      width: 50%;
      /* display: none; */
    }
  }
  .home-in-content-2-1,
  .home-in-content-empty {
    display: none;
  }
  .home-in-content-2 {
    gap: 0;
    /* width: 70vw; */
  }
  .home-in-content-2-2 {
    font-size: 5vw;
    text-align: center;
    /* margin-bottom: 2.1%; */
  }
  .home-in-content-3 {
    padding: 1%;
  }
  .home-in-content-3 p:nth-child(1) {
    font-size: 5vw;
    padding-bottom: 2%;
    font-weight: bold;
  }
  .home-in-content-3 p:nth-child(2) {
    font-size: 4vw;
    line-height: unset;
  }
}

/* ---------- PRICING ---------- */
.pricing {
  /* min-height: 100vh; */
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-in {
  width: 900px;
  display: flex;
  margin: 40px;
  /* align-items: center; */
  justify-content: space-between;
  /* margin-bottom: 110px; */
}
.pricing-in-content-left-title {
  font-size: 45px;
  font-weight: bold;
  padding-bottom: 10px;
}
.title-highlight-right {
  padding-right: 19px;
}
.pricing-in-content-left-desc {
  display: flex;
  gap: 20px;
}
.pricing-in-content-left-desc-empty {
  width: 10px;
}
.pricing-in-content-left-desc-dash {
  width: 40px;
  margin-top: 16px;
  border-top: 2px solid var(--dark-blue);
}
.pricing-in-content-left-desc-text {
  font-size: 20px;
  letter-spacing: 1px;
}
.pricing-in-content-right {
  /* display: flex;
  gap: 20px;
  font-size: 25px; */
  margin-top: 40px;
  padding: 10px 20px;
  border: 2.2px solid var(--dark-blue);
  box-shadow: var(--white) 28px -28px 0px -2px, var(--dark-blue) 28px -28px;
  /* background-color: var(--dark-blue); */
  /* border: 2px solid var(--dark-blue); */
  background-color: #ffffff;
  background-color: #ffffff;
  opacity: 1;
  background-image: linear-gradient(
      30deg,
      #e8e8e8 12%,
      transparent 12.5%,
      transparent 87%,
      #e8e8e8 87.5%,
      #e8e8e8
    ),
    linear-gradient(
      150deg,
      #e8e8e8 12%,
      transparent 12.5%,
      transparent 87%,
      #e8e8e8 87.5%,
      #e8e8e8
    ),
    linear-gradient(
      30deg,
      #e8e8e8 12%,
      transparent 12.5%,
      transparent 87%,
      #e8e8e8 87.5%,
      #e8e8e8
    ),
    linear-gradient(
      150deg,
      #e8e8e8 12%,
      transparent 12.5%,
      transparent 87%,
      #e8e8e8 87.5%,
      #e8e8e8
    ),
    linear-gradient(
      60deg,
      #e8e8e877 25%,
      transparent 25.5%,
      transparent 75%,
      #e8e8e877 75%,
      #e8e8e877
    ),
    linear-gradient(
      60deg,
      #e8e8e877 25%,
      transparent 25.5%,
      transparent 75%,
      #e8e8e877 75%,
      #e8e8e877
    );
  background-size: 34px 60px;
  background-position: 0 0, 0 0, 17px 30px, 17px 30px, 0 0, 17px 30px;
  background-attachment: fixed;
}
.pricing-in-table {
  border-collapse: collapse;
  font-size: 20px;
  line-height: 50px;
}
.pricing-in-table tr td:nth-child(1) {
  padding-right: 25px;
  border-right: 1px solid var(--black);
}
.pricing-in-table tr td:nth-child(2) {
  padding-left: 25px;
  text-align: center;
}
.pricing-in-table tr:nth-last-child(1) td {
  border: none;
  padding-right: 0px;
}
.pricing-last p {
  font-size: 18px;
  text-align: center;
}
@media (max-width: 950px) {
  .pricing-in {
    /* width: 100%; */
    flex-direction: column;
    margin: 10% 5% 5% 5%;
    gap: 5vw;
    align-items: center;
  }
  .pricing-in-content-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5vw;
  }
  .pricing-in-content-left-title {
    font-size: 5vw;
    padding: 0;
    text-align: center;
  }
  .pricing-in-content-left-title p br {
    display: none;
  }
  .pricing-in-content-left-title .title-highlight,
  .pricing-in-content-left-title .title-highlight-right {
    padding: 0;
  }
  .pricing-in-content-left-desc {
    padding-bottom: 0;
    width: 80%;
  }
  .pricing-in-content-left-desc-empty,
  .pricing-in-content-left-desc-dash {
    display: none;
  }
  .pricing-in-content-left-desc-text {
    font-size: 3.5vw;
    text-align: center;

    br {
      display: none;
    }
  }
  .pricing-in-content-right {
    /* width: 80%; */
    margin: 0;
    box-shadow: none;
    padding: 0;
    display: flex;
    background-image: url(./img/barber-art.png);
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    width: 80%;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
      rgba(0, 0, 0, 0.22) 0px 15px 12px;
  }
  .pricing-in-table {
    font-size: 3.5vw;
    line-height: 160%;
    width: 100%;
    padding: 2%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(2px);
  }
  .pricing-in-table tr td:nth-child(1) {
    padding-right: 0;
    border-right: 1px solid var(--black);
    padding-left: 3%;
  }
  .pricing-in-table tr td:nth-child(2) {
    padding-left: 0;
    text-align: center;
  }
  .pricing-in-table tr:nth-last-child(1) td {
    border: none;
    padding-right: 0px;
  }
  .pricing-last p {
    font-size: 3.2vw;
    text-align: center;
  }
}

/* ---------- LOCATION ---------- */
.location {
  display: flex;
  justify-content: center;
}
.location-in {
  width: 1050px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 88px;
  margin-bottom: 88px;
  gap: 28px;
}
.location-in-title {
  font-size: 45px;
  font-weight: bold;
}
.location-in-address {
  text-align: center;
  font-size: 20px;
  letter-spacing: 1px;
}
.location-in-extra-info {
  text-align: center;
  font-size: 17.5px;
  letter-spacing: 0.5px;
  color: #5e5e5e;
}
.location-in-map iframe {
  min-width: 680px;
  min-height: 240px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px,
    rgba(0, 0, 0, 0.22) 0px 15px 12px;
}
@media (max-width: 780px) {
  .location-in {
    width: 100%;
    margin: 5% 5% 10% 5%;
    gap: 5vw;
  }
  .location-in-title {
    font-size: 5vw;
    font-weight: bold;
  }
  .location-in-title .title-highlight {
    padding: 0;
  }
  .location-in-address {
    text-align: center;
    font-size: 3.5vw;
    letter-spacing: 1px;
    br {
      display: none;
    }
  }
  .location-in-extra-info {
    text-align: center;
    font-size: 3.2vw;
    letter-spacing: 0.5px;
    color: #5e5e5e;
  }
  .location-in-map {
    width: 100%;
  }
  .location-in-map iframe {
    min-width: 0;
    width: 100%;
    min-height: 30vw;
  }
}

/* ---------- BARBER ---------- */
.barber {
  min-height: 100vh;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.barber-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;

  .barber-link {
    ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 20px;

      li {
        a {
          text-decoration: none;
          color: var(--white);
          font-size: 40px;
          transition: color 0.5s;

          &:hover {
            color: var(--light-blue);
          }
        }
      }
    }
  }
  @media (max-width: 1070px) {
    .barber-link-hide-mobile {
      display: none;
    }
    .barber-link-show-630px {
      display: none;
    }
    .barber-link {
      /* order: 2; */
    }
    .barber-link ul {
      flex-direction: row;
      gap: 2.4vw;
      /* justify-content: center; */
    }
    .barber-link ul li a {
      font-size: 4.5vw;
    }
  }
  @media (max-width: 630px) {
    .barber-link-show-630px {
      display: inline;
      font-size: 4vw;
      opacity: 0;
      transition: 0.5s;
    }
    .barber-link-transition {
      opacity: 1;
    }
    .barber-link ul {
      flex-direction: column;
    }
  }
  .barber-img {
    position: relative;
    img {
      width: 450px;
      border-radius: 18px;
    }
  }
  @media (max-width: 1070px) {
    .barber-img {
      display: flex;
      justify-content: center;
      /* order: 1; */
      /* margin-bottom: 5vw; */
      /* position: relative; */
    }
    .barber-img img {
      width: 100%;
      /* border-radius: 3vw; */
      border-radius: 0;
    }
  }
  .barber-content-show-mobile {
    display: none;
  }
  .barber-content {
    width: 420px;
    color: var(--white);
    display: flex;
    flex-direction: column;

    .barber-text {
      transform: translateY(12px);
      p {
        font-size: 40px;
        font-weight: bold;
      }
    }
    .barber-title {
      p {
        font-size: 50px;
        font-weight: bold;
      }
    }
    .barber-name {
      margin-bottom: 30px;
      p {
        font-size: 70px;
        font-weight: bold;
      }
    }
  }
  .barber-content-img-gradient {
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: linear-gradient(transparent 70%, var(--black));
    top: 0;
    left: 0;
  }
  @media (max-width: 1070px) {
    .barber-content {
      display: none;
    }
    .barber-content-show-mobile {
      /* width: 100%; */
      width: fit-content;
      color: var(--white);
      display: flex;
      flex-direction: column;
      /* align-items: center; */
      /* justify-content: center; */
      position: absolute;
      top: 0;
      left: 5%;

      .barber-text,
      .barber-title,
      .barber-name {
        width: 65%;
      }
      .barber-text {
        transform: translateY(25%);
        p {
          font-size: 4.5vw;
          font-weight: bold;
          word-wrap: normal;
        }
      }
      .barber-title {
        margin-bottom: 2%;
        p {
          font-size: 4.5vw;
          font-weight: bold;
        }
      }
      .barber-name {
        /* margin-bottom: 30px; */
        margin-bottom: 2%;
        p {
          font-size: 5.2vw;
          font-weight: bold;
        }
      }
    }
  }
}
@media (max-width: 1070px) {
  .barber {
    min-height: 0;
    align-items: stretch;
    justify-content: unset;
  }
}
@media (max-width: 1070px) {
  .barber-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10% 0 0 0;
    gap: 0;
  }
}

/* ---------- GALLERY ---------- */
.gallery {
  background-color: var(--black);

  .gallery-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 50px 0 50px 0;

    .gallery-title {
      p {
        text-align: center;
        font-size: 45px;
        font-weight: bold;
        color: var(--white);
      }
    }
    @media (max-width: 800px) {
      .gallery-title {
        p {
          font-size: 5vw;
        }
      }
    }
    .gallery-content {
      width: 100%;
      display: flex;
      overflow-x: hidden;

      &::-webkit-scrollbar {
        display: none;
      }

      ul {
        display: flex;
        list-style: none;
        gap: 20px;
        animation: carousel 18s infinite linear;
        padding-right: 20px;

        li {
          display: flex;
          flex-direction: column;
          gap: 10px;
          padding: 10px;
          background-color: white;

          img {
            width: 260px;
          }
          p {
            font-size: 22px;
            font-weight: bold;
            text-align: center;
          }
        }
      }
    }
    @media (max-width: 800px) {
      .gallery-content ul {
        gap: 2vw;
        padding-right: 2vw;
      }
      .gallery-content ul li {
        gap: 2.5vw;
        padding: 1.5vw;
      }
      .gallery-content ul li img {
        width: 60vw;
      }
      .gallery-content ul li p {
        font-size: 4.8vw;
      }
    }
  }
  @media (max-width: 800px) {
    .gallery-container {
      gap: 5vw;
    }
  }
}
@keyframes carousel {
  from {
    translate: 0;
  }
  to {
    translate: -100%;
  }
}

/* ---------- FOOTER ---------- */
footer {
  background-color: var(--black);
  display: flex;
  justify-content: center;

  .footer-container {
    padding: 18px 0 32px 0;
    width: 70%;
    border-top: 1px solid var(--grey);
    display: flex;
    justify-content: space-between;

    p {
      color: var(--grey);

      a {
        text-decoration: none;
        color: var(--grey);
      }
    }
  }
  @media (max-width: 900px) {
    .footer-container {
      flex-direction: column;
      justify-content: unset;
      align-items: center;
      padding: 2.1vw 0 10.2vw 0; /* bot - 4.2 */

      p {
        text-align: center;
        font-size: 1.98vw;
        line-height: 4vw;
      }
    }
  }
}
/*  */
/*  */
/*  */
/* .titles {
  transform: translateX(-20%);
  opacity: 0;
  transition: 1s;
}
.titles-show {
  transform: translateX(0);
  opacity: 1;
} */
