/* Base styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-top: 60px;
  background-color: #f7f7f7;
  color: #333;
  line-height: 1.6;
}

.back-btn {
  display: block;
  width: fit-content;
  margin: 2rem auto;
  padding: 0.5rem 0.5rem;
  background: #1c60e3e3;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background 0.3s;
}

.back-btn:hover {
  background: #3169d3e3;
}

/* Amenity Modal Styles */
.amenities-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.amenities-modal.active {
  display: flex;
}

.amenities-content {
  background: #fff;
  padding: 2rem;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.amenities-content h3 {
  margin-top: 0;
}

.amenities-content ul {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.amenities-content ul li {
  margin-bottom: 0.5rem;
}

.show-all-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  color: #1c60e3e3;
  cursor: pointer;
  text-decoration: underline;
}

.amenities-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
}

section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar a {
  color: #1c60e3e3;
  text-decoration: none;
  font-weight: bold;
  margin: 0 1rem;
}

.header {
  background: #fff;
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header h1 {
  margin: 0;
  font-size: 2rem;
  color: #111;
}

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

h2 {
  font-size: 1.5rem;
  color: #981499;
  margin-top: 0;
}

ul {
  padding-left: 1.25rem;
}

ul li {
  margin-bottom: 0.5rem;
}

.amenities {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.gallery-preview {
  max-width: 800px;
  margin: 2rem auto;
  display: grid;
  grid-template-areas:
    "main main side1"
    "main main side2"
    "main main side3";
  grid-template-columns: 2fr 2fr 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  gap: 0.5rem;
}

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

.gallery-main { grid-area: main; }
.gallery-side1 { grid-area: side1; }
.gallery-side2 { grid-area: side2; }
.gallery-side3 { grid-area: side3; }

.show-all {
  grid-area: side3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
}

.show-all a {
  display: inline-block;
  padding: 0.5rem 0.5rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #222;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.booking .btn {
  display: inline-block;
  background: #1c60e3e3;
  color: #fff;
  padding: 0.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  transition: background 0.3s;
}

.booking .btn:hover {
  background: #c70b4e;
}

.footer {
  background: #fff;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #981499;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .gallery-preview {
    grid-template-areas:
      "main"
      "side1"
      "side2"
      "side3";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .amenities {
    columns: 1;
  }

  .navbar {
    padding: 0.75rem 0.5rem;
  }

  .navbar a {
    display: inline-block;
    margin: 0.5rem;
  }

  .header h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .amenities-content ul {
    columns: 1;
  }
}
