@import url("styles.css");



.amenities {
  padding: 60px 20px;
  text-align: center;
}

.amenities h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: rgb(56, 114, 240);
}


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}


.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #b8860b;
}

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

/* Ховер на карточку */
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}


.img-resp {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}


form.card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 15px;
}

.field {
  display: flex;
  flex-direction: column;
  text-align: left;
  gap: 5px;
}

.field span {
  font-weight: bold;
  color: #333;
}

.field input,
.field select {
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 6px;
  font-size: 1rem;
}

/* Кнопка бронирования */
form.card button {
  background: rgb(56, 114, 240);
  color: #fff;
  padding: 12px 20px;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

form.card button:hover {
  background: darkblue;
}

/* Адаптивность */
@media (max-width: 600px) {
  .img-resp {
    height: 150px;
  }

  .card h3 {
    font-size: 1.3rem;
  }
}
