.rooms-apartments-section {
  background-color: var(--bg-white);
  overflow: hidden;
}

.rooms-apartments-section h2 {
  font-weight: 500;
  letter-spacing: 0.5px;
}

.room-row {
  margin-bottom: 90px !important;
  padding-bottom: 0 !important;
}

.room-row:last-child {
  margin-bottom: 0 !important;
}

.room-img-container {
  overflow: hidden;
  position: relative;
  border-radius: 2px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
}

.room-image {
  transition: transform 1.2s cubic-bezier(0.15, 0.85, 0.35, 1);
  object-fit: cover;
  height: 480px;
  width: 100%;
  display: block;
}

.room-row:hover .room-image {
  transform: scale(1.05);
}

.room-details-block {
  padding: 30px 0;
  position: relative;
}

.room-title {
  font-size: 32px;
  color: var(--text-title);
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.room-features-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  color: #777;
  font-size: 14px;
}

.feature-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-item .material-symbols-outlined {
  font-size: 20px;
  /* color: #be8c77; */
  color: var(--secondary-color);
}

.room-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 35px;
  max-width: 520px;
}

.room-row .text-lg-end .room-desc {
  margin-left: auto;
}

.btn-more-details {
  position: relative;
  display: inline-block;
  border: 1px solid #9d4227;
  background-color: transparent;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-more-details::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; 
  height: 0%; width: 100%;
  background-color: var(--secondary-color);
  transition: height 0.3s ease-out;
  z-index: 0;
}

.btn-more-details:hover::before {
  height: 100%;
}

.btn-more-details span {         
  position: relative;
  display: inline-block;
  z-index: 1;
  color: var(--secondary-color);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 14px 35px;
  transition: color 0.2s;
  width: 100%;
}

.btn-more-details:hover span {
  color: var(--bg-white);
  transition: color 0.2s 0.1s;
}

@media (min-width: 992px) {
  .border-left-line {
    border-left: 1px solid #e5e5e5;
    padding-left: 55px;
  }
  
  .border-right-line {
    border-right: 1px solid #e5e5e5;
    padding-right: 55px;
  }
}

@media (max-width: 991px) {
  .room-row {
    margin-bottom: 50px !important;
  }

  .room-image {
    height: 380px;
  }
  
  .room-details-block {
    text-align: center;
    padding: 20px;
  }
  
  .room-features-bar {
    justify-content: center;
    gap: 15px;
  }
  
  .room-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .room-row {
    margin-bottom: 40px !important;
  }

  .room-image {
    height: 280px;
  }
  
  .room-title {
    font-size: 26px;
  }
}
