@import "./fonts.css";
@import "./variables.css";

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 10px;
}

.main {
  height: 100vh;
  position: relative;
}

.background {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 37px;
  z-index: 2;
  position: relative;
}

.logo {
  width: 33px;
  height: 40px;
}

.menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 47px;
  font-family: var(--buduj-sans);
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 2px;
}

.menu > li > a {
  position: relative;
  color: var(--black);
}

.menu > li > a:hover:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--yellow);
}

.account > img {
  width: 28px;
  height: 28px;
}

.menu-mobile {
  display: none;
}

.menu-mobile > img {
  width: 20px;
  height: 14px;
}

.hero {
  position: relative;
  margin-top: 150px;
  padding-top: 106px;
  display: flex;
  flex-direction: column;
  gap: 230px;
}

.hero_title {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-weight: 900;
  font-family: var(--buduj-sans);
  font-size: 75px;
  letter-spacing: 5px;
}

button {
  border: none;
  cursor: pointer;
  background-color: transparent;
}

.button {
  align-self: center;
  padding: 20px 35px;
  border-radius: 50px;
  background-color: var(--yellow);
  font-family: var(--e-ukraine);
  color: #000000;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.2s ease-in;
}

.button:hover {
  transition: all 0.2s ease-in;
  filter: drop-shadow(8px 7px 16px rgba(248, 223, 95, 0.63));
}

.mobile_menu {
  position: absolute;
  display: block;
  z-index: 3;
  top: 0;
  background-color: var(--white);
  height: 100%;
  width: 100%;
}

.mobile_menu > div {
  width: 100%;
  padding: 37px 10px;
  position: fixed;
  display: flex;
  gap: 30px;
  flex-direction: column;
}

.close_icon {
  width: 25px;
  height: 25px;
  align-self: end;
}

.mobile_menu-list {
  display: flex;
  flex-direction: column;
  align-self: center;
  text-align: center;
  font-family: var(--buduj-sans);
  gap: 10px;
  font-size: 18px;
}

.mobile_menu-list > li > a {
  color: var(--black);
}

.hidden {
  display: none;
}

.about {
  display: flex;
  flex-direction: column;
  gap: 74px;
}

.about > h2 {
  margin-top: 83px;
  font-size: 40px;
  font-weight: 700;
  font-family: var(--buduj-sans);
}

.map {
  display: flex;
  gap: 120px;
}

.map > img {
  width: 537px;
  height: 620px;
}

.map_info {
  display: flex;
  gap: 58px;
  flex-direction: column;
  padding-top: 48px;
}

.map_info > span {
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  font-family: var(--e-ukraine);
  line-height: 34px;
  letter-spacing: 2px;
}

.details {
  padding: 56px 10px 78px;
  width: 100%;
}

.details-list {
  display: flex;
}

.details-list > li {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  border-bottom: 1px solid var(--dark-white);
  height: 120px;
  max-width: 368px;
  width: 100%;
  position: relative;
}

.details-list > li::before {
  content: "";
  position: absolute;
  bottom: -10px;
  width: 21px;
  height: 21px;
  background-color: var(--yellow);
  border-radius: 100%;
}

.counter {
  color: var(--yellow);
  font-family: var(--buduj-sans);
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.details-description {
  font-family: var(--e-ukraine);
  font-size: 18px;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: 2.16px;
  max-width: 280px;
}

.places {
  display: flex;
  flex-direction: column;
  gap: 70px;
  margin-bottom: 21px;
  overflow: hidden;
}

.places > h2 {
  font-size: 40px;
  font-weight: 700;
  font-family: var(--buduj-sans);
}

.swiper {
  width: 100%;
  height: 373px;
  max-width: 1146px !important;
}

.swiper-slide {
  width: 355px !important;
  height: 300px !important;
  display: flex !important;
  flex-direction: column;
  gap: 13px;
}

.swiper-slide > a {
  color: var(--black);
  font-family: var(--e-ukraine);
  text-decoration: underline;
  align-self: end;
  font-size: 12px;
  font-weight: 300;
}

.place-container {
  width: 362px;
  height: 273px;
  display: flex;
  flex-direction: column;
  padding: 13px 16px;
  color: var(--white);
  justify-content: end;
  gap: 8px;
}

.place-container > h4 {
  font-family: var(--e-ukraine);
  font-size: 16px;
  font-weight: 400;
}

.place-container > span {
  font-family: var(--e-ukraine);
  font-size: 12px;
  font-weight: 400;
}

.place {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-pagination-bullet-active {
  background-color: var(--yellow) !important;
}

.pagination {
  display: flex;
}

.swiper-pagination {
  display: flex !important;
  gap: 15px;
  justify-content: center;
}

.arrow-left {
  color: #000;
  border: 1px solid #000;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  content: "" !important;
}

.swiper-button-next,
.swiper-button-prev {
  height: auto !important;
  top: initial !important;
  left: initial !important;
  right: initial !important;
  bottom: 1px;
  z-index: 20 !important;
}

.swiper-button-next > img,
.swiper-button-prev > img {
  width: 25px;
  height: 25px;
}

.swiper-button-next > img {
  transform: rotate(180deg);
}

.swiper-button-next {
  right: 40% !important;
}

.swiper-button-prev {
  left: 40% !important;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-bottom: 90px;
}

.gallery > h2 {
  font-family: var(--buduj-sans);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 4px;
}

.gallery-container {
  display: flex;
  gap: 20px;
  overflow: scroll;
}

.gallery-container > img {
  min-width: 264px;
  min-height: 278px;
  object-fit: cover;
}

.test {
  width: 100%;
  height: 300px;
  border: 1px solid #000;
}

.feedback {
  width: 100%;
  height: 100%;
  padding: 90px 0;
  position: relative;
}

.feedback_background {
  inset: 0;
  position: absolute;
  background-image: radial-gradient(
      177.49% 111.09% at 43.27% 98.63%,
      rgba(27, 21, 21, 0.62) 0%,
      rgba(38, 35, 35, 0) 100%
    ),
    url(../assets/footer.png);
  background-size: cover;
}

.feedback_form {
  display: flex;
  flex-direction: column;
  gap: 88px;
  position: relative;
}

.feedback_form > h2 {
  color: var(--white);
  font-family: var(--buduj-sans);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 4px;
}

.feedback_form > form {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 68px;
  max-width: 751px;
  width: 100%;
}

input,
textarea {
  padding: 27px 44px;
  border-radius: 10px;
  border: 0;
  background-color: var(--transparent-gray);
  font-family: var(--e-ukraine);
  font-size: 14px;
  font-weight: 700;
  line-height: normal;
}

input,
textarea,
input::placeholder,
textarea::placeholder {
  color: var(--form-gray);
}

input:focus,
textarea:focus {
  outline: none;
}

textarea {
  height: 300px;
  resize: none;
}

.footer {
  padding: 35px 0 49px 0;
  background-color: var(--gray);
  color: var(--white);
  font-family: var(--buduj-sans);
}

.footer > .container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer_logo {
  display: flex;
  gap: 13px;
  margin: 0 230px 30px 0;
}

.footer_logo > img {
  width: 47px;
  height: 57px;
}

.footer_logo > div {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 25px;
  letter-spacing: 2px;
}

.info {
  display: flex;
  flex-wrap: wrap;
}

.info_list {
  display: flex;
  gap: 230px;
}

.info_list > ul {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 40px;
  letter-spacing: 3px;
}

ul {
  list-style: none;
}

a {
  color: var(--white);
  text-decoration: none;
}

.social {
  display: flex;
  gap: 37px;
  align-self: center;
}

.social_icon {
  width: 27px;
  height: 27px;
}

.rights {
  align-self: center;
}
@media screen and (min-width: 1334px){
  .hero {
    margin-top: 155px;
    padding-top: 0;
    gap: 180px;
  }
}

@media screen and (max-width: 1024px) {
  .hero {
    border-top: 0;
    padding-top: 0;
  }
  .hero_title {
    color: var(--white);
    font-size: 40px;
    flex-direction: column;
    text-align: center;
  }
  .about {
    gap: 52px;
  }
  .map {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .map_info {
    text-align: center;
  }

  .swiper {
    width: 100%;
    max-width: 750px !important;
  }

  .swiper-button-next {
    right: 30% !important;
  }

  .swiper-button-prev {
    left: 30% !important;
  }
}

@media screen and (max-width: 768px) {
  .menu,
  .account {
    display: none;
  }
  .menu-mobile {
    display: block;
  }
  .background {
    background-image: url("../assets/mobile-hero.jpeg");
  }

  .details-list {
    flex-direction: column;
    align-items: center;
    max-width: 600px;
  }

  .details-list > li {
    border-bottom: none;
    border-right: 1px solid var(--dark-white);
    max-width: 185px;
    height: 300px;
  }

  .details-list > li:nth-child(even) {
    margin-left: 368px;
    border-left: 1px solid var(--dark-white);
    border-right: none;
    padding-left: 24px;
  }

  .details-list > li:nth-child(even)::before {
    top: 0;
    left: -10px;
  }

  .details-list > li:nth-child(odd)::before {
    top: 0;
    right: -10px;
  }

  .footer_logo {
    margin: 0;
  }

  .info_list,
  .social,
  .rights {
    display: none;
  }

  .swiper-button-next {
    right: 30% !important;
  }

  .swiper-button-prev {
    left: 30% !important;
  }
}

@media screen and (max-width: 425px) {
  .map > img {
    width: 100%;
    height: 100%;
  }
  .map_info > span {
    text-align: start;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 31px;
    letter-spacing: 2px;
  }

  .details-list > li {
    align-self: start;
  }

  .details-list > li:nth-child(even) {
    margin-left: 146px;
    align-self: center;
    padding-left: 24px;
  }

  .feedback_form > h2 {
    font-size: 30px;
  }

  .swiper {
    width: 100%;
    max-width: 355px !important;
  }

  .swiper-button-next {
    right: 15% !important;
  }

  .swiper-button-prev {
    left: 15% !important;
  }
}

@media screen and (max-width: 375px) {
  .details-description {
    font-size: 13px;
  }

  .details-list > li {
    max-width: 170px;
  }

  .details-list > li:nth-child(even) {
    margin-left: 150px;
  }

  .swiper-button-next {
    right: 15% !important;
  }

  .swiper-button-prev {
    left: 15% !important;
  }
}

@media screen and (max-width: 320px) {
  .hero_title {
    letter-spacing: 0;
  }

  .details {
    display: none;
  }

  .map_info {
    margin-bottom: 20px;
  }

  .swiper-slide {
    width: 300px !important;
  }

  .swiper-button-next {
    right: 10% !important;
  }

  .swiper-button-prev {
    left: 10% !important;
  }
}
