.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'); 
  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  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;
}
/* Carrusel horizontal en móvil */
@media (max-width: 600px) {
  .contenedor-overview {
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 1rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .tarjeta-overview,
  .tarjeta-grande {
    flex: 0 0 85vw;
    max-width: 85vw;
    min-width: 250px;
    height: 260px;
    scroll-snap-align: start;
    margin-right: 0.5rem;
  }
}
  /* Puntitos overview carrusel */
@media (max-width: 600px) {
  .overview-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 0.5rem 0 1.5rem 0;
  }
  .overview-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s;
    display: inline-block;
  }
  .overview-dot.active {
    background: #ff8c00;
  }
}
/* +--------------------------------------------------+ */
/* |                                                  | */
/* |            C A L E N D A R I O   I N I C I O     | */
/* |                                                  | */
/* +--------------------------------------------------+ */

.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;
}

/* Responsive reserva */
@media (max-width: 900px) {
  .reserva-contenedor {
    grid-template-columns: 1fr;
    padding: 1.2rem;
    gap: 1.2rem;
    border-radius: 14px;
  }
  .seccion-reserva {
    padding: 2.5rem 0.5rem;
  }
}

@media (max-width: 600px) {
  .reserva-contenedor {
    padding: 0.7rem;
    gap: 0.7rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .seccion-reserva {
    padding: 1.2rem 0.2rem;
  }
  .reserva-contenedor h2,
  .reserva-contenedor h3 {
    font-size: 1.1rem;
    margin-bottom: 0.7rem;
  }
  input[type="text"],
  select {
    padding: 0.6rem;
    font-size: 0.97rem;
    border-radius: 7px;
  }
  button {
    padding: 0.7rem;
    font-size: 1rem;
    border-radius: 7px;
  }
}