:root {
  --color-primario: #9468FF;
  --color-secundario: #FF6F91;
  --color-texto: #333333;
  --color-fondo: #F9F9F9;
}

*{
  font-family: "Pacifico", cursive;
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background-color: #F9F9F9;
  color: var(--color-texto);
  line-height: 1.5;
}



/* Ejemplo de estilos */
.menu-hamburguesa {
  display: none; /* Visible solo en pantallas pequeñas */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-hamburguesa span {
  background-color: var(--color-texto);
  height: 3px;
  width: 100%;
  border-radius: 10px;
  transition: all 0.3s ease;
}


.navegador{
  height: 5rem;
  width: 100%;
  position: fixed;
  z-index: 1000; /* Asegura que el navegador quede por encima de todo */
  display: flex;
  align-items: center;
  justify-content: center;
}
.navbar {
  margin-top: 4rem;
  margin-left: 4rem;
  margin-right: 4rem;
  height: 5rem;
  width: 87%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  padding: 1rem 5rem;
  border: none;
  border-radius: 50rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease; /* Transición suave para efectos como cambios de estilo en scroll */
}
.navbar:hover{
  box-shadow: 10px 5px 5px black;
}
.foto-logo{
  width: 12%;
  height: 95%;
}

.foto-logo img{
  object-fit: cover;
 width: 100%;
 height: 100%;
}
.nav-links{
  width: 70%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  list-style: none;

}

.nav-links a{
  text-decoration: none;
  font-size: 1.5rem;
}
.boton-nav{
  width: 15%;
  font-size: 1.5rem;
}
.boton-nav a{
  padding:  1rem 1rem;
  text-decoration: none;
  border: none;
  border-radius: 50rem;
  color: #fff;
  background-color: var(--color-primario);
}



/* Otros estilos irán aquí */


.productos-container{
  display: flex;
  flex-direction: column;
}
.productos {
  padding: 4rem 0rem;
  text-align: center;
  background: var(--color-fondo);
  justify-content: center;
}
.productos h2{
  font-size: 4rem;
}

.subcategoria {
  margin-bottom: 15rem;
}

.subcategoria h3{
  font-size: 3rem;
}

.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.producto {
  width: 85%;
  height: 50vh;
  background: white;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease;
  margin-bottom: 15rem;

}

.producto img{
  object-fit: cover;
  height: 100%;
  width: 100%;
}

.producto:hover {
  transform: translateY(-5px);
  transform: scale(1.05); /* Efecto de zoom */
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.titulo-producto {
  color: var(--color-primario);
  font-weight: bold;
}

.descripcion-producto {
  color: var(--color-secundario);
  font-size: 0.9rem;
}

.precio {
  color: var(--color-primario);
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.cod{
  text-align: right;
  font-size: 12px;
}

.btn-secundario {
  background: var(--color-secundario);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-secundario:hover {
  background: white;
  color: var(--color-secundario);
  border: 1px solid var(--color-secundario);
}


/* Hero Section */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
  background: var(--color-fondo);
  height: 100vh;
  position: relative;
}

.hero-content {
  flex: 1;
  max-width: 50%;
}

.hero-content strong{
  color: black;
}
.hero-content h1 {
  font-size: 3rem;
  color: var(--color-primario);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  color: #555;
  margin-bottom: 2rem;
}

.hero-content a{
  font-size: 1.8rem;
}

.hero-content .btn-primary {
  background: var(--color-primario);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.hero-content .btn-primary:hover {
  background: #fff;
  color: var(--color-primario);
  border: 2px solid var(--color-primario);
}

/* Carousel */
.hero-carousel {
  width: 25rem;
  height: 25rem;
  overflow: hidden; /* Oculta las imágenes fuera del área visible */
  position: relative;
  border: none;

}

.carousel {
  display: flex; /* Alinea las imágenes en una fila horizontal */
  flex-direction: row; /* Garantiza que las imágenes estén en línea horizontal */
  transition: transform 0.5s ease-in-out; /* Transición suave para el movimiento */
  width: 100%;
  height: 100%;
}

.carousel-slide{
  height: 100%;
  width: 100%;
  display: flex; /* Alinea las imágenes en una fila horizontal */
  flex-direction: row; /* Garantiza que las imágenes estén en línea horizontal */
  transition: transform 0.5s ease-in-out; /* Transición suave para el movimiento */
}

.carousel-slide img {
  width: 100%; /* Asegura que cada imagen ocupe el ancho completo del contenedor */
  height: 100%; /* Mantiene la proporción de las imágenes */
  flex-shrink: 0; /* Evita que las imágenes se encojan */
  object-fit: cover;
  object-position: center;
}





.contacto {
  padding: 4rem 2rem;
  background: var(--color-fondo);
  text-align: center;
}

.redes-sociales a {
  margin: 0 1rem;
  display: inline-block;
  font-size: 5rem;
  color: var(--color-primario);
}

.redes-sociales img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.redes-sociales img:hover {
  transform: scale(1.1);
}

.contacto-container p{
  font-size: 2rem;
}

.contacto-container strong{
  color: #78be21;
}


footer {
  background: var(--color-primario);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col img {
  width: 130px;
  margin-bottom: 1rem;
  background-color: #F9F9F9;
  border: none;
  border-radius: 50rem;
}

.footer-col h4 {
  margin-bottom: 1rem;
  color: var(--color-secundario);
  font-size: 2rem;
}
.footer-col p{
  font-size: 2rem;
}

.footer-col a{
  font-size: 3rem;
  color: #F9F9F9;
  padding: 1rem;
}

.whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
}

.whatsapp-widget img {
  width: 100%;
  border-radius: 2%;
  transition: transform 0.3s ease;
}

.whatsapp-widget img:hover {
  transform: scale(1.1);
}


@media (max-width:1047px ) {
  .productos-grid{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
  .producto{
    margin-bottom: 15rem;
  }

}


@media (max-width:911px ) {
  .hero {
    display: flex;
    flex-direction: column;
    height: 140vh;
  }

  .hero-content{
    margin-top: 5rem;
    max-width: 80%;
  }

  .hero-carousel{
    margin-top: 5rem;
    width: 25rem;
    height: 25rem;
  }

  
}

@media (max-width: 768px) {
  .menu-hamburguesa {
    display: flex; /* Mostrar el botón hamburguesa */
    margin: auto;
    margin-left: 16rem;
  }
  .foto-logo{
    width: 8rem;
    height: 8rem;
  }

  .boton-nav{
    display: none;
  }

  .nav-links {
    display: none; /* Ocultar el menú */
    flex-direction: column;
    position: absolute;
    margin-top: 3rem;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 999;
    padding: 1rem 0;
    border-radius: 45rem;
  }

  .nav-links.active {
    display: flex; /* Mostrar el menú al activarlo */
  }

  .nav-links a {
    padding: 1rem 2rem;
    text-align: center;
    color: var(--color-texto);
  }

}


@media (max-width:695px ) {
  .foto-logo{
    width: 8rem;
    height: 8rem;
  }
  .hero {
    height: 160vh;
  }
  
}

@media (max-width:607px ) {
  .navbar{
    width: 59%;
  }
  .menu-hamburguesa {
    margin-left: 8rem;
  }
  
}

@media (max-width:499px ) {
  .hero {
    height: 180vh;
  }
  
}


.copyright a{
  color: #fff;
  font-family: 'Times New Roman', Times, serif;
  text-decoration: none;
}