/* Enhanced Room Page Styles */
:root {
  --primary-color: #0f1a2c;
  --secondary-color: #f6ac0f;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --extra-light: #f8fafc;
  --white: #ffffff;
  --max-width: 1200px;
  --header-font: "Playfair Display", serif;
  --body-font: "Poppins", sans-serif;
  --transition-slow: 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 1s ease-in-out;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Keyframe Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes borderGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
/* Room Styles CSS - Premium Hotel Room Display */


/* Main Room Container */
.rooms-container {
  max-width: 1400px;
  margin: 100px auto;
  padding: 0 30px;
}

/* Room Introduction Section */
.room-types-intro {
  text-align: center;
  margin-bottom: 80px;
}

.section__subheader {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #b3925e;
  text-transform: uppercase;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section__subheader::before,
.section__subheader::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: #b3925e;
}

.section__subheader::before {
  left: -40px;
}

.section__subheader::after {
  right: -40px;
}

.section__header {
  font-size: 48px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 25px;
  line-height: 1.2;
  position: relative;
}

.section__header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-40%);
  width: 80px;
  height: 3px;
  background-color: #b3925e;
}

.room-types-intro p {
  font-size: 18px;
  line-height: 1.8;
  color: #555;
  max-width: 800px;
  margin: 25px auto 0;
}

/* Room Cards Container - Centered with increased width */
.room-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(450px, 1fr));
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual Room Card */
.room-card {
  background-color: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition-slow);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  animation: scaleIn 0.6s var(--transition) forwards;
}

.room-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(179, 146, 94, 0.25);
}

.room-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #d4af6f, #b3925e, #8c6c3e);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.room-card:hover::before {
  transform: scaleX(0.8);
}

/* Room Image Container */
.room-card-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.room-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.room-card:hover .room-card-image img {
  transform: scale(1.1);
}

.room-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.room-card:hover .room-card-overlay {
  opacity: 1;
}

/* Room Content */
.room-card-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #fff;
  position: relative;
  border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.room-card-title {
  font-size: 28px;
  font-weight: 700;
  color: #1c1c1c;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
  font-family: 'Playfair Display', serif;
}

.room-card-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #b3925e;
  transition: width 0.4s ease;
}

.room-card:hover .room-card-title::after {
  width: 100px;
}

.room-card-price {
  font-size: 26px;
  font-weight: 700;
  color: #b3925e;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-end;
}

.room-card-price span {
  font-size: 16px;
  font-weight: 400;
  color: #777;
  margin-left: 5px;
}

.room-card-description {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
  flex-grow: 1;
}

.room-card-cta {
  display: inline-flex;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  color: #b3925e;
  transition: all 0.3s ease;
  padding: 10px 0;
  position: relative;
}

.room-card-cta::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #b3925e;
  transition: width 0.3s ease;
}

.room-card-cta i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.room-card:hover .room-card-cta {
  color: #8c6c3e;
}

.room-card:hover .room-card-cta::after {
  width: 100%;
}

.room-card:hover .room-card-cta i {
  transform: translateX(8px);
}

/* Media Queries */
@media screen and (max-width: 1200px) {
  .room-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media screen and (max-width: 992px) {
  .rooms-container {
    margin: 80px auto;
  }
  
  .section__header {
    font-size: 40px;
  }
}

@media screen and (max-width: 768px) {
  .rooms-container {
    margin: 60px auto;
    padding: 0 20px;
  }
  
  .section__header {
    font-size: 36px;
  }
  
  .room-cards {
    grid-template-columns: 1fr;
    max-width: 550px;
  }
  
  .room-card-image {
    height: 280px;
  }
  
  .room-card-content {
    padding: 30px;
  }
}

@media screen and (max-width: 480px) {
  .room-types-intro {
    margin-bottom: 50px;
  }
  
  .section__header {
    font-size: 32px;
  }
  
  .section__subheader{
    margin-top: 100px;
  }

  .section__subheader::before,
  .section__subheader::after {
    width: 20px;
  }

  
  .section__subheader::before {
    left: -30px;
  }
  
  .section__subheader::after {
    right: -30px;
  }
  
  .room-card-title {
    font-size: 24px;
  }
  
  .room-card-price {
    font-size: 24px;
  }
  
  .room-card-content {
    padding: 25px;
  }
}