/* ====== Rooms Page Specific Styles ====== */
.rooms-hero {
  position: relative;
  height: 70vh;
  min-height: 500px; /* Added minimum height for mobile */
  background: url('assets/rooms/home-room.webp') center/cover no-repeat; /* background-attachment: fixed;  Creates parallax effect */
  margin-bottom: 60px;
}

.rooms-hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rooms-hero-content {
  color: white;
  padding: 20px;
  max-width: 90%;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5); /* Better text readability */
}

.rooms-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem); /* Responsive font scaling */
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 1.1rem;
}
.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.3s ease;
}
.breadcrumb a:hover {
  color: var(--cream);
}

/* ========== About Rooms Section ========== */
.about-simple {
  padding: 80px 20px;
  background-color: #fdfdfd;
  text-align: center;
  background-color: var(--gray);
}

.about-center {
  max-width: 900px;
  margin: 0 auto;
}

.about-simple h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 10px;

}

.gold-divider {
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 20px;
}

.about-simple .tagline {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 30px;
}

.about-simple .description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-simple .gratitude {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--accent);
}

/* Rooms Listing */
.rooms-container {
  width: 90%;
  max-width: 1200px;
  margin: 80px auto;
}

.room-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 80px;
  align-items: center; /* Better vertical alignment */
}

.room-section:nth-child(even) {
  flex-direction: row-reverse;
}

.room-image-slider, 
.room-content {
  flex: 1 1 48%;
  min-width: 300px;
}

.slider-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1); /* Added depth */
  transition: transform 0.3s ease; /* Hover effect */
}
.slider-wrapper:hover {
  transform: translateY(-5px);
}

.slider-img {
  width: 100%;
  height: auto;
  max-height: 400px; /* Prevent overly tall images */
  object-fit: cover; /* Ensure consistent cropping */
  display: none;
  transition: opacity 0.5s ease; /* Smooth transition */
}

.slider-img.active {
  display: block;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 12px 15px;
  cursor: pointer;
  border-radius: 4px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  opacity: 0.8;
}
.slider-btn:hover {
  background: rgba(0,0,0,0.8);
  opacity: 1;
}
.slider-btn:focus {
  outline: 2px solid var(--gold); /* Accessibility focus */
}
.slider-btn.prev { left: 15px; }
.slider-btn.next { right: 15px; }

.room-content h2 {
  color: var(--gold);
  margin-bottom: 15px;
  font-size: 1.8rem;
}
.room-content p {
  line-height: 1.7;
  margin-bottom: 20px;
}

.room-features {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}
.room-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.room-features li::before {
  content: "•";
  color: var(--gold);
  margin-right: 10px;
  font-size: 1.2rem;
}

.common-amenities {
  background-color: #f5f2e6; /* match your cream background */
  padding: 60px 20px;
  text-align: center;
}

.common-amenities h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.amenity-intro {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-dark);
  font-family: var(--font-body);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: auto;
  text-align: left;
}


.amenity-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 16px 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  font-size: 1rem;
  font-weight: 500;
  color: var(--primary);
  font-family: var(--font-body);
}

.common-amenities {
  background-color: var(--gray);
  padding: 80px 20px;
  text-align: center;
}

.common-amenities h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.amenity-intro {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-family: var(--font-body);
  max-width: 750px;
  margin: 0 auto 40px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.amenity-card {
  background-color: white;
  border-radius: 10px;
  padding: 24px 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
  animation: fadeIn 1s ease forwards;
  opacity: 0;
}

.amenity-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.amenity-card span {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 500;
  font-family: var(--font-body);
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .amenities-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .common-amenities h2 {
  font-size: 2rem;
  }

}


/* Responsive Adjustments */
@media (max-width: 768px) {
  .rooms-hero {
    height: 50vh;
    background-attachment: scroll; /* Disable parallax on mobile */
  }
  
  .room-section {
    gap: 30px;
    margin-bottom: 60px;
  }
  
  .slider-btn {
    padding: 8px 12px;
    font-size: 1rem;
  }

  .about-simple h2 {
  font-size: 2rem;
  }
  
}

@media (max-width: 480px) {
  .rooms-container {
    width: 95%;
    margin: 50px auto;
  }

  
  .room-image-slider,
  .room-content {
    flex: 1 1 100%;
  }
  
  .slider-wrapper {
    margin-bottom: 20px;
  }
  

}