@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap");
* {
  /*selector universal*/
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  font-family: "Open Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f3f6f5;
  height: 100vh;
}

header {
  background-color: #131413a6;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 0;
  z-index: 1000;
  text-align: center;
}

.panel_navegador {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 70px;
  height: 60px;
  color: #ffffff;
}

.logotipo {
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  font-size: 1.2rem;
}

.panel-control {
  display: flex;
  gap: 20px;
  font-size: 16px;
  align-items: center;

  gap: 50px;
}

.menu-navegador {
  cursor: pointer;
  font-family: Arial, Helvetica, sans-serif;
  white-space: nowrap;
}

.menu-navegador:hover {
  color: #c6eac4;
}

#contactanos {
  background-color: #4caf50;
  padding: 8px 16px;
  border-radius: 3px;
}

#contactanos:hover {
  background-color: #3b853d;
}

.loggin {
  display: flex;
  align-items: center;
  gap: 10px;
}

#logginButton,
#logoutButton {
  padding: 3px;
}

#anonimo {
  height: 42px;
  width: 42px;
}

.logos-loggin {
  height: 30px;
  width: 40px;
}

#txt_nombre {
  padding-right: 10px;
}

/* Estilos para el menú hamburguesa - Celulares */
.menu-hamburguesa {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 21px;
}

.menu-hamburguesa span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: white;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Media Queries para diseño responsivo */
@media (max-width: 1024px) {
  .panel-control {
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .menu-hamburguesa {
    display: flex;
  }

  .panel-control {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #131413;
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
  }

  .panel-control.active {
    transform: translateY(0);
  }

  .menu-navegador {
    padding: 15px 0;
    width: 100%;
    text-align: center;
  }

  #contactanos {
    margin: 10px auto;
    width: 80%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logotipo {
    font-size: 1rem;
  }

  .loggin {
    gap: 5px;
  }

  #anonimo {
    height: 36px;
    width: 36px;
  }
}
/*//////*/
.slide-container {
  position: relative;
  width: 100%;
  height: 95vh;
  max-height: 800px;
  overflow: hidden;
}

.slide-background {
  position: absolute;
  width: 100%;
  height: 100%;
}

/*.slide-img {
  width: 100%;
  height: 100%;
  object-position: center;
}*/

/* Contenedor principal del carrusel */

/* Contenedor de slides */
.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Estilos para cada slide */
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen cubra todo el espacio */
  object-position: center;
}

/* Controles de navegación */
.slide-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.slide-control:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slide-control.prev {
  left: 20px;
}

.slide-control.next {
  right: 20px;
}

/* Indicadores */
.slide-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slide-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.slide-indicator.active {
  background: white;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
  .slide-background {
    height: 50vh;
    min-height: 300px;
  }

  .slide-control {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slide-content {
    bottom: 15%;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .slide-background {
    height: 40vh;
    min-height: 250px;
  }

  .slide-control {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .slide-indicator {
    width: 10px;
    height: 10px;
  }
}

.slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: rgba(19, 20, 19, 0.65);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: white;
}

.slide-text h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.slide-text p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.slide-next {
  background-color: rgba(255, 255, 255, 1);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  border: 3px solid #3b853d;
}

.slide-next:hover {
  background: rgb(249, 254, 248);
  transform: scale(1.05);
}

.slide-next img {
  width: 24px;
  height: 24px;
}

/****/
.contenedor-s2 {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: center;
}

.presentacion {
  margin-bottom: 2rem;
}

.presentacion h1 {
  font-size: 1.8rem;
  line-height: 1.3;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.presentacion p {
  font-size: 1.2rem;
  color: #7f8c8d;
}

.descripcion {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

.descripcion-principal {
  order: 2;
  text-align: center;
}

.descripcion-principal h2 {
  font-size: 1.5rem;
  color: #27ae60;
  margin-bottom: 1rem;
}

.descripcion-principal p {
  font-size: 1rem;
  line-height: 1.6;
  color: #34495e;
  margin-bottom: 1.5rem;
}

.ver {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background-color: rgba(76, 175, 80, 1);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ver:hover {
  background-color: #2ecc71;
  transform: translateY(-2px);
}

.flecha-productos img {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.ver:hover .flecha-productos img {
  transform: translateX(5px);
}

.descripcion-img {
  order: 1;
  width: 100%;
  max-width: 500px;
}

.descripcion-img img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Media Queries para tablets (768px en adelante) */
@media (min-width: 768px) {
  .presentacion h1 {
    font-size: 2.2rem;
  }

  .descripcion-principal h2 {
    font-size: 1.8rem;
  }

  .descripcion-principal p {
    font-size: 1.1rem;
  }
}

/* Media Queries para desktop (1024px en adelante) */
@media (min-width: 1024px) {
  .contenedor-s2 {
    padding: 1rem 2rem;
  }

  .descripcion {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 3rem;
  }

  .descripcion-principal {
    order: 1;
    flex: 1;
    text-align: left;
  }

  .descripcion-img {
    order: 2;
    flex: 1;
  }

  .presentacion h1 {
    font-size: 2.5rem;
  }

  .descripcion-principal h2 {
    font-size: 2rem;
  }

  .descripcion-principal p {
    font-size: 1.2rem;
  }

  .ver-productos {
    padding: 1rem 1rem;
  }

  .flecha-productos img {
    width: 24px;
    height: 24px;
  }
}

.contenedor-s3 {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #f9f9f9;
}

.servicios {
  max-width: 1200px;
  margin: 0 auto;
}

.titulo {
  padding-bottom: 2rem;
}

.titulo h2 {
  font-size: 1.8rem;
  color: #616161;
  margin-bottom: 0.5rem;
}

.titulo p {
  font-size: 1.1rem;
  color: #616161;
}

.contenedor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 0 1rem;
}

.caja {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  margin: 0 auto;
  width: 100%;
  max-width: 380px;
}

.caja:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.caja-interna {
  color: #616161;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.caja-interna img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.caja-interna h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #2e7d32;
}

.caja-interna p {
  font-size: 1rem;
  line-height: 1.5;
}

/* Media Queries para tablets (600px en adelante) */
@media (min-width: 600px) {
  .contenedor-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .titulo h2 {
    font-size: 2.2rem;
  }

  .titulo p {
    font-size: 1.2rem;
  }
}

@media (min-width: 900px) {
  .contenedor-s3 {
    padding: 3rem 2rem;
  }

  .contenedor-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .caja {
    padding: 2rem;
  }

  .caja-interna img {
    width: 85px;
    height: 85px;
  }
}

@media (min-width: 1200px) {
  .contenedor-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    padding: 0;
  }

  .titulo {
    padding-bottom: 3rem;
  }

  .titulo h2 {
    font-size: 2.5rem;
  }

  .titulo p {
    font-size: 1.4rem;
  }

  .caja-interna h3 {
    font-size: 1.5rem;
  }

  .caja-interna p {
    font-size: 1.1rem;
  }
}
/* ##############################*/
.contenedor-s4 {
  text-align: center;
}

.noticia-random {
  padding: 0 1rem;
  margin-bottom: 2rem;
}

.random {
  display: flex;
  flex-direction: column;
  background-color: rgba(239, 239, 239, 1);
  color: rgba(97, 97, 97, 1);
  text-align: justify;
  border-radius: 10px;
  overflow: hidden;
}

.random img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}

.random-contenido {
  padding: 2rem;
}

.random-contenido h3 {
  padding-bottom: 1rem;
  font-size: 1.5rem;
}

.random-contenido p {
  padding-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

.noticia-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.caja-noticia {
  width: 100%;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 1);
  color: rgba(97, 97, 97, 1);
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.caja-noticia img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.titulo-noticia {
  padding: 1.5rem 1.5rem 0;
}

.titulo-noticia h2 {
  font-size: 1.3rem;
}

.contenido p {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  text-align: justify;
  line-height: 1.5;
}

.ver-boton {
  padding: 0 1.5rem 1.5rem;
  text-align: center;
}

.ver-b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 150px;
  height: 50px;
  padding: 0.5rem 1.5rem;
  background-color: #4caf50;
  border-radius: 2.7px;
  color: #ffffff;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

.ver-b:hover {
  background-color: #4e7750;
}

.mas {
  padding-left: 0.5rem;
}

.mas img {
  height: 1rem;
  width: 1rem;
}
@media (min-width: 768px) {
  .random {
    flex-direction: row;
  }

  .random img {
    width: 50%;
    height: auto;
    max-height: none;
  }

  .random-contenido {
    width: 50%;
    padding: 2rem;
  }

  .caja-noticia img {
    height: 250px;
  }
}

@media (min-width: 1024px) {
  .contenedor-s4 {
    padding: 1rem 3rem;
  }

  .random-contenido h3 {
    font-size: 1.8rem;
  }

  .random-contenido p {
    font-size: 1.1rem;
  }

  .caja-noticia img {
    height: 280px;
  }

  .titulo-noticia h2 {
    font-size: 1.5rem;
  }
}

/*##############################*/
.contenedor-s5 {
  text-align: center;
  padding: 2rem 1rem;
}

.espacio {
  height: 4rem;
  background-color: #3b853d;
}

.contactanos {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  cursor: pointer;
}

.contactanos:hover {
  background-color: #4caf50;
  border-radius: 1rem;
}

.contacta-info {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.contacto-contenido {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1rem;
}

.contacto-contenido img {
  width: 100%;
  height: auto;
  max-width: 434px;
  margin-bottom: 2rem;
}

.contenido-cont {
  padding: 0;
  color: rgba(97, 97, 97, 1);
  text-align: center;
}

.cont h2 {
  padding-bottom: 1rem;
  font-size: 1.8rem;
}

.cont p {
  padding-bottom: 1.5rem;
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

.email-celular {
  text-align: center;
  font-size: 1.1rem;
  margin-top: 1.5rem;
}

.email,
.celular {
  margin: 0.5rem 0;
  padding: 0.5rem;
}

.email,
.celular {
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #dbefda;
  transition: background-color 0.3s;
}

.email:hover {
  background-color: #d4dbd4;
}

.celular:hover {
  background-color: #95ba97;
  color: #000;
}

strong {
  color: #3b853d;
}

/* Media Queries para responsividad */
@media (min-width: 768px) {
  .contacto-contenido {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .contacto-contenido img {
    width: 40%;
    margin-bottom: 0;
    margin-right: 2rem;
  }

  .contenido-cont {
    padding: 2rem 0 2rem 1rem;
    text-align: left;
    width: 60%;
  }

  .cont p {
    text-align: left;
  }

  .email-celular {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .contactanos {
    padding: 3rem 2rem;
  }

  .titulo h2 {
    font-size: 2.5rem;
  }

  .titulo p {
    font-size: 1.3rem;
  }

  .cont h2 {
    font-size: 2.2rem;
  }

  .cont p {
    font-size: 1.1rem;
  }

  .email-celular {
    font-size: 1.2rem;
  }

  .contacto-contenido img {
    max-width: 434px;
  }
}

footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 1rem 0;
}

.contenedor-s6 {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-info {
  padding: 1rem 0;
}

.f-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
}

.condiciones,
.direccion,
.redes {
  padding: 1rem;
}

.condiciones img {
  height: 80px;
  width: auto;
  margin-bottom: 1rem;
}

.condiciones h3,
.direccion h3,
.redes h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #fff;
}

.condiciones h3 span,
.direccion h3 span,
.redes h3 span {
  color: #3b853d; /* Verde de tu marca */
}

.politica,
.libro {
  display: block;
  padding: 0.8rem;
  margin: 0.5rem auto;
  cursor: pointer;
  transition: background-color 0.3s;
  border-radius: 5px;
  max-width: 280px;
}

.politica:hover,
.libro:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.direccion p {
  margin: 0.5rem 0;
  line-height: 1.5;
}

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

.redes-sociales {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #fff;
  transition: all 0.3s ease;
  background-color: transparent;
}

.redes-sociales:hover {
  transform: scale(1.1);
  background-color: rgba(59, 133, 61, 0.5);
}

.redes-sociales img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-divider {
  border: none;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 1rem 0;
}

.coppy {
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Media Queries para responsividad */
@media (min-width: 600px) {
  .f-info {
    grid-template-columns: repeat(2, 1fr);
  }

  .condiciones {
    text-align: left;
  }

  .direccion {
    text-align: left;
  }
}

@media (min-width: 900px) {
  .f-info {
    grid-template-columns: repeat(3, 1fr);
  }

  .condiciones,
  .direccion,
  .redes {
    padding: 1rem 2rem;
  }

  .condiciones img {
    height: 100px;
  }

  .redes-sociales {
    width: 55px;
    height: 55px;
  }

  .redes-sociales img {
    width: 35px;
    height: 35px;
  }
}

@media (min-width: 1200px) {
  .footer-info {
    padding: 2rem 0;
  }
}

/*para administrador */
.admin {
  padding-top: 3rem;
}
