@import "null.css";
@import "common.css";
@import "products.css";

:root {
  --text-color: #000000;
  --text-blue-color: #298cff;
  --text-second-color: #6b6b6b;
  --text-light-grey-color: #9d9d9d;
  --text-white-color: #ffffff;
  --bg-grey-color: #ededed;
  --main-yellow-color: #fba342;
  --second-yellow-color: #E95821;
  --main-bg-second: #031a2a;
  --dark-bg: #010d15;
}

body {
  background-color: var(--dark-bg);
  color: #eeeeee;
  font-family: "Alegreya Sans SC", sans-serif;
  display: flex;
  flex-direction: column;
}
/* body.modal {
  overflow: hidden;
} */
._container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

/* =========================== Header ======================= */
.header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 10px;
}
.header_list {
  display: flex;
  list-style: none;
  font-size: 22px;
}
.header_item {
  margin-left: 30px;
  cursor: pointer;
  transition: all ease-in 0.2s;
}
.header_item.active {
  color:  var(--second-yellow-color);
}
.header_item:hover {
  color: #fba342;
}
.logo img {
  cursor: pointer;
}
.logo svg path {
  fill: #fba342;
}
@media screen and (max-width: 768px) {
  .header_list {
    flex-direction: column;
    background-color: var(--dark-bg);
    padding: 75px 10px 30px;
    align-items: flex-start;
  }
  .header_item {
    margin-left: 0px;
    margin-bottom: 20px;
    color: #fba342;
  }
  .header {
    position: fixed;
    top: 0;
    width: 100%;
    height: fit-content;
    background: var(--dark-bg);
    z-index: 100;
  }
  .header_container {
    padding: 20px 10px;
  }
}

/*  ============ BURGER =================== */
#burger-menu {
  display: none;
  cursor: pointer;
  height: 27px;
  width: 27px;
  overflow: visible;
  position: relative;
  z-index: 2;
}
#burger-menu span,
span:before,
span:after {
  background: #fff;
  display: block;
  height: 2px;
  opacity: 1;
  position: absolute;
  transition: 0.3s ease-in-out;
}
#burger-menu span:before,
span:after {
  content: "";
}

#burger-menu span:before {
  left: 0px;
  top: -10px;
  width: 27px;
}

#burger-menu span {
  right: 0px;
  top: 13px;
  width: 27px;
}

#burger-menu span:after {
  left: 0px;
  top: 10px;
  width: 27px;
}

#burger-menu.close span:before {
  top: 0px;
  transform: rotate(90deg);
  width: 27px;
}

#burger-menu.close span {
  transform: rotate(-45deg);
  top: 13px;
  width: 27px;
}

#burger-menu.close span:after {
  top: 0px;
  left: 0;
  transform: rotate(90deg);
  opacity: 0;
  width: 0;
}
@media screen and (max-width: 768px) {
  #burger-menu {
    display: block;
  }
  .header_nav {
    z-index: 1;
    min-width: 100%;
    min-height: 100%;
    position: fixed;
    top: 0;
    height: 0;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    transition: all 0.3s ease-in-out;
  }
  .header_nav.overlay {
    visibility: visible;
    opacity: 1;
    background: rgba(0, 0, 0, 0.5);
  }
}

/* ================================ main section ================= */
.main_container {
  display: flex;
  align-items: center;
  margin-top: 100px;
  flex-wrap: wrap;
  gap: 30px;
}
.main_image-wrapper {
  max-width: 550px;
  max-height: 400px;
}
.main_image {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
  border-radius: 10px;
}
.main_subtitle {
  color: #fba342;
  font-size: 22px;
}
.main_title {
  font-size: 28px;
  font-weight: 600;
  /* text-transform: uppercase; */
  color: #fba342;
  margin: 10px 0 20px;
}
.main_title span {
  font-weight: 900;
}
.main_text {
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  margin-bottom: 15px;
}
.main_content {
  max-width: 450px;
}
.main_btn {
  margin-top: 15px;
}

.main_flex {
  display: flex;
  gap: 10px;
}
.more {
  background-color: var(--main-bg-second);
  border-radius: 10px;
  transition: all 0.5s ease;
  box-shadow: 4px 4px 8px 0px rgba(251, 163, 66, 0.2);
  color: var(--main-yellow-color);
}
.more:hover {
  color: var(--text-white-color);
}
@media screen and (max-width: 1064px) {
  .main_image-wrapper {
    max-width: 100%;
    max-height: max-content;
  }
  .main_content {
    max-width: 100%;
  }
}
@media screen and (max-width: 768px) {
  
  .main_subtitle {
    font-size: 18px;
  }
  .main_title {
    font-size: 32px;
  }
  .main_text {
    font-size: 18px;
  }
}
/* ================================ Advantages ====================== */

.advatages {
}
.advatages_container {
  padding-top: 100px;
}
.advatages_content {
  /* display: flex;
  gap: 15px;
  align-items: flex-start; */
  /* display: flex;
  flex-wrap: wrap;
  gap: 20px; */
}
.advatages_title {
  margin-bottom: 30px;
}
.advatages_list {
  /* display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px; */
  /* flex: 1 1 300px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  list-style: none;
  font-size: 16px; */
} 
.advatages_item {
  /* border-radius: 10px;
  background-color: var(--main-bg-second);
  padding: 10px 20px;
  cursor: pointer;
  transition: all ease 0.3s; */

  /* border-radius: 10px;
  background-color: #051d2c;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  line-height: 24px;
  transition: all 0.4s ease; */
}

/* .advatages_item:hover {
  background-color: var(--main-yellow-color);
  color: var(--dark-bg);
  transition: all ease 0.3;
}

.advatage_imageWrapper {
  max-width: 500px;
  max-height: 400px;
  border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.advatage_imageWrapper img {
  width: 100%;
  height: 100%;
}

.advatages_item button {
  align-self: flex-end;
}

.advatages_flex {
  display: flex;
  align-items: center;
  gap: 15px;
}

.advatages_svg {
  width: 42px;
  height: 42px;
}
.advatages_killer {
  margin-top: 100px;
}
@media screen and (max-width: 768px) {
  .advatages_container {
    padding-top: 70px;
  }
  .advatages_list {
    grid-template-columns: 1fr;
  }
  .advatages_item {
    font-size: 16px;
    line-height: 20px;
    padding: 20px 15px;
  }
  .advatages_btn {
    font-size: 16px;
  }
  .advatages_killer {
    margin-top: 70px;
  }
} */

.advatages_content {
  width: 100%;
	position: relative;
	overflow: hidden;
}

.advatages_list {
  margin: 0;
	padding: 0;
	display: flex;
	flex-direction: row;
	justify-content: start;
	align-items: flex-start;
	list-style: none;
	width: 100%;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-snap-type: inline mandatory;
	scroll-behavior: smooth;
  scroll-snap-align: start;
  font-size: 16px;
}
.advatages_list > * {
  margin-right: 20px;
}
.advatages_list::-webkit-scrollbar {
  display: none;
}

.advatages_item {
  scroll-snap-align: start;
  padding: 10px 10px 20px;
	border-radius: 10px;
  background-color: var(--main-bg-second);
	transition: background 0.3s ease;
	align-self: normal;
	cursor: pointer;
  min-width: 300px;
}
.advatages_item span {
  color: var(--main-yellow-color);
}
.advatages_item img {
  border-radius: 10px;
  margin-bottom: 20px;
  object-fit: cover;
}

.advantages_arrow_button {
  width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(248, 248, 248, 0.8);
	padding: 0;
	margin: 0;
	overflow: hidden;
	display: flex;
	justify-content: center;
	align-items: center;
	filter: drop-shadow(7px 8px 15px rgba(0, 0, 0, 0.2));
	position: absolute;
	top: calc(50% - 20px);
	z-index: 10;
  cursor: pointer;
}

@media screen and (max-width: 776px) {
    
}

.arrow_left {
  left: 10px;
  visibility: hidden;
  opacity: 0;
}
.arrow_right {
  right: 10px;
}
.advantages_arrow_button svg {
  display: block;
  /* transform: ${({ left }) => left && 'rotate(180deg)'}; */
  stroke: #8f8f8f;
}
.advantages_arrow_button:hover {
  background: rgba(248, 248, 248, 1);
}
.advantages_arrow_button:hover svg {
  stroke: gray;
}


/*  =============== BOX ================== */
.box_container {
  padding-top: 100px;
}
.box_content {
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 20px;
}
.box_title {
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}
.box_title:hover {
  color: var(--second-yellow-color);
  transition: all 0.5s ease;
}
.box_imageWrapper {
  max-width: 700px;
  width: 700px;
  max-height: 500px;
  height: 500px;
  border-radius: 10px;
  border-radius: 10px;
  overflow: hidden;
}
.box_imageWrapper img {
  width: 100%;
  height: 100%;
}
.box_description {
  flex: 1 1 300px;
  /* width: 800px; */
  /* padding: 50px 20px 30px;  */
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;

  font-size: 18px;
  line-height: 26px;
}
.box_description p {
  border-radius: 10px;
  background-color: var(--main-bg-second);
  padding: 10px 20px;
  transition: all 0.3 ease;
  cursor: pointer;
}
.box_exclusion {
  font-size: 12px;
  font-style: italic;
}

.box_description p.active {
  background-color: var(--main-yellow-color);
}

.box_description p:hover {
  background-color: var(--main-yellow-color);
  transition: all 0.3 ease;
}

@media screen and (max-width: 1160px) {
  .box_imageWrapper {
    max-width: 600px;
    width: auto;
    max-height: 500px;
    height: auto;
  }
}
@media screen and (max-width: 991px) {
  .box_imageWrapper {
    max-width: 100%;
    max-height: 100%;
  }
  .box_content {
    flex-wrap: wrap-reverse;
  }
}
@media screen and (max-width: 768px) {
  .box_container {
    padding-top: 70px;
  }
}
/*  ================================== REVIEW ========================== */

.review_container {
  margin-top: 100px;
}
.review_slider {
  width: 100%;
  height: 100%;
}
.review_list {
  width: 100%;
  display: flex;
}
.review_item {
  width: 100%;
  display: flex !important;
  background-color: #051d2c;
}

.review_image-wrapper {
  width: 50%;
}
.review_image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.review_content {
  width: 50%;
  padding: 25px 20px;
}

.review_autor {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 20px;
}
.review_text {
  font-size: 18px;
  line-height: 26px;
}
@media screen and (max-width: 768px) {
  .review_container {
    margin-top: 70px;
  }
  .review_item {
    flex-direction: column-reverse;
  }
  .review_image-wrapper {
    width: 100%;
  }
  .review_content {
    width: 100%;
  }
  .review_text {
    font-size: 15px;
    line-height: 20px;
  }
}
/*    ==================== about ===================== */
.about {
  border-top: 1px solid var(--text-second-color);
  margin-top: 100px;
  background-color: #051d2c;
}
.about_container {
  padding-top: 50px;
}
.about_title {
  text-align: center;
}
.about_description {
  text-align: center;
}
.about_description {
  color: var(--main-yellow-color);
  font-size: 20px;
  margin-bottom: 30px;
}
.about_list {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.about_item {
  max-width: 300px;
  background-color: var(--dark-bg);
}
.about_item img {
  object-fit: contain;
  max-height: 300px;
}
.about_content {
  padding: 20px;
}
.about_main {
  color: var(--main-yellow-color);
  font-size: 22px;
  margin-bottom: 15px;
}
.about_subtitle {
  font-size: 16px;
}
@media screen and (max-width: 768px) {
  .about_list {
    flex-wrap: wrap;
  }
  .about_main {
    font-size: 18px;
  }
  .about_subtitle {
    font-size: 14px;
  }
  .about_content {
    padding: 10px;
  }
}
/*  =============== contacts ================ */
.contacts {
  background-color: #051d2c;
}
.contacts_container {
  padding: 50px 0;
}
.contacts_title {
  text-align: center;
}
.contacts_description {
  text-align: center;
  font-size: 16px;
}
.contacts_list {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
.contacts_item {
  background-color: var(--main-bg-second);
  border-radius: 10px;
  transition: all 0.5s ease;
  width: 70px;
  height: 70px;
  box-shadow: 4px 4px 8px 0px rgba(251, 163, 66, 0.2);
}
.contacts_item a {
  display: block;
  padding: 10px;
}
.contacts_item:hover {
  background-color: var(--main-yellow-color);
}
.contacts_item svg {
  width: 50px;
  height: 50px;
}
.contacts_item svg path {
  transition: all 0.5s ease;
}
.contacts_item:hover svg path {
  fill: var(--main-bg-second);
}
@media screen and (max-width: 768px) {
  .contacts_item {
    width: 50px;
    height: 50px;
  }
  .contacts_item svg {
    width: 30px;
    height: 30px;
  }
}

/*  =================  FOOTER ==========================  */
.footer {
  justify-self: flex-end;
}
.footer_container {
  padding: 50px 10px;
}
.footer_content {
  display: flex;
  gap: 40px;
}
.footer_list {
  flex: 1 1 auto;
  display: flex;
  /* justify-content: space-between; */ 
  justify-content: end;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}
.footer_item {
  font-size: 18px;
  cursor: pointer;
  transition: all ease-in 0.2s;
}
.footer_item:hover {
  color: #fba342;
}

.footer_rights {
  font-size: 12px;
  color: var(--text-light-grey-color);
  text-align: center;
  margin-top: 20px;
}
@media screen and (max-width: 768px) {
  .footer_container {
    padding: 50px 10px;
  }
  .footer_list {
    flex-direction: column;
    align-items: flex-end;
    text-align: end;
  }
}


/*  ================= FORM ===================== */
.form__input {
  width: 100%;
  margin-top: 30px;
  font-weight: 500;
  font-size: 20px;
  line-height: 33px;
  padding: 10px;
  background: var(--dark-bg);
  color: var(--text-light-grey-color);
  border-radius: 10px;
}

.form__input.error {
  border-bottom: 1px solid red;
}

.form__input::placeholder {
  color: var( --text-second-color);
}

.form__input:focus {
  /* border-bottom: 1px solid var(--text-blue-color); */
}

.form__label {
  margin-left: 25px;
  font-weight: 500;
  font-size: 14px;
  line-height: 19px;
  color: var( --text-second-color);
}

.form__policy {
  color: var( --text-second-color);
}

.form__button {
  margin-top: 40px;
}

.form__input__checkbox {
  width: 20px;
  height: 20px;
  margin-right: 25px;
}

.label > .form__input__checkbox {
  display: none;
}

.label > .form__input__checkbox + *::before {
  content: "";
  display: inline-block;
  vertical-align: bottom;
  border-radius: 10%;
  border-style: solid;
  border-width: 0.1rem;
  border-color: gray;
  width: 20px;
  height: 20px;
}

.label > .form__input__checkbox:checked + *::before {
  content: "✓";
  color: var(--main-yellow-color);
  text-align: center;
  /* background: var(--text-blue-color); */
  border-color: var(--main-yellow-color); 
}

.label.error > .form__input__checkbox + *::before {
  border-color: #ff4242;
}
.form__flex {
  display: flex;
  align-items: center;
  margin-top: 30px;
}
.modal_text {
  padding: 20px 0;
  font-size: 20px;
  line-height: 32px;
}
.modal_text p:first-child {
  margin-bottom: 10px;
}
.modal_text a {
  color: var(--main-yellow-color);
}
.modal_text a:hover {
  color: var(--second-yellow-color);
  transition: color 0.2 ease;
}
@media screen and (max-width: 767px) {
  .form__policy {
    font-size: 14px;
  }
  .form__label {
    margin-left: 10px;
  }
}


/* .review_list {
  display: grid;
  grid-auto-flow: column;
  grid-gap: calc(var(--gap) / 2);
  overflow-x: auto;
  overscroll-behavior-x: contain;;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gap);
}
.review_item {
  scroll-snap-align: start;
} */

/* ================================ DELIVETY ============= */
.delivery_container {
  padding-top: 70px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.delivery_image {
  max-width: 200px;
  margin: auto;
}
.delivery_content {
  font-size: 20px;
  line-height: 32px;
}