@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* Fondo general y fuente */
body {
  font-family: 'Anton', sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: url('/img/fondo2.png') no-repeat center center fixed;
  background-size: cover;
  position: relative;
  overflow-x: hidden;
}

/* Capa de opacidad encima del fondo */
body::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.1);
  z-index: 0;
}

/* Animación de entrada suave */
.animacion-inicio {
  animation: deslizar 1s ease forwards;
}

@keyframes deslizar {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Header con logo y título */
.inicio-header {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
}

.logo-img {
  width: 15%;
  height: auto;
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.inicio-header h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #000;
}

/* Menú horizontal tipo tira */
.menu-rect {
  position: relative;
  z-index: 2;
  margin: 2rem auto;
  background-color: #ffffff;
  border-radius: 30px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  width: fit-content;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.menu-link {
  background-color: #fcbaba;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border-radius: 20px;
  border: 3px solid #f96565;
  transition: 0.3s ease;
}

.menu-link:hover {
  background-color: #f96565;
  color: white;
  transform: scale(1.05);
}

/* GRID de carritos (si en el futuro los activás de nuevo) */
.grid-carritos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 3rem;
  position: relative;
  z-index: 2;
}

/* Caja de carrito */
.combo {
  background-color: #ffffff;
  border: 3px solid #b95454;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.combo h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.combo p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

/* Botón COMPRAR */
.boton-comprar {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.8rem 2rem;
  background-color: #fcbaba;
  color: #000;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border: 2px solid #f96565;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.boton-comprar:hover {
  background-color: #f96565;
  color: white;
  transform: scale(1.05);
}

/* CARTEL cuando no hay cestas disponibles */
.mensaje-pedido {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.cartel-aviso {
  background-color: #ffffff;
  border: 3px solid #f96565;
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  max-width: 600px;
}

.cartel-aviso h2 {
  font-size: 2.2rem;
  color: #f96565;
  margin-bottom: 1rem;
}

.cartel-aviso p {
  font-size: 1.3rem;
  color: #333;
  font-weight: bold;
}
