html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

:root {
  --gap: 24px;
}

@font-face {
  font-family: 'Muller';
  src: local('MullerRegular'), url('../fonts/MullerRegular.woff2') format('woff2'),
    url('../fonts/MullerRegular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Muller';
  src: local('MullerLight'), url('../fonts/MullerLight.woff2') format('woff2'),
    url('../fonts/MullerLight.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Muller';
  src: local('MullerBold'), url('../fonts/MullerBold.woff2') format('woff2'),
    url('../fonts/MullerBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Muller';
  src: local('MullerMedium'), url('../fonts/MullerMedium.woff2') format('woff2'),
    url('../fonts/MullerMedium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


body {
  margin: auto;
  max-width: 1200px;
  min-width: 320px;
  /* min-height: 5677px; */
  font-family: 'Muller', sans-serif;
  background-color: #E5E5E5;
}

/* glob */
.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.btn-reset {
  padding: 0;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}

.flex {
  display: flex;
}

.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

.section-title {
  margin: 0;
  margin-bottom: 20px;
  padding-left: 40px;
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  color: #333333;
}

.section-offset:not(:last-child) {
  margin-bottom: 70px;
}

.main {
  margin-bottom: 40px;
}

.btn {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #CC9933;
  padding: 13px 20px;
  background-color: transparent;
  border: 1px solid #CC9933;
  border-radius: 10px;
  transition: bakground-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.btn:focus {
  background-color: #CC9933;
  color: #FFFFFF;
}

.btn:hover {
  background-color: #CC9933;
  color: #FFFFFF;
}

.btn:active {
  background: #A47312;
  color: #FFFFFF;
}

/* header */
.header {
  padding: 30px 0 0;
}

.header-container {
  flex-direction: column;
  margin-bottom: 70px;
}

.header-logo {
  margin-right: 40px;
}


.header-container-row:not(:last-child) {
  margin-bottom: 30px;
}

.header-container-row {
  align-items: center;
}

.header-list-item:not(:last-child) {
  margin-right: 45px;
}

.header-link {
  position: relative;
  transition: color 0.3s ease-in-out;
}

.header-link:focus {
  outline-offset: 2px;
  outline: 1px solid #CC9933;
  color: #CC9933;
}

.header-link:hover {
  color: #CC9933;
}

.header-link:active {
  color: #A47312;
  outline: none;
}


.reg-link {
  position: relative;
  margin-left: auto;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #CC9933;

}

.reg-link-icon {
  margin-right: 7px;
}

.reg-link path {
  fill: #CC9933;
  transition: fill 0.3s ease-in-out;
}

.reg-link:focus {
  outline-offset: 2px;
  outline: 1px solid #CC9933;
}

.reg-link:hover {
  color: #F0BF5F;
}

.reg-link:hover .reg-link-icon path {
  fill: #F0BF5F;
}

.reg-link:active {
  color: #A47312;
  outline: none;
}

.reg-link:active .reg-link-icon path {
  fill: #A47312;
}

.burger {
  display: none;
}

.tel-link-header-bottom {
  display: none;
}



.tel-link-header {
  font-weight: 500;
  font-size: 20px;
  line-height: 20px;
  color: #666666;
}

.header-row-bottom {
  background-color: #FFFFFF;
  max-width: 1170px;
  height: 70px;
  border-radius: 15px;
  padding-right: 45px;
}

.header-nav {
  margin-right: auto;
  padding-left: 45px;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #666666;
}



.header-btn-tour {
  margin-right: 40px;
}

/* offers */

.offers-list {
  gap: 24px;
  flex-wrap: wrap;
}

.offers-column {
  flex-direction: column;
  width: calc((100% - (var(--gap) * 1)) / 2);
  gap: 24px;
}

.offers-item {
  margin: 0;
  position: relative;
  min-height: 258px;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 40px;
  padding-left: 45px;
  padding-bottom: 40px;
  border-radius: 15px;
  background-size: cover;
  background-repeat: no-repeat;
  background: rgba(48, 64, 89, 0.84);
}


.offers-item-mald {
  background-image: linear-gradient(90deg, rgba(48, 64, 89, 0.84) -2.9%, rgba(53, 65, 83, 0) 65.7%), url('../img/mald-image.jpg');
}

.offers-item-crete {
  background-image: linear-gradient(90deg, rgba(48, 64, 89, 0.84) -2.9%, rgba(53, 65, 83, 0) 65.7%), url('../img/crete-image.jpg');
}

.offers-item-rooms {
  flex-direction: column;
  min-height: 540px;
  background-image: url('../img/rooms-image.jpg');
  padding-top: 212px;
}

.offers-title {
  margin: 0;
  max-width: 420px;
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 40px;
  line-height: 40px;
  color: #FFFFFF;
}

.offers-title-rooms {
  margin: 0;
  font-weight: 700;
  font-size: 60px;
  line-height: 60px;
  color: #FFFFFF;
  max-width: 300px;
  margin-bottom: 15px;
}

.offers-price {
  margin: 0;
  display: inline-block;
  font-weight: 400;
  font-size: 20px;
  line-height: 20px;
  color: #FFFFFF;
  margin-bottom: 45px;

}

.offers-price-rooms {
  display: block;
  font-weight: 400;
  font-size: 30px;
  line-height: 30px;
  color: #FFFFFF;
  margin-bottom: 45px;
}

.link-more {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #F0BF5F;
  align-items: center;
}

.link-more::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: 1px solid #CC9933;
  outline-offset: 8px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.link-more:focus::before {
  opacity: 1;
}

.link-more-icon {
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.link-more:hover .link-more-icon {
  transform: translateX(11px);
}

.link-more-descr {
  margin-right: 3px;
  transition: color 0.3s ease-in-out;
}

.link-more:active .link-more-descr {
  color: #FFFFFF;
}

.link-more-icon path {
  stroke: #F0BF5F;
  transition: stroke 0.3s ease-in-out;
}


/* about-us */
.about-us-descr {
  margin: 0;
  max-width: 888px;
  font-weight: 400;
  font-size: 16px;
  line-height: 200%;
  color: #000000;
}

/* services */

.services-list {
  flex-wrap: wrap;
  row-gap: 24px;
}

.services-item {
  position: relative;
  min-height: 330px;
  width: calc((100% - (var(--gap) * 1)) / 2);
  flex-direction: column;
  justify-content: space-around;
  padding-top: 191px;
  padding-left: 45px;
  padding-bottom: 35px;
  /* padding-right: 126px; */
  background-color: #FFFFFF;
  border-radius: 15px;
  background-position: top;
  background-repeat: no-repeat;
}

.services-item:not(:nth-child(2n)) {
  margin-right: var(--gap);
}

.services-link {
  align-items: center;
}


.services-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  outline: 1px solid #CC9933;
  outline-offset: 8px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.services-link:focus::before {
  opacity: 1;
}

.services-link:hover .link-more-icon {
  transform: translateX(11px);
}

.services-link:hover .link-more-icon path {
  stroke: #F0BF5F;
}

.services-link:hover .services-title {
  color: #F0BF5F;
}

.services-link:active .services-title {
  color: #A47312;
}


.exclusive {
  background-image: url('../img/services-img1.jpg');
}

.rent {
  background-image: url('../img/services-img2.jpg');
}

.pools {
  background-image: url('../img/services-img3.jpg');
}

.parking {
  background-image: url('../img/services-img4.jpg');
}


.services-title {
  margin: 0;
  font-weight: 500;
  font-size: 20px;
  line-height: 200%;
  color: #CC9933;
  display: inline-block;
  margin-right: 5px;
  transition: color 0.3s ease-in-out;
}

.services-item-descr {
  margin: 0;
  max-width: 402px;
  font-weight: 400;
  font-size: 16px;
  line-height: 200%;
  color: #000000;

}

/* advantage */

.advantage-list {
  flex-wrap: wrap;
  row-gap: 22px;
}

.advantage-item {
  width: calc((100% - ((var(--gap) - 2px) * 3)) / 4);
  padding-left: 45px;
  padding-right: 42px;
  padding-top: 40px;
  padding-bottom: 32px;
  background: #FFFFFF;
  border-radius: 15px;
}

.advantage-item:not(:nth-child(4n)) {
  margin-right: 22px;
}

.advantage-item-icon {
  margin: 0;
  margin-bottom: 10px;
}

.advantage-item-descr {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 200%;
  color: #000000;
  max-width: 189px;
}

.advantage-center {
  display: none;
  text-align: center;
}

.advantage-more {
  padding: 25px 50px;
}

/* hotels */

.hotels-list {
  flex-wrap: wrap;
  row-gap: 24px;
}

.hotels-item {
  /* width: 374px; */
  width: calc((100% - (var(--gap) * 2)) / 3);
  flex-direction: column;
  background-color: #FFFFFF;
  border-radius: 15px;
  overflow: hidden;
  min-height: 440px;
}

.hotels-price-descr {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #000000;
}

.price {
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: #000000;
}

.hotels-title {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #000000;
}

.hotels-item-descr-location {
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  color: #999999;
}


.hotels-item:not(:nth-child(3n)) {
  margin-right: 24px;
}

.hotel-picture {
  object-fit: cover;
}

.hotel-preview {
  flex-direction: column;
}

.hotel-preview-text {
  padding: 32px 45px 45px;
}

.hotels-price-stars {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.hotels-title {
  margin: 0;
  margin-bottom: 16px;
}

.hotels-item-descr-location {
  display: block;
  margin-bottom: 20px;
}

.see-more-item {
  position: relative;
  background-image: url('../img/see-more-image.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  padding-left: 54px;
  padding-bottom: 27px;
  flex-direction: column;
  justify-content: flex-end;

}


.link-hotels path {
  stroke: #FFFFFF;
}



.link-descr-var {
  font-weight: 500;
  font-size: 20px;
  line-height: 200%;
  color: white;
  padding-right: 5px;
}



/* tours */

.tours-container {
  background-color: #E9E9E9;
  max-width: 1170px;
  border-radius: 15px;
  padding: 45px;
}

.form-list {
  min-height: 106px;
  justify-content: space-between;
  padding: 32px 28px;
  background: #FFFFFF;
  border-radius: 15px;
  align-items: center;
}

.form-item-label {
  font-weight: 400;
  font-size: 12px;
  line-height: 12px;
  color: #000000;
  margin-bottom: 15px;

}

.form-select {
  min-width: 169px;
  height: 16px;
  border: 0;

}

.form-input {
  min-width: 121px;
  border: 0;
  border-bottom: 1px solid #E9E9E9;
  ;
}

.form-input.date {
  border: 0;
}

.btn-tours {
  padding: 13px 30px;
  width: 108px;
  min-height: 42px;

}

.tours-title {
  margin: 0;
  padding: 0;
  margin-bottom: 20px;
}

.form-item {
  display: flex;
  flex-direction: column;
}

.hotels-center {
  display: none;
  text-align: center;
}

.hotels-more {
  padding: 25px 50px;
}



/* Contacts */

.contacts-address {
  font-style: normal;
  background-color: #FFFFFF;
  max-width: 1170px;
  min-height: 618px;
  border-radius: 15px;
  padding: 45px 45px;
  gap: 52px;
}

.contacts-address-right {
  border-radius: 15px;
  width: 70%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url('../img/reception-image.jpg');
}

.contacts-list {
  flex-direction: column;
  min-height: 528px;
}

.contacts-item {
  max-width: 375px;
  justify-content: space-between;
  padding-top: 25px;
  padding-bottom: 23px;
}

.contacts-item:not(:last-child) {
  border-bottom: 1px solid #E9E9E9;
}

.contacts-item-text {
  margin: 0;
  display: block;
  width: 223px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #000000;
}

.address-item {
  padding-top: 0;
}

.route-item {
  padding-bottom: 0;
  padding-top: 45px;
}

.contacts-item-caption {
  margin: 0;
  display: block;
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  color: #000000;
  margin-right: 10px;
}

.contacts-item-descr {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #999999;
}

.contacts-item-link {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #CC9933;
  transition: color 0.3s ease-in-out;
}

.contacts-item-link:focus {
  outline: 1px solid #CC9933;
  outline-offset: 2px;
}

.contacts-item-link:hover {
  color: #F0BF5F;
}


.contacts-item-link:active {
  color: #A47312;
  outline: none;

}

.contacts-image {
  border-radius: 15px;
}

.contacts-btn {
  padding: 27px 30px;
}


/* footer */

.footer-container {
  max-width: 1170px;
  min-height: 341px;
  position: relative;
  padding: 45px;
  background-color: #333333;
  border-radius: 15px;
}

.footer-list {
  flex-direction: column;
  justify-content: space-between;
  margin-right: 125px;
}

.footer-item {
  max-width: 302px;
}

.footer-list-right {
  flex-direction: column;
  gap: 15px;
}

.footer-address {
  display: inline-block;
  min-width: 359px;
}

.footer-descr {
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  color: #FFFFFF;
}



.social-list {
  flex-direction: column;
  gap: 20px;
  margin-left: auto;
}

.social__link {
  display: block;
  width: 25px;
  height: 25px;
}

.social__icon path {
  fill: #999999;
  transition: fill 0.3s ease-in-out;
}

.social__link:focus .social__icon path {
  fill: #CC9933;
}

.social__link:hover .social__icon path {
  fill: #CC9933;
}

.social__link:active .social__icon path {
  fill: #A47312;
}

.footer-logo {
  position: absolute;
  right: 177px;
  top: 112px;
}
