/*! Main styles. (style.css) | @author htmlcoder001.ru */

:root {
  --theme-font-text: 'Muller', sans-serif;
  --theme-font-headline: '';
  --container-width: 1360px;
  --padding-lr: 48px;
  --theme-border-radius: 40px;
  --theme-green: #285a0b;
}

body, html {
  background-color: #f8f8f8;
  font-family: var(--theme-font-text);
}

section {
  position: relative;
  margin-bottom: 48px;
}

.theme-wrapper {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  padding-left: var(--padding-lr);
  padding-right: var(--padding-lr);
}

.theme-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-green);
  border-radius: 8px;
  border: 2px solid var(--theme-green);
  height: 64px;
  cursor: pointer;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  padding-left: 24px;
  padding-right: 24px;
}
.theme-button__text {
  font-family: var(--theme-font-text);
  color: #ffffff;
  font-size: 21px;
  font-weight: bold;
  line-height: 140%;
  text-transform: uppercase;
}
.--button-secondary {
  gap: 16px;
  background: #F2F4F8;
}
.--button-secondary .theme-button__text {
  color: #333333;
}
.theme-button:hover,
.theme-button:focus {
  -webkit-transform: translateY(-6px);
  -moz-transform: translateY(-6px);
  -ms-transform: translateY(-6px);
  -o-transform: translateY(-6px);
  transform: translateY(-6px);
}
.theme-wrapper__heading {
  font-family: var(--theme-font-text);
  color: #333333;
  font-size: 32px;
  font-weight: bold;
  line-height: 140%;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
}
.theme-wrapper__heading:after {
  content: '';
  display: block;
  position: absolute;
  background-color: var(--theme-green);
  border-radius: 50px;
  width: 6px;
  height: 6px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -16px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: transparent;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
}
.header-wrapper {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
}
.header-wrapper__logo {
  font-size: 40px;
  font-weight: bold;
  color: #ffffff;
  text-transform: uppercase;
  font-family: var(--theme-font-text);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}
.header-logo__img {
  display: block;
  width: 95px ;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
}
.header-logo__text {
  text-transform: uppercase;
  font-family: "Cormorant SC", serif;
    font-weight: 700;
    font-style: normal;
    color: var(--theme-green);
  max-width: 165px;
    text-align: center;
    line-height: 36px;
    font-size: 40px;
    user-select: none;
    transition: all .2s;
}
.header-wrapper__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.header-nav__item {
  font-family: var(--theme-font-text);
  color: #333333;
  font-weight: 500;
  font-size: 18px;
  display: block;
  padding: 8px 0;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
  position: relative;
}
.header-nav__item:hover,
.header-nav__item:focus {
  color: var(--theme-green);
}
.header-nav__item.--active-link {
  pointer-events: none;
  color: var(--theme-green);
}
.header-nav__item:after {
  content: '';
  display: block;
  position: absolute;
  background-color: var(--theme-green);
  border-radius: 50px;
  width: 6px;
  height: 6px;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2px;
    -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
  opacity: 0;
}
.header-nav__item:hover:after,
.header-nav__item:focus:after {
  opacity: 1;
}
header.sticky-header {
  background-color: #fff;
  border-bottom: 1px solid #cecece;
}
header.sticky-header .header-wrapper {
  padding-top: 12px;
  padding-bottom: 12px;
}
header.sticky-header .header-logo__img {
  width: 70px;
}
header.sticky-header .header-logo__text {
  font-size: 32px;
    line-height: 28px;
    width: 125px;
}
.header-wrapper__toggle {
  display: none;
  background-color: transparent;
  position: relative;
  padding-left: 72px;
}
.header-wrapper__toggle:before {
  content: 'МЕНЮ';
  position: absolute;
  left: 0;
  text-transform: uppercase;
  font-family: var(--theme-font-text);
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
}
.header-wrapper__col {
  display: none;

/*  display: flex;*/
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}

/* Intro */
.intro {
  margin-top: 120px;
}
.intro-wrapper {
  background-color: #ccc;
  border-radius: 8px;
  padding-top: 32px;
  padding-bottom: 32px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../img/intro-bg2.jpg);
  min-height: 500px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.intro-wrapper__heading {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 12px;
}
.intro-wrapper__text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 26px;
}
.intro-wrapper:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
}
.intro-wrapper__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 1;
  margin-top: 32px;
}
.intro-actions__button {

}

/* About */
.about {

}
.about-wrapper {

}
.about-wrapper__box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.about-wrapper__content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-content__text {
  color: #333333;
  font-size: 20px;
}
.about-wrapper__media {
  max-width: 420px;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}
.about-media__image {
  min-width: 100%;
  min-height: 100%;
}

/* Products */
.products {
  background: #fff;
  padding-top: 48px;
  padding-bottom: 48px;
}
.products-wrapper {

}
.products-wrapper__heading {
    font-family: var(--theme-font-text);
    color: #333333;
    font-size: 32px;
    font-weight: bold;
    line-height: 140%;
    text-align: center;
    margin-bottom: 32px;
}
.products-wrapper__grid {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  justify-content: space-around;
  grid-gap: 32px 0;
}
.products-grid__item {

}
.products-item__image {
  max-width: 230px;
  width: 100%;
  display: block;
  margin: 0 auto;
}
.products-item__name {
    font-family: var(--theme-font-text);
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    line-height: 140%;
    text-align: center;
    margin-bottom: 6px;
    display: block;
}
.products-item__price {

}
.products-item__button {
  font-family: var(--theme-font-text);
  color: #333333;
  font-size: 18px;
  font-weight: bold;
  line-height: 140%;
  text-align: left;
  position: relative;
  cursor: pointer;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
  display: block;
  width: 98px;
  margin: 0 auto;
  transform: translateX(-20px);
}
.products-item__button:hover {
  color: var(--theme-green);
}
.products-item__button:after {
  content: '';
  display: block;
  position: absolute;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url(../img/arrow-right.svg);
  top: 50%;
  transform: translateY(-50%);
  right: -40px;
}
.products-wrapper__link {
  max-width: 280px;
  margin: 32px auto 0 auto;
}

/* Contacts */
.contacts {
  background-color: #fff;
  padding-top: 48px;
  padding-bottom: 48px;
  margin-bottom: 0;
}
.contacts-wrapper {

}
.contacts-wrapper__box {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contacts-box__info {
  display: flex;
  align-items: center;
  gap: 32px;
}
.contacts-info__item {
    font-family: var(--theme-font-text);
    color: #333333;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    display: block;
}
.contacts-info__item + .contacts-info__item {
  margin-top: 6px;
}
.contacts-info__socials {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}
.contacts-socials__heading {
    font-family: var(--theme-font-text);
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    line-height: 140%;
    margin-bottom: 6px;
    display: block;
}
.contacts-socials__item {

}
.contacts-item__icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.contacts-box__action {

}
.contacts-action__heading {
    font-family: var(--theme-font-text);
    color: #333333;
    font-size: 20px;
    font-weight: bold;
    line-height: 140%;
    margin-bottom: 6px;
    display: block;
}
.contacts-action__text {

}
.contacts-action__form {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
  gap: 6px;
}
.contacts-form__input {
  height: 52px;
  border-radius: 8px;
  border: 1px solid #333333;
  font-size: 18px;
  padding-left: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.contacts-form__input {

}
.contacts-form__submit {
  height: 52px;
}
.contacts-form__submit .theme-button__text {
  font-size: 18px;
}

/* Area */
.area {

}
.area-wrapper {

}
.area-wrapper__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 24px;
  margin-top: 16px;
}
.area-grid__item {
  height: 290px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.area-item__cover {
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
}
.area-item__text {
  position: absolute;
  color: #fff;
  bottom: 16px;
  left: 0;
  width: 100%;
  text-align: center;
  font-weight: 500;
  font-size: 20px;
  background-color: rgba(0,0,0,0.3);
  padding: 12px 0;
}

/* Footer */
footer {

}
.footer-wrapper {
  padding-top: 16px;
  padding-bottom: 16px;
}
.footer-wrapper__bottom {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.footer-wrapper__policy {
  color: #333333;
}

/* Else */
.modal-overlay {
  z-index: 1000;
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  
  background-color: rgba(0,0,0,.6);
  
  pointer-events: none;
  opacity: 0;
  
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}
.modal {
  position: fixed;
  z-index: 1001;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  max-width: 560px;
  width: 100%;
  background-color: #fff;
  padding: 40px 45px;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
  border-radius: 20px;
  
  opacity: 0;
  pointer-events: none;
}
.modal-heading {
  font-weight: 600;
  color: #000000;
  font-size: 36px;
  line-height: 1.23;
  margin-bottom: 24px;
  text-align: center;
}
.modal-text {
  font-weight: 400;
  color: #000000;
  font-size: 18px;
  line-height: 1.55;
  text-align: center;
  margin-bottom: 24px;
}
.modal-form {
}
.modal-form__input {
  font-family: var(--theme-font-text);
  font-weight: 400;
  color: #000000;
  margin-bottom: 25px;
  font-size: 16px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  height: 60px;
  outline: none;
}
.modal-form__submit {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: var(--theme-font-text);
  font-weight: 400;
  color: #ffffff;
  font-size: 24px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  background-color: #ff9800;
  -webkit-transition: all .3s;
  -moz-transition: all .3s;
  -ms-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}
.modal-submit__text {
  font-family: var(--theme-font-text);
  font-weight: 600;
  font-size: 24px;
  color: #ffffff;
  text-transform: uppercase;
}
.modal-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.modal-nav__item {
  font-family: var(--theme-font-text);
  color: #333333;
  font-weight: 500;
  font-size: 18px;
  -webkit-transition: all .2s;
  -moz-transition: all .2s;
  -ms-transition: all .2s;
  -o-transition: all .2s;
  transition: all .2s;
}
.modal-nav__item:hover,
.modal-nav__item:focus {
  color: #ffb23d;
}
.modal-nav__item.--active-link {
  pointer-events: none;
  color: #ffb23d;
}
.modal-nav__phone {
  font-size: 22px;
  margin-top: 16px;
}
.--modal-show.modal-overlay,
.--modal-show.modal {
  opacity: 1;
  pointer-events: auto;
}