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

body {
  font-family: "Montserrat", sans-serif;
  color: #333;
  background-color: white;
}

.header {
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 80px;
  background-color: white;
  width: 100%;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.search-bar-container {
  display: flex;
  max-width: 480px;
  width: 30%;
  background-color: white;
  border-radius: 50px;
  overflow: hidden;
  height: 44px;
  border: 1px solid #ddd;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 50%;
  transform: translate(-50%, -50%);
}

.search-input {
  flex-grow: 1;
  border: none;
  padding: 0 20px;
  font-size: 0.9rem;
  outline: none;
  color: #333;
  height: 100%;
  background-color: white;
}

.search-input::placeholder {
  color: #888;
}

.search-button {
  background-color: white;
  color: #ff6600;
  border: none;
  padding: 0 20px;
  height: 100%;
  border-radius: 0 50px 50px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.search-button:hover {
  background-color: #f8f8f8;
  color: #e65c00;
}

.header-links {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-left: auto;
}

.header-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.content {
  max-width: 1200px;
  margin: 30px auto;
  padding: 0 20px;
}

.property-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.title-text h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.location {
  font-size: 1rem;
  color: #555;
}

.save-share {
  display: flex;
  gap: 15px;
}

.action-button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  background: none;
  border: none;
  color: #333;
}

.action-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  height: 450px;
  margin-bottom: 30px;
}

.main-image {
  grid-column: span 1;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  display: block;
}

.small-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 10px;
  height: 100%;
}

.property-details {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-gap: 50px;
}

.description {
  padding-right: 20px;
}

.description-header {
  padding-bottom: 24px;
  border-bottom: 1px solid #ddd;
  margin-bottom: 24px;
}

.host-info {
  display: flex;
  justify-content: space-between;
}

.host-name {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.host-details {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 5px;
}

.host-image img {
  width: 56px;
  height: 56px;
}

.amenities {
  margin: 30px 0;
}

.amenities h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
}

.amenity {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.description-text {
  margin: 30px 0;
  line-height: 1.6;
  color: #333;
}

.description-text p {
  margin-bottom: 15px;
}

.booking-card {
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 24px;
  background-color: white;
  position: sticky;
  top: 100px;
}

.booking-card .price {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
}

.price span {
  font-weight: 400;
  font-size: 1rem;
}

.dates {
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.date-input {
  width: 100%;
  padding: 15px;
  border: none;
  border-bottom: 1px solid #ddd;
}

.date-input:last-child {
  border-bottom: none;
}

.cta-button {
  width: 100%;
  padding: 15px 0;
  background-color: #ff6600;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 25px;
}

.cta-button:hover {
  background-color: #e65c00;
}

.secondary-button {
  width: 100%;
  padding: 15px 0;
  background-color: white;
  color: #333;
  border: 1px solid #333;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 15px;
}

.secondary-button:hover {
  background-color: #f8f8f8;
}

@media (max-width: 992px) {
  .property-details {
    grid-template-columns: 1fr;
  }

  .booking-card {
    position: static;
    margin-top: 30px;
  }

  .search-bar-container {
    width: 60%;
  }
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
    height: auto;
  }

  .main-image {
    height: 300px;
  }

  .small-images {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 1fr;
    height: 100px;
  }

  .amenities-list {
    grid-template-columns: 1fr;
  }

  .header {
    padding: 0 20px;
  }

  .search-bar-container {
    display: none;
    position: static;
    transform: none;
    width: auto;
    margin: 0;
  }

  .header-links {
    gap: 15px;
    margin-left: auto;
  }
}
