/**
 * Khayal Luxury Theme - Aurora Hover & Mesh Glow Animations
 * Creates stunning, dynamic Aurora lighting effects on cards and interactive elements.
 */

.khyal-aurora-card {
  position: relative;
  isolation: isolate;
  background: #FFFFFF !important;
  border: 1px solid #E5E7EB !important;
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.khyal-footer-col.khyal-footer-qr-col {
  display: none !important;
}

button#khyalBackToTop {
  display: none;
}

/* Background animated Aurora Mesh */
.khyal-aurora-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(212, 175, 55, 0.22) 0%,
      rgba(255, 223, 121, 0.12) 25%,
      rgba(24, 150, 150, 0.08) 45%,
      transparent 65%);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

/* Aurora Glow Layer */
.khyal-aurora-glow-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
      rgba(212, 175, 55, 0.15) 0%,
      transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

/* Subtle border glow line (Border Beam) */
.khyal-aurora-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg,
      transparent 20%,
      rgba(255, 223, 121, 0.8) 50%,
      transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

/* Hover States */
.khyal-aurora-card:hover {
  transform: translateY(-5px);
  border-color: #B89550 !important;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.08),
    0 0 20px rgba(184, 149, 80, 0.12) !important;
}

.khyal-aurora-card:hover::before {
  opacity: 1;
  transform: scale(1);
}

.khyal-aurora-card:hover .khyal-aurora-glow-layer {
  opacity: 1;
}

.khyal-aurora-card:hover::after {
  opacity: 1;
  animation: auroraBeamRotate 4s linear infinite;
}

.khyal-card-inner {
  position: relative;
  z-index: 3;
}

@keyframes auroraBeamRotate {
  0% {
    filter: hue-rotate(0deg);
  }

  50% {
    filter: hue-rotate(30deg);
  }

  100% {
    filter: hue-rotate(0deg);
  }
}

/* Subtle ambient pulse for the hero section */
@keyframes ambientGlowPulse {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }
}

.khyal-hero-glow {
  animation: ambientGlowPulse 6s ease-in-out infinite;
}