/* Reset */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #f5f9e9;
  color: #2d4a26;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navbar */

.navbar {
  background-color: #567a22;
  padding: 1rem 2rem;
  color: #c3e88d;
  box-shadow: 0 2px 10px rgb(86 122 34 / 0.4);
}

header {
  position: sticky;
  top: 0;
  z-index: 999;
  background-color: #fff; /* O el color de fondo que uses */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}


.navbar h1 {
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 2px;
  text-shadow: 1px 1px 2px #123010;
}

/* Hero parallax */

.hero-parallax {
  height: 90vh;
  background-image: url("../imagenes/back.jpg");
  background-attachment: fixed;
  background-position:center ;
  background-repeat:repeat;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #d3e9c9;
  position: relative;
}

.hero-parallax::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 35, 13, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 650px;
  padding: 0 2rem;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 6px #0a1b00;
  letter-spacing: 2px;
  animation: fadeInDown 1s ease forwards;
 
}

.hero-content p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  font-weight: 500;
  text-shadow: 1px 1px 4px #0a1b00;
  animation: fadeInUp 1.5s ease forwards;
}

/* Button primary */

.btn-primary {
  padding: 0.85rem 2.4rem;
  background-color: #95c14e;
  border: none;
  border-radius: 30px;
  color: #1f2e1e;
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  box-shadow: 0 6px 15px #8bb940aa;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #7ca934;
  transform: scale(1.05);
  outline: none;
  box-shadow: 0 8px 20px #7ca934cc;
}

/* Menu section */

.menu-section {
  max-width: 1100px;
  margin: 4rem auto 6rem;
  padding: 0 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #2d4a26;
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px #a6c381;
}

/* Tabs */

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-button {
  background: #d7e7b9;
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 30px;
  font-weight: 600;
  color: #4a673f;
  cursor: pointer;
  box-shadow: 0 3px 8px #b5ca8a;
  transition: background-color 0.3s ease, color 0.3s ease;
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;
}

.tab-button:hover {
  background-color: #95c14e;
  color: #f6f5f3;
}

.tab-button.active {
  background-color: #7ca934;
  color: #f6f5f3;
  box-shadow: 0 5px 15px #7ca934cc;
}

/* Tab content */

.tab-content {
  display: none;
  animation: fadeInUp 0.8s ease forwards;
}

.tab-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tab-content.active {
  display: block;
  opacity: 1;
}


.menu-card {
  background-color: #f1f6d8;
  border-radius: 15px;
  padding: 1.6rem 1.8rem;
  box-shadow: 0 8px 20px rgb(94 140 22 / 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgb(124 169 52 / 0.35);
}

.menu-card h4 {
  font-weight: 700;
  color: #567a22;
  margin-bottom: 0.6rem;
  font-size: 1.25rem;
}

.menu-card p {
  font-weight: 500;
  color: #405318;
  font-size: 1rem;
  line-height: 1.4;
}

/* Footer */

footer {
  background-color: #2d4a26;
  color: #c3e88d;
  text-align: center;
  padding: 1rem 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  user-select: none;
}

/* WhatsApp button */
/* 
.whatsapp-button {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #25d366;
  color: white;
  padding: 14px;
  border-radius: 50%;
  box-shadow: 0 4px 15px #25d366aa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: pulse 2.5s infinite;
  transition: background-color 0.3s ease;
  z-index: 1000;
}

.whatsapp-button:hover {
  background-color: #1ebe57;
  box-shadow: 0 6px 25px #1ebe57cc;
  transform: scale(1.1);
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
} */




/* Animaciones */

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 576px) {
  .hero-content h2 {
    font-size: 2.5rem; /* más pequeño en celular */
  }

}

/*paginador*/

#prev-page{
   background: #d7e7b9;
  border: none;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  color: #4a673f;
  cursor: pointer;
  box-shadow: 0 3px 8px #b5ca8a;
  transition: background-color 0.3s ease, color 0.3s ease;
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;

}

#prev-page:hover {
  background-color: #95c14e;
  color: #f6f5f3;
}

#next-page{
   background: #d7e7b9;
  border: none;
  padding: 0.35rem 1rem;
  border-radius: 30px;
  font-weight: 600;
  color: #4a673f;
  cursor: pointer;
  box-shadow: 0 3px 8px #b5ca8a;
  transition: background-color 0.3s ease, color 0.3s ease;
  flex: 1 1 140px;
  max-width: 180px;
  text-align: center;

}

#next-page:hover {
  background-color: #95c14e;
  color: #f6f5f3;
}

span ,#page-num,#page-count{
  font-weight: bold;
}



/*social medias instagram*/

.BtnInstagram {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  bottom: 90px; /* arriba del botón WhatsApp que está a 28px */
  right: 28px;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: white;
  padding: 14px;
  box-shadow: 0 4px 15px #d6249faa;
  animation: pulseInstagram 2.5s infinite;
  transition: all 0.3s ease;
  overflow: hidden;
  gap: 1px;
  z-index: 1001; /* mayor que WhatsApp para que quede encima */
}

.signInstagram {
  display: flex;
  align-items: center;
  justify-content: center;
}

.signInstagram svg {
  width: 25px;
  height: 25px;
}

.textInstagram {
  opacity: 0;
  width: 0;
  white-space: nowrap;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.BtnInstagram:hover {
  min-width: 150px;
  border-radius: 40px;
  justify-content: flex-start;
  padding-left: 20px;
}

.BtnInstagram:hover .textInstagram {
  opacity: 1;
  width: auto;
  margin-left: 10px;
}

.BtnInstagram:active {
  transform: none;
}

/* Pulsos iguales pero con colores distintos */
@keyframes pulseInstagram {
  0% {
    box-shadow: 0 0 0 0 #d6249faa;
  }
  70% {
    box-shadow: 0 0 0 10px #d6249a00;
  }
  100% {
    box-shadow: 0 0 0 0 #d6249a00;
  }
}






/* social media wsp */ 
.Btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 55px;
  height: 55px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #25d366;
  color: white;
  padding: 14px;
  box-shadow: 0 4px 15px #25d366aa;
  animation: pulse 2.5s infinite;
  transition: all 0.3s ease;
  overflow: hidden;
  gap: 1px;
  z-index: 1000;
}

.sign {
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.sign svg {
  width: 25px;
  height: 25px;
}

.sign svg path {
  fill: white;
  
}

.text {
  opacity: 0;
  width: 0;
  white-space: nowrap;
  color: white;
  font-size: 1.2em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.Btn:hover {
  min-width: 150px;
  border-radius: 40px;
  justify-content: flex-start;
  padding-left: 20px;
}

.Btn:hover .text {
  opacity: 1;
  width: auto;
  margin-left: 10px;
}

.Btn:active {
  transform: none;
}


