/* Estilos específicos para la página de contacto */
.contact-section {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/pattern.png");
  opacity: 0.03;
  z-index: 0;
}

.contact-container {
  position: relative;
  z-index: 1;
}

.contact-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact-title {
  color: #6ac82a;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.contact-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: #6ac82a;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon-wrapper {
  width: 50px;
  height: 50px;
  background: #f1f8e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: #6ac82a;
  font-size: 20px;
}

.contact-info-text h5 {
  font-weight: 600;
  margin-bottom: 5px;
  color: #333;
}

.contact-info-text p,
.contact-info-text a {
  color: #666;
  margin-bottom: 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-text a:hover {
  color: #6ac82a;
}

.social-links {
  display: flex;
  margin-top: 30px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f8e9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #6ac82a;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #6ac82a;
  color: white;
  transform: translateY(-3px);
}

.map-container {
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-form .form-control {
  height: 50px;
  border: 1px solid #eee;
  border-radius: 8px;
  padding-left: 20px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: #6ac82a;
  box-shadow: none;
}

.contact-form textarea.form-control {
  height: 150px;
  padding-top: 15px;
}

.btn-send {
  background: #6ac82a;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-send:hover {
  background: #5ab020;
  transform: translateY(-3px);
}

.contact-buttons {
  margin-top: 40px;
}

.contact-btn {
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  margin: 10px;
}

.btn-producer {
  background: #6ac82a;
  color: white;
  border: 2px solid #6ac82a;
}

.btn-producer:hover {
  background: #5ab020;
  border-color: #5ab020;
  color: white;
  transform: translateY(-3px);
}

.btn-interest {
  background: white;
  color: #6ac82a;
  border: 2px solid #6ac82a;
}

.btn-interest:hover {
  background: #f1f8e9;
  color: #5ab020;
  border-color: #5ab020;
  transform: translateY(-3px);
}

.instagram-icon {
  color: #e1306c;
  font-size: 24px;
  margin-right: 8px;
}

.address-section {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
}

@media (max-width: 767.98px) {
  .contact-section {
    padding: 50px 0;
  }

  .contact-card {
    padding: 25px;
    margin-bottom: 30px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-btn {
    width: 100%;
    margin: 5px 0;
  }
}
.map-container {
  height: 400px; /* Altura fija para desktop */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-top: 20px;
}

@media (max-width: 991.98px) {
  /* Tablet y móviles grandes */
  .map-container {
    height: 350px;
    margin-top: 30px;
  }

  .contact-info-item {
    margin-bottom: 20px;
  }
}

@media (max-width: 767.98px) {
  /* Móviles */
  .map-container {
    height: 300px;
    margin-top: 20px;
  }

  .contact-card {
    padding: 25px;
  }

  .contact-section {
    padding: 60px 0;
  }

  .contact-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 575.98px) {
  /* Móviles pequeños */
  .map-container {
    height: 250px;
  }

  .contact-info-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-icon-wrapper {
    margin-bottom: 10px;
    margin-right: 0;
  }

  .contact-buttons .btn {
    width: 100%;
    margin: 5px 0;
  }
}

/* Ajustes específicos para el iframe del mapa */
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  min-height: 250px; /* Altura mínima garantizada */
}

/* Mejora visual para dispositivos muy pequeños */
@media (max-width: 400px) {
  .map-container {
    border-radius: 10px;
  }

  .address-section {
    padding: 20px;
  }
}
/* Contenedor de decoraciones (posicionamiento fijo pero acotado) */
.decoraciones {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0;
  pointer-events: none;
  z-index: -1; /* Opcional: evita que interfiera con el contenido */
  transform: translateY(-50%);
}

/* Imágenes decorativas */
.decoraciones img {
  opacity: 0.4;
  position: absolute;
  max-width: 500px; /* Ajusta según necesidad */
  /* Opción 2: Tamaño máximo (crece hasta un límite) */

  /* Opcional: Ajustar altura proporcionalmente */
  height: auto; /* Mantiene la proporción */
}

.decoracion-right {
  right: 0;
}

.decoracion-left {
  left: 0;
}

/* Responsive: reducir tamaño en móviles */
@media (max-width: 768px) {
  .decoraciones img {
    max-width: 120px;
    opacity: 0.3;
  }
}

/* Ocultar en móviles pequeños */
@media (max-width: 576px) {
  .decoraciones {
    display: none;
  }
}
