/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  background: #0f172a;
  color: white;
}

h2 {
  font-family: "Libre Baskerville", serif;
}

/* HEADER */
.header {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  height: 60px;
}

/* CINTA MODERNA */
.cinta {
  position: fixed;
  right: 0;
  top: 0;
  width: 50px;
  height: 100vh;
  background-image: url("imgs/cinta.jpg");
  background-repeat: repeat;
  opacity: 0.6;
  z-index: 1;
}

/* MAIN */
.main {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  font-family: "Playfair Display", serif;
}

/* GRID */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* CARD */
.card {
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 2;
  padding: 12px;
}

.card:hover {
  transform: translateY(-8px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 20px;
}

.card-content h2 {
  margin-bottom: 10px;
  color: #38bdf8;
}

.card-content ul {
  list-style: none;
}

.card-content li {
  margin-bottom: 5px;
  opacity: 0.8;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 20px;
  background: black;
  margin-top: 40px;
}

/* FORM */
.form-card {
  max-width: 500px;
  margin: auto;
  background: #1e293b;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}

.input-group label {
  margin-bottom: 5px;
  opacity: 0.8;
}

.input-group input {
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
}

/* BOTÓN */
.btn_reservar {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 20px;
  background: #38bdf8;
  color: black;
  border-radius: 10px;
  text-align: center;
  border: none;
  cursor: pointer;
  font-weight: bold;

  /* reset clave */
  appearance: none;
  -webkit-appearance: none;
  background-clip: padding-box;
}

.btn_reservar:hover {
  opacity: 0.9;
}

.btn_reservar:active {
  transform: scale(0.98);
}

/* LIST TILE */
.list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.list-item {
  display: flex;
  gap: 20px;
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: 0.3s;
}

.list-item:hover {
  transform: translateY(-5px);
}

/* IMAGEN IZQUIERDA */
.list-item img {
  width: 250px;
  height: 180px;
  object-fit: cover;
}

/* CONTENIDO DERECHA */
.list-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start; /* 👈 CLAVE */
}

/* BOTÓN CONTROLADO */
.list-content .btn_reservar {
  width: auto;
  align-self: flex-start; /* 👈 evita que se expanda */
}

.list-content h2 {
  color: #38bdf8;
  margin-bottom: 10px;
}

.list-content p {
  opacity: 0.8;
  margin-bottom: 10px;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .list-item {
    flex-direction: column;
  }

  .list-item img {
    width: 100%;
    height: 200px;
  }
}

/* BLOQUE PERSONA */
.persona {
  background: #0f172a;
  padding: 15px;
  border-radius: 15px;
  margin-bottom: 15px;
}

/* BOTONES + - */
.controls {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.controls button {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  background: #38bdf8;
}

/* SELECT */
.input-group select {
  padding: 10px;
  border-radius: 10px;
  border: none;
  outline: none;
}

/* TITULOS FORM */
.form-card h2 {
  margin-bottom: 15px;
  color: #38bdf8;
}
