/* --------------------- General Reset --------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #fdf5f0;
  color: #8c4d2f;
  line-height: 1.5;
  transition: opacity 0.3s ease;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --------------------- Hero Section --------------------- */
.hero {
  text-align: center;
  padding: 60px 20px 20px;
  font-family: 'Playfair Display', serif;
  color: saddlebrown;
}

.hero h1 {
  font-size: 3em;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 0;
}

/* --------------------- Hero Image --------------------- */
.hero-image {
  text-align: center;
  margin: 30px auto;
  max-width: 700px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.03);
}

/* --------------------- Section Styling --------------------- */
section {
  padding: 32px 20px;
  max-width: 1000px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 10px;
}

.about p,
.contact p {
  max-width: 700px;
  margin: 0 auto 12px;
  text-align: center;
}

/* --------------------- Amenities --------------------- */
.amenities-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.amenity {
  background: #fff8f0;
  border: 1.5px solid #b87333;
  padding: 12px 20px;
  border-radius: 25px;
  min-width: 160px;
  text-align: center;
  transition: transform 0.3s ease;
}

.amenity:hover {
  transform: translateY(-5px);
}

/* --------------------- Rooms --------------------- */
.room-cards-wrapper {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: nowrap;
  margin-top: 20px;
}

.room-card {
  width: 300px;
  background: #fff8f0;
  border: 2px solid #b87333;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.room-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.room-card h3 {
  color: #b87333;
  margin-bottom: 10px;
}

.room-card p {
  margin: 5px 0;
}

/* --------------------- Buttons --------------------- */
.btn {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  background: #b87333;
  color: white;
  border-radius: 5px;
  transition: 0.2s;
}

.btn:hover {
  background: #8c4d2f;
}

/* --------------------- Reviews Section --------------------- */
.review-form {
  background: #fff8f0;
  border: 2px solid #b87333;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #b87333;
  font-size: 16px;
  font-family: Arial, sans-serif;
  margin-bottom: 10px;
}

.review-form label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

.review-form button {
  display: block;
  width: 100%;
  padding: 12px;
  background: #b87333;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.review-form button:hover {
  background: #8c4d2f;
}

/* Stars inside form */
.stars {
  text-align: center;
  margin-bottom: 10px;
}

.stars span {
  font-size: 28px;
  cursor: pointer;
  color: #ccc;
  margin: 0 5px;
  transition: 0.2s;
}

.stars span:hover,
.stars span.selected,
.stars span:hover ~ span {
  color: #f5a623;
}

/* Displayed reviews */
.review-item {
  background: #fff8f0;
  border: 2px solid #b87333;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.review-item .star-rating {
  color: #f5a623;
  font-size: 20px;
  margin-bottom: 8px;
}

.review-item p {
  font-size: 16px;
  line-height: 1.4;
  color: #8c4d2f;
}

/* --------------------- Photo Gallery --------------------- */
.gallery-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
}

.gallery-item {
  flex: 1 1 220px;
  max-width: 250px;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* --------------------- Contact --------------------- */
.contact p {
  text-align: center;
  margin-bottom: 10px;
}

/* --------------------- Footer --------------------- */
footer {
  background: #b87333;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 30px;
  font-size: 0.9em;
}

/* --------------------- Room Pages --------------------- */
.room-page {
  max-width: 700px;
  margin: 40px auto;
  background: #fff8f0;
  padding: 30px;
  border-radius: 10px;
  border: 2px solid #b87333;
  text-align: center;
}

.room-page h1 {
  color: saddlebrown;
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.room-page img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

.room-page p {
  margin-bottom: 10px;
  font-size: 1em;
}

.room-page .btn {
  margin-top: 15px;
}

/* --------------------- Booking Form --------------------- */
form label {
  font-weight: bold;
}

form input,
form select {
  width: 100%;
  padding: 8px;
  margin: 5px 0 15px 0;
  border: 1px solid #b87333;
  border-radius: 5px;
}

form button {
  width: 100%;
  padding: 12px;
  background: #b87333;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

form button:hover {
  background: #8c4d2f;
}

/* --------------------- Responsive --------------------- */
@media(max-width: 1024px) {
  .room-cards-wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .gallery-wrapper {
    justify-content: center;
  }

  .hero-image {
    max-width: 600px;
  }
}

@media(max-width: 768px) {
  .room-cards-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .gallery-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .hero-image {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.2em;
  }

  .hero p {
    font-size: 1em;
  }

  .review-form, .review-item {
    width: 90%;
    padding: 15px;
  }

  .stars span {
    font-size: 24px;
  }
}