:root {
  --verde: #5CB338;
  --amarillo: #ECE852;
  --naranja: #FFC145;
  --rojo: #FB4141;
}

/* Fuente base */
html {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: #faa530;
  color: #040404;
}

/* HEADER */
.cabecera {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #5CB338;
  color: #fff;
  text-align: center;
  padding: 0.5rem 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.cabecera .logo img {
  width: 100px;
  height: auto;
  margin-bottom: 0.5rem;
}

.menu {
  display: ;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.menu a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
  padding-left: 5%;
  padding-right: 4%;
  transition: all 0.3s;
}

.menu a:hover {
  color: var(--rojo);
}

/* BANNER */
.banner {
  position: relative;
  width: 100%;
  height: 95vh;
  overflow: hidden;
  margin-top: 30px; /* espacio para header fijo */
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.banner-texto {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ECE852;
}

.banner-texto h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.4);
}

.btn-banner {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: #FB4141;
  color: #fff;
  border-radius: 0.4rem;
  text-decoration: none;
  font-size: 1.2rem;
  transition: all 0.3s;
}

.btn-banner:hover {
  background-color: var(--verde);
  color: #;
}

/* PROMOS */
.promos {
  padding: 2rem;
  background: white; /* color base */
  display: flex;
  justify-content: center;
}

.promo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
  /* quitamos height fija */
}

.promo-item img {
  width: 100%;
  height: 100%;
  border: 4px solid #FB4141;
  border-radius: 0.5rem;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.promo-item img:hover {
  transform: scale();
}

.promo-item.grande {
  grid-row: span 2;
  height: auto; /* que crezca según contenido */
}

/* Adaptación móvil */
@media (max-width: 900px) {
  .promo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .promo-item.grande {
    grid-row: auto;
  }
}






/* FOOTER */
.footer {
  width: 100%;
  background-color: #5CB338;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
}

.footer h3 {
  color: #FFC145;
  margin-bottom: 1rem;
}

.footer ul {
  list-style: none;
  padding: 0;
}

.footer ul li {
  margin: 0.5rem 0;
}

.footer ul a {
  color: #fff;
  text-decoration: none;
}

.footer ul a:hover {
  color: #FB4141;
}

.copy {
  border-top: 2px solid #FFC145;
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu {
    flex-direction: column;
    gap: 1rem;
  }

  .banner-texto h1 {
    font-size: 2.5rem;
  }

  .fila {
    flex-direction: column;
  }
}





/*NOSOTROS*/
.galemichi {
  padding-top: 160px; /* Espacio para el header fijo */
  padding-bottom: ; /* Espacio para el footer fijo */
}

.galeria {
  text-align: center;
  background: linear-gradient(180deg, var(--amarillo) 0%, var(--naranja) 100%);
  padding: 3rem 1rem;
}

.galeria h2 {
  color: var(--rojo);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  justify-items: center;
}

.michi img {
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  overflow: hidden;
  transition: transform 0.3s;
  max-width: 250px;
  padding: 1% ;
  width: 10%;
}

.michi:hover {
  transform: scale(1.05);
}

.michi img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 0px solid var(--verde);
}

.nombre {
  margin-top: 0.7rem;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: black;
  text-align: center;
  letter-spacing: 0.5px;
}







.pagnosotros {
  padding-top: 160px;
  padding-bottom: 80px;
  background-image: url("../img/fondon.jpeg"); /* La imagen aparecerá de fondo */
  background-repeat: no-repeat; /* Evita que la imagen se repita */
  background-size: cover; /* Hace que la imagen cubra todo el contenedor */
  background-position: center; /* Centra la imagen */
  background-attachment: fixed; /* Fija la imagen para que no se mueva al hacer scroll */
}

.nosotros {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  background-color: ;
  gap: 3rem;
}

.texto-nosotros {
  flex: 1 1 400px;
  max-width: 600px;
}

.texto-nosotros h2 {
  color: var(--verde);
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: left;
  -webkit-text-stroke: 0.5px white;
}

.texto-nosotros p {
  line-height: 1.6;
  font-size: 1.1rem;
  color: #222;
  text-align: justify;
  color: white;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.6);
}

.mapa {

}

.mapouter
{
 flex: 1 1 350px;
  height: 400px;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
  width: auto;
}
.gmap_canvas
{
  flex: 1 1 350px;
  height: 400px;
  border-radius: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
  width: auto;
}





/* SECCIÓN COMPRA */

.comprab1
{
  margin-top: 21vh;
}


.compra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  padding: 4rem 2rem;
  background: linear-gradient(90deg, var(--naranja) 0%, var(--amarillo) 100%);
}

.producto {
  flex: 1 1 350px;
  display: flex;
  justify-content: center;
}

.producto img {
  width: 100%;
  max-width: 400px;
  border-radius: 0rem;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.producto img:hover {
  transform: scale(1.05);
}

.info-compra {
  flex: 1 1 400px;
  max-width: 550px;
  background-color: white;
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  border-left: 8px solid var(--verde);
  margin-right: ;
}

.info-compra h2 {
  color: var(--rojo);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.info-compra p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.info-compra h3 {
  color: var(--verde);
  margin-bottom: 0.5rem;
}

.info-compra ul {
  list-style-type: "🍕 ";
  padding-left: 1rem;
  margin-bottom: 2rem;
}

.info-compra li {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.btn-compra {
  background-color: var(--rojo);
  color: white;
  font-family: "Anton", sans-serif;
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 2rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.btn-compra:hover {
  background-color: var(--verde);
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .compra {
    flex-direction: column;
    text-align: center;
  }

  .info-compra {
    border-left: none;
    border-top: 6px solid var(--verde);
  }
}







/* === CONTENEDOR PRINCIPAL === */
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 5%;
  justify-items: center;
  margin-top: 22vh;
  margin-bottom: 10vh;
}

/* === TARJETA === */
.card {
  position: relative;
  background: white;
  border-radius: 0px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  padding: 5px;
  text-align: center;
  width: 100%;
  max-width: 300px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* === DESCUENTO === */
.discount {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--naranja);
  color: #000;
  font-weight: bold;
  font-size: 0.9rem;
  padding: 6px 8px;
  border-radius: 5px;
}

/* === IMAGEN === */
.card img {
  width: 100%;
  height: 220px; /* puedes ajustar según prefieras */
  object-fit: cover; /* evita distorsión y mantiene proporción */
  border-radius: 8px 8px 0 0;
  display: block;
}

/* === TEXTO === */
h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 10px 0 5px;
  color: #222;
}

p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* === PRECIOS === */
.price {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 15px;
}

.price .current {
  color: #d60000;
  font-weight: bold;
  font-size: 1.2rem;
}

.price .old {
  color: #999;
  text-decoration: line-through;
}

/* === BOTÓN === */
button {
  background: var(--verde);
  color: white;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}

button:hover {
  background: #b00000;
}

/* === RESPONSIVIDAD === */

/* Tablets */
@media (max-width: 900px) {
  .container {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .card {
    max-width: 270px;
  }

  .img-box {
    height: 150px;
  }
}

/* Celulares */
@media (max-width: 600px) {
  body {
    padding: 10px;
  }

  .titulo {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    max-width: 100%;
    padding: 12px;
  }

  .img-box {
    height: 140px;
  }

  h3 {
    font-size: 0.95rem;
  }

  p {
    font-size: 0.85rem;
  }

  button {
    font-size: 0.9rem;
  }
}









.page {
  min-height: 60vh;
  display: flex;
  align-items: center;       /* centra verticalmente */
  justify-content: center;   /* centra horizontalmente */
        /* margen inferior */
}

/* === WRAPPER CUADRADO === */
.wrapper {
  aspect-ratio: 1 / 1;
  width: 50vmin;             /* cuadrado responsivo */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === CAJA DEL CARRUSEL === */
.carousel-box {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* === CONTENEDOR DE IMÁGENES === */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* === IMÁGENES === */
.slides img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fade 32s infinite;
  transition: opacity 1s ease-in-out;
}

/* === RETRASO PARA CADA IMAGEN === */
.slides img:nth-child(1) { animation-delay: 0s; }
.slides img:nth-child(2) { animation-delay: 4s; }
.slides img:nth-child(3) { animation-delay: 8s; }
.slides img:nth-child(4) { animation-delay: 12s; }
.slides img:nth-child(5) { animation-delay: 16s; }
.slides img:nth-child(6) { animation-delay: 20s; }
.slides img:nth-child(7) { animation-delay: 24s; }
.slides img:nth-child(8) { animation-delay: 28s; }

/* === ANIMACIÓN === */
@keyframes fade {
  0%, 12.5%, 100% { opacity: 0; }
  4%, 10% { opacity: 1; }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .wrapper {
    width: 90vmin;
  }
}

@media (max-width: 480px) {
  .wrapper {
    width: 95vmin;
  }
}

