/* :root {
  --primary-color: #b85450;
  --secondary-color: #d4a5a5;
  --background-light: #f8e8e8;
  --background-pink: #f4c2c2;
  --text-dark: #4a4a4a;
  --text-light: #6b6b6b;
  --white: #ffffff;
} */

.bg-rose-blur-500 {
  background-color: rgba(131, 24, 67, 0.4);
}

.text-shadow {
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.text-shadow-lg {
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-active {
  background-color: #fce7f3;
  color: #be185d;
}

/* loader */
.loader-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;

  .loader-content {
    text-align: center;
  }

  .logo-container {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
  }

  .logo-circle {
    width: 96px;
    height: 96px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: logoPulse 2s ease-in-out infinite;
  }

  .logo-image {
    width: 64px;
    height: 64px;
    object-fit: contain;
    animation: logoBounce 1s ease-in-out infinite;
  }

  .loading-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 96px;
    height: 96px;
    border: 4px solid #fce7f3;
    border-top: 4px solid #ec4899;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }

  .loader-text {
    margin-top: 1rem;
  }

  .company-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #be185d;
    margin: 0 0 0.5rem 0;
    font-family: Arial, sans-serif;
  }

  .loading-message {
    color: #6b7280;
    margin: 0 0 1rem 0;
    font-family: Arial, sans-serif;
  }

  .progress-container {
    width: 192px;
    height: 8px;
    background-color: #fce7f3;
    border-radius: 4px;
    margin: 0 auto;
    overflow: hidden;
  }

  .progress-bar {
    height: 100%;
    background-color: #ec4899;
    border-radius: 4px;
    width: 0%;
    animation: loadProgress 3s ease-in-out forwards;
  }
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes logoBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes loadProgress {
  0% {
    width: 0%;
  }

  50% {
    width: 70%;
  }

  100% {
    width: 100%;
  }
}

/* Ocultar scroll mientras carga */
body.loading {
  overflow: hidden;
}

/* loader */

/* ---- whatsapp ----*/
@keyframes whatsapp_animation {
  0% {
    opacity: 0;
    right: 0;
    bottom: 4%;
  }
  100% {
    opacity: 1;
    right: 4%;
    bottom: 4%;
  }
}

@keyframes whatsapp_rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

.w-flotante {
  opacity: 0;
  background-color: #ec4899;
  width: 4rem;
  height: 4rem;
  position: fixed;
  bottom: 4%;
  right: 4%;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  /* animation */
  animation-name: whatsapp_animation;
  animation-duration: 2s;
  animation-delay: 2s;
  animation-fill-mode: forwards;

  &:hover {
    background-color: #be185d;
  }

  .whatsapp {
    color: white;
    font-size: 2.5rem;
    /* animation */
    animation-name: whatsapp_rotation;
    animation-duration: 2s;
    animation-delay: 2s;
    animation-fill-mode: forwards;
  }
}
