body {
     background-color: #f9f9f9;
     font-family: 'Lato', sans-serif;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

.hero {
    position: relative;
    background-image: url('../img/hero-pasto.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.text-center {
    text-align: center;
}

.lead {
    font-size: 1.25rem; /* Un poco más pequeño que el título */
    font-weight: 400;    /* Peso más ligero */
    line-height: 1.6;    /* Espaciado cómodo entre líneas */
    color: #333;         /* Color de texto, ajustable */
    display: block;          /* hace que el margin funcione */
    margin: 0 auto;          /* centra horizontalmente */
    width: 80%;
}

.features {
    background-color: #f9f9f9;
    padding: 3rem 0;
}

.feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.feature-img {
    width: 500px;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
}

.feature-text {
    flex: 1 1 300px;
    padding: 1rem;
    text-align: left;
}
.product-lines {
    margin-top:-10%;
}
.product-gallery {
  background-color: #f9f9f9;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.product-item {
  width: 300px; /* puedes ajustar el ancho */
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 10px;
  background-color: #fff;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-item img {
  width: 250px;
  height: 300px;
  margin-bottom: 10px;
}


.product-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.product-description {
  color: #555;
}

/* Modal */
.product-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
  text-align: center;
}

.modal-content .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.cta {
    background-color: #c69c37;
    color: white;
    text-align: center;
    padding: 3rem 1rem;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta a {
    padding: 1rem 2rem;
    color: white;
    background-color: #005946;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta a:hover {
    background-color: #003d33;
}

@media (min-width: 768px) {
    .feature {
        flex-direction: column;
        text-align: center;
    }

    .feature-text {
        text-align: center;
        padding: 0.5rem 1rem;
    }
}
