/* Rooms Section Styles */
.rooms {
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.rooms::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200px;
  height: 200px;
  background: var(--sunset-gradient);
  opacity: 0.05;
  border-radius: 0 200px 0 0;
  z-index: 0;
}

.rooms-slider {
  position: relative;
  display: flex;
  overflow: hidden;
  margin-bottom: var(--spacing-md);
}

.room-card {
  flex: 0 0 100%;
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.5s ease;
}

@media (min-width: 768px) {
  .room-card {
    flex-direction: row;
  }
}

.room-image {
  flex: 0 0 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
  .room-image {
    flex: 0 0 50%;
    margin-bottom: 0;
    margin-right: var(--spacing-md);
  }
}

.room-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.room-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.room-details h3 {
  color: var(--black);
  margin-bottom: var(--spacing-sm);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.room-details h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--sunset-gradient);
}

.room-details p {
  color: var(--gray);
  margin-bottom: var(--spacing-md);
}

.rooms-nav {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.prev-btn, .next-btn {
  background-color: var(--white);
  color: var(--black);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.prev-btn:hover, .next-btn:hover {
  background-color: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.prev-btn span, .next-btn span {
  font-size: 2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .room-image img {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .room-image {
    flex: 0 0 100%;
    margin-right: 0;
    margin-bottom: var(--spacing-md);
  }
  
  .room-card {
    flex-direction: column;
  }
}

@media (max-width: 576px) {
  .room-image img {
    height: 200px;
  }
  
  .rooms-nav {
    gap: var(--spacing-sm);
  }
  
  .prev-btn, .next-btn {
    width: 40px;
    height: 40px;
  }
}