/* Initialize */

@import 'fonts.css';
@import './components/page-hero.css';
@import './global.css';

/* Sections */
@import "./sections/header.css";
@import "./sections/footer.css";

body {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}



header ul,
header ol,
footer ul,
footer ol,
.home ul,
.home ol {
    list-style: none;
    padding: 0;
}

header a,
footer a,
.home a {
    text-decoration: none;
    box-sizing: border-box;
}

header li a,
footer li a,
.home li a {
    color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section__title {
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  text-transform: uppercase;
  color: #231f20;
  margin-bottom: 10px;
}

.section__subtitle {
  font-family: "Epilogue", sans-serif;
  font-weight: 700;
  color: #2d532d;
}

.button {
  max-width: 186px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  height: 48px;
  white-space: nowrap;
  transition: 0.5s;
}

.button--green {
  background-color: var(--color-primary);
  color: var(--color-text-light);

  &:hover {
    background-color: var(--color-primary-hover);
  }
}

.button--white {
  background-color: var(--color-text-light);
  color: var(--color-primary);

  &:hover {
    background-color: #E6E9E7;
  }
}

.button--transparent {
  background-color: transparent;
  color: var(--color-text-light);
  border: 2px solid var(--color-text-light);

  &:hover {
    background-color: #FFFFFF29;
  }
}

.button--outlined {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  
  &:hover {
    background-color: #E6E9E7;
  }
}

.phone {
  position: relative;
  padding-left: 38px;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    background-image: url("../images/phone.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.email {
  position: relative;
  padding-left: 35px;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 20px;
    height: 16px;
    background-image: url("../images/email.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.schedule {
  position: relative;
  padding-left: 35px;

  &::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    width: 18px;
    height: 18px;
    background-image: url("../images/clock.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
}

.swiper-button-next svg, .swiper-button-prev svg{
  display: none !important;
}

.swiper-button {
  position: relative !important;
  left: unset !important;
  right: unset !important;
  top: unset !important;
  border-radius: 100%;
  width: 50px !important;
  height: 50px !important;
  flex-shrink: 0;
  background-image: url("../images/arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;
  box-shadow: 0px 4px 10px 0px #0f1b330d;
  box-sizing: border-box;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

.swiper-button:hover {
  transform: scale(1.1);
  box-shadow: 0px 6px 15px 0px #0f1b331a;
  opacity: 0.9;
}

.swiper-button:active {
  transform: scale(0.95);
}

.swiper-button::after {
  display: none !important;
}

.swiper-button-prev {
  transform: rotate(180deg);
}

.swiper-button-prev:hover {
  transform: rotate(180deg) scale(1.1);
}

.swiper-button-prev:active {
  transform: rotate(180deg) scale(0.95);
}


@media (max-width: 1024px) {
.products__slider {
  gap: 20px;
  margin: 60px 0 40px;
}

.products__swiper {
  width: 100%;
}
}

@media (max-width: 800px) {
  .subtitle {
    font-size: 32px;
    font-weight: 700;
    font-style: bold;
    color:#2D532D
  }
  .schedule::before, .phone::before, .email::before {
    width: 16px;
    height: 16px;
  }

  .email, .phone, .schedule {
    padding-left: 25px;
  }

  .products__slider {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 40px 16px 32px !important;
    width: calc(100% - 32px) !important;
  }

  .products__swiper {
    width: 100%;
    max-width: 100%;
    order: 2;
  }

  .swiper-button {
    width: 40px !important;
    height: 40px !important;
  }

  .products__slider .swiper-button {
    position: relative;
    margin: 0;
  }

  .products__slider .swiper-button-prev {
    order: 1;
  }

  .products__slider .swiper-button-next {
    order: 3;
  }

  .section__title, .products__title {
    font-size: 14px;
  } 
  .products {
    padding: 80px 16px;
  }

  .products__subtitle {
    font-size: 32px;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 1px;

  }

  .container {
    margin: 0 16px;
    display: block;
  }

}

@media (max-width: 1200px) {
  .container {
    display: flex;
    justify-content: space-around;
  }
}