/* =============================================
   HABITACIONES GRID - ESTILOS CSS SIN TAILWIND
   ============================================= */

/* Contenedor de la cuadrícula */
.habitaciones-grid {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .habitaciones-grid {
    gap: 2.5rem;
  }
}

/* Tarjeta de habitación */
.habitacion-card {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  border-radius: 0.75rem;
}

.habitacion-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
  .habitacion-card {
    width: calc((100% - 2rem) / 2);
  }
}

@media (min-width: 1024px) {
  .habitacion-card {
    width: calc((100% - 5rem) / 3);
  }
}

/* Contenedor de imagen */
.habitacion-image-container {
  overflow: hidden;
  height: 16rem;
  position: relative;
  border-radius: 0.75rem 0.75rem 0 0;
}

.habitacion-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
  display: block;
}

.habitacion-card:hover .habitacion-image {
  transform: scale(1.05);
}

/* Contenido de la tarjeta */
.habitacion-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
  position: relative;
}

/* Badge de "Exclusiva" */
.habitacion-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0044a5;
  color: #ffffff;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 1rem;
  white-space: nowrap;
  z-index: 1;
}

/* Título de la habitación */
.habitacion-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1A1A1A;
}

.habitacion-title.with-badge {
  margin-top: 0.5rem;
}

/* Descripción */
.habitacion-description {
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.625;
  margin-bottom: 2rem;
  flex-grow: 1;
}

/* Botón de detalles */
.habitacion-button {
  display: inline-block;
  border: 1px solid #1A1A1A;
  color: #1A1A1A;
  padding: 0.75rem 1.5rem;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  width: 100%;
  text-decoration: none;
  text-align: center;
  border-radius: 0.75rem;
}

.habitacion-button:hover {
  background-color: #003070;
  color: #ffffff;
}

.habitacion-button:focus {
  outline: 2px solid #0044a5;
  outline-offset: 2px;
}

/* =============================================
   UTILIDADES ADICIONALES
   ============================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}