body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  background-color: #a67c52;
  color: #fff;
}


header {
  background-color: #832c2cba;
  padding: 15px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 40px;
  font-family: "Ethnocentric";
}

nav ul li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #d63c2e;
  transform: scale(1.05);
}

.nav-link {
  font-weight: bold;
  margin: 0 10px;
  transition: 0.3s;
}

.nav-link.active {
  border-bottom: 2px solid #000000;
}


.titulo-sabores {
  font-family: "Ethnocentric";
  text-align: center;
  font-size: 2.5rem;
  margin-top: 40px;
  text-shadow: 2px 2px 3px #7b241c;
}

h3 {
  text-align: center;
  font-size: 1.2rem;
  margin: 10px auto 40px auto;
  max-width: 900px;
  text-shadow: 1px 1px 2px #7b241c;
}

.contenedor-sabores{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto 50px auto;
}

.definicion, .denominacion, .especie, .distincion, .cultivo, .regiones{
  background: white;
  color: #333;
  width: 45%;
  min-width: 300px;
  border-radius: 2px;
  overflow: hidden;
  text-align: center;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}

.definicion img, .denominacion img, .especie img, .distincion img, .cultivo img, .regiones img{
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: 15px;
}

.definicion h2, .denominacion h2, .especie h2, .distincion h2, .cultivo h2, .regiones h2{
  color: #7b241c;
  margin-bottom: 10px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.definicion p, .denominacion p, .especie p, .distincion p, .cultivo p, .regiones p{
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
}

.definicion:hover, .denominacion:hover, .especie:hover, .distincion:hover, .cultivo:hover, .regiones:hover{
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.atras
{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
}

.btnatras
{
  background-color: #8B4513;
  color: white;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 2px;

}

.btnatras:hover
{
  transform: translateY(-5px);
  text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
  background-color: #7b241c;
}

button[class^="contacto"] {
  background-color: #7b241c; 
  color: #fff;
  border: none;
  padding: 12px 25px;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

button[class^="contacto"]:hover {
  background-color: #a04024;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
