/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  position: relative;
  font-family:Verdana, Geneva, Tahoma, sans-serif;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: url('img/fondo.gif') repeat;
  background-size: 600px;
  opacity: 0.15; /* acá ajustás la transparencia */
  animation: girarFondo 5s infinite ease-in-out alternate;
  z-index: -1;
  transform-origin: center;
}

@keyframes girarFondo {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(2deg); }
}


.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .overlay {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 10px;
  }
  
  .overlay img {
    max-width: 300px;
    margin-bottom: 1rem;
  }
  
  .overlay p {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 1rem;
  }
  
  .btn {
    display: inline-block;
    background-color: #004aad;
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
  }
  
  .btn:hover {
    background-color: #002f7a;
  }
  
  
  

section {
  padding: 3rem 2rem;
  max-width: 960px;
  margin: auto;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
}

h2 {
  font-size: 2rem;
  color: #d61e3d;
  margin-bottom: 1rem;
  border-left: 6px solid #004aad;
  padding-left: 1rem;
}

ul.productos-lista {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

ul.productos-lista li {
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  border-left: 4px solid #004aad;
  font-weight: bold;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}

button {
  background-color: #004aad;
  color: #fff;
  padding: 0.9rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #002f7a;
}

#form-status {
  display: none;
  padding: 1rem;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 1rem;
}

#form-status.success {
  background-color: #004aad;
  color: white;
  display: block;
}

#form-status.error {
  background-color: #d61e3d;
  color: white;
  display: block;
}

footer {
  
  padding: 2rem;
  text-align: center;
  font-size: 0.95rem;
}

#formulario {
  text-align: center;
}
#quienes-somos, 
#productos,
#ubicacion h2 {
  text-align: center;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.whatsapp-btn i {
  margin-right: 8px;
}


.whatsapp-btn:hover {
  background-color: #1ebe5b;
}

@media (max-width: 600px) {
  .carousel {
    height: 200px;
  }

  .carousel img {
    height: 200px;
  }

  h2 {
    font-size: 1.5rem;
  }
}

  .hero {
    position: relative;
    text-align: center;
  }
  
  .logo-hero {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 220px;
    z-index: 10;
  }
  
  .overlay {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
  }
  
  .overlay.visible {
    opacity: 1;
    transform: translateY(0);
  }
  

  .productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }
  
  .card {
    background-color: #f8f8f8;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    transition: transform 0.2s;
  }
  
  .card:hover {
    transform: scale(1.2);
  }
  
  .card img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.8rem;
  }
  
  .card p {
    font-weight: bold;
    color: #004aad;
    font-size: 1rem;
  }
  
  footer .diseñado-por {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
  }
  
  footer .diseñado-por img {
    height: 24px; /* Más chico y mejor alineado con el texto */
    width: auto;
    vertical-align: middle;
  }
  