
.grulla {
   background-image: 
     linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5)), 
     url(imagenes/fondomain.png);
   background-position: top;
   background-size: auto;
   background-attachment: fixed;
   background-repeat: no-repeat;
 }
 
/* Estilos para la sección de contacto */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
  padding: 0 1rem;
}

.contact-info-wrapper, .form-wrapper {
  flex: 1;
  min-width: 300px;
}

.contact-info {
  padding: 2rem;
  border-radius: 10px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--text-color-2);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.3s;
}

.social-btn:hover {
  transform: translateY(-3px);
}

.whatsapp { background: #25D366; }
.facebook { background: #1877F2; }
.instagram { background: #E4405F; }

/* Formulario moderno */
.modern-form {
  padding: 2rem;
}

.input-group {
  position: relative;
  margin-bottom: 2rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: transparent;
  transition: border-color 0.3s;
}

.input-group label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  padding: 0 0.5rem;
  color: #666;
  transition: 0.3s;
}

.input-group textarea ~ label {
  top: 1rem;
  transform: none;
}

.input-group input:focus ~ label,
.input-group textarea:focus ~ label,
.input-group input:valid ~ label,
.input-group textarea:valid ~ label {
  top: 0;
  font-size: 0.8rem;
  color: var(--text-color-2);
}

.submit-btn {
  background: var(--bg-color-1);
  color: var(--text-color-2);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  width: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Mapa responsivo */
.map-wrapper {
  margin-top: 3rem;
  padding: 0 1rem;
}

.map-wrapper iframe {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Media queries para responsividad */
@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
  }
  
  .contact-info-wrapper,
  .form-wrapper {
      width: 100%;
  }
}

/* Footer Styles */
.footer {
  margin-top: 4rem;
  padding: 2rem 1rem;
  background-color: var(--bg-color-1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-text {
  color: var(--text-color-2);
  font-weight: 500;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-color-1);
  font-size: 0.9rem;
}

.dev-link {
  color: var(--text-color-2);
  font-weight: 600;
  transition: color 0.3s;
}

.dev-link:hover {
  color: var(--color-btn);
}

