/* Root CSS */
*{
    padding:0;
    margin:0;
    box-sizing: border-box;
}
body{
    background-color: rgb(46, 47, 48);
    color: rgb(236, 235, 228);
    font-family: sans-serif;
    line-height: 1.25;
}
.letra {
    font-family: 'Playfair Display';

}
.precio {
      font-family: 'Playfair Display', serif;
      font-size: 1.5em;
      font-weight: 700;
      color: #b59e67; /* Un color dorado elegante */
      margin: 20px 0;
      position: relative;
      display: inline-block;
    }
    /* Opcional: Agregar un borde o sombra para un efecto extra */
    .precio::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -5px;
      width: 100%;
      height: 3px;
      background: #b59e67;
      opacity: 0.8;
    }

.banner {
    display:flex;
    align-items:center;
    justify-content:center;
    color:white;
    margin-bottom: 0px;
    background:#1C2833;
    width:100%;
    height:350px;
    margin-top:20px;
}

. carta {
    margin:auto;

}
@media screen and (max-width: 600px) {

}


/* Main Div */
.content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width:100%;
    justify-content: space-evenly;
}

/* Room Divs */
.room{
    max-width:20%;
    min-width: 200px;
    text-align: center;
    border-radius: 0.5rem;
    padding:1rem;
    margin:0.5rem;
    background-color: #444;
    flex: 1;
}

.room:hover{
    background-color: #353535;
}

/* Inside Room Divs */
h2{
    margin: 0.25rem;
}
a{
    text-decoration: none;
    color: #dbdbdb;
}
img{
    max-width:100%;
}

/* nuevas cards */
.scroll-cards-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scroll-snap-type: x mandatory;
  padding: 1rem 0;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 8rem; /* aumentado para que el footer no tape */
}

.scroll-card {
  flex: 0 0 auto;
  width: 340px;
  max-width: 90vw;
  scroll-snap-align: start;
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  height: auto; /* cambio clave */
  padding-bottom: 1rem;
  position: relative; /* necesario para badge */
}

.scroll-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease-in-out;
}

.scroll-card .card {
  width: 100%;
  border: none;
  height: auto;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.scroll-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.scroll-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto;
  flex-grow: 1;
  overflow: visible; /* clave para evitar cortes */
  padding-bottom: 0.5rem;
}

.card-body .row {
  min-height: 140px;
  max-height: 160px;
  overflow: auto;
  background: #F8F6F4;
  border-radius: 5px;
  padding: 10px;
  font-size: 0.9rem;
}

.card-body h6.letra {
  min-height: 80px;
  display: flex;
  align-items: center;
  text-align: center;
}

.card h6.letra {
  margin: 0.2rem 0 0.4rem 0;
  text-align: left !important;
}

h6.text-muted {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

.fondo-gris {
  background-color: #F8F8F8;
  padding: 2rem 1rem;
}

.badge-alquilada {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: rgba(255, 0, 0, 0.7);
  color: white;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: bold;
  border-radius: 6px;
  z-index: 10;
}
