@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,600;1,700&display=swap");

:root {
  --navy: #102a53;
  --blue: #245fb5;
  --light-blue: #eaf2ff;
  --sand: #f7f0e3;
  --gold: #dba94e;
  --orange: #d76b35;
  --ink: #1c2b3d;
  --muted: #637084;
  --line: #d9e0e9;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
  color: var(--ink);
  background: white;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

/* HEADER */

.header {
  position: absolute;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.header-content {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo b {
  color: #f2c66f;
}

.logo-sign {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #f2c66f;
  border-radius: 50%;
  color: #f2c66f;
  font-family: Georgia, serif;
  font-size: 18px;
}

.navigation {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 700;
}

.navigation a {
  color: rgba(255, 255, 255, 0.9);
}

.navigation a:hover {
  color: #f2c66f;
}

.header-buttons {
  display: flex;
  align-items: center;
  gap: 11px;
}

.language-button,
.login-btn {
  border: none;
  color: white;
  font-size: 13px;
  font-weight: 700;
}

.language-button {
  padding: 8px 5px;
  background: transparent;
}

.login-btn {
  padding: 10px 17px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background: transparent;
}

.login-btn:hover {
  color: var(--navy);
  background: white;
}

/* SEARCH */

.search-area {
  position: relative;
  min-height: 395px;
  overflow: hidden;
  padding: 118px 0 35px;
  color: white;
  background:
    radial-gradient(circle at 84% 24%, rgba(219, 169, 78, 0.48), transparent 17%),
    radial-gradient(circle at 13% 105%, rgba(87, 144, 218, 0.35), transparent 25%),
    linear-gradient(120deg, #102a53, #245fb5);
}

.search-area::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 270px;
  height: 270px;
  content: "";
  opacity: 0.35;
  border: 35px solid #e2b15a;
  border-radius: 50%;
}

.search-area .container {
  position: relative;
  z-index: 1;
}

.page-label {
  margin-bottom: 10px;
  color: #f2c66f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.blue-label {
  color: var(--blue);
}

.search-area h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 5vw, 61px);
  line-height: 1.05;
  letter-spacing: -1.4px;
}

.search-area h1 em {
  color: #f2c66f;
  font-style: italic;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1.2fr auto;
  margin-top: 27px;
  padding: 8px;
  border-radius: 5px;
  color: var(--ink);
  background: white;
  box-shadow: 0 12px 30px rgba(5, 24, 58, 0.28);
}

.search-field {
  min-width: 0;
  padding: 8px 14px;
  border-right: 1px solid #dfe5ed;
}

.search-field label {
  display: block;
  margin-bottom: 5px;
  color: #778496;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.7px;
  text-transform: uppercase;
}

.search-field input,
.search-field select {
  width: 100%;
  outline: none;
  border: none;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 700;
}

.search-button {
  margin: 1px 0 1px 8px;
  padding: 0 23px;
  border: none;
  border-radius: 3px;
  color: white;
  background: var(--orange);
  font-size: 14px;
  font-weight: 800;
}

.quick-search {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 16px;
}

.quick-search > span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 700;
}

.quick-city {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 3px;
  color: white;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 700;
}

/* SECTIONS */

.section {
  padding: 48px 0;
}

.soft-section {
  background: #f4f7fb;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 23px;
}

.section-heading h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.8px;
}

.scroll-hint {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

/* HORIZONTAL SCROLL */

.horizontal-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 1px 14px;
  scrollbar-color: #8da7cd #e5ecf5;
  scrollbar-width: thin;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 8px;
}

.horizontal-scroll::-webkit-scrollbar-track {
  background: #e5ecf5;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
  background: #8da7cd;
}

/* CITIES */

.city-card {
  position: relative;
  flex: 0 0 255px;
  height: 300px;
  overflow: hidden;
  border-radius: 4px;
  color: white;
  background: var(--navy);
}

.city-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.city-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(8, 25, 58, 0.94), rgba(8, 25, 58, 0.03) 72%);
}

.city-card-text {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 19px;
}

.city-card-text h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 29px;
}

.city-card-text p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

/* PROPERTY CARDS */

.property-section {
  border-top: 1px solid #edf0f4;
}

.hotel-card {
  flex: 0 0 305px;
  overflow: hidden;
  border: 1px solid #dce2e8;
  border-radius: 4px;
  background: white;
  cursor: pointer;
}

.property-image {
  position: relative;
  height: 195px;
  background: #d9e3f0;
}

.property-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.badge,
.favorite-btn {
  position: absolute;
  z-index: 1;
}

.badge {
  top: 11px;
  left: 11px;
  padding: 6px 8px;
  border-radius: 2px;
  color: white;
  background: var(--navy);
  font-size: 10px;
  font-weight: 800;
}

.gold-badge {
  color: #60431b;
  background: #f0c66e;
}

.favorite-btn {
  top: 10px;
  right: 10px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: none;
  border-radius: 50%;
  color: var(--navy);
  background: white;
  font-size: 22px;
}

.favorite-btn.active {
  color: #c53c4a;
}

.property-info {
  padding: 15px;
}

.property-info > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hotel-location {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.rating {
  padding: 5px 7px;
  border-radius: 2px;
  color: white;
  background: var(--blue);
  font-size: 11px;
  font-weight: 800;
}

.property-info h3 {
  min-height: 44px;
  margin: 10px 0 4px;
  font-size: 16px;
  line-height: 1.38;
}

.stars {
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 1px;
}

.property-meta {
  min-height: 35px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.property-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #e4e8ed;
}

.property-bottom strong {
  color: var(--navy);
  font-size: 15px;
}

.book-btn {
  padding: 9px 10px;
  border: 1px solid var(--blue);
  border-radius: 2px;
  color: var(--blue);
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.book-btn:hover {
  color: white;
  background: var(--blue);
}

/* FOOTER */

.footer {
  padding: 32px 0;
  color: #cbd7e7;
  background: #0d2345;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-content > p {
  color: #a9bad0;
  font-size: 12px;
}

.footer-content > div {
  display: flex;
  gap: 18px;
}

.footer-content > div a {
  color: #d1dceb;
  font-size: 12px;
}

/* TABLET */

@media (max-width: 950px) {
  .search-panel {
    grid-template-columns: 1fr 1fr;
  }

  .search-field {
    border-bottom: 1px solid #dfe5ed;
  }

  .search-button {
    min-height: 46px;
    margin: 8px 0 0;
  }
}

/* PHONE */

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .header-content {
    min-height: 64px;
  }

  .navigation,
  .language-button {
    display: none;
  }

  .logo {
    font-size: 18px;
  }

  .logo-sign {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .login-btn {
    padding: 8px 12px;
    font-size: 12px;
  }

  .search-area {
    min-height: 535px;
    padding-top: 100px;
  }

  .search-area h1 {
    font-size: 43px;
  }

  .search-panel {
    grid-template-columns: 1fr;
    margin-top: 23px;
  }

  .search-field {
    padding: 9px 5px;
    border-right: none;
  }

  .search-button {
    padding: 14px;
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 19px;
  }

  .section-heading h2 {
    font-size: 30px;
  }

  .city-card {
    flex-basis: 240px;
    height: 285px;
  }

  .hotel-card {
    flex-basis: 285px;
  }

  .property-image {
    height: 183px;
  }

  .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-content > div {
    flex-direction: column;
    gap: 7px;
  }
}