*{
    padding:0;
    margin:0;
}

body{
	background-color: rgba(245, 246, 243, 0.958)
}


/* Primera barra: redes sociales */
.top-bar {
    background-color: #79dcd0;
    padding: 5px 0;
    text-align: right;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1001;
  }
  
  .social-links a img {
    width: 24px;
    height: 24px;
    margin: 0 10px;
    vertical-align: middle;
  }
  


  .barra-redes a:hover img {
  transform: scale(1.2);
}

.social-icons img {
  width: 32px;
  height: 32px;
  margin: 0 10px;
  vertical-align: middle;
}
  

  /* Navegación fija */
  nav {
    background-color: #225e5c;
    padding: 10px 0;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 50px;
    left: 0;
    z-index: 1000;
  }


  nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  nav ul li {
    display: inline;
    margin: 0 15px;
  }
  
  nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px;
  }

   /* Seccion Sobre nosotros */

   .sobre-nosotros-section {
    padding: 80px 40px;
    background-color: #f7f9f6;
    text-align: center;
    margin-top: 80px; /* separa del carrusel */
  }
  
  .sobre-nosotros-section h2 {
    font-size: 32px;
    color: #000000;
    margin-bottom: 25px;
  }
  
  .sobre-nosotros-section p {
    font-size: 16px;
    color: #000000;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto 20px auto;
  }

 /*------------ Seccion Productos------------ */

.productos-section {
    padding: 80px 40px;
    background-color: #f1fef4;
    text-align: center;
  }
  
  .tarjetas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
  }
  
  .tarjeta {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 280px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .tarjeta:hover {
    transform: translateY(-5px);
  }
  
  .tarjeta img {
    width: 80%;
    height: 160px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .tarjeta h3 {
    margin-top: 15px;
    font-size: 18px;
    color: #2c3e50;
  }
  
  .tarjeta p {
    font-size: 14px;
    color: #555;
  }
  
  .tarjeta {
    text-decoration: none;
    display: block;
    color: inherit;
  }

  
  html {
    scroll-behavior: smooth;
  }


 /* Seccion Contacto */

  .contacto-section {
    padding: 60px 20px;
    background-color: #f0f0f0;
    text-align: center;
  }
  
  .contacto-section ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
  }
  
  .contacto-section li {
    font-size: 16px;
    margin-bottom: 10px;
  }
  
.formulario-contacto {
  margin-top: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario-contacto input,
.formulario-contacto textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
}

.formulario-contacto button {
  padding: 12px;
  background-color: #2c3e50;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.formulario-contacto button:hover {
  background-color: #1a242f;
}



/*------------------Seccion Carrusel-------------------------------------*/

/* Carrusel general */
.carrusel {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  position: relative;
  margin-top: 120px; /* ajusta por barra de navegación */
}

/* Contenedor del carrusel */
.slider {
  display: flex;
  height: auto;
  width: 100%; /* 3 imágenes, ajusta si son más o menos */
  transition: transform 0.5s ease;
  background-color: rgb(182, 253, 182, 0.5);
}

.slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  overflow: hidden;
}

.slider-bg img {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: blur(20px) brightness(1.4); /* desenfoque y aclarado */
  transform: scale(2); /* ligeramente más grande */
  transition: tansform 0.5s ease;
}

/* Cada slide */
.slide {
  z-index: 2;
  position: relative;
  width: 100%;
  flex: 1 0 100%;
  transition: transform 0.5s ease;
}

/* Imagen */
.slide img {
  z-index: 2;
  width: 100%;
  height: 400px;
  object-fit: contain;
  display: block;
}

/*------------------Seccion Promociones-----------------------------------*/
.ofertas-section {
  text-align: center;
  background-color: #f1fef4;
  padding: 60px 20px;
  text-align: center;
}

.ofertas-section h2 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #2c3e50;
}

/* Reutiliza la clase existente de tarjetas */
.tarjeta.tarjeta-verde {
  background-color: #e0f9e7;
  border: 2px solid #2ecc71;
}

.tarjeta.tarjeta-verde img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.tarjeta.tarjeta-verde p {
  font-size: 14px;
  color: #333;
}

.boton-verde {
  background-color: #2ecc71;     /* VERDE brillante */
  color: white;                  /* Texto blanco */
  border: none;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
}

.boton-verde:hover {
  background-color: #27ae60;     /* Verde más oscuro al pasar el mouse */
}

.info-extra {
  text-align: justify;
  padding: 10px;
  color: #333;
  font-size: 14px;
  background-color: #2ecc71;
  border-top: 1px solid #ccc;
  margin-top: 10px;
}

.info-extra ul {
  text-align: justify;
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
}



/*------------------Seccion Formulario-----------------------------------*/

body {
  background-color: rgba(245, 246, 243, 0.958);
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

form {
  max-width: 600px;   /* Limita el ancho */
  margin: 0 auto;     /* Centra horizontalmente */
  padding: 20px 50px;
  background-color: #fff; /* Opcional: fondo claro */
  border-radius: 10px;    /* Bordes redondeados */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

input, textarea {
  width: 100%;        /* Para que usen el espacio del contenedor */
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}


    .formulario-container {
      background-color: #e6f9ec;
      padding: 20px 30px;
      border: 1px solid #b2d8c5;
      border-radius: 10px;
      max-width: 500px;
      margin: auto;
    }

    .formulario-container h2 {
      text-align: center;
      color: #2e7d32;
      margin-bottom: 20px;
    }

    label {
      display: block;
      margin-top: 15px;
      color: #2e7d32;
      font-weight: bold;
    }

    input[type="text"],
    input[type="email"],
    select,
    textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #b2d8c5;
      border-radius: 5px;
      background-color: #ffffff;
      margin-top: 5px;
    }

    textarea {
      resize: vertical;
      min-height: 80px;
    }

    button {
      margin-top: 20px;
      width: 100%;
      padding: 10px;
      background-color: #81c784;
      color: white;
      border: none;
      border-radius: 6px;
      font-weight: bold;
      font-size: 16px;
      cursor: pointer;
    }

    button:hover {
      background-color: #66bb6a;
    }

    .nota {
      margin-top: 15px;
      font-size: 12px;
      color: #555;
    }




/* Diseño responsive para pantallas pequeñas */
@media (max-width: 768px) {
  nav ul li {
    display: block;
    margin: 10px 0;
  }

  .sobre-nosotros-section {
    padding: 40px 20px;
  }

  .productos-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .producto {
    width: 90%;
    margin-bottom: 20px;
  }

  .social-links a img,
  .social-icons img {
    width: 20px;
    height: 20px;
  }
}

/*Estilos terminos y politicas*/
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  margin-top: 40px; 
}

footer a {
  color: #00d084;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}
