/* ===============================
   ROOMS & SUITES SECTION
================================ */

.rooms-section {
  min-height: 100vh;
  padding: 120px 40px;
  position: relative;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15), transparent 40%),
    #000;
}

/* ---------- BACKGROUND GLOWS ---------- */
.animated-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}



.glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 18s ease-in-out infinite;
}

.glow1 {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  top: -200px;
  left: -200px;
}

.glow2 {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  bottom: -200px;
  right: -200px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(80px); }
}

/* ---------- HEADER ---------- */
.header-wrapper {
  text-align: center;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.header-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #a78bfa;
  margin-bottom: 25px;
  font-weight: 600;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #a78bfa, transparent);
}

.main-heading {
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 900;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #ffffff, #fbbf24, #ec4899);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.sub-heading {
  font-family: 'Inter', sans-serif;
  max-width: 720px;
  margin: auto;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  font-weight: 300;
}

/* ---------- GRID ---------- */
.rooms-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

.room-item {
  text-decoration: none;
  color: inherit;
  opacity: 0;
  transform: translateY(50px) scale(0.96);
  transition: all 0.9s cubic-bezier(0.23, 1, 0.32, 1);
}

.room-item.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ---------- CARD ---------- */
.room-card {
  position: relative;
  aspect-ratio: 16 / 10;
  max-height: 360px;
  border-radius: 26px;
  overflow: hidden;
}

.room-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: transform 1s ease, filter 0.5s ease;
}

.room-item:hover img {
  transform: scale(1.1);
  filter: brightness(1);
}
/* -----------------------------
   MOBILE ONLY (phones <=480px)
----------------------------- */
@media (max-width: 480px) {
  /* Reduce section padding */
  .rooms-section {
    padding: 60px 15px;
  }

  /* Stack cards in one column (if not already) */
  .rooms-showcase {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Adjust card size for mobile */
  .room-card {
    aspect-ratio: 4 / 3;
    max-height: 250px;
    border-radius: 20px;
  }

  /* Adjust text inside the card */
  .room-details {
    padding: 16px; /* smaller padding */
  }

  .room-tag {
    font-size: 0.65rem; /* smaller badge */
    letter-spacing: 1.5px;
    margin-bottom: 6px;
  }

  .room-title {
    font-size: 1.2rem; /* smaller heading */
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .room-desc {
    font-size: 0.85rem; /* smaller description */
    line-height: 1.4;
  }

  .view-room {
    font-size: 0.75rem; /* smaller "Explore" text */
    margin-top: 10px;
  }

  /* Mobile header adjustments */
  .main-heading {
    font-size: 2rem;
  }

  .sub-heading {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 100%;
    padding: 0 5px;
  }

  .eyebrow {
    font-size: 0.75rem;
    letter-spacing: 2px;
  }
}


.room-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.85));
}

/* ---------- DETAILS ---------- */
.room-details {
  position: absolute;
  bottom: 0;
  padding: 32px;
  z-index: 2;
}

.room-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 12px;
  display: inline-block;
}

.room-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color : white;
}

.room-desc {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.room-desc span {
  color: #fbbf24;
  font-weight: 500;
}

.view-room {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #fbbf24;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.room-item:hover .view-room {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .rooms-showcase {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .room-section {
    padding: 80px 20px;
  }

  .room-card {
    aspect-ratio: 4 / 3;
    max-height: 300px;
  }

  .room-title {
    font-size: 1.6rem;
  }
}
