main.apartment-detail {
  padding: 100px 20px 50px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color, #333);
  line-height: 1.6;
}

#smoke{
  color: rgb(255, 0, 0);
  font-weight: bold;
}

.apartment-header h2 {
  color: var(--primary-color, #152963);
  font-size: 2.2rem;
  margin-bottom: 15px;
  text-align: center;
}

.apartment-description {
  text-align: center;
  margin-bottom: 25px;
  color: #444;
}

.apartment-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 1rem;
  margin-bottom: 50px;
}

.apartment-gallery h3 {
  color: var(--primary-color, #152963);
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.gallery-grid a {
  flex: 1 1 calc(25% - 15px);
  max-width: 300px;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-grid a img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-grid a img:hover {
  transform: scale(1.05);
}

.apartment-amenities {
  background: #f7f9fc;
  padding: 40px 20px;
  border-radius: 12px;
  margin: 50px 0;
}

.apartment-amenities h3 {
  text-align: center;
  color: var(--primary-color, #152963);
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.amenities-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  align-items: stretch;
}

.amenities-list li {
  background: #fff;
  padding: 12px 15px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-size: 1rem;
  color: var(--text-color, #333);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  height: 70px;
  transition: transform 0.2s ease;
}

.fas{
  text-align: center;
}

.amenities-list i {
  color: var(--primary-color, #152963);
  font-size: 1.2rem;
}

.reservation-btn {
  text-align: center;
  margin-top: 30px;
}

.btn-reserve {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-color, #152963);
  color: #fff;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-reserve:hover {
  background: #0f1f4b;
}

.back-link {
  text-align: center;
  margin-top: 40px;
  font-size: 0.95rem;
}

.back-link a {
  color: var(--primary-color, #152963);
  text-decoration: none;
  transition: all 0.3s ease;
}

.back-link a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .apartment-info {
    flex-direction: column;
    align-items: center;
  }

  .gallery-grid a {
    flex: 1 1 calc(50% - 10px);
    max-width: none;
  }

  .gallery-grid a img {
    height: 150px;
  }

  .amenities-list li {
    font-size: 0.9rem;
    height: 65px;
  }
}

@media (max-width: 600px) {
  .apartment-header h2 {
    font-size: 1.8rem;
  }

  .apartment-gallery h3,
  .apartment-amenities h3 {
    font-size: 1.5rem;
  }

  .amenities-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .amenities-list li {
    font-size: 0.9rem;
    height: auto;
    min-height: 65px;
    white-space: normal;
  }

  .reservation-btn {
    margin-top: 20px;
  }
}
