:root {
  --dark-gold: #8a6f16;
  --gold: #c4a747;
  --text: #4d5877;
  --bg: #eef0f0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.navbar {
  height: 122px;
  background: #fefefe;
  display: flex;
  align-items: center;
}

.nav-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 70px;
}

.logo {
  width: 310px;
  display: block;
}

.nav-links {
  display: flex;
  gap: 54px;
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.booking-wrapper {
  background: #e6eaed;
  padding: 42px 0 38px;
}

.booking-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.booking-options {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 700;
}

.traveller-trigger {
  cursor: pointer;
  user-select: none;
}

.traveller-trigger:hover {
  color: #5e6885;
}

.booking {
  display: grid;
  grid-template-columns: 275px 26px 275px 305px 300px;
  align-items: end;
  gap: 24px;
}

.input-group {
  position: relative;
  height: 48px;
}

.input-group input {
  width: 100%;
  height: 44px;
  border: none;
  border-bottom: 2px solid #222;
  background: transparent;
  color: var(--gold);
  font-size: 18px;
  padding: 0 34px 0 0;
  outline: none;
}

.input-group input:focus {
  border: 2px solid #222;
  padding-left: 10px;
  padding-right: 34px;
}

.input-group label {
  position: absolute;
  left: 0;
  top: 14px;
  font-size: 18px;
  color: var(--text);
  pointer-events: none;
  transition: 0.15s ease;
}

.input-group input:focus + label,
.input-group.has-value label {
  top: -14px;
  left: 0;
  font-size: 12px;
}

.clear-icon {
  position: absolute;
  right: 9px;
  top: 22px;
  transform: translateY(-50%);
  color: black;
  font-size: 17px;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  z-index: 3;
  transition: 0.15s ease;
}

.input-group.has-value .clear-icon {
  opacity: 1;
  pointer-events: auto;
}

.calendar-icon {
  position: absolute;
  right: 10px;
  top: 22px;
  transform: translateY(-50%);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}

.date.has-value .calendar-icon {
  opacity: 0;
  pointer-events: none;
}

.swap-icon {
  font-size: 22px;
  color: black;
  margin-bottom: 12px;
  cursor: pointer;
}

.booking button {
  height: 50px;
  border: none;
  border-radius: 4px;
  background: var(--gold);
  color: #000;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.booking button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.suggestions {
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 50;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: white;
  border: 1px solid #d0d3dc;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  display: none;
}

.suggestions.show {
  display: block;
}

.suggestions li {
  padding: 12px 14px;
  font-size: 15px;
  color: var(--dark-gold);
  cursor: pointer;
}

.suggestions li:hover {
  background: #f1f3f7;
}

.error-summary {
  background: #fdecec;
  color: var(--dark-gold);
  padding: 20px 18px;
  margin-bottom: 22px;
  max-width: 1000px;
}

.error-title {
  font-weight: 700;
  margin-bottom: 14px;
}

.error-title i {
  color: #d40000;
  margin-right: 10px;
}

.error-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 7px 0;
  font-size: 15px;
}

.error-line button {
  border: none;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.input-group.error input {
  border-bottom-color: #d40000;
  color: #d40000;
}

.input-group.error label {
  color: #d40000;
}

.field-error {
  position: absolute;
  top: 50px;
  left: 0;
  right: 0;
  background: #d40000;
  color: white;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.4;
  z-index: 20;
}

.hero {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-card {
  position: absolute;
  top: 142px;
  right: 18vw;
  width: 535px;
  min-height: 315px;
  background: white;
  padding: 44px 48px 38px;
  border-radius: 6px;
  transform: translateX(18%);
}

.hero-card h1 {
  margin: 0 0 34px;
  font-size: 42px;
  line-height: 1.12;
  color: var(--dark-gold);
  font-weight: 900;
}

.hero-card a {
  color: var(--dark-gold);
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.about {
  background: white;
  padding: 64px 0 24px;
}

.about-inner,
.destinations-inner,
.footer-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.section-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  color: var(--dark-gold);
  font-size: 30px;
  line-height: 1;
  border-bottom: 2px solid var(--dark-gold);
  padding-bottom: 8px;
}

.about-box {
  max-width: 850px;
  background: #fbfbfb;
  padding: 34px 38px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
}

.about-box h2 {
  margin: 0 0 16px;
  font-size: 34px;
  color: var(--dark-gold);
}

.about-box p {
  margin: 0 0 14px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
}

.about-box p:last-child {
  margin-bottom: 0;
}

.destinations {
  background: white;
  padding: 54px 0 70px;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 28px;
}

.destination-card {
  background: white;
  min-height: 390px;
  padding: 22px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.destination-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.destination-card h3 {
  margin: 26px 0 0;
  color: var(--dark-gold);
  font-size: 26px;
  font-weight: 800;
}

.destination-card h3 i {
  margin-right: 8px;
  color: var(--text);
  font-size: 18px;
}

.footer {
  background: #171717;
  color: white;
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer img {
  width: 230px;
  filter: brightness(0) invert(1);
}

.footer p {
  margin: 0;
  font-size: 15px;
  color: #d8d8d8;
}

.flatpickr-calendar {
  font-family: Arial, Helvetica, sans-serif;
}

.modal-overlay,
.message-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 40, 0.55);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}

.message-overlay {
  z-index: 1200;
}

.modal-overlay.show,
.message-overlay.show {
  display: flex;
}

.travel-modal {
  position: relative;
  width: min(840px, calc(100% - 32px));
  background: white;
  padding: 42px 40px 46px;
  color: var(--dark-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.modal-close,
.message-close {
  position: absolute;
  right: 28px;
  top: 24px;
  border: none;
  background: none;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid #c9c9c9;
  margin-bottom: 48px;
}

.modal-tab {
  border: none;
  background: none;
  padding: 0 0 18px;
  font-size: 18px;
  color: var(--dark-gold);
  font-weight: 700;
  border-bottom: 4px solid var(--dark-gold);
}

.modal-content {
  display: none;
}

.modal-content.active {
  display: block;
}

.traveller-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  margin-bottom: 54px;
  font-size: 18px;
}

.traveller-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 24px;
}

.traveller-row small {
  display: block;
  font-size: 16px;
  color: var(--text);
}

.counter {
  display: flex;
  height: 48px;
  border: 2px solid #333;
}

.counter-btn {
  width: 48px;
  border: none;
  background: white;
  font-size: 30px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
}

.counter select {
  width: 74px;
  border: none;
  border-left: 2px solid #333;
  border-right: 2px solid #333;
  text-align: center;
  font-size: 20px;
  color: #666;
  appearance: none;
  outline: none;
  cursor: pointer;
  text-align-last: center;
}

.contact-form {
  width: min(530px, 100%);
}

.contact-form h2 {
  margin: 0 0 34px;
  font-size: 38px;
  font-weight: 400;
  color: var(--dark-gold);
}

.modal-input {
  width: 100%;
  margin-bottom: 34px;
}

.modal-next {
  width: 142px;
  height: 58px;
  margin-top: 10px;
  border: none;
  border-radius: 4px;
  background: var(--gold);
  color: black;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
}

.message-modal {
  position: relative;
  width: min(560px, calc(100% - 32px));
  background: white;
  padding: 42px 40px 36px;
  color: black;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
}

.message-modal strong {
  color: var(--dark-gold);
}

.message-modal h2 {
  margin: 0 0 24px;
  font-size: 30px;
}

.message-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.message-summary div {
  border-bottom: 1px solid #d8d8d8;
  padding-bottom: 8px;
}

.message-summary strong {
  display: block;
  margin-bottom: 4px;
}

.message-ok {
  width: 120px;
  height: 52px;
  border: none;
  border-radius: 4px;
  background: var(--gold);
  color: black;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .booking {
    grid-template-columns: 1fr 26px 1fr;
  }

  .date,
  .booking button {
    grid-column: span 3;
  }

  .hero-card {
    right: 8vw;
    transform: none;
  }
}

@media (max-width: 800px) {
  .travel-modal {
    padding: 36px 24px 46px;
  }

  .traveller-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .navbar {
    height: auto;
    padding: 24px 0;
  }

  .nav-inner {
    flex-direction: column;
    gap: 25px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .booking {
    grid-template-columns: 1fr;
  }

  .swap-icon,
  .date,
  .booking button {
    grid-column: auto;
  }

  .hero-card {
    left: 20px;
    right: 20px;
    top: 80px;
    width: auto;
    min-height: auto;
    padding: 35px;
  }

  .hero-card h1 {
    font-size: 32px;
  }

  .destination-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 24px;
  }

  .destination-card {
    min-height: auto;
  }
}