@import url("https://fonts.googleapis.com/css2?family=Alice&family=Open+Sans:wght@400;600&family=Rubik&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@1,900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --basic-color: #f6f0e9;
  --text-color: #c5af93;
  --secondary-text-color: #ff8800;
  --footer-background-color: #1b1613;
  --title-font: "Open Sans", serif;
  --paragraph-font: "Open Sans", sans-serif;
  scroll-behavior: smooth;
  --fullhd: 1440px;
  --widescreen: 1216px;
  --desktop: 1024px;
  --tablet: 1024px;
}

.container {
  display: block;
  position: relative;
  width: 100%;
  max-width: var(--fullhd);
  margin-left: auto;
  margin-right: auto;
  padding-left: 5%;
  padding-right: 5%;
  
  @media (min-width: var(--tablet)) {
    padding-left: 10%;
    padding-right: 10%;
  }

  @media (min-width: var(--fullhd)) {
    padding-left: 144px;
    padding-right: 144px;
  }
}

img {
  height: auto;
  width: 100%;
}

.main-photo {
  aspect-ratio: 1.35;
  background-image: url(../img/main_mobile.jpg);
  background-position: center center;
  background-size:cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-title {
  text-align: center;
  font-family: var(--title-font);
  font-weight: bold;
  color: #fff;
  margin-bottom: 30px;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}

@media (min-width: 769px) {
  .main-photo {
    aspect-ratio: 2.25;
    background-image: url(../img/main_desktop.jpg);
    background-position: center center;
    background-size:cover;
  }
}

@media (min-width: 992px) {
  .main-foto {
    height: 80vh;
  }
}

.shadow-box,
.categorys-tc,
.shops-info,
.heals-and-beauty-info,
.equipment-repair-workshops,
.footer-nav-menu {
  background-color: var(--basic-color);
}

p, li {
  font-family: "Open Sans", serif;
  color: #3f3e3e;
}

.categorys-tc {
  padding-bottom: 30px;
}

.main-nav-link {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.nav-link {
  list-style-type: none;
  margin: 10px 7px;
}

.icon-and-title-category {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.color-link,
.title-category,
.footer-color-link {
  font-family: var(--title-font);
  font-weight: bold;
  color: #3f3e3e;
}

.logo-img-text {
  color: #3f3e3e;
  font-family: Rubik;
  font-weight: bold;
  font-size: 12px;
  text-align: center;
}

.logo-img-text-title {
  color: #ff3300;
  font-family: 'Exo 2', sans-serif;
  font-weight: bold;
  font-size: 30px;
  text-align: center;
}

.icon-and-title-category {
  margin: 20px 0;
}

.small-icon {
  width: 70px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border-color: var(--text-color);
  border-style: solid;
  padding: 3px;
}

.title-category {
  position: relative;
  color: rgba(48, 20, 0, 0.71);
  cursor: pointer;
  line-height: 1;
  text-decoration: none !important;
  margin-left: 20px;
}

.title-category:hover {
  color: #3f3e3e !important;
}

.title-category:after {
  display: block;
  position: absolute;
  text-decoration: none;
  left: 0;
  width: 0px;
  height: 2px;
  background-color: #ada8a2;
  content: "";
  color: #3f3e3e !important;
  transition: width 0.3s ease-out;
}

.title-category:hover:after,
.title-category:focus:after {
  text-decoration: none;
  color: #3f3e3e !important;
  width: 100%;
}

.wrapper-tc {
  height: 90%;
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 769px) {
  .wrapper-tc {
    grid-template-columns: 1fr 1fr;
  }
}

.inner-tc,
.repair-workshops-inner,
.repair-workshops-inner-s {
  background-color: #fff;
  box-shadow: 0 0 15px -5px rgba(0, 0, 0, 0.5);
  margin: 10px 0;
  padding: 0 20px;
  border-radius: 20px;

  @media (min-width: 769px) {
    margin: 10px;
  }
}


.shops-img, .repair-workshops-img, .heals-and-beauty-img {
  height: 30vh;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;

}
@media (min-width: 769px) {
  .shops-img, .repair-workshops-img, .heals-and-beauty-img {
    min-height: 300px;
  }
}
.shops-img {
  background-image: url(../img/shops.webp);
}

.repair-workshops-img {
  background-image: url(../img/repair-workshops.webp);
}
.heals-and-beauty-img {
  background-image: url(../img/beauty-heals.webp);
}

.title-category-text {
  text-align: center;
  color: #fff;
  font-family: Rubik;
  font-weight: bold;
}

#carouselShops,
#carouselBeauty {
  padding: 30px 0;
}

.carousel-inner {
  margin-bottom: 20px;
}

.carousel-img-w {
  /* border-color: var(--text-color);
  border-style: solid;
  padding: 5px; */
  /* min-width: 300px; */
  max-width: 500px;
  /* margin: 15px; */
}



#carouselShops > div > div.carousel-item.active > div > div > p.discount-promotion {
  text-align: center;
  font-weight: bold;
  color: #ff3300;
}

.slide-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  /* width: 80%; */
  /* height: 80vh; */
  margin: auto;
  border-radius: 20px;
  overflow: hidden;
}

.slide-text-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90%;
  /* padding-bottom: 20px;
  padding-top: 20px; */
  padding: 20px;
  text-align: center;
  font-family: "Open Sans", serif;
  font-size: 80%;
  color: #3f3e3e;
}

.slide-title-text,
.box-title-text {
  font-weight: bold;
  font-size: 150%;
  color: var(--text-color);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  /* .carousel-img-w {
    height: 60%;
  } */
  .slide-box {
    display: flex;
    flex-direction: row;
    /* height: 50vh; */
  }
  .slide-text-box {
    width: 50%;
    /* padding-right: 20px; */
    padding: 20px;

    text-align: start;
    font-size: 1em;
  }
}

@media (min-width: 992px) {
  /* .carousel-img-w {
    height: 70%;
  } */

  /* .slide-box {
    height: 60vh;
  } */
}

.clock-img {
  width: 15px;
  margin-right: 10px;
}

.working-hours {
  display: flex;
  flex-direction: row;
  margin-bottom: 10px;
}

.carousel-ind-marg {
  margin-top: 20px;
}

.repair-workshops-inner,
.repair-workshops-inner-s {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  /* width: 80vw; */
  border-radius: 20px;
  overflow: hidden;
}

.repair-workshops-inner-s {
  margin-top: 20px;
}

.repair-workshops-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.repair-workshops-photo {
  width: 100%;
}

.workshop-text-box {
  padding: 10px;
  margin-bottom: 15px;
  font-family: "Open Sans", serif;
  font-weight: bold;
  color: #3f3e3e;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-start;
}

.workshop-text-box-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

@media (min-width: 768px) {
  .repair-workshops-inner {
    flex-direction: row;
  }

  .repair-workshops-inner-s {
    flex-direction: row-reverse;
  }

  .repair-workshops-photo {
    width: 50%;
  }

  .workshop-text-box {
    min-height: max-content;
    height: 500px;
  }
}

.contacts-map-wrapper {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.contacts-footer {
  font-family: "Open Sans", serif;
  font-weight: bold;
  color: #3f3e3e;
  margin-top: 15px;
}

.footer-contacts-title {
  text-align: center;
}

.phone-number-box {
  display: flex;
  flex-direction: column;
}

.phone-number {
  text-decoration: none;
  color: #3f3e3e;
  font-weight: 600;
}
.phone-number:hover {
  text-decoration: none;
  color: #616060;
}
iframe {
  width: 100%;
  height: 50vh;
  margin-top: 15px;
  filter: grayscale(90%);
  border-radius: 20px;
}

@media (min-width: 768px) {
  .contacts-map-wrapper {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 0;
  }

  iframe {
    width: 80%;
    height: 40vh;
    margin: 20px 0;
  }

  .contacts-footer {
    margin-top: 20px;
  }
}

@media (min-width: 992px) {
  iframe {
    width: 50%;
    height: 50vh;
  }
}

.footer-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
}

.footer-nav-links {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: space-around;
}

.footer-color-link {
  margin: 0 5px;
}

.footer-color-link:hover {
  text-decoration: none;
  color: #3f3e3ebb;
}

.footer-brand-logo:hover {
  text-decoration: none;
}

.decor-line {
  height: 2px;
  width: 25%;
  background-color: #3f3e3ebb;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .decor-line {
    display: none;
  }

  .footer-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 10px 0;
  }

  .footer-nav-links {
    flex-direction: row;
    text-align: center;
  }
}


.inst-icon {
  width: 40px;
  margin-bottom: 15px;
}

.inst-icon:hover {
  opacity: 0.7;
}

.sub-title {
  color: var(--text-color);
  margin: 5px;
  padding: 0;
}

.smart-work-heading {
  display: flex;
  align-items: center;
  align-self: flex-start;
  margin-bottom: 10px;
}

.smart-work-logo {
  width: 50px;
  height: 50px;
  margin-right: 14px;
}
.qr-codes {
  display: flex;
  justify-content: space-around;
}

.qr-code-wrapper {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.qr-code {
  width: 100%;
  height: auto;
}

.qr-code-text {
  text-align: center;
}

.phones-box {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 14px;
}

.phones-box .sub-title {
  margin: 0;
  padding: 0;
}

.phones-box .phone-number {
  white-space: nowrap;
}

@media screen and (max-width: 768px){
  .smart-work-heading h2 {
    font-size: 22px;
  }
}

@media screen and (min-width: 768px){
  .smart-work-logo {
    width: 100px;
    height: 100px;
  }
  .phones-box {
    flex-wrap: nowrap;
  }
}


.smart-work-heading h2 {
  margin: 0;
  text-align: left;
}

.smart-work-working-hours {
  display: flex;
  margin: 15px 0;
}
