:root {
  --primary-color: #fbbc04;
  --light-text: #666;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 1000;
}

.site-header .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-icon {
  width: 100px;
}

.logo-text {
  font-family: Arial, sans-serif;
  font-size: 1.25rem;
  line-height: 1.2;
  color: #1a1a2e;
}

.logo-text strong {
  display: block;
  color: var(--primary-color);
  /* #fbbc04 */
}

.header-nav a {
  margin-left: 24px;
  color: #333;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

.header-nav a:hover {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
}

body {
  padding-top: 150px;
  font-family: Arial, sans-serif;
  background: #eef2f5;
}


.container {
  max-width: 1200px;
  width: 90%;
  margin: 0 auto;
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.8rem;
  color: #1a1a2e;
}

.search-form {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 0.9rem;
  white-space: nowrap;
}

.field-destination {
  flex: 4;
}

.field-checkin,
.field-checkout {
  flex: 2;
}

.field-rooms {
  flex: 1.5;
}

.field-button {
  flex: none;
}

.field input[type="text"],
.field select {
  width: 100%;
  padding: 16px 12px;
  min-height: 48px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  min-width: 9.5rem;
}

.autocomplete {
  position: relative;
}

.suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

body.search-form-body .suggestions {
  max-height: 240px;
  overflow-y: scroll;
}

.suggestions.hidden {
  display: none;
}

.suggestion-item {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  cursor: pointer;
}

.suggestion-item:hover {
  background: #f1f1f1;
}

.suggestion-icon {
  font-size: 1.2rem;
  margin-right: 8px;
  color: #666;
}

.suggestion-text {
  display: flex;
  flex-direction: column;
}

.suggestion-primary {
  font-weight: bold;
  color: #222;
}

.suggestion-secondary {
  font-size: 0.85rem;
  color: #666;
}

.date-wrapper {
  position: relative;
}

.date-wrapper .icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.2rem;
}

.field-button button {
  padding: 18px 32px;
  min-height: 48px;
  background: #fbbc04;
  color: #1a1a2e;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.field-button button {
  position: relative;
  overflow: hidden;
  transition: transform 0.1s ease-out, box-shadow 0.1s ease-out;
}


.field-button button:active {
  transform: scale(0.95);
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.2);
}


.flatpickr-calendar {
  border: 1px solid #ccc !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #fbbc04 !important;
  color: #1a1a2e !important;
}

.suggestion-icon {
  font-size: 1.2rem;
  margin-right: 8px;
  display: inline-block;
  filter: grayscale(100%) contrast(80%);
}

.suggestion-item.active {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .search-form {
    flex-wrap: wrap;
    gap: 10px;
  }

  .field-button {
    width: 100%;
  }
}

.fullscreen-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  /* transition: opacity .3s ease, visibility .3s ease;*/
}

.fullscreen-loader.active {
  opacity: 1;
  visibility: visible;
}

.loader-container {
  text-align: center;
  padding: 2rem;
  max-width: 500px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.loader-container p {
  margin-top: 2rem;
  font-size: 1.25rem;
  color: var(--primary-color);
  font-weight: 500;
}

.spinner {
  display: block;
  margin: 2rem auto 0;
  position: relative;
  width: 80px;
  height: 40px;
}

.spinner .dot1,
.spinner .dot2,
.spinner .dot3 {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  animation: bounce 1.4s infinite ease-in-out both;
}

.spinner .dot1 {
  left: 0;
  animation-delay: -0.32s;
}

.spinner .dot2 {
  left: 30px;
  animation-delay: -0.16s;
}

.spinner .dot3 {
  left: 60px;
}

@keyframes bounce {

  0%,
  80%,
  100% {
    transform: scale(0);
  }

  40% {
    transform: scale(1.0);
  }
}

.logo-carousel {
  width: 100%;
  height: 150px;
  margin: 20px auto;
  position: relative;
  overflow: hidden;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.08);
}

.logo-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateX(50px);
  transition: opacity .4s ease, transform .5s ease;
}

.logo-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.logo-slide.exit {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity .4s ease, transform .5s ease;
}

.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  box-shadow:
    inset 10px 0 15px -10px rgba(0, 0, 0, 0.1),
    inset -10px 0 15px -10px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
}

.success-content {
  transition: opacity .5s ease;
}

.success-content svg {
  margin-bottom: 1.5rem;
}

.success-content h3 {
  color: var(--primary-color);
  margin-bottom: .75rem;
  font-size: 1.75rem;
}

.success-content p {
  color: var(--light-text);
  font-size: 1.125rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

/* redirect loader */
.redirect-loading {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.loading-dots {
  display: flex;
  align-items: center;
}

.loading-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: var(--primary-color);
  border-radius: 50%;
  animation: dotPulse 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes dotPulse {

  0%,
  80%,
  100% {
    transform: scale(0);
    opacity: .5;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.rates-card {
  margin: 40px auto;
  padding: 24px;
  max-width: 100%;
}

body.search-form-body .rates-card {
  margin: 16px auto;
  padding: 8px;
}

body.search-form-body {
  padding: 8px;
  background: transparent;
}

.rates-card .container {
  max-width: 1200px;
}

.rates-card h2 {
  text-align: center;
  font-size: 1.5rem;
  color: #1a1a2e;
  margin-bottom: 24px;
}

.partner-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.partner-logos img {
  max-height: 40px;
  width: auto;
  max-width: 100%;
  transition: transform 0.2s ease;
}

.partner-logos img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .partner-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  body.search-form-body .container {
    width: 100%;
    padding: 16px;
  }

  body.search-form-body .suggestions {
    max-height: 340px;
    overflow-y: scroll;
  }

  body.search-form-body .rates-card {
    width: 100%;
    padding: 0;
  }

  .rates-card {
    margin: 16px auto;
    padding: 20px;
  }

  .field label {
    white-space: wrap;
  }
}

.rates-card>.container {
  width: 100%;
  margin: 0 auto;
}

.site-header .header-inner {
  width: 100vw;
  max-width: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 8px 24px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.inventory-section {
  padding: 60px 0;
  background: #eef2f5;
}

.inventory-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.inventory-text {
  flex: 1;
}

.inventory-text h2 {
  font-size: 2rem;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.inventory-text p {
  font-size: 1.125rem;
  color: #333;
  line-height: 1.5;
}


.inventory-images {
  position: relative;
  flex: 1;
  min-height: 300px;

}

.inventory-images .img {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 200px;
  height: 140px;
}

.inventory-images .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inventory-images .img1 {
  top: 0;
  left: 20%;
  transform: translateX(-20%);
}

.inventory-images .img2 {
  top: 0;
  right: 0;
}

.inventory-images .img3 {
  bottom: 0;
  left: 0;
}

.inventory-images .img4 {
  position: absolute;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  width: 200px;
  height: 140px;

  bottom: 0;
  right: 20%;
}

.inventory-images .img4 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inventory-text h2,
.inventory-text p {
  color: #0a3b6c;
}

.inventory-section .container.inventory-content {
  max-width: none;
  width: 100%;
  margin: 0 auto;
  padding: 0 220px
}

/* ===== FOOTER ===== */
.site-footer {
  background: #eef2f5;
  color: var(--light-text);
  padding: 40px 0;
  width: 100%;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-nav {
  display: inline-flex;
  gap: 0;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-nav a {
  position: relative;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  padding: 0 12px;
}

.footer-nav a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: #999;
}

.footer-text p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}


html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.site-footer {
  margin-top: auto;
}


@media (max-width: 600px) {
  .footer-nav a {
    padding: 8px 6px;
  }

  .footer-text p {
    font-size: 0.85rem;
    padding: 0 12px;
  }
}

/* ===== RESPONSIVE INVENTORY SECTION (grid layout) ===== */
.parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  align-items: center;
}

.div1 {
  grid-area: 1 / 1 / 3 / 2;
  text-align: center;
}

.div2 {
  grid-area: 1 / 2 / 2 / 3;
  text-align: right;
}

.div3 {
  grid-area: 1 / 3 / 2 / 4;
  text-align: right;
}

.div4 {
  grid-area: 2 / 2 / 3 / 3;
  text-align: left;
}

.div5 {
  grid-area: 2 / 3 / 3 / 4
}

.parent div img {
  max-width: 75%;
  border-radius: 8px;
}

.inventory-text h2,
.inventory-text p {
  color: #0a3b6c;
  text-align: center;
}

@media (max-width:1023px) {
  .parent {
    display: block
  }

  .parent div img {
    width: 100%;
    max-width: 100%
  }
}

/* ===== FLATPICKR STYLES ===== */
body .flatpickr-months .flatpickr-month {
  color: #000 !important;
}


.flatpickr-input,
.field-rooms select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.date-wrapper input.flatpickr-input {
  width: 100%;
  padding: 16px 14px;
  font-size: 1.1rem;
  min-height: 56px;

  background-color: #fafafa;
  border: 1px solid #ccc;
  border-radius: 6px;

  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  color: #333;

  transition: border-color .2s ease, box-shadow .2s ease;
}

.date-wrapper input.flatpickr-input::placeholder {
  color: #999;
  opacity: 1;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0px 1000px #fafafa inset !important;
  box-shadow: 0 0 0px 1000px #fafafa inset !important;
  -webkit-text-fill-color: #333 !important;
}

/* focus input*/
.date-wrapper input.flatpickr-input:focus {
  outline: none;
  border-color: #007aff;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.2);
}

.date-wrapper {
  position: relative;
}

.date-wrapper .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 14px;
  font-size: 1.4rem;
  color: #007aff;
  pointer-events: none;
}

/*Rooms*/
.field-rooms {
  position: relative;
  display: flex;
  flex-direction: column;
}

.field-rooms select {
  width: 100%;
  padding: 14px 40px 14px 14px;
  font-size: 1.1rem;
  min-height: 52px;
  min-width: 9.5rem;
  background-color: transparent;
  background-image: url('img/search-logos/select-arrows.svg');
  background-repeat: no-repeat;
  background-position: right 2px center;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  color: #333;
  transition: border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
}

@media (max-width: 768px) {

  .field-checkin,
  .field-checkout,
  .field-rooms {
    flex: 1 1 100%;
  }
}

/* ======== HEADER ======== */
.header-nav {
  display: flex;
  gap: 24px;
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .nav-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
  }

  .nav-toggle[aria-expanded="true"]+.header-nav {
    display: flex;
  }
}