/* Estilos personalizados para Dogana */

/* Estilos para los badges de tiendas de aplicaciones en el footer */
.app-store-badge,
.play-store-badge {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-store-badge:hover,
.play-store-badge:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.app-store-badge img,
.play-store-badge img {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Asegurar que los badges se vean bien en tablets (iPad) */
@media (max-width: 991px) and (min-width: 769px) {
  .app-store-badge img,
  .play-store-badge img {
    height: 55px !important;
  }

  /* En iPad, mantener los badges en línea horizontal */
  .d-flex.gap-3 {
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }
}

/* Estilos específicos para iPad en modo portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .app-store-badge img,
  .play-store-badge img {
    height: 60px !important;
  }

  .d-flex.gap-3 {
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }
}

/* Estilos específicos para iPad en modo landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .app-store-badge img,
  .play-store-badge img {
    height: 55px !important;
  }

  .d-flex.gap-3 {
    flex-direction: row !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
  }
}

/* Asegurar que los badges se vean bien en dispositivos móviles */
@media (max-width: 768px) {
  .app-store-badge img,
  .play-store-badge img {
    height: 50px !important;
  }

  /* En móviles, centrar los badges verticalmente */
  .d-flex.gap-3 {
    justify-content: center !important;
  }
}

/* Estilos adicionales para el footer */
footer .section-title01 h3 {
  margin-bottom: 1rem;
}

footer .text-white {
  line-height: 1.6;
}

/* Agregar margen inferior al footer para evitar que esté pegado al borde */
footer.bg-secondary {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
}
