/* Rooms Page Specific Styles */

/* Hero Section */
.rooms-hero {
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.6), rgba(26, 26, 26, 0.4));
  z-index: -1;
}

.rooms-hero-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--white);
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  animation: fadeInUp 1s ease-out 0.3s both;
}

.rooms-hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* Filter Section */
.room-filter-section {
  padding: 3rem 0;
  background: var(--deep-black);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.filter-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid rgba(212, 175, 55, 0.3);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-gold);
  transition: left 0.3s ease;
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  left: 0;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--deep-black);
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

/* Rooms Grid Section */
.rooms-grid-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--deep-black), var(--charcoal));
  min-height: 100vh;
}

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Room Card */
.room-card {
  background: rgba(42, 42, 42, 0.8);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  border: 1px solid rgba(212, 175, 55, 0.1);
  animation: fadeInUp 0.8s ease-out both;
}

.room-card:nth-child(1) { animation-delay: 0.1s; }
.room-card:nth-child(2) { animation-delay: 0.2s; }
.room-card:nth-child(3) { animation-delay: 0.3s; }
.room-card:nth-child(4) { animation-delay: 0.4s; }
.room-card:nth-child(5) { animation-delay: 0.5s; }
.room-card:nth-child(6) { animation-delay: 0.6s; }

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border-color: rgba(212, 175, 55, 0.3);
}

.room-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.room-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.room-card:hover .room-image img {
  transform: scale(1.05);
}

.room-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.room-card:hover .room-overlay {
  opacity: 1;
}

.room-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.feature {
  background: rgba(212, 175, 55, 0.9);
  color: var(--deep-black);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.feature i {
  font-size: 0.7rem;
}

/* Room Content */
.room-content {
  padding: 2rem;
}

.room-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.room-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.room-amenities {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.amenity {
  background: rgba(212, 175, 55, 0.1);
  color: var(--primary-gold);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.room-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.price {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--primary-gold);
}

.price-period {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.room-actions {
  display: flex;
  gap: 1rem;
}

.btn-details {
  background: transparent;
  border: 2px solid rgba(212, 175, 55, 0.3);
  color: var(--primary-gold);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  flex: 1;
}

.btn-details:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: var(--primary-gold);
  transform: translateY(-2px);
}

.btn-book {
  background: var(--gold-gradient);
  border: none;
  color: var(--deep-black);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  flex: 1;
}

.btn-book:hover {
  background: var(--dark-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--charcoal), var(--deep-black));
  text-align: center;
}

.cta-content h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  background: var(--gold-gradient);
  border: none;
  color: var(--deep-black);
  font-weight: 600;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.cta-btn:hover {
  background: var(--dark-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .rooms-hero-title {
    font-size: 3rem;
  }
  
  .rooms-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .filter-container {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .rooms-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .room-card {
    margin: 0 1rem;
  }
  
  .room-content {
    padding: 1.5rem;
  }
  
  .room-title {
    font-size: 1.5rem;
  }
  
  .cta-content h2 {
    font-size: 2.5rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .rooms-hero-title {
    font-size: 2.5rem;
  }
  
  .room-actions {
    flex-direction: column;
  }
  
  .room-features {
    gap: 0.5rem;
  }
  
  .feature {
    font-size: 0.7rem;
    padding: 0.4rem 0.6rem;
  }
}

/* Room Image Placeholder */
.room-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(26, 26, 26, 0.8));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 3rem;
  border-radius: 12px;
}

.room-image-placeholder span {
  font-size: 1rem;
  margin-top: 0.5rem;
  font-family: "Playfair Display", serif;
  color: var(--white);
}

/* View Room Photos Button */
.btn-photos {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--primary-gold);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  margin: 0 0.5rem;
}

.btn-photos:hover {
  background: var(--gold-gradient);
  color: var(--deep-black);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

/* No Rooms State */
.no-rooms {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem;
  color: var(--light-gray);
}

.no-rooms h3 {
  font-family: "Playfair Display", serif;
  color: var(--white);
  margin-bottom: 1rem;
}

/* Updated Room Actions Layout */
.room-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .room-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-photos {
    margin: 0.25rem 0;
  }
}