@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

html,
body {
  font-family: "Montserrat", serif;
  font-size: 22px;
  box-sizing: border-box;
  margin: 0 auto;
  overflow: auto;
}

li,
ul,
a {
  list-style: none;
  list-style-type: none;
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
}

.container {
  margin-top: 100px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* header */
.container-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 100px;
}

.menu ul {
  display: flex;
  flex-direction: row;
  gap: 30px;
  color: #eee;
}

.menu ul li:active,
.menu ul li:hover {
  color: #ff5500;
}

/* hero */

.background-hero,
.section-photo {
  background-image: url("./img/img7.webp");
  height: 900px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  width: 100%;
}

.hero {
  margin-top: 200px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  color: #eee;
}

.hero-title {
  font-size: 80px;
}

.hero-desc {
  font-weight: 600;
}

.button {
  padding: 20px;
  font-family: "Montserrat", serif;
  font-size: 18px;
  font-weight: 600;
  background-color: #ff5500;
  color: #fff;
  border: solid 2px #ff5500;
  cursor: pointer;
  margin-top: 30px;
  margin-bottom: 30px;
  transition: all 0.1s ease-in-out;
}

.button:hover {
  background-color: transparent;
  color: #000;
  border: solid 2px #000;
}

/* about */

.about {
  display: flex;
  margin-top: 100px;
  margin-bottom: 100px;
  gap: 60px;
}

.about img {
  max-width: 600px;
  width: 100%;
}

.about-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 20px;
}

.about-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.about-title {
  font-size: 60px;
  color: #ff5500;
}
.about-desc {
  font-weight: 500;
}

.about-item-title {
  display: flex;
  align-items: center;
  gap: 20px;
}
.about-item-title h2 {
  color: #ff5500;
  font-size: 70px;
}

.about-item-title p {
  font-weight: 600;
}

/* katalog */
.katalog {
  background-color: #ff550015;
  width: 100%;
}
.katalog-list {
  display: flex;
  padding-top: 100px;
  padding-bottom: 100px;
  gap: 30px;
}

.katalog-item {
  flex: 1;
}

.katalog-item img {
  max-width: 300px;
  width: 100%;
  border-radius: 20px;
}

.katalog-img {
  z-index: 1;
}

.katalog-text {
  position: relative;
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
  margin-top: -40px;
  margin-left: 40px;
  z-index: 100;
  max-width: 300px;
  height: 200px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}

.katalog-desc {
  font-weight: 500;
}

.circle-button {
  width: 60px;
  height: 60px;
  background-color: #ff5500;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.circle-button:hover {
  background-color: #004f53;
}

.circle-button svg {
  width: 24px;
  height: 24px;
}

/* why-us */
.why-us {
  margin-top: 100px;
  display: flex;
  gap: 50px;
  margin-bottom: 100px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.why-us__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-us__text h2 {
  font-size: 48px;
  font-weight: 500;
}
.whu-us__star {
  flex: 1;
  background-color: #ff550015;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
}
.whu-us__star img {
  width: 50px;
}

.whu-us__star h2 {
  font-size: 70px;
}

/* advantages */

.advantages {
  display: flex;
  gap: 50px;
  margin-bottom: 100px;
  margin-top: 100px;
}

.advantages-item {
  display: flex;
  flex-direction: column;
  background-color: #ff550015;
  border-radius: 20px;
  padding: 50px;
  align-items: center;
  gap: 20px;
}
.advantages-item img {
  width: 100px;
}

.contact {
  text-align: center;
  background-color: #ff550015;
  padding-top: 200px;
  padding-bottom: 100px;
}

.contact-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* footer */

.footer-content,
.header-color {
  background-color: #ff550015;

  padding-top: 20px;
  padding-bottom: 20px;
}
.header-color ul {
  color: #000;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer img {
  width: 70px;
}

.coop {
  text-align: center;
  font-size: 18px;
}

/* polisy */
.policy-container {
  margin-top: 100px;
}
.policy-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.policy-text ol > li {
  padding-top: 15px;
  padding-bottom: 15px;
}

.policy-text ul > li {
  list-style-type: disc;
}

/* contact */
.contact-block {
  padding-top: 100px;
  padding-bottom: 30px;
}

.contact-block h1 {
  text-transform: uppercase;
}

.contact-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.contact-text p {
  text-align: center;
  margin: 0 auto;
  width: 70%;
}

.contact-info {
  margin-top: 100px;
  margin-bottom: 100px;
  display: flex;
  gap: 20px;
}

.contact-img {
  flex: 1;
}

.contact-img img {
  width: 600px;
  border-radius: 20px;
}

.contact-info-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.contact-location {
  display: flex;
  gap: 20px;
}

.contact-form-map {
  display: flex;
  gap: 20px;
  margin-bottom: 100px;
}

.map {
  flex: 1;
  width: 100vw; /* Вся ширина екрану */
  height: 600px; /* Висота карти (можна змінювати) */
}

.map iframe {
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  height: 100%;
}
.contact-form {
  flex: 1;
}

.contact-form {
  background-color: #ff550015;
  padding: 40px;
  border-radius: 20px;
}

.form {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-block {
  display: flex;
  gap: 5px;
  width: 100%;
}

.input__name {
  flex: 1;
}

.input__email {
  flex: 1;
}

.input,
.message {
  padding: 20px;
  border-radius: 10px;
  border: none;
}

textarea,
input::placeholder {
  font-family: "Montserrat", serif;
  font-size: 18px;
}

/* o nas */
.o-nas-block {
  display: flex;
  gap: 20px;
  margin-top: 100px;
  margin-bottom: 100px;
}
.o-nas-desc {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 20px;
}

.o-nas-desc hr {
  margin-top: 40px;
  margin-bottom: 40px;
  margin-left: 0;
  width: 50%;
  border: none;
  height: 2px;
  background-color: #ff5500;
}
.o-nas-img {
  flex: 1;
  display: flex;
  justify-content: end;
}

.o-nas-img img {
  /* max-width: 600px; */
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* galery */

.galery-container {
  margin-top: 100px;
  margin-bottom: 100px;
}

.galery {
  display: flex;
  gap: 50px;
}

.photos {
  flex: 1;
}

.galery-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}

.galery-text h2 {
  font-size: 48px;
}

.photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 колонки */
  gap: 10px; /* Відступи між картинками */
  max-width: 100%; /* Адаптивність */
}

.photos img {
  width: 100%; /* Картинки займають всю ширину комірки */
  height: auto;
  display: block;
}

/* katalog */

.katalog-container {
  margin-top: 200px;
  margin-bottom: 150px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.katalog-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  gap: 20px; /* Відступи між товарами */
  margin-bottom: 100px;
}

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
  .katalog-products {
    grid-template-columns: 1fr; /* 1 товар в ряд */
  }
}

.product-item {
  border: 1px solid #ff550015;
  padding: 15px;
  text-align: center;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 20px;
}

.product-item img {
  width: 100%;
  height: auto;
}

/* terms */
.terms {
  margin-top: 100px;
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* burger */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001; /* Додайте високий z-index для бургера */
  position: relative; /* Встановіть позицію для правильного розташування */
}

.burger span {
  width: 30px;
  height: 4px;
  background: #ff5500;
  margin: 5px 0;
  transition: 0.4s;
  border-radius: 4px; /* Додайте округлені краї для ліній */
}

/* Стилі для перетворення бургеру в хрестик */
.burger.open span:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 9px; /* Легке коригування для симетрії */
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -9px; /* Легке коригування для симетрії */
}

@media (max-width: 768px) {
  .burger {
    display: flex;
    padding: 20px;
    z-index: 1001; /* Високий z-index для бургера, щоб він був поверх меню */
  }

  .menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 0;
    right: 0;
    background: #eee;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Меню має бути під бургером */
  }

  .menu.active {
    display: flex;
  }

  .menu ul {
    color: #000;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
  }

  .menu ul li {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #ddd;
  }
}

/* mob */

@media (max-width: 768px) {
  body {
    font-size: 18px;
  }
  .container {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 30px;
  }

  .hero {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .about {
    flex-direction: column;
    font-size: 18px;
  }

  .katalog-list {
    flex-direction: column;
  }

  .why-us {
    flex-direction: column;
    font-size: 18px;
  }

  .whu-us__star {
    padding: 50px;
    font-size: 18px;
  }

  .advantages {
    flex-direction: column;
  }

  .section-photo {
    height: 300px;
  }

  .footer-links {
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: end;
  }

  .contact {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .contact-block h1 {
    font-size: 30px;
    padding-top: 50px;
  }

  .contact-text p {
    width: 100%;
    font-size: 18px;
    text-align: start;
  }

  .contact-info {
    flex-direction: column;
    font-size: 18px;
    margin-bottom: 30px;
  }

  .contact-img img {
    min-width: 360px;
    width: 100%;
  }

  .contact-form-map {
    flex-direction: column;
  }
  .map {
    width: auto;
  }
  .input-block {
    flex-direction: column;
    gap: 20px;
  }

  .o-nas-block {
    flex-direction: column;
  }

  .galery {
    flex-direction: column;
  }
  .galery-text h2 {
    font-size: 30px;
  }
  .policy-container h2 {
    text-align: center;
  }

  .header-color {
    padding: 0;
  }

  .katalog-container {
    margin-top: 30px;
    margin-bottom: 30px;
  }
}
