/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: #ffffff;
  color: #333;
}

/* Header */
header {
  background: #1ab8e8;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid #05239d;
}

.logo-img {
  max-width: 140px;
}

nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

nav a:hover {
  background-color: red;
  color: white;
}

.menu-toggle {
  display: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* Banner */
.banner {
  background-color: #d5d8e2; /* Un color de fondo suave */
  min-height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  flex-direction: column;
}

.contenido-banner h1 {
  font-size: 3rem;
  color: white;
}

.contenido-banner p {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 20px;
}


.boton-tienda:hover {
  background-color: #00317c;
}

.banner-oferta {
  margin-top: 20px;
}

.banner-oferta img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

.btn-banner:hover {
  background: #05239d;
  transform: scale(1.05);
}



/* Productos */
.productos {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.productos h2 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  font-weight: 800;
}

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

.producto {
  background: #c4c3c3;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.producto:hover {
  transform: translateY(-10px);
}

.producto img {
  max-width: 100%;
  border-radius: 8px;
}

.producto h3 {
  margin: 15px 0 10px;
}

.producto p {
  color: #666;
  font-weight: 600;
}

.producto button {
  margin-top: 15px;
  background: red;
  color: white;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s;
}

.producto button:hover {
  background: #05239d;
}

/* Footer */
footer {
  background: #1ab8e8;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

footer p {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.redes a {
  margin: 0 10px;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.redes a:hover {
  color: #ff0000;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

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

.whatsapp-float-icon {
  width: 35px;
  height: 35px;
}

/* Responsive nav */
@media (max-width: 768px) {
  .contenido-banner h1 {
    font-size: 2rem;
  }
  
  .contenido-banner p {
    font-size: 1rem;
  }
  
  .productos h2 {
    font-size: 2rem;
  }
  
  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #05239d;
  }

  nav.active {
    display: flex;
    animation: fadeIn 0.5s;
  }

  .menu-toggle {
    display: block;
  }
}

/* Animaciones */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/*Ofertas de banner*/
.banner-oferta {
  margin: 20px 0;
}

.img-banner {
  width: 100%;
  max-width: 700px; /* Para que no sea gigante en pantallas muy grandes */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.img-banner:hover {
  transform: scale(1.05);
}

.boton-tienda {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 20px;
  font-size: 1rem;
  background: red;
  color: white;
  border: 2px solid white;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.boton-tienda:hover {
  transform: scale(1.05);
  background: #05239d;
}

.icono-social {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.icono-social:hover {
  transform: scale(1.2);
}


footer p:nth-of-type(2) {
  margin-top: 10px;
}

.carrusel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.carrusel {
  display: flex;
  transition: transform 0.5s ease;
  scroll-behavior: smooth;
}

.carrusel .producto {
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.carrusel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: red;
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s;
}

.carrusel-btn:hover {
  background: #05239d;
}

.carrusel-btn.left {
  left: 10px;
}

.carrusel-btn.right {
  right: 10px;
}

/* Responsive: Mostrar más de un producto en pantallas grandes */
@media (min-width: 768px) {
  .carrusel .producto {
    min-width: 50%;
    max-width: 50%;
  }
}

@media (min-width: 1024px) {
  .carrusel .producto {
    min-width: 33.33%;
    max-width: 33.33%;
  }
}