.contenedor-overview {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tarjeta-overview {
  flex: 0 0 300px;
  height: 400px;
  border-radius: 1rem;
  background-size: contain;         
  background-repeat: no-repeat;     
  background-position: center;      
  background-color: #ffffff;        
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.tarjeta-overview:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px 4px #ff8c00;
  z-index: 2;
}

.tarjeta-grande {
  flex: 1 1 620px;
  height: 420px;
}

.tarjeta-overview:hover {
  transform: scale(1.03);
}

.tarjeta-overview .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
  color: #fff;
  opacity: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 1rem;
  transition: opacity 0.4s ease;
}

.tarjeta-overview:hover .overlay {
  opacity: 1;
}

.overlay .fecha {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.boton-leer {
  align-self: flex-start;
  padding: 0.5rem 1rem;
  background-color: #ff8c00;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.boton-leer:hover {
  background-color: #e67600;
}
.contenedor-overview {
  display: flex;
  flex-wrap: wrap; /* esto se anula en desktop con el media query */
  gap: 2rem;
  justify-content: center;
  margin: 0 auto;
  max-width: 1200px;
}
.titulo-overview {
  text-align: center;
  font-size: 2.5rem;
  color: #2c6b47;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .contenedor-overview {
    flex-wrap: nowrap;
    justify-content: center;
  }
}


.seccion-overview {
  padding: 4rem 1rem;
  background-image: url('media/logos/testgif.jpg'); /* cambia por tu ruta */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.seccion-overview {
  position: relative;
  overflow: hidden;
}

.overlay-fondo {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85); /* o usa rgba(0,0,0,0.3) para oscurecer */
  z-index: 0;
}

/* Asegúrate de que el contenido se muestre encima */
.seccion-overview > *:not(.overlay-fondo) {
  position: relative;
  z-index: 1;
}


/*CALENDARIO ALV */
.seccion-reserva {
  padding: 4rem 1rem;
  background: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

.reserva-contenedor {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: #fff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.reserva-contenedor h2,
.reserva-contenedor h3 {
  color: #2c6b47;
  margin-bottom: 1rem;
}

label {
  display: block;
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

input[type="text"],
select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1rem;
}

button {
  margin-top: 1.5rem;
  padding: 1rem;
  width: 100%;
  background: #ff8c00;
  color: white;
  border: none;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover:not(:disabled) {
  background: #e67600;
}

button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.reserva-detalles p {
  margin-bottom: 0.5rem;
  color: #333;
}

