.roomsection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  padding-top: 100px;
  
  
  /* Background image */
  background-image: url('../images/cabins.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative; /* ensures pseudo-element is correctly placed */
}

/* Dark overlay (mask) */
.roomsection::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* Dark mask with 50% opacity */
  z-index: 0; /* ensures the mask is below the content */
}

/* Ensure content is above the dark overlay */
.roomsection > * {
  position: relative;
  z-index: 1; /* bring content above the dark mask */
}

/* Individual Room Card */
/* Individual Room Card with Glassmorphism */
.room {
  /* semi-trans
  parent white */
  
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px); /* glass blur effect */
  -webkit-backdrop-filter: blur(8px); /* Safari support */
  border: .5px solid rgba(255, 255, 255, 0); /* subtle frosted border */
  overflow: hidden;
  width: 400px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}


.room-description{
  
  font-style: italic;
}
.roomimage{
  border-radius: 0px;
}

.room:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Room Image */
.roomimage {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}

/* Room Image */
.roomimage {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #ddd;
}



/* Room Title and Price */
.room h3 {
  font-family: 'Poppins', sans-serif; /* Trendy font */
  font-size: 1.6rem;
  color: #ffffff;
  text-shadow: 
    0 4px 8px rgba(204, 160, 0, 0.4), 
    0 0 15px rgba(204, 160, 0, 0.3);
  letter-spacing: 2px; /* Wider spacing for a modern feel */
  background: none; 
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  display: inline-block;

  transition: all 0.3s ease-out;
  transform: scale(1); /* Starts normal size */
}

.room h3:hover {
  text-shadow: 
    0 6px 15px rgba(0, 0, 0, 0.5), 
    0 0 30px rgba(0, 29, 61, 0.8); /* Stronger shadow and glowing effect */
  transform: scale(1.1); /* Enlarges the text on hover */
  background: rgba(0, 29, 61, 0.4); /* Dark navy blue background on hover */
  border-color: rgba(0, 29, 61, 0.5); /* Dark navy blue border on hover */
  box-shadow: 0 6px 25px rgba(0, 29, 61, 0.5); /* Larger shadow on hover */
}

.room p {
  font-size: 0.9rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-shadow: 1px 1px 3px rgba(218, 141, 0, 0.016), 0 0 6px rgb(255, 153, 0); /* Soft glow effect */
}
/* Book Button */
.room a.book-btn {
  display: inline-block;
  background: rgba(204, 160, 0, 0.85);
  color: #fff;
  padding: 0.3rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  margin-bottom: 1.2rem;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* subtle shadow */
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.room a.book-btn:hover {
  background: rgba(0, 53, 102, 0.9); /* semi-transparent blue gradient */
  transform: translateY(-3px) scale(1.05); /* hover lift */
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

