footer {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
    url("../images/imagenfinalfondo.jpeg") no-repeat center center;
  background-size: cover;
  color: #ffffff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

/* Contenedor principal en una sola línea */
.footer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Sección del logo */
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: 20px;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}

.footer-logo .slogan {
  font-style: italic;
  color: #daa520;
  font-size: 1rem;
  margin: 0;
}

/* Secciones de enlaces */
.footer-section {
  flex: 1;
  min-width: 150px;
  margin-right: 20px;
}

.footer-section h4 {
  color: #daa520;
  margin: 0 0 20px 0;
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(218, 165, 32, 0.3);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-section a:hover {
  color: #daa520;
  transform: translateX(5px);
}

/* Sección de contacto */
.footer-section.contact {
  flex: 1.5;
}

.footer-section.contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.footer-section.contact i {
  color: #daa520;
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.footer-section.contact a {
  word-break: break-word;
}

/* Contenedor de redes sociales */
.social-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.social {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1a1515;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.25rem;
  transition: all 0.3s ease;
}

.social:hover {
  transform: scale(1.1);
}

.instagram:hover {
  box-shadow: 0 0 15px #ff0095;
  color: #ff0095;
}

.facebook:hover {
  box-shadow: 0 0 15px #0679e6;
  color: #0679e6;
}

.tiktok:hover {
  box-shadow: 0 0 15px #29f2de;
  color: #ff2c55;
}

.youtube:hover {
  box-shadow: 0 0 15px #ff0000;
  color: #ff0000;
}

.whatsapp:hover {
  box-shadow: 0 0 15px #25d366;
  color: #25d366;
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  margin-top: 0;
}

.footer-bottom p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: #daa520;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ffc107;
  text-decoration: underline;
}

/* Estilos responsivos */
@media (max-width: 992px) {
  .footer-container {
    flex-wrap: wrap;
  }
  
  .footer-logo {
    flex-basis: 100%;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }
  
  .footer-section {
    flex-basis: 48%;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
  
  .footer-section {
    flex-basis: 100%;
    text-align: center;
    margin-right: 0;
  }
  
  .footer-section.contact p {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .social-container {
    gap: 10px;
  }
  
  .social {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .footer-section.contact p {
    flex-direction: column;
    align-items: center;
  }
}