
/*
Desarrollador Web: Luis Cruz
Alias: SharkLatan (Administrador de Sistemas / Programador)
Twitter: @sharklatan
Instagram: @sharklatan
Año de Desarrollo: 2025
Contacto: luis_cruz@sharklatan.com
YouTube: sharklatan
Sitio Web: sharklatan.com
*/

/* Animaciones slider */
@-webkit-keyframes scrollReverse {
  0% { transform: translateX(calc(-250px * 7)); }
  100% { transform: translateX(0); }
}
@keyframes scrollReverse {
  0% { transform: translateX(calc(-250px * 7)); }
  100% { transform: translateX(0); }
}
@-webkit-keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 7)); }
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 7)); }
}
@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.slider, .slider2 {
  background: transparent;
  box-shadow: none;
  height: 100px;
  margin: auto;
  margin-bottom: 0;
  overflow: visible;
  position: relative;
  width: 960px;
  display: flex;
  align-items: center;
}
.slider .slide-track, .slider2 .slide-track {
  display: flex;
  width: calc(250px * 14);
  background: transparent;
}
.slider .slide, .slider2 .slide {
  height: 100px;
  width: 250px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slider .slide img, .slider2 .slide img {
  object-fit: contain;
  mix-blend-mode: normal;
  max-height: 80px;
  width: auto;
  margin: auto;
}
.spacer {
  display: inline-block;
  width: 20px;
  height: 50%;
}

/* Fondo animado del footer */
.footer-bg {
  background-color: #473f82;
  background-image: url('../img/banda.svg');
  background-repeat: repeat;
  background-size: 70%;
  background-position: 0 0;
  image-rendering: auto;
  background-attachment: scroll;
  padding: 2rem 0;
  color: #fff;
  box-sizing: border-box;
  width: 100%;
  position: relative;
  transform: translateZ(0);
  backface-visibility: hidden;
}
@media (max-width: 1023px) {
  .footer-bg { background-size: 65%; }
}
@media (max-width: 768px) {
  .footer-bg { background-size: 55%; }
}
@media (max-width: 480px) {
  .footer-bg { background-size: 30%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-bg { background-size: 150%; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .footer-bg { background-size: 180%; }
}
@media (min-width: 320px) and (max-width: 479px) {
  .footer-bg { background-size: 200%; }
}
@media (max-width: 319px) {
  .footer-bg { background-size: 200%; }
}
.footer-bg .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.footer-bg h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #fff !important;
}
.footer-bg p {
  margin: 0.25rem 0;
}
.footer-bg .btn {
  border: 2px solid #fff;
  background: transparent;
}

/* Flexbox para footer personalizado */
.footer-flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

.footer-info {
  flex: 1 1 0;
  min-width: 250px;
}

.footer-map {
  flex: 1 1 0;
  min-width: 300px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    gap: 1.5rem;
  }
  .footer-map {
    justify-content: center;
    min-width: unset;
    width: 100%;
  }
  .footer-map iframe {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Iconos de redes sociales circulares como en el HTML original */
.footer-bg .btn-circle {
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  background: transparent !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: none !important;
  outline: none !important;
}

.footer-bg .btn-circle:hover {
  border-color: white !important;
  background: rgba(255, 255, 255, 0.15) !important;
  transform: scale(1.05) !important;
  color: white !important;
}

.footer-bg .btn-circle:focus {
  border-color: white !important;
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  outline: none !important;
}

.footer-bg .btn-circle i {
  font-size: 1.1rem;
  color: inherit;
}

.footer-bg .btn {
  color: #fff;
  transition: background 0.2s;
}

.footer-bg .btn:hover {
  background: rgba(255,255,255,0.1);
}
.footer-bg .text-red-500 {
  color: #e53e3e;
}
.footer-bg .text-white {
  color: #fff;
}
.footer-bg .py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.footer-bg .flex {
  display: flex;
}
.footer-bg .flex-wrap {
  flex-wrap: wrap;
}
.footer-bg .justify-between {
  justify-content: space-between;
}
.footer-bg .w-full {
  width: 100%;
}
.footer-bg .md\:w-1\/2 {
  width: 100%;
}
@media (min-width: 768px) {
  .footer-bg .md\:w-1\/2 {
    width: 48%;
  }
}
.footer-bg .mb-6 {
  margin-bottom: 1.5rem;
}
.footer-bg .mb-0 {
  margin-bottom: 0;
}
.footer-bg .mt-4 {
  margin-top: 1rem;
}
.footer-bg .mt-6 {
  margin-top: 1.5rem;
}
.footer-bg .space-x-4 > * + * {
  margin-left: 1rem;
}
.footer-bg iframe {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.footer-bg .font-bold {
  font-weight: bold;
}
.footer-bg .text-center {
  text-align: center;
}
.footer-bg .text-white {
  color: #fff;
}
.footer-bg .text-gray-400 {
  color: #cbd5e1;
}
@media (min-width: 1024px) {
  .footer-bg { background-size: 70%; }
}
@media (max-width: 1023px) {
  .footer-bg { background-size: 65%; }
}
@media (max-width: 768px) {
  .footer-bg { background-size: 55%; }
}
@media (max-width: 480px) {
  .footer-bg { background-size: 30%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-bg { background-size: 150%; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .footer-bg { background-size: 180%; }
}
@media (min-width: 320px) and (max-width: 479px) {
  .footer-bg { background-size: 200%; }
}
@media (max-width: 319px) {
  .footer-bg { background-size: 200%; }
}

/* Botón WhatsApp animado */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  animation: breathe 2s ease-in-out infinite;
}
.whatsapp-btn i {
  color: #fff;
  font-size: 24px;
  animation: beat 2s ease-in-out infinite;
  text-decoration: none;
}
@keyframes breathe {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); }
}
@keyframes beat {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* Fuentes personalizadas */
@font-face {
  font-family: 'Quicksand Bold';
  src: url('fonts/Quicksand_Bold.otf') format('opentype');
}
@font-face {
  font-family: 'Avenir';
  src: url('fonts/Avenir.ttc') format('truetype');
}
body {
  font-family: 'Avenir', sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Quicksand Bold', sans-serif;
}

/* Fondo general */
.bg-pattern {
  background-image: url('img/background.png');
  background-repeat: repeat;
  background-attachment: fixed;
  background-color: rgba(255, 255, 255, 0.8);
}
@media (min-width: 1024px) {
  .bg-pattern { background-size: 10%; }
}
@media (max-width: 1023px) {
  .bg-pattern { background-size: 10%; }
}
@media (max-width: 768px) {
  .bg-pattern { background-size: 10%; }
}
@media (max-width: 480px) {
  .bg-pattern { background-size: 21%; }
}
@media (min-width: 1024px) and (max-width: 1440px) {
  .bg-pattern { background-size: 10%; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .bg-pattern { background-size: 10%; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .bg-pattern { background-size: 21%; }
}
@media (min-width: 320px) and (max-width: 479px) {
  .bg-pattern { background-size: 20.5%; }
}
@media (max-width: 319px) {
  .bg-pattern { background-size: 20%; }
}

/* Botón gradiente */
.btn-gradient {
  background: linear-gradient(135deg, #6b73ff 0%, #000dff 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: white;
}
.btn-gradient:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Fondo blanco con opacidad */
.bg-white-opacity {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.5) 100%);
  padding: 20px;
  border-radius: 10px;
}
.text-custom {
  color: #333;
}
.logo-large {
  height: 100px;
  width: auto;
}

/* Responsive logos y contacto */
.logo-desktop { display: inline-block; }
.logo-mobile { display: none; }
.contact-info { display: block; }
@media (max-width: 768px) {
  .logo-desktop { display: none; }
  .logo-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
  }
  .logo-mobile img {
    width: auto;
    height: auto;
    margin: 0 auto;
  }
  .contact-info { display: none; }
}

/* Forzar fondo y tamaño del footer en WordPress (Blocksy y otros temas) */
footer.footer-bg {
  /* No se necesita, el HTML ya tiene la clase y estilos */
}
@media (max-width: 1023px) {
  footer.footer-bg { background-size: 65% !important; }
}
@media (max-width: 768px) {
  footer.footer-bg { background-size: 55% !important; }
}
@media (max-width: 480px) {
  footer.footer-bg { background-size: 30% !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  footer.footer-bg { background-size: 150% !important; }
}
@media (min-width: 480px) and (max-width: 767px) {
  footer.footer-bg { background-size: 180% !important; }
}
@media (min-width: 320px) and (max-width: 479px) {
  footer.footer-bg { background-size: 200% !important; }
}
@media (max-width: 319px) {
  footer.footer-bg { background-size: 200% !important; }
}

/* Forzar fondo y tamaño del footer aunque solo tenga la clase ct-footer */
.ct-footer {
  /* Sin fondo forzado, solo estilos por defecto del tema */
}
@media (max-width: 1023px) {
  .ct-footer { background-size: 65% !important; }
}
@media (max-width: 768px) {
  .ct-footer { background-size: 55% !important; }
}
@media (max-width: 480px) {
  .ct-footer { background-size: 30% !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ct-footer { background-size: 150% !important; }
}
@media (min-width: 480px) and (max-width: 767px) {
  .ct-footer { background-size: 180% !important; }
}
@media (min-width: 320px) and (max-width: 479px) {
  .ct-footer { background-size: 200% !important; }
}
@media (max-width: 319px) {
  .ct-footer { background-size: 200% !important; }
}
