@charset "UTF-8";

/* General resets */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Room Detail Page Layout */
.room-detail-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
  gap: 20px;
  padding: 0 20px;
}

/* Left Column: Room Information */
.room-info {
  flex: 1;
  min-width: 300px;
  background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.room-info ul {
  list-style-type: none !important; /* Force no bullets */
  margin: 0;
  padding: 0;
}

.room-info ul li {
  margin-left: 20px; /* optional indentation if you like */
}

.room-info ul li::before {
  content: "\2713"; /* Unicode check mark */
  color: green;     
  margin-right: 8px;
}

/* Right Column: Room Gallery */
.room-gallery {
	flex: 1;
	min-width: 300px;
	background: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
	padding: 20px;
	border-radius: 8px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-direction: column;
    justify-content: center; /* centers vertically */
    align-items: center;     /* centers horizontally */
}

.room-gallery h2, .room-info h1{
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 20px;
    font-size: 2em;
    border-bottom: 2px solid #f8c146;
}

.room-gallery a {
  width: 75%;
  display: block;
  margin: 30px auto 0; /* 30px top margin, auto left/right, 0 bottom */
  padding: 15px 30px;
  font-size: 1.4em;
  text-decoration: none;
  text-align: center;
  background-color: #f8c146;
  color: #333;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.room-gallery a:hover {
    background-color: #4d87ce;
}

/* Gallery Slideshow Styles */
.gallery-slideshow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slideshow img {
  width: 100%;
  max-width: 600px;    /* Maximum width */
  max-height: 500px;   /* Maximum height */
  object-fit: cover;   /* Crop the image to fill the area */
  border-radius: 8px;
}

/* Navigation Buttons for Slideshow */
.gallery-slideshow .prev,
.gallery-slideshow .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.gallery-slideshow .prev {
  left: 10px;
}

.gallery-slideshow .next {
  right: 10px;
}

.gallery-slideshow .prev:hover,
.gallery-slideshow .next:hover {
  background-color: rgba(0,0,0,0.7);
}

.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.gallery-thumbnails .thumbnail {
  width: 80px;         /* Fixed thumbnail width */
  height: 60px;        /* Fixed thumbnail height */
  overflow: hidden;
  cursor: pointer;
}

.gallery-thumbnails .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* Crop thumbnail if needed */
  border-radius: 4px;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.gallery-thumbnails .thumbnail:hover img {
  border: 2px solid #f8c146;
}


/* Headings in Room Info */
.room-info h1, .room-info h2 {
  text-align: center;
  margin-bottom: 20px;
}

.room-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  text-align: justify;
}

.room-info ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
	.room-detail-container{
		width: 100%;
		margin-top: 0px;
	}
	
	.room-info h1{
		font-size: 1.8em;
	}
	
	.room-info h2{
		font-size: 1.5em;
	}
	
	.room-gallery a {
		width: 95%;
		font-size: 1.2em;
	}
}
