* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: white;
  color: black;
  line-height: 1.6;
}

header {
  background-color: black;
  color: white;
  padding: 1px 20px;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}


.social-icons-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}


.social-icons-right {
  display: none; 
}

.redes-texto {
  font-size: 1.3rem;
  font-weight: 500;
  color: #ddd;
  margin-bottom: 5px;
}

.social-icons-left a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-icons-left a:hover {
  color: #ddd;
}

.logo {
  position: relative;
  left: -50px;         
  right: 5px;
  
}

.logo-img {
  width: 300px;
  
  height: auto;
  filter: grayscale(100%);
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s;
  padding: 8px 12px;
  border-radius: 20px;
}

nav a:hover, nav a.active {
  color: black;
  background-color: white;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('fondo6.png') no-repeat center center;
  background-size: 100% 120%;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-texto {
  color: white;
  padding: 30px;
  max-width: 800px;
}

.hero-texto h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}

.hero-texto p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

.hero-texto .resaltado {
  color: white; /* Texto blanco sólido */
  font-weight: bold;
  font-size: 1.5rem; /* Más grande que el resto del párrafo */
  text-shadow: 
     /* resplandor alrededor */
    0 0 15px rgba(255,255,255,0.6); /* resplandor más suave */
}



.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 30px;
  background-color: white;
  color: black;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.btn:hover {
  background-color: #ddd;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

.btn:active {
  transform: translateY(1px);
}


.category-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  padding: 0 15px;
}

.category-btn {
  padding: 12px 20px;
  background-color: #f2f2f2;
  border: 1px solid #ccc;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  min-width: 140px;
  text-align: center;
}

.category-btn:hover {
  background-color: #ddd;
}

.category-btn.active {
  background-color: black;
  color: white;
}

.catalogo {
  padding: 60px 20px;
  background-color: white;
  text-align: center;
}

.catalogo h2 {
  font-size: 2.5em;
  margin-bottom: 25px;
  color: black;
  position: relative;
  display: inline-block;
}

.catalogo h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: black;
  bottom: -10px;
  left: 25%;
}

.productos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.producto {
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
}

.producto:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.producto-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: white;
  color: black;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  border: 1px solid black;
}

.producto img { 
  width: 100%;
  border-radius: 8px;
  transition: transform 0.5s;
  height: 300px;
  object-fit: cover;
}

.producto:hover img {
  transform: scale(1.05);
}

.producto h3 {
  margin: 15px 0 10px;
  font-size: 1.3rem;
  color: black;
}

.producto p {
  font-weight: bold;
  color: #2c5282;
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.whatsapp-btn {
  background-color: #25d366; 
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.whatsapp-btn:hover {
  background-color: #128C7E; 
}

.contacto {
  padding: 80px 20px;
  text-align: center;
  background-color: #f2f2f2;
}

.contacto h2 {
  margin-bottom: 20px;
  color: black;
  font-size: 2.2rem;
}

.contacto p {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background-color: #25D366; 
  color: white;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s;
  font-size: 1.1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.btn-whatsapp:hover {
  background-color: #128C7E; 
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
}

footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 25px;
  margin-top: 40px;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-top: 15px;
  border-radius: 5px;
  filter: grayscale(100%);
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  margin: 15px;
}

.footer-section h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: white;
}

.footer-section p, .footer-section a {
  color: #ddd;
  margin-bottom: 10px;
  display: block;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
}

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #444;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.producto {
  animation: fadeIn 0.5s ease-out forwards;
}

.producto:nth-child(1) { animation-delay: 0.1s; }
.producto:nth-child(2) { animation-delay: 0.2s; }
.producto:nth-child(3) { animation-delay: 0.3s; }
.producto:nth-child(4) { animation-delay: 0.4s; }

/* Media Queries */
@media (max-width: 1200px) {
  .footer-content {
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .hero-texto h2 {
    font-size: 2.5rem;
  }
  
  .producto {
    width: calc(50% - 30px);
    max-width: none;
  }
  
  .category-buttons {
    gap: 12px;
  }
  
  .category-btn {
    padding: 10px 18px;
    font-size: 0.95rem;
    min-width: 130px;
  }
}

@media (max-width: 768px)  {
  /* HEADER REORGANIZADO - SOLO PARA MÓVIL EN VERTICAL */
  .header-top {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    width: 100%;
    padding: 10px 15px;
    position: relative;
    gap: 10px;
  }

  /* Contenedor de redes sociales a la izquierda */
  .social-container {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  /* Texto "Redes Sociales" */
  .redes-texto {
    font-size: 0.9rem;
    color: #ddd;
    text-align: left;
    margin-bottom: 5px;
    display: block !important; /* Forzar visibilidad */
  }

  /* Iconos en horizontal debajo del texto */
  .social-icons-left {
    display: flex !important;
    flex-direction: row;
    gap: 12px;
  }

  .social-icons-left a {
    font-size: 1.5rem;
    color: white;
    display: inline-flex;
    text-decoration: none;
  }

  /* Asegurar que los iconos sean visibles */
  .social-icons-left a i {
    display: inline-block !important;
  }

  /* Logo centrado */
  .logo {
    position: relative;
  left: 3px;         
  right: 5px;
  }

  .logo-img {
    width: 200px;
    height: 75px;
    display: block;
    margin: 0 auto;
  }

  /* Botón hamburguesa a la derecha */
  .hamburger {
    grid-column: 3;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    justify-self: end;
    display: block !important;
  }

  /* Asegurar que el menú de navegación esté oculto inicialmente */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background-color: #111;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-menu a {
    color: white;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 1.2rem;
    display: block;
  }

  .nav-menu a:hover {
    background-color: #333;
  }

  .nav-menu.active {
    right: 0;
  }

  /* El resto de tu CSS permanece igual */
  body {
    font-size: 15px;
  }

  .hero {
    height: 400px;
    padding: 20px;
  }

  .hero-texto {
    padding: 20px;
    text-align: center;
  }

  .hero-texto h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-texto p {
    font-size: 1.1rem;
  }

  .btn {
    padding: 12px 25px;
    font-size: 0.95rem;
  }

  .catalogo {
    padding: 40px 15px;
  }

  .catalogo h2 {
    font-size: 2rem;
  }

  .productos {
    gap: 20px;
  }

  .producto {
    width: 100%;
    max-width: 350px;
    padding: 15px;
  }

  .producto img {
    height: 250px;
  }

  .producto h3 {
    font-size: 1.2rem;
  }

  .producto p {
    font-size: 1.1rem;
  }

  .category-buttons {
    gap: 10px;
    margin-bottom: 25px;
    padding: 0 10px;
  }

  .category-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
    min-width: 120px;
    flex: 1;
    max-width: 160px;
  }

  .contacto {
    padding: 50px 15px;
  }

  .contacto h2 {
    font-size: 1.8rem;
  }

  .btn-whatsapp {
    padding: 12px 25px;
    font-size: 1rem;
  }

  footer {
    padding: 20px 15px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }

  .footer-section {
    min-width: auto;
    margin: 10px 0;
  }

  .social-icons {
    justify-content: center;
  }
}


@media (max-width: 576px) {
  header {
    padding: 12px 15px;
  }
  
  .social-icons-left a {
    font-size: 1.1rem;
  }
  
  .logo-img {
    width: 110px;
  }
  
  nav a {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  .hero {
    height: 350px;
  }
  
  .hero-texto h2 {
    font-size: 1.7rem;
  }
  
  .hero-texto p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .catalogo h2 {
    font-size: 1.8rem;
  }
  
  .producto {
    padding: 12px;
  }
  
  .producto img {
    height: 220px;
  }
  
  .whatsapp-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .category-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 5px;
  }
  
  .category-btn {
    min-width: auto;
    max-width: 100%;
    width: 100%;
    padding: 10px 12px;
    font-size: 0.85rem;
  }
  
  .contacto h2 {
    font-size: 1.6rem;
  }
  
  .btn-whatsapp {
    padding: 12px 20px;
    font-size: 0.95rem;
  }
  
  .footer-logo {
    width: 100px;
  }
}

@media (max-width: 400px) {
  .hero-texto h2 {
    font-size: 1.5rem;
  }
  
  .category-buttons {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .category-btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }
  
  .producto {
    margin: 0 10px;
  }
}


/* Botón hamburguesa siempre visible */
.hamburger {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1100; /* Para que quede sobre el menú */
}

/* Menú hamburguesa lateral derecho */
.nav-menu {
  position: fixed;
  top: 0;
  right: -250px;        /* Oculto fuera de la pantalla */
  width: 250px;
  height: 100%;
  background-color: #111;
  display: flex;
  flex-direction: column;
  padding-top: 60px;    /* espacio arriba para no chocar con header */
  transition: right 0.3s ease-in-out;
  z-index: 1000;
}

.nav-menu a {
  color: white;
  padding: 15px 20px;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
}

.nav-menu a:hover {
  background-color: #333;
}

/* Cuando está activo, se desliza hacia adentro */
.nav-menu.active {
  right: 0;
}

/* Opcional: sombreado detrás del menú */
body.menu-open::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 900;
}


.acerca {
  background-color: #111; /* Fondo oscuro para contraste */
  color: white;
  padding: 60px 20px;
}

.acerca-contenido {
  display: flex;
  flex-wrap: wrap; /* Se acomoda en móviles */
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 30px;
}

.acerca .texto {
  flex: 1 1 600px; /* Ocupa más espacio que el logo */
}

.acerca .texto h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #fefefe; /* Títulos resaltados */
}

.acerca .texto p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  line-height: 1.5;
}

.logo-derecha {
  flex: 1 1 300px;
  text-align: center;
}

.logo-derecha img {
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}



/* Modal fondo oscuro */
.modal {
  display: none; /* Oculto por defecto */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

/* Imagen dentro del modal */
.modal-contenido {
  display: block;
  max-width: 90%;
  max-height: 80%;
  margin: 5% auto;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255,255,255,0.5);
}

/* Botón cerrar */
.cerrar {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.cerrar:hover {
  color: #ffcc00;
}

/* Evita que el body se mueva al abrir modal */
body.modal-abierto {
  overflow: hidden;
}

.producto.hidden {
            display: none;
        }
        
.producto.visible {
            display: block;
            animation: fadeIn 0.5s ease-out forwards;
        }
@keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

